1 2013-01-09 Elias Pipping <pipping@lavabit.com>
3 * doc-view.el: Add support for DjVu (bug#13164).
4 (doc-view-djvu->png-converter-function): New config var.
5 (doc-view-single-page-converter-function, doc-view--image-type)
6 (doc-view--image-file-extension): New vars.
7 (doc-view-mode): Initialize them.
8 (doc-view-goto-page): Use them.
9 (doc-view-mode-p): Add support for ddjvu.
10 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
11 (doc-view-set-up-single-converter): New funs.
12 (doc-view-pdf/ps->png): Extend for djvu.
13 (doc-view-document->png): Rename from doc-view-pdf->png.
14 (doc-view-convert-current-doc): Handle djvu.
15 (doc-view-insert-image, doc-view-display)
16 (doc-view-already-converted-p): Don't hardcode png.
17 (doc-view-set-doc-type): Recognize djvu docs.
19 2013-01-09 Elias Pipping <pipping@lavabit.com>
21 * doc-view.el: Add support for mupdf converter (bug#13164).
22 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
23 (doc-view-ps->png-converter-function): New config vars.
24 (doc-view-pdf->png-converter-ghostscript)
25 (doc-view-ps->png-converter-ghostscript)
26 (doc-view-pdf->png-converter-mupdf): New functions.
27 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
29 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
31 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
32 first in session cache: When `tramp-own-remote-path' is in
33 `tramp-remote-path', the remote path is only set in the session
36 2013-01-09 Glenn Morris <rgm@gnu.org>
38 * emacs-lisp/trace.el (trace-function-foreground)
39 (trace-function-background): Doc fix.
41 2013-01-09 Juri Linkov <juri@jurta.org>
43 * international/mule-cmds.el (read-char-by-name): Move let-binding
44 of completion-ignore-case around completing-read to fix regression
45 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
46 `string-match-p' using the nil value of `case-fold-search' and
47 `completion-ignore-case' in `completion-pcm--all-completions'.
50 2013-01-09 Glenn Morris <rgm@gnu.org>
52 * progmodes/compile.el (compilation-parse-errors):
55 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
57 * comint.el (comint-send-input): Check size of buffer before
58 waiting for process output, in case already accepted. (Bug#13290)
60 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
63 * net/tramp-adb.el (tramp-adb-get-toolbox):
64 Fix misspelling of 'unknown'.
66 2013-01-08 Juri Linkov <juri@jurta.org>
68 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
69 * progmodes/flymake.el (flymake-errline, flymake-warnline):
70 Use underline style wave on terminals that support it. (Bug#13000)
72 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
74 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
75 the predicate returns nil.
77 * simple.el: Use lexical-binding.
78 (primitive-undo): Use pcase.
79 (minibuffer-history-isearch-push-state): Use a closure.
81 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
83 * simple.el (primitive-undo): Move from undo.c.
85 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
87 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
88 (cvs-mode-remove-handled): Use it (bug#13380).
90 * emacs-lisp/nadvice.el (advice--tweak): New function.
91 (advice--remove-function, advice--subst-main): Use it.
93 * emacs-lisp/advice.el: Update commentary.
95 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
97 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
98 Remove spurious entry.
100 2013-01-08 Glenn Morris <rgm@gnu.org>
102 * net/tramp.el (tramp-default-host-alist): Add :version.
104 2013-01-08 Juri Linkov <juri@jurta.org>
106 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
107 single completion. (Bug#12456)
108 (info--manual-names): Expand node completions into an explicit list
109 before appending it to another list. Filter out internal buffers
110 with the leading space in the buffer name. (Bug#10771)
112 2013-01-08 Juri Linkov <juri@jurta.org>
114 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
115 that defaults to the Top node.
116 (Info-goto-node, Info-read-node-name): Doc fix to mention that
117 the short format (FILENAME) goes to the Top node.
118 (Info-build-node-completions): Rename arg `file' to `filename'.
121 2013-01-07 Bastien Guerry <bzg@gnu.org>
123 * menu-bar.el (menu-bar-search-documentation-menu):
124 Use `apropos-user-option' and fix the help message.
126 2013-01-07 Bastien Guerry <bzg@gnu.org>
128 * apropos.el (apropos-do-all): Update docstring.
129 (apropos-user-option-button): New face.
130 (apropos-user-option): Rename from `apropos-variable' and update
132 (apropos-variable): Rewrite, now show all variables by default.
133 (apropos-print): Mention "User option" instead of "Variable" when
134 printing doc for user options. (Bug#13276)
136 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
138 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
139 Handle filename correctly, when parsing "source -> target" symlink
141 (tramp-adb-handle-set-file-times): New defun.
143 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
145 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
146 advice list when the interactive-spec of ad-Advice-* changes.
148 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
150 * wid-edit.el (widget-default-get): Work for inlined elements.
153 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
155 * net/tramp.el (tramp-default-host-alist): New defcustom.
156 (tramp-find-host): Use it.
157 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
158 `eshell-directory-change-hook'.
160 * net/tramp-adb.el (top): Add adb specific entry in
161 `tramp-default-host-alist'.
162 (tramp-adb-file-name-host): Remove function.
163 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
164 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
166 * net/tramp-sh.el: Move eshell integration code to tramp.el.
168 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
170 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
172 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
174 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
175 consist of more than one digit.
176 (tramp-adb-file-name-handler-alist):
177 Use `tramp-handle-file-exists-p' consistently.
178 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
179 (tramp-adb-handle-file-exists-p): Remove function.
180 (tramp-adb-file-name-host): New defun.
181 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
183 (tramp-adb-maybe-open-connection): Set "remote-path" property.
185 2013-01-06 Chong Yidong <cyd@gnu.org>
187 * vc/vc.el (vc-next-action): Detect buffer modifications
188 conflicting with locking VCS operation (Bug#11490).
190 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
192 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
194 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
195 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
197 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
199 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
200 parsing of ls output using regular expression (handle filenames
201 with spaces). Use virtual device number.
202 (tramp-do-parse-file-attributes-with-ls): New defun (Code
205 2013-01-04 Daiki Ueno <ueno@gnu.org>
207 * epg.el: Silence byte-compiler warnings.
208 (epg--start): Use delete-char instead of delete-backward-char.
209 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
211 2013-01-04 Daiki Ueno <ueno@gnu.org>
213 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
214 Suggested by Eli Zaretskii <eliz@gnu.org>.
216 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
218 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
219 non-negative integers. Otherwise, the default values are used.
220 (tramp-convert-file-attributes): Convert uid and gid to integers.
222 2013-01-04 Glenn Morris <rgm@gnu.org>
224 * term.el (term-handle-colors-array): Ensure face attributes
225 are fully specified, not nil. (Bug#13337)
227 * term.el (term-default-fg-color, term-default-bg-color):
230 * progmodes/etags.el (tags-compression-info-list): Doc fix.
231 (tag-find-file-of-tag-noselect): Check auto-compression-mode
232 rather than 'jka-compr being loaded. (Bug#13338)
234 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
236 * icomplete.el (icomplete-completions):
237 Honor icomplete-prospects-height once more following
238 2012-11-29 changes. (Bug#13224)
240 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
242 * subr.el (internal--called-interactively-p--get-frame): Find aliases
243 of called-interactively-p as well (bug#13237).
245 * view.el (view--enable, view--disable): Rename from view-mode-enable
246 and view-mode-disable and assume it's called from view-mode.
247 (view-mode-enable, view-mode-disable): Redefine as obsolete
248 compatibility layer above view-mode.
249 (view-mode-enter): Call `view-mode'.
251 * files.el (after-find-file): Call `view-mode'.
253 * doc-view.el (doc-view-scale-internally): New var.
254 (doc-view-enlarge, doc-view-insert-image): Obey it.
256 2013-01-03 Daiki Ueno <ueno@gnu.org>
258 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
261 2013-01-03 Glenn Morris <rgm@gnu.org>
263 * mail/rmail.el (rmail-set-header-1): Ignore case.
264 Handle multi-line headers. (Bug#13330)
266 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
267 Handle paragraph starting at beginning of buffer.
269 * subr.el (eval-after-load): Don't purecopy the form, so that it
270 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
272 * emacs-lisp/byte-run.el (defun): Place cl declarations
273 after any interactive spec. (Bug#13265)
275 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
277 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
278 defun. Don't check for DECL if DOCSTRING isn't a string.
281 2013-01-02 Glenn Morris <rgm@gnu.org>
283 * eshell/em-cmpl.el (eshell-pcomplete):
284 More thoroughly imitate pcomplete. (Bug#13293)
286 * files.el (parse-colon-path): Doc fix. (Bug#12351)
287 Return nil for empty path elements. (Bug#13296)
289 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
291 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
292 order to improve efficiency (Based on Daniel Colascione's
293 <dancol@dancol.org> patch). (Bug#13182)
295 2013-01-02 Glenn Morris <rgm@gnu.org>
297 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
299 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
301 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
302 neither DOCSTRING nor DECL was given. (Bug#13316)
304 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
306 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
308 (tramp-do-copy-or-rename-file): Ignore errors when calling
309 `set-file-extended-attributes'.
311 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
312 Add handler for `file-acl'.
313 (tramp-smb-handle-file-acl): New defun.
315 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
317 * calc/README: Mention ISO 8601 week-numbering dates.
319 2013-01-01 Martin Rudalics <rudalics@gmx.at>
321 * view.el (view-mode-enable): New argument run-view-mode-hook.
322 Run view-mode-hook only when it's non-nil (Bug#13315).
323 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
326 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
328 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
329 (No device connected, invalid device name). (Bug #13299)
331 2012-12-31 Martin Rudalics <rudalics@gmx.at>
333 * window.el (window-resizable--p): Rename to window-resizable-p.
334 (window-resize-no-error): New function.
336 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
337 broken in fix from 2012-12-28.
339 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
341 * subr.el (special-form-p): Don't signal errors on undef aliases.
343 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
345 * calc/calc-forms.el (math-parse-date): Try using
346 `math-parse-iso-date' when it looks like it might be needed.
347 Allow times of 24:00.
348 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
351 2012-12-30 Glenn Morris <rgm@gnu.org>
353 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
354 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
355 (rmail-summary-displayed, rmail-summary): Declare.
356 (mairix-rmail-display): Just require rmail.
358 2012-12-30 Chong Yidong <cyd@gnu.org>
360 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
361 check for the tarball contents.
363 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
365 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
366 tarfile content listings (Bug#13136).
368 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
370 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
371 Insert the undecoded text of the message being forwarded. (Bug#9521)
373 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
375 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
376 integers, if they are real numbers. (Bug#13282)
378 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
379 Return `t' on success.
381 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
382 Add handler for `set-file-selinux-context'.
384 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
386 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
387 (tramp-sh-handle-set-file-acl): Return `t' on success.
389 2012-12-29 Eli Zaretskii <eliz@gnu.org>
391 * files.el (backup-buffer-copy, basic-save-buffer-2):
392 If set-file-extended-attributes fails, fall back on set-file-modes
393 instead of signaling an error. (Bug#13298)
394 (basic-save-buffer): Likewise.
396 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
398 * progmodes/python.el: Support other commands triggering
399 python-indent-line so indentation cycling continues to work.
400 (python-indent-trigger-commands): New defcustom.
401 (python-indent-line): Use it.
403 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
405 * progmodes/python.el (python-shell-send-region): Add blank lines
406 for non sent code so backtraces remain correct.
408 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
410 * progmodes/python.el: Remove cl dependency.
411 (python-syntax-count-quotes): Replace incf call.
412 (python-fill-string): Replace setf call.
414 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
416 * info.el (info-other-window): New arg, for consistency with info.
418 2012-12-28 Martin Rudalics <rudalics@gmx.at>
420 * mail/rmail.el (rmail-maybe-display-summary):
423 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
425 * epg.el (epg--start): Modify process-environment locally.
427 2012-12-28 Daiki Ueno <ueno@gnu.org>
429 * epg.el: Support pinentry-curses.
430 Suggested by Werner Koch in
431 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
432 (epg-agent-file, epg-agent-mtime): New variable.
433 (epg--start): Record the modified time of gpg-agent socket file,
434 to restore Emacs frame after pinentry-curses termination.
435 (epg-wait-for-completion): Restore Emacs frame here.
437 2012-12-27 Juri Linkov <juri@jurta.org>
439 * info.el (Info-file-completions): New variable.
440 (Info-read-node-name-1): Complete node names in the Info file
441 when a file name is given. Call `Info-build-node-completions'
443 (Info-build-node-completions): Add new arg `file'. When it is
444 non-nil, visit it in a temporary buffer and cache its completions in
445 `Info-current-file-completions'. Move most of the function body to
446 `Info-build-node-completions-1'.
447 (Info-build-node-completions-1): New function with the body from
448 `Info-build-node-completions'. (Bug#12456)
450 2012-12-27 Juri Linkov <juri@jurta.org>
452 * frame.el (frame-maximization-style): Remove user option.
453 (cycle-frame-maximized): Remove function.
454 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
455 (toggle-frame-fullscreen): New command bound to <f11> instead of
456 `toggle-frame-maximized'.
457 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
459 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
461 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
463 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
464 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
465 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
466 for `file-accessible-directory-p'. (Bug#13275)
468 2012-12-27 Sam Steingold <sds@gnu.org>
470 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
471 continuations, see <http://stackoverflow.com/questions/3582436>.
473 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
475 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
476 "module" and "def" to have indentation before them.
477 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
479 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
481 2012-12-27 Alan Mackenzie <acm@muc.de>
483 Speed up fontification where there's large brace blocks.
484 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
485 to a call of c-beginning-of-decl-1.
487 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
489 * comint.el (comint-adjust-window-point): New function.
490 (comint-postoutput-scroll-to-bottom):
491 Call comint-adjust-window-point (Bug#13248).
493 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
495 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
497 (auto-mode-alist): Associate .gemspec files with ruby-mode
498 (https://bugs.ruby-lang.org/issues/5453).
500 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
502 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
503 Suppress coloring, if possible (required for BusyBox based systems like
505 (tramp-adb-handle-file-attributes)
506 (tramp-adb-handle-insert-directory)
507 (tramp-adb-handle-file-name-all-completions): Use it.
508 (tramp-adb-get-toolbox): New defun. Check for remote shell
509 implementation (BusyBox or Toolbox).
511 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
513 * startup.el (initial-buffer-choice): Allow function as value
515 (command-line-1): Handle case where initial-buffer-choice
516 specifies a function.
517 * server.el (server-execute): Handle case where
518 initial-buffer-choice specifies a function.
520 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
522 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
524 (smtpmail-try-auth-methods): Forget the user name/password if the
525 login is unsuccessful (bug#12424).
527 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
529 * notifications.el (notifications-notify): Protect body with
530 `with-demoted-errors'.
532 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
533 Check properties of remote device. Restart connection, if there is a
536 2012-12-21 Chong Yidong <cyd@gnu.org>
538 * sort.el (sort-subr): Doc fix (Bug#13056).
540 2012-12-21 Bastien Guerry <bzg@gnu.org>
542 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
544 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
546 * simple.el (process-file): Overwrite stderr file, if exists.
548 2012-12-21 Daiki Ueno <ueno@gnu.org>
550 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
551 (epg-error): Set `error-message' property.
553 2012-12-21 Chong Yidong <cyd@gnu.org>
555 * international/mule-cmds.el (read-char-by-name): Signal an error
556 if the user does not supply a valid character (Bug#13177).
558 * simple.el (transpose-subr-1): Preserve marker positions by
559 changing the insertion sequence (Bug#13122).
561 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
563 * simple.el (kill-region): Deactivate mark even for empty regions
566 2012-12-21 Chong Yidong <cyd@gnu.org>
568 * help-fns.el (describe-variable): Make sure we get the right
569 buffer name (Bug#13105). Suggested by Kelly Dean.
571 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
573 * comint.el (comint-redirect-previous-input-string): New variable.
574 (comint-redirect-setup, comint-redirect-cleanup)
575 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
576 (comint-redirect-preoutput-filter): Fix verbose message.
578 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
580 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
581 is too long for Tramp. See discussion in
582 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
584 * progmodes/compile.el (compilation-start): Remove line escape
587 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
589 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
592 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
594 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
595 following non-comment text (bug#13207).
596 (lm-header-multiline): Continuation lines need to be indented more than
598 (lm-homepage): New function.
599 (lm-with-file): Don't be confused if narrowing is in effect.
601 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
603 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
604 very beginning of a hunk (e.g. killing the first line).
606 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
608 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
609 and text properties from returned ACL string.
610 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
611 for "setfacl" command.
613 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
615 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
616 `tramp-cleanup-this-connection', when the process has died.
619 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
621 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
623 2012-12-17 Kevin Ryde <user42@zip.com.au>
625 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
627 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
629 Add support for preserving ACL entries of files.
631 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
632 `set-file-acl' handlers.
634 * net/tramp-adb.el (tramp-adb-handle-copy-file):
635 Handle PRESERVE-EXTENDED-ATTRIBUTES.
637 * net/tramp-compat.el (tramp-compat-copy-file):
638 Handle PRESERVE-EXTENDED-ATTRIBUTES.
640 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
641 Add `file-acl' and `set-file-acl' handlers.
642 (tramp-gvfs-handle-copy-file):
643 Handle PRESERVE-EXTENDED-ATTRIBUTES.
644 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
647 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
648 Add `file-acl' and `set-file-acl' handlers.
649 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
650 (tramp-sh-handle-set-file-acl): New defuns.
651 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
652 Handle PRESERVE-EXTENDED-ATTRIBUTES.
654 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
655 Add `file-acl' and `set-file-acl' handlers.
656 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
658 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
660 * help-macro.el (make-help-screen): Instead of switch-to-buffer
661 use pop-to-buffer with NORECORD argument t. As buffer name, use
662 *Metahelp* with a leading space (Bug#13190).
664 2012-12-16 Romain Francoise <romain@orebokech.com>
666 * files.el (file-extended-attributes)
667 (set-file-extended-attributes): New functions.
668 (backup-buffer): Use them to handle both SELinux context and ACL
670 (backup-buffer-copy): Work with an alist of extended attributes,
671 rather than an SELinux context.
672 (basic-save-buffer-2): Ditto.
674 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
676 * battery.el (battery-bsd-apm): New function.
678 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
680 * calc/calc.el (calc-standard-date-formats): Adjust one of the
681 standard date formats.
683 2012-12-15 Juri Linkov <juri@jurta.org>
685 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
686 `isearch-insert-char-by-name'.
687 (with-isearch-suspended): New defmacro with body mostly from
688 `isearch-edit-string' except the part that sets
689 `isearch-new-string' and `isearch-new-message'.
690 (isearch-edit-string): Use new macro `with-isearch-suspended' with
691 body that sets `isearch-new-string' and `isearch-new-message'.
692 (isearch-insert-char-by-name): New command.
693 * international/mule-cmds.el (read-char-by-name): Let-bind
694 `enable-recursive-minibuffers' to t.
695 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
697 2012-12-15 Juri Linkov <juri@jurta.org>
699 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
702 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
704 * dired-x.el (dired-guess-shell-command): Put colon at the end of
705 the prompt. (Bug#13045)
707 2012-12-14 Glenn Morris <rgm@gnu.org>
709 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
710 Try to include filename in non-bytecomp warning. (Bug#13132)
712 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
714 Fix permissions bugs with setgid directories etc. (Bug#13125)
715 * files.el (backup-buffer): Don't rely on 9th output of
716 file-attributes, as it's now a placeholder. Instead, use the new
717 optional arg of file-ownership-preserved-p.
718 (file-ownership-preserved-p): New optional arg GROUP.
719 Fix mishandling of setuid directories that would cause this
720 function to return t when it should have returned nil.
721 Document what happens if the file does not exist, and when
722 it's not known whether the ownership will be preserved.
723 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
725 (tramp-get-local-gid): Use group-gid for integer, as that's
726 faster and more reliable.
728 2012-12-14 Julien Danjou <julien@danjou.info>
730 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
731 Update keywords list, data type and PL/pgSQL.
733 2012-12-14 Dave Abrahams <dave@boostpro.com>
735 * vc/ediff-util.el (ediff-buffer-type): New function.
736 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
737 rather than taking it as as argument.
738 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
740 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
742 * json.el: Add pretty-print option (bug#12634).
743 (json-encoding-separator, json-encoding-default-indentation)
744 (json--encoding-current-indentation, json-encoding-pretty-print)
745 (json-encoding-lisp-style-closings): New vars.
746 (json--with-indentation): New macro.
747 (json-encode-hash-table, json-encode-alist, json-encode-plist)
748 (json-encode-array): Use it to obey json-encoding-pretty-print.
749 (json-pretty-print-buffer, json-pretty-print): New commands.
751 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
753 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
754 Extract `ruby-syntax-propertize-expansions'.
755 (ruby-syntax-propertize-expansions): Only change syntax on
756 certain string delimiters, to punctuation. This way the common
757 functions like forward-word and thing-at-point still work.
758 (ruby-match-expression-expansion): Improve readability.
759 (ruby-block-contains-point): New function.
760 (ruby-add-log-current-method): Handle several edge cases.
762 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
764 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
765 unload-feature finishes even when aborting an ongoing edebug session.
766 Also, do not worry about edebug-mode, unload-feature takes care of it.
768 2012-12-13 Andreas Schwab <schwab@suse.de>
770 * net/tls.el (tls-program): Update customize type.
772 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
774 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
775 (edebug-setup-hook, cl-read-load-hooks): Use it.
776 (edebug-unload-function): New function. (Bug#13163)
778 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
780 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
781 Otherwise, there could be errors in autoloading. (Bug#13151)
783 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
785 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
788 2012-12-13 Alan Mackenzie <acm@muc.de>
790 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
791 * progmodes/cc-engine.el (c-backward-comments): Add code to work
792 around `forward-comment' not recognizing ^M as whitespace.
794 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
796 * progmodes/python.el (python-skeleton-class)
797 (python-skeleton-def): Do not add space after defun name.
799 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
801 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
802 (cl--symbol-function): Remove (now that funbound is like nil).
804 2012-12-12 Glenn Morris <rgm@gnu.org>
806 * button.el (button--area-button-p): Fix typo.
808 2012-12-12 Sam Steingold <sds@gnu.org>
810 * frame.el (frame-maximization-style): New user option.
811 (toggle-frame-maximized): Toggle frame maximization according to
812 `frame-maximization-style', bound to <f11>.
813 (cycle-frame-maximized): Cycle between all maximization styles and
814 non-maximized frame, bound to shift-<f11>.
816 2012-12-12 David Cadé <codename68@gmail.com>
818 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
820 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
822 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
823 (eieio-override-prin1): Don't quote kewords and booleans.
824 (object-write) <eieio-default-superclass>: Don't put closing parens
825 on new line, avoid needless empty lines, align values that are objects
826 with the slot keyword (instead of beginning on the same line).
827 (eieio-list-prin1): Align value with slot keyword; increase
828 eieio-print-depth before printing members of the list.
830 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
832 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
833 a display text-property.
834 (report-emacs-bug-hook): Don't bother deleting it any more.
836 * hilit-chg.el (highlight-save-buffer-state): Delete.
837 Use with-silent-modifications instead.
838 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
840 * button.el: Handle buttons in display text-properties.
841 (button--area-button-p, button--area-button-string):
842 Use (STRING . STRING-POS) representation instead of just STRING.
844 2012-12-11 Eli Zaretskii <eliz@gnu.org>
846 * makefile.w32-in (compile4-SH): Fix a typo that caused term
847 subdirectory be skipped.
849 2012-12-11 Glenn Morris <rgm@gnu.org>
851 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
853 * progmodes/f90.el (f90-line-continued, f90-indent-region):
854 Treat preprocessor lines embedded in continuations like comments.
855 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
857 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
859 * calc/calc.el (calc-standard-date-formats): Add more date
861 * calc/calc-forms.el (math-parse-iso-date): New function.
862 (math-parse-date): Use `math-parse-iso-date' when appropriate.
863 (math-parse-iso-date-validate): Add extra error checking.
864 (calc-date-notation): Add ability to access new date formats.
866 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
868 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
869 font-lock as well as when there's no text-property.
871 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
873 * hi-lock.el: Refine the choice of default face.
874 (hi-lock-keyword->face): New function. Use it wherever we used
876 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
877 (hi-lock--last-face): Remove var.
878 (hi-lock--unused-faces): New var to replace it.
879 (hi-lock-read-face-name): Use/maintain it.
880 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
881 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
882 if it has another face.
884 2012-12-10 Eli Zaretskii <eliz@gnu.org>
886 * subr.el (w32notify-handle-event): New function.
887 (inotify-handle-event): Doc fix.
889 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
891 * subr.el (inotify-event-p, inotify-handle-event): New functions.
893 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
895 * simple.el (just-one-space): Doc fix.
897 2012-12-10 Eli Zaretskii <eliz@gnu.org>
899 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
901 2012-12-10 Le Wang <l26wang@gmail.com>
903 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
904 narrowed buffer (bug#12361).
906 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
908 * vc/vc-hooks.el (vc-state): Doc fix.
910 2012-12-10 Glenn Morris <rgm@gnu.org>
912 * mail/rmail.el (rmail-maybe-display-summary):
913 Preserve buffer, in case select-window changes it. (Bug#13066)
915 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
917 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
918 cl-load-hook where they belong.
920 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
922 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
924 2012-12-09 Eli Zaretskii <eliz@gnu.org>
926 Parallelize byte compilation on MS-Windows.
927 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
928 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
929 (WINS_BASIC): Define as concatenation of the above.
930 (compile): Subdivide into 4 separate and independent jobs that can
932 (compile0-CMD, compile0-SH): New targets for compiling
933 COMPILE_FIRST files, which are prerequisites for the rest of the
935 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
936 New targets for parallel compilation with cmd.exe.
937 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
938 compiling under a Unixy shell.
940 2012-12-09 Chong Yidong <cyd@gnu.org>
942 * simple.el (set-mark-default-inactive): Delete this
943 accidentally-introduced option.
944 (set-mark-command, exchange-point-and-mark): Remove calls.
946 2012-12-09 Glenn Morris <rgm@gnu.org>
948 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
949 Respect a defcustom's :set function, if appropriate. (Bug#109)
950 (eval-defun): Doc fix.
952 2012-12-08 Juri Linkov <juri@jurta.org>
954 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
955 (Info-fontify-node, Info-bookmark-make-record): Remove the
956 file extension from Info-current-file (Bug#13016).
958 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
960 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
961 point, still provide some default.
962 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
963 names, since we don't use it right now. Actually return the list.
964 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
966 2012-12-07 Chong Yidong <cyd@gnu.org>
968 * novice.el (disabled-command-function): Remove a spurious help
969 xref (Bug#13043). Suggested by Kelly Dean.
971 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
972 syntax is specified (Bug#13025).
974 * info.el (Info-set-mode-line): Remove the file extension from
975 Info-current-file if there is one (Bug#13016).
977 2012-12-07 Glenn Morris <rgm@gnu.org>
979 * mail/rmail.el (rmail-mime-decoded): New permanent local.
980 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
981 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
982 and rmail-mime-decoded. (Bug#9841)
984 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
985 (batch-unrmail, unrmail): Doc fixes.
986 (unrmail): Respect unrmail-mbox-format.
987 * mail/rmail.el (rmail-mbox-format): New option.
988 (rmail-show-message-1): Respect rmail-mbox-format.
990 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
992 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
994 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
996 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
997 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
998 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
999 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1000 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1001 (cl-progv): Don't rely on dynamic scoping to find the body.
1002 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1003 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1004 (cl-declaim): Use backquotes.
1005 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1006 Use "cl--" prefix for the object's tag.
1008 * ses.el: Use advice-add/remove.
1009 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1010 (copy-region-as-kill, yank): Use advice-add.
1011 (ses-unload-function): Use advice-remove.
1013 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1015 * button.el: Make them work in header-lines (bug#12817).
1016 (button-map): Add bindings for header-line and mode-line use.
1017 (button-get, button-put, button-label): `button' may now be a string.
1018 (button-activate): Don't make it a defsubst.
1019 (button--area-button-p, button--area-button-string): New functions.
1020 (make-text-button): Fix the return value when `beg' was a string.
1021 (push-button): Handle the mode-line case.
1023 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1025 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1026 (sql-signum): Remove. Use `cl-signum' instead.
1027 (sql-read-passwd): Remove; use read-passwd instread.
1028 (sql-get-login-ext): Use read-string.
1029 (sql-get-login): Use dolist and pcase.
1030 (sql--completion-table): Rename from sql-try-completion.
1031 Use complete-with-action.
1032 (sql-mode): Don't change abbrev-all-caps globally.
1033 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1034 (sql-postgres-completion-object): Initialize vars in their `let'.
1035 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1036 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1037 (sql-comint-interbase): Use a single append, without setq.
1038 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1040 * hi-lock.el: Rework the default face and the serialize regexp code.
1041 (hi-lock--auto-select-face-defaults): Remove.
1042 (hi-lock-string-serialize-serial): Remove.
1043 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1045 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1047 (hi-lock-set-pattern): Adjust accordingly.
1048 (hi-lock--regexps-at-point): Simplify accordingly.
1049 (hi-lock--auto-select-face-defaults): Remove.
1050 (hi-lock--last-face): New var to replace it.
1051 (hi-lock-read-face-name): Rewrite (bug#11095).
1052 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1054 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
1056 * net/tramp.el (tramp-replace-environment-variables):
1057 Hide compiler warning.
1058 (tramp-file-name-for-operation): Remove `executable-find',
1059 `start-process', `call-process' and `call-process-region'.
1061 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
1063 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1066 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1068 2012-12-06 Chong Yidong <cyd@gnu.org>
1070 * ffap.el (ffap-replace-file-component): Fix typo.
1072 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1075 fix open-paren-like token test (bug#12785).
1077 2012-12-06 Glenn Morris <rgm@gnu.org>
1079 * mail/rmailsum.el (rmail-new-summary): Tweak for
1080 rmail-maybe-display-summary changing buffer. (Bug#13066)
1082 2012-12-06 Juri Linkov <juri@jurta.org>
1084 * info.el (Info-fontify-node): Don't hide the last newline.
1087 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1089 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1090 so as to enable message-read-from-minibuffer to expand mail aliases.
1092 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1094 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1095 the `intangible' property.
1096 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1098 2012-12-05 Deniz Dogan <deniz@dogan.se>
1100 * net/rcirc.el (rcirc-urls): Update documentation.
1101 (rcirc-condition-filter): New function.
1102 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1103 and exclude consecutive duplicate URLs (Bug#6082).
1105 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
1107 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1108 Check return code of copy command.
1110 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1111 Use group `tramp'. Add version.
1113 2012-12-05 Chong Yidong <cyd@gnu.org>
1115 * ffap.el (ffap-url-regexp): Don't require matching at front of
1117 (ffap-url-p): If only a substring matches, return that.
1118 (ffap-url-at-point): Use the return value of ffap-url-p.
1119 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1120 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1121 (ffap-guess-file-name-at-point): Likewise.
1122 (ffap-replace-file-component): Fix typo.
1124 * info.el (info-display-manual): Add existing Info buffers, whose
1125 files may not be in Info-directory-list, to the completion.
1126 (info--manual-names): New helper function.
1128 2012-12-05 Glenn Morris <rgm@gnu.org>
1130 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1131 New functions, for detecting and resolving conflicts. (Bug#10709)
1133 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
1135 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1136 (hi-lock-auto-select-face-defaults): New buffer local variable.
1137 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1138 (hi-lock-unface-buffer): Prompt user with useful defaults.
1139 With prefix arg, unhighlight all hi-lock patterns in buffer.
1141 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1143 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1145 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
1147 * Makefile.in (TRAMP_SRC):
1148 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1150 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1152 * net/tramp-adb.el: New package.
1154 2012-12-04 Chong Yidong <cyd@gnu.org>
1156 * terminal.el: Move to obsolete/.
1158 * longlines.el: Move to obsolete/.
1160 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1161 Remove code referring to longlines mode.
1163 2012-12-03 Juri Linkov <juri@jurta.org>
1165 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1167 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1169 * textmodes/ispell.el (ispell-init-process)
1170 (ispell-start-process, ispell-internal-change-dictionary):
1171 Make sure personal dictionary name is expanded after initial
1172 `default-directory' value. Use expanded strings for
1173 keep/restart checks and for value (Bug#13019).
1175 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1177 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1179 2012-12-03 Leo Liu <sdl.web@gmail.com>
1181 * files.el (dir-locals-read-from-file): Check file non-empty
1182 before reading. (Bug#13038)
1184 2012-12-03 Glenn Morris <rgm@gnu.org>
1186 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1187 Remove any version extension before checking filename. (Bug#13006)
1188 (jka-compr-compression-info-list): Belated :version bump.
1190 2012-12-03 Chong Yidong <cyd@gnu.org>
1192 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1194 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1195 (buffer-menu): Doc fix (Bug#12294).
1197 2012-12-03 Roland Winkler <winkler@gnu.org>
1199 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1200 of diary-show-all-entries in the diary buffer (Bug#12994).
1202 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
1204 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1205 "<STDIN>". This is binary safe.
1207 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1209 * calc/calc-forms.el (math-absolute-from-iso-dt)
1210 (math-date-to-iso-dt, math-parse-iso-date-validate)
1211 (math-iso-dt-to-date): New functions.
1212 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1213 (math-fd-isoweekday): New variables.
1214 (calc-date-notation, math-parse-standard-date, math-format-date)
1215 (math-format-date-part): Add support for more formatting codes.
1217 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1219 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1220 current buffer's file name when called interactively (Bug#12488).
1222 2012-12-02 Juri Linkov <juri@jurta.org>
1224 * info.el (info-display-manual): Don't clobber an existing Info
1225 buffer (Bug#10770). Add completion (Bug#10771).
1227 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1229 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1230 before using it for comparison (Bug#5297).
1232 2012-12-01 Jari Aalto <jari.aalto@cante.net>
1234 * textmodes/css-mode.el (css-current-defun-name): New function.
1237 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1238 (html-mode): Use it.
1240 2012-12-01 Chong Yidong <cyd@gnu.org>
1242 Modularize add-log-current-defun (Bug#2224).
1243 Suggested by Jari Aalto.
1245 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1246 (add-log-current-defun): Move mode-specific code to other files.
1247 (add-log-lisp-like-modes, add-log-c-like-modes)
1248 (add-log-tex-like-modes): Variables deleted.
1250 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1251 (lisp-mode-variables): Use it.
1253 * progmodes/cc-mode.el (c-common-init):
1254 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1255 add-log-current-defun-function.
1257 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1260 * progmodes/perl-mode.el (perl-current-defun-name): New.
1261 (perl-mode): Use it.
1263 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1264 Use lisp-current-defun-name.
1266 * textmodes/tex-mode.el (tex-current-defun-name): New.
1267 (tex-common-initialization): Use it.
1269 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1270 (texinfo-mode): Use it.
1272 2012-12-01 Chong Yidong <cyd@gnu.org>
1274 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1275 * progmodes/autoconf.el (autoconf-mode):
1276 * progmodes/js.el (js-mode):
1277 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1278 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1279 * progmodes/perl-mode.el (perl-mode):
1280 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1281 * textmodes/css-mode.el (css-mode):
1282 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1283 (sgml-tags-invisible, sgml-guess-indent):
1284 * textmodes/tex-mode.el (tex-common-initialization)
1285 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1286 (doctex-mode, plain-tex-mode, latex-mode):
1287 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1289 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1291 * vc/vc-hg.el (vc-hg-next-revision):
1292 Ensure use of default "tip" output format. (Bug#6968)
1294 2012-12-01 Kim F. Storm <storm@cua.dk>
1296 * startup.el (fancy-startup-tail): Add a clickable link
1299 2012-12-01 Chong Yidong <cyd@gnu.org>
1301 * startup.el (fancy-startup-tail): Improve the message about
1302 auto-save files (Bug#2176).
1304 * files.el (recover-session): Improve the descriptive message, and
1305 use substitute-command-keys.
1307 2012-12-01 Glenn Morris <rgm@gnu.org>
1309 * ido.el (ido-file-internal):
1310 Handle other-window, other-frame for dired. (Bug#13036)
1312 2012-11-30 Glenn Morris <rgm@gnu.org>
1314 * icomplete.el (icomplete-separator): Fix :version.
1316 2012-11-30 Chong Yidong <cyd@gnu.org>
1318 * shell.el (shell): For C-u M-x shell, use an inactive shell
1319 buffer as the default (Bug#1975).
1320 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1321 (shell-mode): Use them to reapply ansi colorization if Shell mode
1324 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1326 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1328 2012-11-30 Samuel Bronson <naesten@gmail.com>
1330 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1331 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1333 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1335 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1336 by move-to-column (Bug#3234).
1338 2012-11-30 Chong Yidong <cyd@gnu.org>
1340 * longlines.el (longlines-wrap-line, longlines-encode-region):
1341 Preserve text properties (Bug#1425).
1343 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1345 * vc/vc.el (vc-register): Allow registering a file which is
1346 already registered with a different backend (Bug#10589).
1348 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
1349 Stefan Monnier <monnier@iro.umontreal.ca>
1351 * icomplete.el: Change separator; add ido-style commands.
1352 (icomplete-show-key-bindings): Remove custom var.
1353 (icomplete-get-keys): Remove function.
1354 (icomplete-forward-completions, icomplete-backward-completions):
1356 (icomplete-minibuffer-map): New var.
1357 (icomplete-minibuffer-setup): Use it.
1358 (icomplete-exhibit): Don't delay if the list of completions is known.
1359 (icomplete-separator): New custom.
1360 (icomplete-completions): Use it.
1361 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1362 (minibuffer-force-complete-and-exit): New command.
1363 (minibuffer--complete-and-exit): New function extracted from
1364 minibuffer-complete-and-exit.
1365 (minibuffer-complete-and-exit): Use it.
1367 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1368 error message when the file doesn't exist (bug#12974).
1370 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1372 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1374 2012-11-29 Glenn Morris <rgm@gnu.org>
1376 * files.el (hack-dir-local-variables): Warn if try to set
1377 coding via dir-locals, since it doesn't work. (Bug#7169)
1379 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1380 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1381 Set buffer-local value of desktop-save-buffer.
1382 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1384 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1385 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1387 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1388 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1390 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1393 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1395 * calc/calc-forms.el (calc-date-notation): Fix regexp
1396 used to find time codes. Fix symbol for seconds.
1398 2012-11-27 Glenn Morris <rgm@gnu.org>
1400 * emacs-lisp/derived.el (derived-mode-make-docstring):
1401 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1403 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1405 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1406 lexically scoped variables (bug#13005).
1408 2012-11-27 Glenn Morris <rgm@gnu.org>
1410 * vc/vc-hooks.el (vc-mistrust-permissions):
1411 Default to t, to avoid data-loss. (Bug#11490)
1413 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
1415 * progmodes/python.el (python-indent-guess-indent-offset):
1416 If indentation is guessed make python-indent-offset buffer-local.
1418 Fix Imenu regression.
1419 * progmodes/python.el (python-nav-beginning-of-defun):
1420 Fix forward movement when statement(s) separates point from defun.
1421 (python-imenu-prev-index-position): New function.
1423 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1425 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1427 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1428 Don't set buffer-file-type. Return nil. (Bug#12989)
1430 2012-11-27 Glenn Morris <rgm@gnu.org>
1432 * hippie-exp.el (hippie-expand-try-functions-list):
1433 Re-autoload it. (Bug#12982)
1435 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1437 * descr-text.el (describe-char-padded-string):
1438 Call internal-char-font only on GUI frames. (Bug#11964)
1440 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
1442 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1443 and obsoletion message.
1445 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1447 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1448 the constructs to keep outside of the `cl-block' (bug#12977).
1450 2012-11-27 Chong Yidong <cyd@gnu.org>
1452 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1453 keep reading until we get the up-event anyway, in order to process
1454 the up-event for mouse-1-click-follows-link (Bug#12971).
1456 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1458 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1459 base function is not yet defined (bug#12965).
1460 (ad-activate-advised-definition): Use ad-compile-function.
1461 (ad-activate): Use cond.
1463 2012-11-25 Leo Liu <sdl.web@gmail.com>
1465 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1468 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1470 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1471 reftex-section-info-function in order to be compatible with
1472 Texinfo integration.
1474 * textmodes/reftex.el (reftex-section-pre-regexp)
1475 (reftex-section-post-regexp, reftex-section-info-function):
1477 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1478 reftex-section-post-regexp, and reftex-section-info-function in order
1479 to be compatible with Texinfo integration.
1481 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1482 use reftex-section-pre-regexp variable in order to be compatible with
1483 Texinfo integration.
1485 2012-11-25 Chong Yidong <cyd@gnu.org>
1487 * faces.el: Make face-spec-set more analogous to setq.
1488 (face-spec-set): Change the third arg to specify whether this
1489 function is being called via defface, customize, or a third party.
1490 Set the appropriate symbol properties. Clear the override spec if
1491 setting via Custom. Initialize face if necessary. (Bug#4988)
1492 (face-spec-recalc): Allow theme faces to completely replace the
1493 defface spec, in the same way as custom faces (Bug#8454).
1495 * cus-face.el (custom-declare-face): Move face initialization to
1497 (custom-theme-set-faces): Don't initialize the face name here, as
1498 that is now done in face-spec-set.
1500 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1501 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1502 Simplify by using the new arg to face-spec-set.
1504 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1505 reset face-override-spec too, and use custom-declare-face.
1507 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1509 * term/ns-win.el (ns-initialize-window-system): Move creation of
1510 fontsets here (Bug#11964).
1512 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1514 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1517 2012-11-24 Chong Yidong <cyd@gnu.org>
1519 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1522 * custom.el (custom-theme-set-variables): Use a topological sort
1523 for ordering by custom dependencies (Bug#12952).
1524 (custom--sort-vars, custom--sort-vars-1): New functions.
1526 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1528 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1529 lexical-binding (bug#12938).
1531 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
1533 * image-mode.el (image-transform-check-size): Use assertions only
1534 for images of type imagemagick.
1536 Otherwise no error, image-transform-fit-to-{width,height} is
1537 silently ignored, as before. Doc fix.
1539 2012-11-24 Chong Yidong <cyd@gnu.org>
1541 * faces.el (color-defined-p): Doc fix (Bug#12853).
1543 2012-11-24 Juri Linkov <juri@jurta.org>
1545 * dired.el (dired-mark): Add optional arg `interactive'.
1546 Check for `use-region-p' if `interactive' is non-nil.
1547 (dired-unmark, dired-flag-file-deletion): Add optional arg
1548 `interactive'. Call `dired-mark' with the arg `interactive'.
1551 * wdired.el: Revert 2012-10-17 change partly and replace it with
1552 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1553 (wdired-finish-edit): Add marks for new file names to
1554 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1555 after `revert-buffer'.
1556 (wdired-do-renames): Remove calls to `dired-remove-file',
1557 `dired-add-file', `dired-add-entry'. (Bug#11795)
1559 2012-11-24 Alan Mackenzie <acm@muc.de>
1561 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1563 Fix bugs in the state cache. Enhance a debugging mechanism.
1564 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1565 "brace at column zero" strategy for C++.
1566 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1567 (c-parse-state-point): New variable.
1568 (c-record-parse-state-state): Record old parse state with
1569 `copy-tree'. Record previous value of point.
1570 (c-debug-parse-state-double-cons): New debugging function.
1571 (c-debug-parse-state): Call the above new function.
1572 (c-toggle-parse-state-debug): Output a confirmatory message.
1574 * progmodes/cc-mode.el (c-before-change, c-after-change):
1575 Call c-invalidate-state-cache from `c-before-change' instead of
1578 2012-11-23 Chong Yidong <cyd@gnu.org>
1580 * find-cmd.el (find-constituents): Add executable, ipath,
1581 readable, samefile, writable, daystart, regextype (Bug#12856).
1583 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1585 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1587 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1589 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1590 definition. This fixes a bootstrap failure.
1591 (calc-gregorian-switch): In menu, put dates before regions.
1592 This is easier to follow, lines up better in the menu, and lets us
1593 coalesce regions that switch at the same time. Give country
1594 names, not "Vatican", as that's better for non-expert users.
1595 Use names that are stable between the date of switch and now, e.g.,
1596 Bohemia and Moravia (which existed then and now) and not
1597 Czechoslovakia (which didn't exist then and doesn't exist now).
1598 What is now the U.S. mostly did not switch at the same time as
1599 Britain, so omit the U.S. Correct spelling of "Britain".
1600 Catholic Switzerland was too much of a mess, so omit it.
1602 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1604 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1605 after the variable is changed.
1607 2012-11-21 Daniel Colascione <dancol@dancol.org>
1609 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
1610 in SQL declarations for font-lock.
1611 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
1613 2012-11-21 Glenn Morris <rgm@gnu.org>
1615 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1616 (face-italic-p): Add optional argument "inherit".
1618 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1619 Remove -p suffix from names, for consistency with other set-face-*.
1620 (set-face-inverse-video): Fix interactive spec.
1621 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1622 * textmodes/table.el (table--update-cell-face):
1623 Use set-face-inverse-video rather than now obsolete alias.
1625 2012-11-21 Eli Zaretskii <eliz@gnu.org>
1627 * simple.el (line-move): Don't call line-move-partial if
1628 scroll-conservatively is in effect. (Bug#12927)
1630 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1632 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1633 Fallback on completion-at-point rather than
1634 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1635 (eshell-cmpl-initialize): Setup completion-at-point.
1637 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1639 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1641 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
1643 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1644 are remote, check out-of-band property for both.
1646 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1648 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1651 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
1653 More minor time fixes.
1654 * calendar/time-date.el: Commentary fix.
1655 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1656 too much other code depends on (0 0) time stamps.
1657 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1658 Add a couple of FIXME comments.
1660 Minor cleanup for times as lists of four integers.
1661 * files.el (dir-locals-directory-cache):
1662 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1664 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1665 * ps-bdf.el (bdf-file-newer-than-time):
1666 Process four-integers time stamps, not two. Doc fixes.
1668 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1670 * uniquify.el (uniquify-managed): Use defvar-local.
1671 (rename-buffer, create-file-buffer): Advise with advice-add.
1672 (uniquify-unload-function): Unadvise accordingly.
1674 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1675 (trace-buffer): Don't purecopy.
1676 (trace-entry-message, trace-exit-message): Add `context' arg.
1677 (trace--timer): New var.
1678 (trace-make-advice): Adjust for use in nadvice.
1679 Add `context' argument. Delay `display-buffer' via a timer.
1680 (trace-function-internal): Use advice-add.
1681 (trace--read-args): New function.
1682 (trace-function-foreground, trace-function-background): Use it.
1683 (trace-function): Rename to trace-function-foreground and redefine as
1684 an alias to that new name.
1685 (untrace-function, untrace-all): Adjust to the use of nadvice.
1687 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1689 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1691 * subr.el (called-interactively-p-functions): New var.
1692 (internal--called-interactively-p--get-frame): New macro.
1693 (called-interactively-p, interactive-p): Rewrite in Lisp.
1694 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1695 (called-interactively-p-functions): Use it.
1696 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1697 (called-interactively-p-functions): Use it.
1698 * allout.el (allout-called-interactively-p): Don't assume
1699 called-interactively-p is a subr.
1701 2012-11-20 Glenn Morris <rgm@gnu.org>
1703 * profiler.el (profiler-report-mode-map): Add a menu.
1704 No need to bind `q' because we derive from special-mode.
1705 (profiler-report-find-entry): Handle calls from the menu-bar.
1707 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1709 * emacs-lisp/byte-run.el (defun-declarations-alist):
1710 Allow a compiler-macro to be a lambda expression.
1712 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1714 (python-syntax-context): Add compiler-macro.
1715 (python-font-lock-keywords): Simplify with De Morgan.
1717 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1719 * files.el (load-file): Require match in minibuffer selection, as was
1720 the case in Emacs-20 before we changed the spec to allow .elc files
1723 * json.el: Don't require cl since we don't use it.
1724 * color.el: Don't require cl.
1725 (color-complement): `caddr' -> `nth 2'.
1727 * calendar/time-date.el (time-to-seconds): De-obsolete.
1729 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1731 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1733 (math-date-to-julian-dt): Adjust the initial approximation for the
1734 year to deal with the new definition of the DATE.
1736 2012-11-19 Daniel Colascione <dancol@dancol.org>
1738 * term/w32-win.el (cygwin-convert-path-from-windows):
1739 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
1741 2012-11-18 Chong Yidong <cyd@gnu.org>
1743 * filecache.el (file-cache--read-list): New function.
1744 (file-cache-add-directory-list, file-cache-add-file-list)
1745 (file-cache-delete-file-list, file-cache-delete-directory-list):
1746 Use it to read a list of files or directories (Bug#12846).
1747 (file-cache-add-file, file-cache-add-directory)
1748 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1749 (file-cache-delete-directory): Print an message.
1751 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1753 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1754 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1756 2012-11-18 Glenn Morris <rgm@gnu.org>
1758 * image.el (insert-image, insert-sliced-image): Doc fix.
1760 2012-11-18 Chong Yidong <cyd@gnu.org>
1762 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1765 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1767 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1768 response when the target file is in a subdirectory (Bug#12757).
1770 2012-11-18 Chong Yidong <cyd@gnu.org>
1772 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1774 2012-11-18 Glenn Morris <rgm@gnu.org>
1776 * emacs-lisp/cl-lib.el (face-underline-p):
1777 Use set-face-underline rather than the alias set-face-underline-p.
1779 * window.el (with-temp-buffer-window): Doc fix.
1780 * subr.el (with-output-to-temp-buffer):
1781 Add doc xref to with-temp-buffer-window.
1783 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
1785 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1786 * calc/calc.el (math-format-date-cache): Declare.
1788 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1790 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1791 It also uses January 1, 1 AD as its day number 1.
1792 * calc/calc-forms.el (math-julian-date-beginning)
1793 (math-julian-date-beginning-int): Implement this.
1795 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
1797 * descr-text.el (quail-find-key):
1798 * dired.el (desktop-file-name):
1799 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1800 * generic-x.el (comint-mode, comint-exec):
1801 * image-dired.el (widget-forward):
1802 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1803 (speedbar-change-expand-button-char)
1804 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1805 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1806 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1807 (widget-field-action, widget-value-set):
1808 * speedbar.el (imenu--make-index-alist):
1809 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1810 (ring-length, ring-insert):
1811 * vcursor.el (compare-windows-skip-whitespace):
1812 * woman.el (dired-get-filename):
1815 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1817 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1819 * calc/calc.el (calc-gregorian-switch): New variable.
1821 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1822 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1823 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1824 (math-leap-year-p): Add option to distinguish between Julian
1825 and Gregorian calendars.
1826 (math-day-number): Use `math-day-in-year' to do the computations.
1827 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1828 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1829 to do the computations.
1830 (math-date-to-dt): Use `math-date-to-julian-dt' and
1831 `math-date-to-gregorian-dt' to do the computations.
1832 (calcFunc-weekday, math-format-date-part): Use the new version of
1833 the DATE to determine the weekday.
1834 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1837 2012-11-17 Eli Zaretskii <eliz@gnu.org>
1839 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1840 Cygwin; otherwise use 'file:'. (Bug#12914)
1841 (cygwin-convert-path-from-windows): Declare, to avoid
1842 byte-compiler warnings.
1844 2012-11-17 Andreas Politz <politza@fh-trier.de>
1846 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1847 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1848 prefix and negative numeric prefix args (Bug#12795).
1850 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
1852 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1853 Don't signal an error with a score that is too low to add to the
1854 list of top scores. (Bug#12779)
1856 2012-11-17 Chong Yidong <cyd@gnu.org>
1858 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1860 * filecache.el (file-cache-add-file): Handle relative file name in
1861 the argument (Bug#12694).
1863 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1865 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1867 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1871 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1873 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1875 * window.el (enlarge-window, shrink-window): Don't mention return
1876 value in doc-string (Bug#12896).
1877 (window--display-buffer): Don't resize frames - it won't work
1878 with all window managers and defeat pop-up-frame-alist.
1879 (display-buffer-alist): In doc-string explain that CONDITION can
1880 be a function and which arguments are passed to it (Bug#12854).
1881 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1882 expressions (Bug#12854).
1883 (display-buffer): Pass ACTION argument to
1884 display-buffer-assq-regexp.
1886 2012-11-16 Glenn Morris <rgm@gnu.org>
1888 * window.el (fit-frame-to-buffer-bottom-margin)
1889 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1891 * faces.el (face-underline-p): Use face-attribute-specified-or.
1893 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
1895 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1897 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1899 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1901 2012-11-16 Glenn Morris <rgm@gnu.org>
1903 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1904 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1906 * faces.el (face-underline-p): Doc fix. Handle :underline being
1907 things other than `t' (a string, a list).
1908 (face-inverse-video-p): Doc fix.
1909 (set-face-underline): Rename it back from set-face-underline-p.
1910 Doc fix. Allow interactive input of values other than t.
1911 (read-face-attribute): Apply formatting to :underline,
1912 since like :box and :stipple it can take list values.
1914 * term.el (ansi-term): Don't let C-x escape-char binding
1915 clobber the more standard C-c binding. (Bug#12842)
1917 * subr.el (set-temporary-overlay-map): Doc fix.
1919 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1921 * window.el (record-window-buffer)
1922 (display-buffer-record-window): When copying the markers to
1923 window-point preserve window-point-insertion-type. (Bug#12588)
1925 2012-11-16 Glenn Morris <rgm@gnu.org>
1927 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1928 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1929 Use new names for hooks rather than obsolete aliases.
1931 2012-11-15 Daniel Colascione <dancol@dancol.org>
1933 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1934 prefix instead of "file:" so that when FILE-NAME begins with "//",
1935 as it does when the target file is on a network share, url-handler
1938 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1940 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1941 a preactivated advice from an old advice.el; they're not compatible!
1943 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1945 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1946 Fix string-spec case.
1948 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1950 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1952 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1953 (advice--buffer-local-function-sample): New var.
1954 (advice--set-buffer-local, advice--buffer-local): New functions.
1955 (add-function, remove-function): Use them.
1957 2012-11-15 Drew Adams <drew.adams@oracle.com>
1959 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1961 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1963 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1964 potential binding of print-gensym to t, and prettify (back)quotes in
1965 case they appear in args's default values (bug#12884).
1967 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1969 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1970 (advice-eval-interactive-spec): New function.
1971 (advice--make-interactive-form): Support around advice (bug#12844).
1973 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1975 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1976 more strict. Add docstring.
1977 (ruby-expression-expansion-re): Extract from
1978 `ruby-match-expression-expansion'.
1979 (ruby-syntax-propertize-function): After everything else, search
1980 for expansions in string literals, mark their insides as
1981 whitespace syntax and save match data for font-lock.
1982 (ruby-font-lock-keywords): Use the 2nd group from expression
1984 (ruby-match-expression-expansion): Use the match data saved to the
1985 text property in ruby-syntax-propertize-function.
1987 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1989 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1992 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1994 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1995 start/end keyword a bit harder. Works with different values of N.
1997 (ruby-end-of-block): Update accordingly.
1999 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2001 * woman.el (woman-file-name): Don't mess with unread-command-events
2004 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2005 Remove out of date self-require hack.
2006 (ad-do-advised-functions): Use simple `dolist'.
2007 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2008 (ad-advice-definition): Redefine as functions.
2009 (ad-advice-classes): Move before first use.
2010 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
2011 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
2012 (ad--defalias-fset): Remove functions.
2013 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
2014 (ad-get-orig-definition): Rewrite.
2015 (ad-make-advised-definition-docstring): Change base docstring.
2016 (ad-real-orig-definition): Rewrite.
2017 (ad-map-arglists): Change name of called function.
2018 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2019 (ad-make-advised-definition): Simplify.
2020 (ad-assemble-advised-definition): Tweak for new calling context.
2021 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
2022 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2023 function and call ad-activate if needed.
2024 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2025 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2026 (ad-compile-function): Compile ad-Advice-*.
2027 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2028 (ad-start-advice, ad-stop-advice): Remove.
2030 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2032 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2033 period before class method names, not after. Remove handling of
2034 one impossible case. Add comments.
2036 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2038 * emacs-lisp/advice.el: Remove support for freezing.
2039 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2040 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2041 Remove support for `freeze'.
2043 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2044 override the default.
2045 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2047 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2050 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2052 (advice--strip-macro): New function.
2053 (advice--defalias-fset): Use them to handle macros.
2054 (advice-add): Use them.
2055 (advice-member-p): Correctly handle macros.
2057 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2059 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2060 Never font-lock the beginning of singleton class as heredoc.
2062 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2064 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2066 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
2068 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
2069 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2070 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
2072 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2074 Fix end-of-defun misbehavior.
2075 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2076 python-beginning-of-defun-function. Handle nested defuns
2078 (python-nav-end-of-defun): Rename from
2079 python-end-of-defun-function. Ensure forward movement.
2080 (python-info-current-defun): Reimplement to work as intended
2081 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2082 parent defuns as soon as possible.
2084 2012-11-13 Glenn Morris <rgm@gnu.org>
2086 * progmodes/flymake.el (flymake-error-bitmap)
2087 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2088 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2090 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2092 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2093 backward, always stop at indentation. Reverts the change from
2094 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2096 2012-11-13 Glenn Morris <rgm@gnu.org>
2098 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2099 Add ibuffer-filter-by-derived-mode.
2101 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2102 the same name shadowing each other.
2104 * window.el (with-temp-buffer-window): Doc tweak.
2106 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2108 * help.el (temp-buffer-max-height):
2109 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
2110 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2112 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2114 * emacs-lisp/nadvice.el: New package.
2115 * subr.el (special-form-p): New function.
2116 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2117 (elp-all-instrumented-list): Remove var.
2118 (elp-not-profilable): Remove elp-wrapper.
2119 (elp-profilable-p): Use autoloadp and special-form-p.
2120 (elp--advice-name): New const.
2121 (elp-instrument-function): Use advice-add.
2122 (elp--instrumented-p): New predicate.
2123 (elp-restore-function): Use advice-remove.
2124 (elp-restore-all, elp-reset-all): Use mapatoms.
2125 (elp-set-master): Use elp--instrumented-p.
2126 (elp--make-wrapper): Rename from elp-wrapper, return a function
2127 suitable for advice-add. Use cl-inf.
2128 (elp-results): Use mapatoms+elp--instrumented-p.
2129 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2130 (debug-function-list): Remove var.
2131 (debug): Rename arg, and then let-bind it explicitly inside.
2132 (debugger-setup-buffer): Rename arg.
2133 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2134 (debugger-frame-number): Adjust to new debug-on-entry setup.
2135 (debug--implement-debug-on-entry): Rename from
2136 implement-debug-on-entry, add argument.
2137 (debugger-special-form-p): Remove, use special-form-p instead.
2138 (debug-on-entry): Use advice-add.
2139 (debug--function-list): New function.
2140 (cancel-debug-on-entry): Use it, along with advice-remove.
2141 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2142 (debugger-list-functions): Use debug--function-list instead of
2143 debug-function-list.
2144 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2145 (ad-special-form-p): Remove, use special-form-p instead.
2146 (ad-set-advice-info): Use add-function and remove-function.
2147 (ad--defalias-fset): Adjust accordingly.
2149 2012-11-10 Glenn Morris <rgm@gnu.org>
2151 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2152 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2153 (report-emacs-bug-create-existing-bugs-buffer)
2154 (report-emacs-bug-parse-query-results)
2155 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2157 * term.el (term-default-fg-color, term-default-bg-color):
2158 Make obsolete, rather than just saying "deprecated" in the doc.
2160 * term.el (term): Rename from `term-face'.
2161 (term-current-face, ansi-term-color-vector)
2162 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2165 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
2167 * server.el (server-create-window-system-frame): Handle Nextstep
2168 specially (Bug#12780).
2170 2012-11-10 Glenn Morris <rgm@gnu.org>
2172 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2173 Unautoload, and make obsolete. (Bug#7449)
2175 2012-11-10 Chong Yidong <cyd@gnu.org>
2177 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2178 rename from diff-remove-trailing-whitespace (Bug#12831).
2180 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2182 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2183 miscompilation of trace.el.
2185 2012-11-10 Glenn Morris <rgm@gnu.org>
2187 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2189 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2191 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2194 2012-11-10 Chong Yidong <cyd@gnu.org>
2196 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2197 a defcustom with an appropriate :set function.
2198 (minibuffer-default--in-prompt-regexps): New function.
2200 2012-11-10 Glenn Morris <rgm@gnu.org>
2202 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2203 (define-modify-macro): Doc fixes.
2205 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2206 (gv-define-simple-setter): Update doc of `fix-return'.
2208 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2210 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2211 twice when `fix-return' is set (bug#12813).
2213 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2214 gv-define-simple-setter (bug#12812).
2216 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2219 2012-11-10 Glenn Morris <rgm@gnu.org>
2221 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2223 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2224 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2225 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2226 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2228 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2230 2012-11-10 Leo Liu <sdl.web@gmail.com>
2232 * ido.el (ido-set-matches-1): Improve flex matching performance by
2233 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2235 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2237 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2238 (ad--defalias-fset): New function.
2239 (ad-safe-fset): Remove.
2240 (ad-make-freeze-definition): Use cl-letf*.
2242 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2244 * subr.el (dolist): Don't bind VAR in RESULT.
2246 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2247 (fset, documentation): Don't save real def since we don't advise.
2248 (ad-do-advised-functions): Remove problematic `result-form'.
2249 (ad-safe-fset): `ad-real-fset' => `fset'.
2250 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2251 uses CL's dolist internally.
2252 (ad-arglist): Remove unused arg `name'.
2253 (ad-docstring, ad-make-advised-docstring):
2254 `ad-real-documentation' => `documentation'.
2255 (warning-suppress-types): Declare.
2256 (ad-set-arguments): Simple CSE.
2257 (ad-recover-normality): Sanity check.
2259 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2260 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2262 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2264 * ses.el: symbol to coordinate mapping is made by symbol property
2265 `ses-cell'. This means that the same mapping is done for all SES
2266 sheets. That is good enough for cells with standard A1 names, but
2267 not for named cell. So a hash map is added for the latter.
2268 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
2269 (ses-sym-rowcol): Use hashmap for named cell.
2270 (ses-is-cell-sym-p): New defun.
2271 (ses-decode-cell-symbol): New defun.
2272 (ses-create-cell-variable): Add cell to hashmap when name is not
2274 (ses-rename-cell): Check that cell new name is not already in
2275 spreadsheet with the use of ses-is-cell-sym-p
2276 (ses-rename-cell): Use hash map for named cells, but accept also
2277 renaming back to A1-like.
2279 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2281 * emacs-lisp/advice.el: Use new dynamic docstrings.
2282 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2283 Use dynamic-docstring-function instead of ad-advice-info.
2284 (ad--make-advised-docstring): New function extracted from
2285 ad-make-advised-docstring.
2286 (ad-make-advised-docstring): Use it.
2287 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2289 (sql-help): Use it with dynamic-docstring-function.
2291 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2293 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2295 * files.el (hack-one-local-variable--obsolete): New function.
2296 (hack-one-local-variable): Use it for obsolete settings.
2298 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2301 * progmodes/js.el (js--filling-paragraph): New var.
2302 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2303 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2306 2012-11-08 Julien Danjou <julien@danjou.info>
2308 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2309 `auto-mode-alist' (Bug#12835).
2311 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2313 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2314 (perl--prettify-symbols-alist): New const.
2315 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2317 (perl-font-lock-keywords-2): Use them.
2318 (perl-electric-noindent-p): New function.
2319 (perl-mode): Use it to set up electric-indent-mode.
2320 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2321 (perl-mode-map): Remove bindings for them.
2322 (perl-imenu-generic-expression, perl-outline-level):
2323 Match functions&packages in column>0.
2325 * env.el (env--substitute-vars-regexp): New const.
2326 (substitute-env-vars): Use it. Add `only-defined' arg.
2327 * net/tramp.el (tramp-replace-environment-variables): Use it.
2329 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2330 Byte-compile *before* eval in eval-and-compile.
2331 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2332 (byte-compile-file-form-autoload): Don't hide actual definition.
2333 (byte-compile-maybe-guarded): Accept `functionp' as well.
2335 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2337 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
2339 * notifications.el (notifications-get-server-information-method):
2341 (notifications-get-capabilities): Fix docstring.
2342 (notifications-get-server-information): New defun.
2344 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2346 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2349 * textmodes/ispell.el: Experimental support for support debugging.
2350 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2352 (ispell-print-if-debug): New function to print stuff to
2353 `ispell-debug-buffer' if debugging is enabled.
2354 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2355 show some debugging info.
2356 (ispell-buffer-with-debug): New function that creates a debugging
2357 buffer and calls `ispell-buffer' with debugging enabled.
2359 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2360 comment in autoconf mode. (Bug#12768)
2362 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2364 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2365 frame-first-window, frame-root-window, frame-selected-window,
2366 minibuffer-selected-window, minibuffer-window,
2367 window-absolute-pixel-edges, window-at, window-body-height,
2368 window-body-width, window-display-table, window-combination-limit,
2369 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2370 window-inside-edges, window-inside-pixel-edges, window-left-child,
2371 window-left-column, window-margins, window-next-buffers,
2372 window-next-sibling, window-new-normal, window-new-total,
2373 window-normal-size, window-parameter, window-parameters, window-parent,
2374 window-pixel-edges, window-point, window-prev-buffers,
2375 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2376 window-start, window-text-height, window-top-child, window-top-line,
2377 window-total-height, window-total-width and window-use-time to the list
2378 of functions without side-effects.
2379 (toplevel): Add window-valid-p to the list of error-free functions
2380 without side-effects.
2382 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2384 * textmodes/ispell.el (ispell-program-name):
2385 Update spellchecker parameters when customized.
2387 2012-11-04 Glenn Morris <rgm@gnu.org>
2389 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2391 2012-11-04 Chong Yidong <cyd@gnu.org>
2393 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2394 same-window-* variables.
2396 2012-11-04 Juri Linkov <juri@jurta.org>
2398 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2399 (isearch-describe-key, isearch-describe-mode): Use a display
2400 action instead of binding same-window-* variables (Bug#10040).
2402 2012-11-03 Glenn Morris <rgm@gnu.org>
2404 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2405 Rename handler properties back from cl-- to cl-. (Bug#12788)
2407 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2409 2012-11-03 Eli Zaretskii <eliz@gnu.org>
2411 * term/pc-win.el: Don't load term/internal from here.
2413 * loadup.el: Load term/internal from here.
2415 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2417 * progmodes/python.el (inferior-python-mode): Fix hang in
2418 jit-lock (Bug#12645).
2420 2012-11-03 Martin Rudalics <rudalics@gmx.at>
2422 * window.el (switch-to-visible-buffer)
2423 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2425 2012-11-03 Glenn Morris <rgm@gnu.org>
2427 * emacs-lisp/cl-lib.el (cl--random-time):
2428 Rename from cl-random-time. (Bug#12773)
2429 (cl--gensym-counter, cl--random-state): Update callers.
2430 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2432 2012-11-03 Chong Yidong <cyd@gnu.org>
2434 * cus-start.el: Make cursor-type customizable (Bug#11633).
2436 2012-11-02 Glenn Morris <rgm@gnu.org>
2438 * filecache.el: No need to load find-lisp when compiling.
2439 (find-lisp-find-files): Autoload it.
2440 (file-cache-add-directory-recursively): Don't require find-lisp.
2442 * image.el (image-type-from-file-name): Trivial simplification.
2444 * emacs-lisp/bytecomp.el (byte-compile-eval):
2445 Decouple "noruntime" and "cl-functions" warnings.
2447 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
2449 * play/gomoku.el (gomoku-display-statistics): Update mode line
2450 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2452 2012-10-31 Martin Rudalics <rudalics@gmx.at>
2454 * window.el (quit-restore-window): If the window has been
2455 created on an existing frame and ended up as the sole window on
2456 that frame, do not delete it (Bug#12764).
2458 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2460 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2461 Rename from sh--inside-arithmetic-expression, handle more cases
2464 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2465 (sh-font-lock-open-heredoc): Use it (bug#12770).
2467 2012-10-30 Glenn Morris <rgm@gnu.org>
2469 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2471 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2473 2012-10-29 Chong Yidong <cyd@gnu.org>
2475 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2476 function key is stored in a keyboard macro (Bug#4894).
2478 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2480 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2482 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2484 (diff-unified->context, diff-context->unified)
2485 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2487 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2489 * files.el (find-alternate-file): Only ask one question (bug#12487).
2491 2012-10-29 Chong Yidong <cyd@gnu.org>
2493 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2494 Suggested by Dan Nicolaescu (Bug#6326).
2496 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2498 * startup.el (fancy-about-screen): Don't message (Bug#12680).
2500 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2502 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2504 * face-remap.el (face-remap-add-relative): Handle the case where a
2505 face-remapping-alist entry is a cons cell (Bug#12762).
2507 2012-10-29 Kevin Ryde <user42@zip.com.au>
2509 * woman.el (woman-parse-numeric-value): Handle picas correctly
2512 2012-10-29 Glenn Morris <rgm@gnu.org>
2514 * emacs-lisp/cl.el (defsetf): Doc fix.
2516 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2518 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2519 syntax to the matching opener, if any (bug#12547).
2520 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2521 matching open as a "case-(".
2522 (sh-smie-rc-grammar): Add a corresponding rule for it.
2524 2012-10-28 Daniel Hackney <dan@haxney.org>
2526 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2527 "PKGNAME-autoloads.el" in case we created it.
2529 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2531 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2532 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
2533 (completion--twq-all): Disable too-strict assertions.
2535 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2537 2012-10-27 Eli Zaretskii <eliz@gnu.org>
2539 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2540 text to match the real keybindings.
2542 2012-10-27 Juri Linkov <juri@jurta.org>
2544 * wdired.el (wdired-keep-marker-rename): New defcustom.
2545 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2548 * dired.el (dired-keep-marker-rename): Add reference to
2549 `wdired-keep-marker-rename' in the docstring.
2550 Add default character value ?R to display initially in
2551 Customization UI instead of ?@.
2553 2012-10-27 Martin Rudalics <rudalics@gmx.at>
2555 * window.el (display-buffer): In doc-string describe
2556 window-height and window-width alist entries.
2558 * time.el (display-time-world): Restore fit-window-to-buffer
2561 2012-10-27 Chong Yidong <cyd@gnu.org>
2563 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2565 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
2567 * minibuffer.el (completion-category-overrides): New completion
2568 category `bookmark' (bug#11131).
2570 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2572 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2573 Silence bogus compiler warnings for ad-do-it.
2575 * bookmark.el (bookmark-completing-read): Set the completion category
2576 to `bookmark' (bug#11131).
2578 2012-10-26 Bastien <bzg@altern.org>
2579 Stefan Monnier <monnier@iro.umontreal.ca>
2581 * face-remap.el: Use lexical-binding.
2582 (text-scale-adjust): Improve docstring. Use itself for the temporary
2583 overlay-map bindings, so as to repeat the "Use..." message each time.
2585 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2587 * emacs-lisp/macroexp.el (macroexp--expand-all):
2588 Obey byte-compile-warning-enabled-p (bug#12486).
2590 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2591 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2593 2012-10-26 Martin Rudalics <rudalics@gmx.at>
2595 * mouse.el (mouse-drag-line): Move last form into preceding when
2598 * help.el (resize-temp-buffer-window): Fix doc-string.
2600 2012-10-25 David Engster <deng@randomsample.de>
2602 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
2603 Remove. This feature is already integrated in imenu.
2605 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2606 always loaded. Require `speedbar' unconditionally.
2608 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2610 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2612 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2614 * net/ldap.el (ldap-search-internal): The official ldif format starts
2615 with a "version: 1" header (bug#12724).
2617 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2620 2012-10-25 Glenn Morris <rgm@gnu.org>
2622 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2624 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2626 * minibuffer.el (minibuffer-force-complete): Use one more marker
2627 for the temporary-overlay-map command (bug#12619).
2629 2012-10-24 Chong Yidong <cyd@gnu.org>
2631 * time.el (display-time-world-mode): Derive from special-mode.
2632 (display-time-world): Use display-buffer (Bug#12708).
2633 (display-time-world-mode-map): Variable deleted.
2634 (display-time-world-display): Wrap the final delete-char inside
2637 2012-10-24 Chong Yidong <cyd@gnu.org>
2639 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2642 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2644 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2646 * minibuffer.el (completion--all-sorted-completions-location): New var.
2647 (completion--cache-all-sorted-completions)
2648 (completion--flush-all-sorted-completions): Use it.
2649 (completion-in-region, completion-in-region--postch)
2650 (completion-at-point, completion-help-at-point): Use markers in
2651 completion-in-region--data (bug#12619).
2653 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2655 * progmodes/compile.el (compilation-start): Try to handle common
2656 quoting of `cd' argument (bug#12640).
2658 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2661 2012-10-23 Glenn Morris <rgm@gnu.org>
2663 * progmodes/gud.el (gud-menu-map):
2664 Check gdb-active-process is bound. (Bug#12358)
2666 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2668 * repeat.el (repeat): Set real-this-command (bug#12232).
2670 * htmlfontify.el (hfy-post-html-hook):
2671 * filesets.el (filesets-cache-fill-content-hook):
2672 * arc-mode.el (archive-extract-hook):
2673 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2674 * net/rcirc.el (rcirc-sentinel-functions)
2675 (rcirc-receive-message-functions, rcirc-activity-functions)
2676 (rcirc-print-functions):
2677 * net/dbus.el (dbus-event-error-functions):
2678 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2679 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2680 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2681 * term/sun.el (sun-raw-prefix-hooks):
2682 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2684 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
2686 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2687 Set `tramp-chunksize' to 1. This improves the performance.
2688 (tramp-smb-wait-for-output): Add timeout to
2689 `tramp-accept-process-output' calls.
2691 2012-10-23 Chong Yidong <cyd@gnu.org>
2693 * faces.el (font-list-limit): Define as an obsolete variable.
2695 * startup.el (command-line):
2696 * cus-start.el: Don't refer to font-list-limit.
2698 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2700 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2702 * subr.el (internal-temp-output-buffer-show): Rename from
2703 temp-output-buffer-show, since previously compiled files expect this name.
2705 2012-10-23 Glenn Morris <rgm@gnu.org>
2707 * image.el (image-type-from-file-name): If multiple types match,
2708 return the first one that is supported. (Bug#9045)
2710 2012-10-22 Glenn Morris <rgm@gnu.org>
2712 * image.el (imagemagick-enabled-types): Doc fix.
2714 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2716 * progmodes/which-func.el (which-func-current): The hash-table may have
2717 an explicit nil (bug#12338).
2719 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2721 * electric.el (electric-pair-delete-selection-self-insert-function):
2722 Rename to electric-pair-will-use-region, return a boolean.
2723 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2725 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2726 (delete-selection-pre-hook): Use use-region-p.
2727 (delete-selection-self-insert-function): Remove.
2728 (self-insert-command): Obey self-insert-uses-region-functions.
2729 (self-insert-iso): Revert to previous setting, since we don't actually
2730 know what that command does.
2731 (delete-selection-self-insert-hooks): Remove.
2733 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2735 * delsel.el (delete-selection-helper): New function, extracted from
2736 delete-selection-pre-hook.
2737 (delete-selection-pre-hook): Use it.
2738 (delete-selection-self-insert-function): New function.
2739 (delete-selection-self-insert-hooks): New hook.
2740 (self-insert-command, self-insert-iso): Use it.
2741 * electric.el (electric-pair-syntax): New function, extracted from
2742 electric-pair-post-self-insert-function.
2743 (electric-pair-post-self-insert-function): Use it.
2744 (electric-pair-delete-selection-self-insert-function): New function.
2745 (electric-pair-mode): Require delsel and setup
2746 delete-selection-self-insert-hooks (bug#11520).
2748 2012-10-20 Chong Yidong <cyd@gnu.org>
2750 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2751 no changes to show (Bug#12586).
2753 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2754 list explicitly (Bug#12571).
2756 2012-10-20 Arne Jørgensen <arne@arnested.dk>
2758 * progmodes/flymake.el (flymake-create-temp-inplace):
2761 2012-10-20 Eli Zaretskii <eliz@gnu.org>
2763 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2765 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2767 * calc/calc-units.el (math-extract-units): Properly extract powers
2770 2012-10-20 Daniel Colascione <dancol@dancol.org>
2772 * frame.el (make-frame): Set x-display-name as we used to in order
2773 to unbreak creating an X11 frame from an Emacs daemon started
2776 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2778 * minibuffer.el (minibuffer-force-complete): Make the next completion use
2779 the same completion-field (bug#12221).
2781 2012-10-19 Martin Rudalics <rudalics@gmx.at>
2783 * emacs-lisp/debug.el (debug): Record height of debugger window
2784 also when debugger will be back (Bug#8789).
2786 2012-10-18 Chong Yidong <cyd@gnu.org>
2788 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2789 Convert to defcustom.
2790 (gdb-get-source-file): Don't bind pop-up-windows.
2792 * progmodes/gud.el (gud-display-line): Don't specially re-use
2793 other frames for the gdb-mi case (Bug#12648).
2795 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2797 * emacs-lisp/advice.el: Clean up commentary a bit.
2798 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2799 (byte-code-function-p): Never redefine.
2801 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2803 2012-10-18 Glenn Morris <rgm@gnu.org>
2805 * dired.el (dired-sort-toggle): Some ls implementations only allow
2806 a single option string. (Bug#12666)
2808 * minibuffer.el (completion-cycle-threshold): Doc fix.
2810 2012-10-17 Kenichi Handa <handa@gnu.org>
2812 * international/mule.el (set-keyboard-coding-system):
2813 Recover input meta mode when the new coding system doesn not use 8-bit.
2814 Supply TERMINAL arg to set-input-meta-mode.
2816 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
2818 * wdired.el (wdired-old-marks): New variable.
2819 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2820 (wdired-do-renames): Move point with renamed file and don't lose
2821 mark status (Bug#11795).
2823 2012-10-16 Juri Linkov <juri@jurta.org>
2825 * replace.el (query-replace-help): Mention multi-buffer replacement
2826 keys in the Help message. (Bug#12655)
2828 2012-10-15 Chong Yidong <cyd@gnu.org>
2830 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2832 2012-10-14 Eli Zaretskii <eliz@gnu.org>
2834 * window.el (display-buffer): Doc fix.
2836 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2837 Adjust the msft regexp to the output of Studio 2010, and move msft
2838 before edg-1. See the discussion on emacs-devel,
2839 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2842 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2844 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2845 (oset): Move uses of object-class-fast macro after its definition.
2847 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2849 2012-10-13 Chong Yidong <cyd@gnu.org>
2851 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2852 enabled, re-enable it (Bug#11963).
2854 2012-10-13 Martin Rudalics <rudalics@gmx.at>
2856 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2857 non-nil, restore window configuration (Bug#12623).
2859 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2861 * help-fns.el (describe-variable, describe-function-1):
2862 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2864 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2866 2012-10-12 Glenn Morris <rgm@gnu.org>
2868 * mail/rmailsum.el (rmail-header-summary):
2869 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2871 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2873 * progmodes/python.el (python-mode-map):
2874 Replace subtitute-key-definition with proper command remapping.
2875 (python-nav--up-list): Fix behavior for blocks on the same level.
2877 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2879 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2881 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2882 changes to the format of load-history.
2884 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2885 completion-ignore-case in case that var is buffer-local (bug#12615).
2887 2012-10-11 Kenichi Handa <handa@gnu.org>
2889 * international/eucjp-ms.el: Re-generated.
2891 2012-10-10 Kenichi Handa <handa@gnu.org>
2893 * select.el (xselect--encode-string): If a coding is specified for
2894 selection, and that is compatible with COMPOUND_TEXT, use it.
2896 2012-10-10 Martin Rudalics <rudalics@gmx.at>
2898 * window.el (switch-to-buffer-preserve-window-point): New option.
2900 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2902 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2904 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2905 Don't document nil as a useful value (bug#12583).
2907 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
2909 * net/tramp.el (tramp-debug-message):
2910 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2911 (with-tramp-progress-reporter): Rename from
2912 `tramp-with-progress-reporter'.
2913 (with-tramp-file-property, with-tramp-connection-property):
2914 Move from tramp-cache.el, rename from `with-file-property' and
2915 `with-connection-property', respectively.
2917 * net/tramp-cache.el: Remove `with-file-property' and
2918 `with-connection-property'.
2921 * net/tramp-gvfs.el:
2923 * net/tramp-smb.el: Adapt callees.
2925 * net/trampver.el: Update release number.
2927 2012-10-09 Glenn Morris <rgm@gnu.org>
2929 * w32-fns.el (set-message-beep):
2930 * term/w32-win.el (set-message-beep): Update declarations.
2932 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2934 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2935 (mode-line-widen, mode-line-input-method-map)
2936 (mode-line-coding-system-map, mode-line-remote)
2937 (mode-line-unbury-buffer, mode-line-bury-buffer)
2938 (mode-line-next-buffer, mode-line-previous-buffer):
2939 Replace save-selected-window+select-window => with-selected-window.
2941 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2942 * progmodes/cc-vars.el (bq-process): Remove, unused.
2944 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2946 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2948 Implemented `backward-up-list'-like navigation.
2949 * progmodes/python.el (python-nav-up-list)
2950 (python-nav-backward-up-list): New functions.
2951 (python-mode-map): Define substitute key for backward-up-list to
2952 python-nav-backward-up-list.
2954 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2956 * progmodes/python.el (python-fill-paragraph): Rename from
2957 python-fill-paragraph-function. Fixed fill-paragraph for
2958 decorators (Bug#12605).
2960 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2962 * progmodes/python.el (python-shell-output-filter): Handle extra
2963 carriage return in OSX (Bug#12409).
2965 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2967 Fix shell handling of unbalanced quotes and parens in output.
2968 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2969 (python-syntax-propertize-function): Use it.
2970 (python-shell-output-syntax-table): New var.
2971 (inferior-python-mode): Prevent unbalanced parens/quotes from
2972 previous output mess with current input context.
2974 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
2976 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2977 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2979 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
2981 * ffap.el (ffap-replace-file-component): Support Tramp file name
2982 syntax, not only ange-ftp's one.
2984 2012-10-08 Glenn Morris <rgm@gnu.org>
2986 * cus-start.el (message-log-max): Set :version.
2988 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2990 2012-10-08 Martin Rudalics <rudalics@gmx.at>
2992 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2993 the minibuffer window (Bug#10851).
2995 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2997 Enhancements on forward-sexp movement.
2998 * progmodes/python.el (python-nav-beginning-of-statement)
2999 (python-nav-end-of-statement): Return point-marker.
3000 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3001 (python-info-current-symbol)
3002 (python-info-statement-starts-block-p): Rename from
3003 python-info-beginning-of-block-p.
3004 (python-info-statement-ends-block-p): Rename from
3005 python-info-end-of-block-p.
3006 (python-info-beginning-of-statement-p)
3007 (python-info-end-of-statement-p)
3008 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3011 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3013 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3014 frame-selected-windows.
3016 2012-10-08 Daniel Colascione <dancol@dancol.org>
3018 * battery.el (battery-status-function): Check for
3019 w32-battery-status itself, not system-time windows-nt.
3021 * frame.el: Require cl-lib.
3022 (display-format-alist): New variable mapping frame types to
3023 functions that initialize them.
3024 (window-system-for-display): New function: interprets
3025 display-format-alist.
3026 (make-frame-on-display): Remove existing display-selection logic
3027 and just forward to make-frame, which will now DTRT.
3028 (make-frame): Restructure to use window-system-for-display to
3029 figure out how to create a frame on a given display.
3030 (display-mouse-p): Look for frame-type w32, not a particular
3033 * loadup.el: Load w32 lisp code when we have the w32 feature.
3035 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3036 system-type windows-nt.
3038 * server.el (server-create-window-system-frame): Look for window
3040 (server-proces-filter): Only force a window system when windows-nt
3041 _and_ w32. Explain why.
3043 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3044 of window systems we configure for the mode.
3046 * startup.el (command-line): Mark window system is initialized
3047 after we've done it.
3049 * common-win.el (x-select-text): Look for w32, not windows-nt.
3051 * ns-win.el: Require cl-lib. Add ourselves to
3052 display-format-alist.
3053 (ns-initialize-window-system): Assert we're not initialized twice.
3055 * w32-win.el: Enable lexical binding; require cl-lib; add
3056 ourselves to display-format-alist.
3057 (w32-handle-dropped-file): Convert incoming dropped files from
3058 Windows paths to Cygwin ones before passing them on to the rest of
3060 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3061 (w32-initialize-window-system): Assert we're not initialized twice.
3063 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3064 (x-initialize-window-system): Assert we're not initialized twice.
3066 * w32-common-fns.el: New File.
3067 (w32-version, w32-using-nt, w32-get-clipboard-data)
3068 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3069 (w32-charset-info-alist, x-last-selected, text)
3070 (x-get-selection-value, x-selection-value): Move here.
3072 * w32-fns.el: Require w32-common-fns.
3073 (w32-version, w32-using-nt, w32-get-clipboard-data)
3074 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3075 (w32-charset-info-alist, x-last-selected, text)
3076 (x-get-selection-value, x-selection-value): Move to
3080 (w32-allow-system-shell, w32-system-shells): Define only in
3083 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3085 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3086 (read-passwd): Remove a few more potential sources of leaks.
3088 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3090 * progmodes/python.el (inferior-python-mode)
3091 (python-shell-make-comint): Fix initialization of local
3092 variables copied from parent buffer.
3094 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3096 * term/ns-win.el (ns-read-file-name): Update declaration to match
3098 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3099 it is set when font is acted upon.
3101 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3103 Enhancements to indentation.
3104 * progmodes/python.el (python-indent-context): Give priority to
3105 inside-string context. Make comments indentation markers.
3106 (python-indent-region): Do not mess with strings, unless it's the
3107 enclosing set of quotes.
3109 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3111 * window.el (internal--before-save-selected-window)
3112 (internal--after-save-selected-window): New functions extracted from
3113 save-selected-window. Make sure we return the `alist' we construct.
3114 (save-selected-window): Use them.
3116 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3117 Use with-selected-window.
3119 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3120 forms that define macros (bug#12593).
3122 2012-10-07 Kenichi Handa <handa@gnu.org>
3124 * international/mule-conf.el (compound-text-with-extensions):
3125 Add :mime-charset property as x-ctext.
3127 2012-10-07 Stefan Merten <smerten@oekonux.de>
3129 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3130 (rst-indent-literal-normal, rst-indent-literal-minimized)
3131 (rst-indent-comment): Correct :version tag.
3132 (rst-official-cvs-rev): Correct version string.
3134 2012-10-07 Glenn Morris <rgm@gnu.org>
3136 * mail/rmailmm.el (rmail-mime-process-multipart):
3137 Do not confuse a multipart message with an epilogue
3138 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3140 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3142 Fix shell output retrieval and comint-prompt-regexp init.
3143 * progmodes/python.el (inferior-python-mode):
3144 (python-shell-make-comint): Fix initialization of
3145 comint-prompt-regexp from copied file local variables.
3146 (python-shell-fetched-lines): Remove var.
3147 (python-shell-output-filter-in-progress): Rename from
3148 python-shell-fetch-lines-in-progress.
3149 (python-shell-output-filter-buffer): Rename from
3150 python-shell-fetch-lines-string.
3151 (python-shell-fetch-lines-filter): Delete function.
3152 (python-shell-output-filter): New function.
3153 (python-shell-send-string-no-output): Use them.
3155 2012-10-07 Glenn Morris <rgm@gnu.org>
3157 * hi-lock.el (hi-lock-process-phrase):
3158 Try to make it less fragile. (Bug#7161)
3160 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3162 2012-10-06 Glenn Morris <rgm@gnu.org>
3164 * ehelp.el (electric-help-mode): Use help-mode rather than
3165 non-existent mode `help'.
3166 (electric-help-map): Use button-buffer-map. (Bug#10917)
3168 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3169 (reftex-create-bibtex-footer): Fix custom types.
3171 * progmodes/sh-script.el (sh-indent-after-continuation):
3172 Add explicit :group.
3174 * textmodes/rst.el (rst-preferred-decorations)
3175 (rst-shift-basic-offset): Clarify obsolescence versions.
3177 * profiler.el (profiler): Add missing group :version tag.
3178 * avoid.el (mouse-avoidance-banish-position):
3179 * proced.el (proced-renice-command):
3180 * calc/calc.el (calc-ensure-consistent-units):
3181 * calendar/icalendar.el (icalendar-import-format-uid):
3182 * net/tramp.el (tramp-save-ad-hoc-proxies):
3183 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3184 * progmodes/flymake.el (flymake-error-bitmap)
3185 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3186 * progmodes/sh-script.el (sh-indent-after-continuation):
3187 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3188 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3189 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3190 (vhdl-array-index-record-field-in-sensitivity-list)
3191 (vhdl-indent-comment-like-next-code-line):
3192 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3193 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3194 (reftex-cite-key-separator, reftex-create-bibtex-header)
3195 (reftex-create-bibtex-footer):
3196 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3197 (rst-indent-literal-normal, rst-indent-literal-minimized)
3198 (rst-indent-comment): Add missing custom :version tags.
3200 * calendar/timeclock.el (timeclock-modeline-display):
3201 Add missing obsolete alias for renamed user option.
3203 * strokes.el (strokes-modeline-string):
3204 * emulation/crisp.el (crisp-mode-modeline-string):
3205 * eshell/esh-mode.el (eshell-status-in-modeline):
3206 Aliases to defcustoms must come before the defcustom.
3208 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3209 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3210 (cal-tex-cursor-week-monday): Doc fixes.
3211 (cal-tex-cursor-week2-summary): Doc fix.
3212 Rename from cal-tex-cursor-week-at-a-glance.
3214 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3215 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3217 * calendar/calendar.el (calendar-mode-map):
3218 Add cal-tex-cursor-week2-summary.
3220 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3222 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3224 * subr.el (read-passwd-map): New var.
3225 (read-passwd): Use `read-string' again.
3226 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3228 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
3230 * register.el (append-to-register, prepend-to-register):
3231 Deactivate mark, as does `copy-to-register' (bug#12389).
3233 2012-10-06 Chong Yidong <cyd@gnu.org>
3235 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3237 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3239 * international/characters.el: Fix simple mistake ((car chars) ->
3240 elt), delete duplicated code.
3242 2012-10-06 Glenn Morris <rgm@gnu.org>
3244 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3246 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3248 * color.el (color-hsl-to-rgb): Fix incorrect results for
3249 small and large hue values. (Bug#12559)
3251 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3253 Enhancements to docstring formatting when filling paragraphs.
3254 * progmodes/python.el (python-fill-docstring-style): Rename from
3255 python-fill-string-style. Added new style.
3256 (python-fill-string): Use new style. Better checks for
3259 2012-10-05 Glenn Morris <rgm@gnu.org>
3261 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3263 * color.el (color-name-to-rgb, color-rgb-to-hex)
3264 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3265 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3266 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3267 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3269 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3271 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
3273 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3274 to get the correct size across symlinks.
3276 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3278 2012-10-04 Juri Linkov <juri@jurta.org>
3280 * replace.el (query-replace-interactive): Declare obsolete.
3281 (query-replace-read-from): Add the last incremental search string
3282 to the list of default values accessible via M-n.
3283 (map-query-replace-regexp): Use `read-regexp'.
3284 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3285 (map-query-replace-regexp, replace-string, replace-regexp):
3286 Fix docstrings to replace mentions of `query-replace-interactive'
3287 with alternatives. (Bug#12526)
3289 2012-10-04 Juri Linkov <juri@jurta.org>
3291 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3292 (dired-pop-to-buffer): Declare obsolete.
3293 (dired-mark-pop-up): Doc fix.
3295 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3297 Allow user to set docstring style for fill-paragraph.
3298 * progmodes/python.el
3299 (python-fill-comment-function, python-fill-string-function)
3300 (python-fill-decorator-function, python-fill-paren-function):
3301 Remove :safe for defcustoms.
3302 (python-fill-string-style): New defcustom
3303 (python-fill-paragraph-function): Enhance context detection.
3304 (python-fill-string): Honor python-fill-string-style settings.
3306 2012-10-04 Martin Rudalics <rudalics@gmx.at>
3308 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3309 after setting its buffer (Bug#10805).
3311 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3313 Fix cornercase for string syntax.
3314 * progmodes/python.el (python-syntax-propertize-function):
3315 Simplify and enhance the regexp for unescaped quotes. Now it also
3316 matches quotes in weird situations like the single quote in
3318 (python-syntax-stringify): Simplify num-quotes detecting code.
3320 2012-10-03 Glenn Morris <rgm@gnu.org>
3322 * help-macro.el (three-step-help):
3323 Revert 2012-09-29 change. (Bug#12567)
3325 2012-10-03 Martin Rudalics <rudalics@gmx.at>
3327 * menu-bar.el (kill-this-buffer): Don't do anything when
3328 `menu-frame' is not alive or visible (Bug#8184).
3330 * emacs-lisp/debug.el (debug): When quitting the debugger window
3331 restore current buffer (Bug#12502).
3333 2012-10-02 Chong Yidong <cyd@gnu.org>
3335 * progmodes/hideif.el (hif-lookup, hif-defined):
3336 Handle semantic-c-takeover-hideif.
3338 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3340 Change sampling interval units from ms to ns.
3341 * profiler.el (profiler-sampling-interval): Change units
3342 from ms to ns, multiplying the default by 1000000 so that
3344 (profiler-report-cpu-line-format): Give enough room for
3345 the maximum counters on 64-bit hosts.
3346 (profiler-report-render-calltree-1): Call them "CPU samples",
3347 not "Time (ms)", since they are not milliseconds now (and
3350 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3352 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3353 Fix querying BBDB for entries without a last name (Bug#11580).
3355 2012-10-02 Chong Yidong <cyd@gnu.org>
3357 * emacs-lisp/eieio.el: Restore Version header.
3359 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3361 * vc/diff-mode.el (diff--auto-refine-data): New var.
3362 (diff-hunk): Use it to delay refinement.
3363 (diff-mode): Remove overlays when we turn off font-lock.
3365 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3366 (table-initialize-table-fixed-width-mode)
3367 (table-set-table-fixed-width-mode): Remove functions.
3368 (table-command-list): Move initialization into declaration.
3369 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3370 (table-with-cache-buffer): Use `declare'.
3371 (table-span-cell): Simplify via CSE.
3372 (table-fixed-width-mode): Use define-minor-mode.
3373 (table-call-interactively, table-funcall, table-apply): Remove.
3374 (table-function): New function, to replace them.
3376 * bookmark.el (bookmark-search-pattern): Remove var.
3377 (bookmark-read-search-input): Remove function.
3378 (bookmark-bmenu-search): Reimplement using a minibuffer.
3380 * faces.el (modeline): Remove obsolete face name.
3382 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3383 and give a non-nil default value.
3384 (add-change-log-entry): Simplify accordingly.
3386 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3388 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3389 (vc-git-log-edit-toggle-amend): New function.
3390 (vc-git-log-edit-toggle-signoff): New function.
3391 (vc-git-log-edit-mode): New major mode.
3392 (vc-git-log-edit-mode-map): Keymap for it.
3393 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3395 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3397 (log-edit-toggle-header): New function.
3398 (log-edit-extract-headers): Accept function values in HEADERS alist.
3400 2012-10-01 David Engster <deng@randomsample.de>
3402 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3403 from symbol property and change message to be more consistent with
3405 (eieio-describe-generic): Add filename for each implementation.
3406 Fix indices for generic and normal methods.
3407 (eieio-method-def, eieio-class-def): New buttons.
3408 (eieio-help-find-method-definition)
3409 (eieio-help-find-class-definition): New functions.
3410 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3411 class, constructor and method definitions.
3413 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3414 information in symbol property.
3415 (scoped-class): Remove.
3416 (eieio-slot-name-index, call-next-method): Check if it is bound.
3418 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
3420 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3421 (eieio-custom-mode): New major mode.
3422 (eieio-customize-object): Use it.
3424 2012-10-01 Eric Ludlam <zappo@gnu.org>
3426 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3427 specifying the expected class, and whether subclassing is allowed.
3428 (eieio-persistent-convert-list-to-object):
3429 (eieio-persistent-validate/fix-slot-value)
3430 (eieio-persistent-slot-type-is-class-p): New functions.
3431 (eieio-named::slot-missing): Doc fix.
3433 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3434 Stop using unused publd variable.
3436 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3437 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3438 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3439 (eieio-speedbar-handle-click): Do not specify a class for the
3440 method. Fixes method invocation order problems with EDE.
3442 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3444 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3445 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3447 2012-10-01 Karl Fogel <kfogel@red-bean.com>
3449 * bookmark.el (bookmark-version-control): Give tags in the
3450 :type choices (Bug#12309), and improve doc string.
3451 (bookmark-write-file): Bind `print-circle' to `t' to allow
3452 circular custom bookmark types. (Bug#12503)
3454 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3456 Revert the FOLLOW-SYMLINKS change for file-attributes.
3457 * files.el (remote-file-name-inhibit-cache, after-find-file):
3458 * time.el (display-time-file-nonempty-p): Undo last change.
3460 * profiler.el (profiler-sampling-interval): Change default back to 1.
3461 See Stefan Monnier in
3462 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3464 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3466 Shell output catching a la gud-gdb.
3467 * progmodes/python.el (python-shell-fetch-lines-in-progress)
3468 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3470 (python-shell-fetch-lines-filter): New function.
3471 (python-shell-send-string-no-output): Use them.
3473 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3475 * profiler.el (profiler-sampling-interval): Rename from
3476 profiler-sample-interval.
3477 (profiler-sampling-interval): Default to 10.
3478 (profiler-find-profile): New command (was profiler-find-log).
3479 (profiler-find-profile-other-window): New command.
3480 (profiler-find-profile-other-frame): New command.
3481 (profiler-profile): Introduce API-level data structure.
3483 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3485 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3486 * files.el (remote-file-name-inhibit-cache):
3487 * time.el (display-time-file-nonempty-p): Use it.
3488 * files.el (after-find-file): Don't chase links before calling
3489 file-exists-p, as file-exists-p already does the right thing.
3491 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
3493 Merge from standalone RefTeX repository.
3495 The following ChangeLog entries are shortened versions of the
3496 original ones with file paths adapted. A not so strongly edited
3497 version of the original ChangeLog can be found in the commit log.
3499 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
3500 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3501 Correctly handle new value type returned by `reftex-citation'.
3503 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
3504 that entries with whitespace at various places are found.
3505 Doc fix. Include entries that are cross-referenced from cited entries.
3506 Include @String definitions in the resulting bib file. Add header
3507 and footer defined in `reftex-create-bibtex-header' and
3508 `reftex-create-bibtex-footer'.
3509 (reftex-do-citation): Make it possible again to insert
3510 non-existent entries. Save match data when asking for optional
3511 arguments. Return all keys, not just the first one.
3512 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3513 all citations in the same line.
3514 (reftex-parse-bibtex-entry): Accept additional optional argument
3515 `raw' and keep quotes or braces if it is non-nil. Match fields
3516 containing hyphens besides word constituents.
3517 (reftex-get-string-refs): New function.
3518 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3519 and ask if it should be reread in case it did.
3520 (reftex-pop-to-bibtex-entry)
3521 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3522 entries with spaces or tabs in front of arguments.
3523 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3524 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3525 Match entries containing numbers and symbol constituents.
3526 (reftex-do-citation, reftex-figure-out-cite-format):
3527 Use `reftex-cite-key-separator'.
3529 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3530 (reftex-mouse-view-crossref): Explain why point is set.
3532 * textmodes/reftex-global.el: Whitespace changes.
3534 * textmodes/reftex-index.el: Move provide statement to end of
3536 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3537 (reftex-index-visit-phrases-buffer): Set marker when visiting
3538 buffer. This allows for returning from the phrases file to the
3539 file one was just editing instead of the file where the last
3540 phrases was added from.
3541 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3542 punctuation syntax as it usually is not used as string quote in
3543 TeX-related modes and may occur unmatched. The change also
3544 prevents fontification of quoted content.
3545 (reftex-index-phrases-mode): Use it.
3547 * textmodes/reftex-parse.el (reftex-parse-from-file):
3548 Move backward one char if a `\' was matched after a section macro.
3549 (reftex-parse-from-file): Use beginning of match instead of end as
3552 * textmodes/reftex-ref.el: Adapt creation of
3553 `reftex-<package>-<macro>' functions to new structure of
3554 `reftex-ref-style-alist'.
3555 (reftex-reference): Use `reftex-ref-style-list' function.
3556 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
3557 reference macro if `reftex-ref-macro-prompt' is non-nil.
3558 (reftex-reference): Pass refstyle to `reftex-format-special'.
3559 Determine reference macro by looking at
3560 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3561 Use only one special format function.
3562 (reftex-varioref-vref, reftex-fancyref-fref)
3563 (reftex-fancyref-Fref): Remove definitions. The functions are now
3564 generated from `reftex-ref-style-alist'.
3565 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3567 (reftex-format-special): New function.
3569 * textmodes/reftex-sel.el
3570 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3571 of `reftex-ref-style-alist'. Remove code for testing macro type.
3572 (reftex-select-toggle-varioref)
3573 (reftex-select-toggle-fancyref): Remove.
3574 (reftex-select-cycle-ref-style-internal)
3575 (reftex-select-cycle-ref-style-forward)
3576 (reftex-select-cycle-ref-style-backward): New functions.
3577 (reftex-select-label-map): Use `v' and `V' for general cycling
3578 through reference styles. Add `p' for switching between number
3579 and page reference types.
3581 * textmodes/reftex-toc.el (reftex-re-enlarge):
3582 Call `enlarge-window' only if there is something to do because in Emacs
3583 the horizontal version throws an error even if the parameter is 0.
3585 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3586 (reftex-plug-into-AUCTeX): Doc fix.
3587 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3588 string. Adapt to new name.
3589 (reftex-ref-style-alist): Change structure so that it is not
3590 possible to use multiple different package names within a style.
3591 Remove the symbols for symbols for macro type distinction.
3592 Add characters for macro selection.
3593 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3594 (reftex-create-bibtex-footer): New variables.
3595 (reftex-format-ref-function): Mention third argument of special
3597 (reftex-ref-style-alist, reftex-ref-style-default-list):
3599 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3600 to new implementation. Mark as obsolete. Add compatibility code
3601 for honoring the variable values in case they are set.
3602 (reftex-cite-format-builtin, reftex-bibliography-commands):
3603 Add support for ConTeXt.
3604 (reftex-format-ref-function, reftex-format-cite-function):
3606 (reftex-cite-key-separator): New variable.
3608 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3609 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3610 `reftex-syntax-table' because parens have to retain their paren
3611 syntax in order for parsing of BibTeX entries like @book(...) to
3613 (reftex-in-comment): Do not error out if `comment-start-skip' is
3614 not set. Deal correctly with escaped comment characters.
3615 (reftex-tie-multifile-symbols): Add doc string.
3616 Initialize `reftex-ref-style-list'.
3617 (reftex-untie-multifile-symbols): Add doc string.
3618 (reftex-add-index-macros): Doc fix.
3619 (reftex-ref-style-activate, reftex-ref-style-toggle)
3620 (reftex-ref-style-list): New functions.
3621 (reftex-mode-menu): Use them. Adapt to new structure of
3622 `reftex-ref-style-alist'.
3623 (reftex-select-with-char): Kill the RefTeX Select buffer when
3625 (reftex-remove-if): New function.
3626 (reftex-erase-all-selection-and-index-buffers)
3627 (reftex-mode-menu): Reference styles are now computed from
3628 `reftex-ref-style-alist'. Fix typo.
3629 (reftex-report-bug): New function.
3630 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3631 algorithms with O(n log n). Introduce optional argument SORT (not
3634 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3636 Enhancements for triple-quote string syntax.
3637 * progmodes/python.el (python-syntax-propertize-function):
3638 Match both quote cases in one regexp.
3639 (python-syntax-stringify): Handle matches properly.
3641 2012-09-30 Juri Linkov <juri@jurta.org>
3643 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
3644 to nil around the call to `insert' to prevent
3645 directory time modification by lock_file. (Bug#2295)
3646 * tar-mode.el (tar-summarize-buffer): Idem.
3648 2012-09-30 Juri Linkov <juri@jurta.org>
3650 * facemenu.el (list-colors-sort): Add option "Luminance".
3651 (list-colors-sort-key): Implement it.
3653 * vc/diff-mode.el (diff-refine-removed):
3654 * vc/ediff-init.el (ediff-fine-diff-A):
3655 * vc/smerge-mode.el (smerge-refined-removed):
3656 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3658 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3660 * term/ns-win.el (x-file-dialog): New function.
3662 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
3664 * ido.el (ido-max-directory-size): Default to nil; the current
3665 default is small for POSIX systems, and impractical on Windows 7
3666 now that lstat returns directory sizes for NTFS.
3668 2012-09-30 Martin Rudalics <rudalics@gmx.at>
3670 In buffer display functions handle window-height/window-width
3671 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
3672 * window.el (window--display-buffer): New argument ALIST.
3673 Obey window-height and window-width alist entries.
3674 (window--try-to-split-window): New argument ALIST.
3675 Bind window-combination-limit to t when the window's size shall be
3676 changed and window-combination-limit equals `window-size'.
3677 (display-buffer-in-atom-window)
3678 (display-buffer-in-major-side-window)
3679 (display-buffer-in-side-window, display-buffer-same-window)
3680 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3681 (display-buffer-pop-up-window, display-buffer-below-selected)
3682 (display-buffer-at-bottom, display-buffer-in-previous-window)
3683 (display-buffer-use-some-window): Adjust all callers of
3684 window--display-buffer and window--try-to-split-window.
3685 (fit-frame-to-buffer): New option.
3686 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3688 (display-buffer-in-major-side-window): Evaluate window-height /
3689 window-width alist entries.
3691 * help.el (temp-buffer-resize-frames)
3692 (temp-buffer-resize-regexps): Remove options.
3693 (temp-buffer-resize-mode): Adjust doc-string.
3694 (resize-temp-buffer-window): Don't consult
3695 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3696 temp-buffer-resize-frames.
3698 * dired.el (dired-mark-pop-up):
3699 Call display-buffer-below-selected with a fit-window-to-buffer alist
3702 2012-09-30 Chong Yidong <cyd@gnu.org>
3704 * server.el (server-host): Document the security implications.
3705 (server-auth-key): Doc fix.
3707 * startup.el (initial-buffer-choice): Doc fix.
3709 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3711 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3714 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3716 * help-fns.el (help-fns--obsolete): Fix last change.
3718 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3720 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3721 (minor-mode-map-alist): Remove redundant code.
3723 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3724 visited in a buffer.
3725 (cvs-insert-visited-file): New function.
3726 (find-file-hook): Use it.
3728 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3730 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3732 (log-edit-empty-buffer-p): Don't require a space after a header.
3734 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3736 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3738 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3739 a proper minor-mode.
3741 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3743 2012-09-29 Glenn Morris <rgm@gnu.org>
3745 * winner.el (winner-mode): Remove variable (let define-minor-mode
3747 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3749 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3750 (winner-mode): Use define-minor-mode.
3752 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3753 the full definition in loaddefs, rather than duplicating it.
3755 * help-macro.el (three-step-help): No need to autoload defcustom.
3757 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3758 (inferior-lisp-program, inferior-lisp-load-command)
3759 (inferior-lisp-prompt, inferior-lisp-mode-hook):
3760 No need to autoload defcustoms.
3762 * hippie-exp.el (hippie-expand-try-functions-list)
3763 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3764 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3765 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
3766 (hippie-expand-only-buffers): No need to autoload defcustoms.
3767 * progmodes/vhdl-mode.el (vhdl-line-expand):
3768 Explicitly load hippie-exp, so it does not get autoloaded
3769 while hippie-expand-try-functions-list is let-bound.
3771 2012-09-28 Glenn Morris <rgm@gnu.org>
3773 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3775 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3776 Only "cl.el" counts as cl these days.
3778 2012-09-28 Juri Linkov <juri@jurta.org>
3780 Display archive errors in the echo area instead of inserting
3783 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3784 to STDERR-TEST that can be a regexp matching a successful output.
3785 Create a temporary file and redirect stderr to it. Search for
3786 STDERR-TEST in the stderr output and display it in the echo area
3787 if no match is found.
3788 (archive-extract-by-file): New function like
3789 `archive-extract-by-stdout' but extracting archives to files
3790 and looking for successful matches in stdout. Function body is
3791 mostly copied from `archive-rar-extract'.
3792 (archive-rar-extract): Use `archive-extract-by-file'.
3793 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3795 2012-09-28 Leo Liu <sdl.web@gmail.com>
3797 * pcomplete.el (pcomplete-show-completions):
3798 Use minibuffer-message to make pcomplete usable in minibuffer.
3800 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3802 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3804 * type-break.el: Use lexical-binding.
3805 (type-break-mode): Use define-minor-mode.
3807 * emacs-lisp/pcase.el (pcase--mark-used): New.
3808 (pcase--u1): Use it (bug#12512).
3810 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3811 in load-history with the right file name.
3813 2012-09-28 Tassilo Horn <tsdh@gnu.org>
3815 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3816 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3817 (doc-view-get-bounding-box): Make bounding box slicing work for
3818 ODF and DVI documents.
3820 2012-09-28 Glenn Morris <rgm@gnu.org>
3822 * type-break.el (type-break-mode, type-break-interval)
3823 (type-break-good-rest-interval, type-break-keystroke-threshold):
3824 No need to autoload.
3825 (type-break-good-rest-interval, type-break-keystroke-threshold):
3828 2012-09-28 Chong Yidong <cyd@gnu.org>
3830 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3833 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3837 2012-09-27 Glenn Morris <rgm@gnu.org>
3839 * faces.el (x-display-name): Declare (for without-x builds).
3841 * linum.el (linum-format): Don't autoload it. Improve :type.
3843 * progmodes/tcl.el: Don't require outline when compiling.
3844 (outline-regexp, outline-level): Declare.
3845 * textmodes/sgml-mode.el: Don't require outline when compiling.
3846 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3848 * term.el (term-ansi-reset):
3849 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3851 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3852 files for RCS and SCCS. (Bug#9781)
3854 2012-09-27 Chong Yidong <cyd@gnu.org>
3856 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3857 change; value should be t.
3859 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3861 * image-mode.el: Use lexical-binding.
3862 (image-mode-winprops): Use t to stand for the window of
3863 a buffer that's not displayed.
3864 * doc-view.el (doc-view-new-window-function): Handle the new
3866 (doc-view-enlarge): Make it a real nop if the size is not changed.
3867 (doc-view-display): Handle the case where the buffer is not (yet?)
3868 displayed in any window.
3869 (doc-view-saved-settings): New var.
3870 (doc-view-mode): Use it.
3871 (doc-view-fallback-mode): Set it.
3873 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3874 Set lexical-binding.
3875 (minibuffer-eldef-shorten-default): New var.
3876 (minibuffer-default-in-prompt-regexps): Use it for new default.
3877 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3879 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3881 * international/uni-bidi.el:
3882 * international/uni-category.el:
3883 * international/uni-name.el:
3884 * international/uni-numeric.el: Regenerate.
3886 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3887 Stefan Monnier <monnier@iro.umontreal.ca>
3889 * profiler.el: New file.
3891 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3893 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3894 (testcover-reinstrument): Simplify with CSE.
3896 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3898 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3900 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3902 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3903 (verilog-auto-input, verilog-auto-insert-lisp)
3904 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3905 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3906 (verilog-auto-unused, verilog-auto-wire)
3907 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3908 newline. Reported by Andrew Jones.
3909 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3910 Reported by Brad Dobbie.
3911 (verilog-batch-delete-trailing-whitespace):
3912 Create verilog-batch-delete-trailing-whitespace.
3913 Reported by Brad Dobbie.
3914 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3915 parameters from another module. Reported by Dan Katz.
3916 (verilog-auto, verilog-auto-assign-modport)
3917 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3918 AUTOINOUTMODPORT for UVM interface module shell generation.
3919 Reported by Brad Dobbie.
3920 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3922 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3923 Reported by Matt Martin.
3925 2012-09-25 Martin Rudalics <rudalics@gmx.at>
3927 * window.el (window--resize-child-windows): When resizing child
3928 windows proportionally, process them in reverse order to
3929 preserve the "when splitting a window the new one gets the odd
3931 (window--resize-root-window-vertically): When resizing the
3932 minibuffer window try to affect only windows at the bottom of the
3935 2012-09-25 Chong Yidong <cyd@gnu.org>
3937 * subr.el (declare): Doc fix.
3939 * help-fns.el (help-fns--obsolete): Handle macros properly.
3941 2012-09-25 Chong Yidong <cyd@gnu.org>
3943 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3944 this function obsolete.
3946 * calendar/cal-x.el (calendar-two-frame-setup)
3947 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3948 * calendar/calendar.el (american-calendar, european-calendar)
3949 (calendar-for-loop):
3950 * comint.el (comint-dynamic-simple-complete)
3951 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3952 * desktop.el (desktop-load-default):
3953 * dired-x.el (dired-omit-here-always)
3954 (dired-hack-local-variables, dired-default-directory):
3955 * emacs-lisp/derived.el (derived-mode-class):
3956 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3957 * emacs-lock.el (toggle-emacs-lock):
3958 * epa.el (epa-display-verify-result):
3959 * epg.el (epg-sign-keys, epg-start-sign-keys)
3960 (epg-passphrase-callback-function):
3961 * eshell/esh-util.el (eshell-for):
3962 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3963 (eshell-add-to-window-buffer-names):
3964 * files.el (locate-file-completion):
3965 * imenu.el (imenu-example--create-c-index)
3966 (imenu-example--create-lisp-index)
3967 (imenu-example--lisp-extract-index-name)
3968 (imenu-example--name-and-position):
3969 * international/mule-cmds.el (princ-list):
3970 * international/mule-diag.el (decode-codepage-char):
3971 * international/mule-util.el (detect-coding-with-priority):
3972 * iswitchb.el (iswitchb-read-buffer):
3973 * mail/mailalias.el (mail-complete):
3974 * mail/sendmail.el (mail-sent-via):
3975 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3976 (mouse-major-mode-menu):
3977 * password-cache.el (password-read-and-add):
3978 * pcomplete.el (pcomplete-parse-comint-arguments):
3979 * progmodes/sh-script.el (sh-maybe-here-document):
3980 * replace.el (query-replace-regexp-eval):
3981 * savehist.el (savehist-load):
3982 * simple.el (choose-completion-delete-max-match):
3983 * term.el (term-dynamic-simple-complete):
3984 * vc/ediff-init.el (ediff-check-version):
3985 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3986 * vc/vc.el (vc-diff-switches-list):
3987 * view.el (view-return-to-alist-update): Likewise.
3989 * subr.el (eval-next-after-load, makehash, insert-string)
3990 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3992 (mode-line-inverse-video): Variable deleted.
3994 * international/mule-util.el (string-to-sequence): Remove.
3996 * calendar/calendar.el (calendar-version):
3997 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3998 (icalendar-convert-diary-to-ical):
3999 * cus-edit.el (custom-mode):
4000 * ansi-color.el (ansi-color-unfontify-region):
4001 * international/latin1-disp.el (latin1-char-displayable-p):
4002 * progmodes/cwarn.el (turn-on-cwarn-mode):
4003 * progmodes/which-func.el (which-func-update-1):
4004 Use define-obsolete-function-alias.
4006 * net/newst-backend.el (newsticker-cache-filename):
4007 * net/newst-treeview.el (newsticker-groups-filename):
4008 Fix incorrect obsolescence declaration.
4010 * allout.el (allout-passphrase-hint-string): Likewise.
4011 (allout-init): Use a declare form to mark obsolete.
4013 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4014 this applies to functions.
4016 * iswitchb.el (iswitchb-read-buffer): Move code of
4017 iswitchb-define-mode-map here, and delete that obsolete function.
4019 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4020 font-lock-reference-face.
4022 2012-09-25 Glenn Morris <rgm@gnu.org>
4024 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4027 * eshell/em-term.el (eshell-term-name):
4028 Default to term-term-name. (Bug#12485)
4030 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4032 * progmodes/python.el (python-shell-send-buffer): Better handling
4033 of "if __name__ == '__main__':" conditionals when sending the buffer.
4035 2012-09-24 Glenn Morris <rgm@gnu.org>
4037 * eshell/esh-cmd.el (eshell-find-alias-function):
4038 Tighten up file-name regexp. (Bug#12499)
4040 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4042 Enhancements for triple-quote string syntax.
4043 * progmodes/python.el (python-quote-syntax): Remove.
4044 (python-syntax-propertize-function): New value.
4045 (python-syntax-count-quotes, python-syntax-stringify):
4048 2012-09-24 Chong Yidong <cyd@gnu.org>
4050 * mail/supercite.el (sc-version): Remove obsolete function.
4051 (sc-describe): Don't mark as obsolete, since it is bound.
4052 (sc-submit-bug-report): Remove.
4054 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4055 (cvs-commit-buffer-require-final-newline): Remove.
4056 (log-edit-require-final-newline)
4057 (log-edit-changelog-full-paragraphs): Default to t.
4059 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4060 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4061 * vc/vc.el (vc-checkout-carefully): Likewise.
4063 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4064 (emerge-version): Remove.
4066 * progmodes/compile.el (compile-internal): Remove.
4067 (compilation-parse-errors-function): Fix typo.
4069 * international/mule.el (set-char-table-default): Remove.
4070 (set-coding-priority, make-coding-system, generic-char-p)
4071 (charset-list, charset-bytes, charset-id): Use declare to mark
4072 functions as obsolete.
4074 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4075 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4076 * vc/vc-hooks.el (vc-default-registered): Don't use
4077 vc-master-templates.
4079 * font-lock.el (font-lock-reference-face):
4080 Use define-obsolete-variable-alias.
4082 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4083 * calendar/calendar.el (calendar-font-lock-keywords):
4084 * calendar/diary-lib.el (diary-font-lock-keywords)
4085 (diary-fancy-font-lock-keywords):
4086 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4087 * textmodes/reftex-index.el (reftex-insert-index):
4088 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4089 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4090 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4091 * progmodes/prolog.el (prolog-font-lock-keywords):
4092 * progmodes/idlwave.el (idlwave-idl-keywords):
4093 * progmodes/ada-mode.el (ada-font-lock-keywords):
4094 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4096 2012-09-24 Glenn Morris <rgm@gnu.org>
4098 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4100 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4102 * progmodes/python.el (python-indent-line): More consistent cursor
4105 2012-09-23 Stefan Merten <smerten@oekonux.de>
4107 * textmodes/rst.el: Fix compiler warning.
4109 2012-09-23 Roland Winkler <winkler@gnu.org>
4111 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4112 Transcribe also LaTeX hyphenation.
4113 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4114 bibtex-reformat-previous-options.
4116 2012-09-23 Roland Winkler <winkler@gnu.org>
4118 * proced.el (proced-renice-command): New variable.
4119 (proced-marked-processes): New function.
4120 (proced-with-processes-buffer): New macro.
4121 (proced-send-signal): Use them.
4122 (proced-renice): New command bound to r.
4124 2012-09-23 Roland Winkler <winkler@gnu.org>
4126 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4127 ibuffer-saved-filter-groups has one element, shortcut the call of
4128 completing-read. (Bug#12331)
4130 2012-09-23 Chong Yidong <cyd@gnu.org>
4132 * bindings.el (mode-line-toggle-read-only):
4133 * bs.el (bs-toggle-readonly):
4134 * buff-menu.el (Buffer-menu-toggle-read-only):
4135 * dired.el (dired-toggle-read-only):
4136 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4138 2012-09-23 Chong Yidong <cyd@gnu.org>
4140 * image.el (image-type-available-p): Adapt to init-image-library
4143 2012-09-22 Juri Linkov <juri@jurta.org>
4145 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4146 `dired-toggle-read-only'. (Bug#12462)
4148 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4150 * subr.el (temp-output-buffer-show): New function.
4151 (with-output-to-temp-buffer): Call temp-output-buffer-show
4152 instead of internal-temp-output-buffer-show.
4154 2012-09-22 Chong Yidong <cyd@gnu.org>
4156 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4159 * repeat.el (repeat): Doc fix (Bug#12348).
4161 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4164 * simple.el (shell-command-on-region): Doc fix.
4165 (read-only-mode): Doc fix.
4167 2012-09-22 Eli Zaretskii <eliz@gnu.org>
4169 * emacs-lisp/timer.el (run-with-idle-timer)
4170 (timer-activate-when-idle): Warn against reinvoking an idle timer
4171 from within its own timer action. (Bug#12447)
4173 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4175 * cus-start.el (window-combination-limit): Add new optional
4177 * window.el (temp-buffer-window-show)
4178 (window--try-to-split-window): Handle new values of
4179 window-combination-limit (Bug#1806).
4180 (split-window): Test window-combination-limit for t instead of
4182 (display-buffer-at-bottom): New buffer display action function.
4183 * help.el (temp-buffer-resize-regexps): New option.
4184 (temp-buffer-resize-mode): Rewrite doc-string.
4185 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
4186 Don't resize reused window. Suggested by Glenn Morris.
4188 2012-09-22 Stefan Merten <smerten@oekonux.de>
4190 * textmodes/rst.el: Revamp section title faces.
4191 (rst-official-version)
4192 (rst-package-emacs-version-alist): Sync with official version
4194 (rst-faces-defaults, rst-set-level-default)
4195 (rst-level-face-max, rst-level-face-base-color)
4196 (rst-level-face-base-light, rst-level-face-format-light)
4197 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4198 (rst-adornment-faces-alist): Match new setup.
4199 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4200 (rst-level-5, rst-level-6): New faces.
4202 2012-09-22 Chong Yidong <cyd@gnu.org>
4204 * simple.el (undo): Handle indirect buffers (Bug#8207).
4206 2012-09-21 Leo Liu <sdl.web@gmail.com>
4208 IDO: Disable match re-ordering for buffer switching.
4209 * ido.el (ido-buffer-disable-smart-matches): New variable.
4210 (ido-set-matches-1): Use it. (Bug#2042)
4212 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
4214 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4215 Fix 2011-05-17 change. (Bug#12418)
4217 2012-09-21 Leo Liu <sdl.web@gmail.com>
4219 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4221 2012-09-21 Glenn Morris <rgm@gnu.org>
4223 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4224 Be more robust about locating simple.el.
4226 2012-09-21 Glenn Morris <rgm@gnu.org>
4228 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4230 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4232 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4234 2012-09-20 Juri Linkov <juri@jurta.org>
4236 * replace.el (query-replace-read-from): Use `read-regexp' instead
4237 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4238 (occur-read-primary-args): Use `read-regexp' instead of
4240 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4241 `read-from-minibuffer'.
4242 * isearch.el (isearch-occur): Use `read-regexp' instead of
4244 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4245 `read-from-minibuffer'.
4246 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4247 of `read-string'. (Bug#7567)
4249 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4250 and allow accepting a list of strings prepended to a list of
4251 standard default values. Doc fix. (Bug#12321)
4253 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4255 * replace.el (read-regexp): Don't add ": " when PROMPT already
4256 ends with a colon and space. (Bug#12321)
4258 2012-09-20 Tassilo Horn <tsdh@gnu.org>
4260 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4263 2012-09-20 Stefan Merten <smerten@oekonux.de>
4265 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
4266 Fixes feature request bug#11711.
4267 (rst-mode): Create `imenu-create-index-function'.
4268 (rst-get-stripped-line): Delete after refactoring.
4269 (rst-section-tree, rst-section-tree-rec)
4270 (rst-section-tree-point): Refactor and document properly.
4271 (rst-imenu-find-adornments-for-position)
4272 (rst-imenu-convert-cell, rst-imenu-create-index):
4275 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4277 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4278 (macroexp--expand-all): Use it.
4279 (macroexp--funcall-and-return): Remove by folding it into its sole
4280 caller (macroexp--warn-and-return).
4281 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4282 Use macroexp--obsolete-warning.
4284 * calc/calc.el: Fix last change by removing the whole chunk, since it
4285 was only needed back when Calc was not bundled.
4287 2012-09-20 Martin Rudalics <rudalics@gmx.at>
4289 * emacs-lisp/debug.el (debug): Restore assignment to
4290 debugger-old-buffer removed on 2012-09-08.
4292 2012-09-20 Juri Linkov <juri@jurta.org>
4294 * dired-aux.el (dired-diff): Remove (require 'diff) since
4295 `diff-latest-backup-file' is now autoloaded.
4297 2012-09-20 Chong Yidong <cyd@gnu.org>
4299 * vc/diff.el (diff-latest-backup-file): Autoload.
4301 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4303 * calc/calc.el: Remove redundant autoload shape check.
4304 (sel-mode): Don't defvar.
4305 (calc-get-stack-element): Add `sel-mode' arg instead.
4306 (calc-top, calc-top-list): Pass it this additional argument.
4307 * calc/calc-store.el (calc-store-map):
4308 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4309 (calc-map-equation, calc-outer-product, calc-inner-product):
4310 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4312 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4314 2012-09-19 Juri Linkov <juri@jurta.org>
4316 * dired-aux.el (dired-diff): Add (require 'diff) because
4317 `diff-latest-backup-file' is not autoloaded.
4318 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4319 of `dired-get-filename' to t to not report error when there is
4320 no default file on the current line.
4322 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4324 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4325 macroexp--eval-if-compile.
4326 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4327 (macroexp--expand-all): Use them (bug#12371).
4329 * doc-view.el (doc-view-guess-paper-size)
4330 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4332 2012-09-19 Tassilo Horn <tsdh@gnu.org>
4334 New feature: set optimal slice from BoundingBox information.
4335 * doc-view.el (doc-view-mode-map): Add keybinding.
4336 (doc-view-menu): Add menu entry.
4337 (doc-view-set-slice): Adapt docstring.
4338 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4339 (doc-view-scale-bounding-box)
4340 (doc-view-set-slice-from-bounding-box): New functions.
4341 (doc-view-paper-sizes): New defvar.
4343 2012-09-19 Glenn Morris <rgm@gnu.org>
4345 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4346 (byte-compile-log-warning): Autoload. (Bug#12371)
4348 * calendar/calendar.el (calendar-american-month-header)
4349 (calendar-european-month-header, calendar-iso-month-header)
4350 (calendar-month-header): New options.
4351 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4352 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4354 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4356 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4358 2012-09-18 Juri Linkov <juri@jurta.org>
4360 * dired-aux.el (dired-diff): Restore original functionality of
4361 getting the default value, but keep new feature of using the
4362 latest existing backup file (`diff-latest-backup-file').
4364 2012-09-18 Juri Linkov <juri@jurta.org>
4366 * dired.el (dired-mark): If the region is active in Transient Mark
4367 mode, mark all files in the active region. Doc fix.
4368 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4369 Doc fix. (Bug#10624)
4371 2012-09-18 Juri Linkov <juri@jurta.org>
4373 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4374 attributes for M-n are pulled from the file at point.
4375 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4376 Suggested by Drew Adams. (Bug#10624)
4378 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4380 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4381 whitespace after "end".
4382 (ruby-do-end-to-brace): Collapse block to one line if it fits
4385 2012-09-18 Martin Rudalics <rudalics@gmx.at>
4387 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4389 (debug): Don't remove debugger window when debugger is expected
4392 2012-09-18 Chong Yidong <cyd@gnu.org>
4394 * custom.el (defface): Doc fix.
4396 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4398 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4400 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4401 to initialize query-on-exit; then test that instead (bug#12288).
4403 2012-09-17 Stefan Merten <smerten@oekonux.de>
4405 * textmodes/rst.el: Add support for `testcover'.
4406 (rst-defcustom-testcover, rst-testcover-add-compose)
4407 (rst-testcover-add-1value): New functions.
4408 (rst-portable-mark-active-p): Replace by `use-region-p'.
4409 (rst-update-section, rst-classify-adornment)
4410 (rst-find-title-line): Mark `1value' forms.
4411 (rst-classify-adornment): Remove superfluous form.
4412 (rst-update-section, rst-get-adornments-around)
4413 (rst-adornment-complete-p, rst-get-next-adornment)
4414 (rst-adjust, rst-promote-region)
4415 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4416 (rst-find-pfx-in-region, rst-section-tree-rec)
4417 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4418 (rst-toc-node, rst-toc, rst-forward-section)
4419 (rst-iterate-leftmost-paragraphs)
4420 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4421 (rst-bullet-list-region)
4422 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4423 (rst-compile-find-conf, rst-compile)
4424 (rst-repeat-last-character): Fix style.
4426 2012-09-17 Chong Yidong <cyd@gnu.org>
4428 * comint.el (comint--complete-file-name-data): Don't add a space
4429 if the status is `sole'; that adds a gratuitous space in the
4430 completion-cycling case (Bug#12092).
4432 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4434 2012-09-17 Richard Stallman <rms@gnu.org>
4436 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4437 only in the mime-shown mode, not in raw mode.
4438 (rmail-mime): Toggle off mime by displaying the message without
4439 mime processing. (Bug#12305)
4441 * mail/rmail.el (rmail-retry-failure):
4442 Turn off mime processing first. (Bug#12037)
4444 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4446 2012-09-17 Chong Yidong <cyd@gnu.org>
4448 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4449 (shell-dynamic-complete-functions): Convert to defcustom.
4450 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4452 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4453 * comint.el (comint-prompt-read-only):
4454 * custom.el (defcustom):
4455 * hi-lock.el (hi-lock-mode):
4456 * ibuffer.el (ibuffer-formats):
4457 * ielm.el (ielm-prompt-read-only):
4458 * novice.el (disable-command):
4459 * saveplace.el (toggle-save-place):
4460 * speedbar.el (speedbar-supported-extension-expressions):
4461 * startup.el (auto-save-list-file-prefix, init-file-user)
4462 (after-init-hook, inhibit-startup-echo-area-message):
4463 * strokes.el (strokes-help):
4464 * time-stamp.el (time-stamp):
4465 * calendar/calendar.el (calendar, diary-file):
4466 * calendar/diary-lib.el (diary-mail-entries, diary)
4467 (diary-list-entries-hook):
4468 * calendar/holidays.el (holidays, calendar-holidays):
4469 * calendar/lunar.el (lunar-phases):
4470 * calendar/solar.el (sunrise-sunset):
4471 * emulation/edt.el (edt-load-keys):
4472 * emulation/viper.el (viper-mode):
4473 * eshell/em-alias.el (eshell-command-aliases-list):
4474 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4475 * international/ogonek.el (ogonek-information):
4476 * net/tramp-cmds.el (tramp-bug):
4477 * net/quickurl.el (quickurl-reread-hook-postfix):
4478 * play/decipher.el (decipher-font-lock-keywords):
4479 * progmodes/cc-styles.el (c-set-style):
4480 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4481 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4482 * progmodes/octave-mod.el (octave-mode):
4483 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4484 * progmodes/verilog-mode.el (verilog-read-defines):
4485 * textmodes/two-column.el (2C-mode): Likewise.
4487 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4489 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4490 that holds many addresses.
4492 2012-09-16 Chong Yidong <cyd@gnu.org>
4494 * align.el (align-areas): Call the indication function with
4495 positions instead of markers for arguments (Bug#12343).
4497 * files.el (parse-colon-path): Use split-string (Bug#12351).
4499 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4500 (display-buffer-function): Mark as obsolete.
4502 * progmodes/compile.el (compilation-parse-errors): Accept list
4503 values similar to font-lock-keywords (Bug#12136).
4504 Suggested by Oleksandr Manzyuk.
4505 (compilation-error-regexp-alist): Doc fix.
4507 2012-09-15 Glenn Morris <rgm@gnu.org>
4509 * version.el (emacs-bzr-version-bzr): New function.
4510 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4512 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4513 checkouts, check the parent dirstate matches the branch.
4514 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4517 * version.el (emacs-bzr-version): Doc fix.
4518 (emacs-bzr-version-dirstate): New function.
4519 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4520 is local try and check that it matches the branch. If not, just
4521 use dirstate information. (Bug#12441)
4523 2012-09-14 Juri Linkov <juri@jurta.org>
4525 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4528 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4530 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4532 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4533 Remove obsolete byte-compiler hack that tried to silence some warnings.
4534 (edebug-submit-bug-report): Remove.
4535 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4536 Remove aliases, use the un-prefixed name instead.
4537 (edebug-pop-to-buffer): Consider other frames.
4538 (edebug-original-read):: Make it more obvious that it's always defined.
4539 (edebug--make-form-data-entry, edebug--form-data-name)
4540 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4541 single-dashed name, and implement with cl-defstruct.
4542 (edebug-set-form-data-entry): Use the standard accessors.
4543 (edebug-make-top-form-data-entry): Use push.
4544 (edebug-no-match): Drop useless `funcall'.
4545 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4547 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4548 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4549 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4550 (easy-menu-define, with-custom-print): Remove redundant specs.
4551 (edebug-outside-overriding-local-map)
4552 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4553 (edebug--display): Bind unread-command-events directly to nil rather
4554 than binding it to unread-command-events and later setting it to nil.
4555 (edebug--display): Kill edebug-eval-buffer here...
4556 (edebug--recursive-edit): ...rather than here.
4557 Bind standard-output and standard-input.
4558 (edebug-eval): Check cl-macroexpand-all is fboundp.
4559 (edebug-temp-display-freq-count): Fix last change.
4561 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4562 * subr.el (noreturn, 1value): Add `debug' spec.
4563 * emacs-lisp/advice.el: Require cl-lib.
4564 (ad-copy-tree): Remove, use copy-tree instead.
4565 (ad-dolist): Remove use dolist or cl-dolist instead.
4566 (ad-do-return): Remove, use cl-return instead.
4567 (defadvice): Add `debug' spec.
4569 2012-09-13 Juri Linkov <juri@jurta.org>
4571 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4574 2012-09-13 Glenn Morris <rgm@gnu.org>
4576 * calc/calc.el (math-compose-expr):
4577 * calc/calc-ext.el (math-compose-expr):
4578 * progmodes/cc-defs.el (cl-macroexpand-all):
4579 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4580 (cl-macroexpand-all): Update declarations.
4582 * vc/vc.el: No need to require ediff.
4583 (ediff-load-version-control): Declare.
4584 (ediff-vc-internal): Fix declaration.
4585 (vc-version-ediff): Require ediff.
4587 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4589 Use a more backwards-compatible timer format (Bug#12430).
4590 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4591 being right after USECS, as that better supports old code that
4592 inadvisedly looked directly at the timer vector.
4594 2012-09-13 Kenichi Handa <handa@gnu.org>
4596 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4597 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4598 `coding-priority' property of these language environment.
4600 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4602 Fix glitches caused by addition of psec to timers (Bug#12430).
4603 * image.el (image-animate-timer):
4604 * time.el (display-time-world-timer):
4605 Use timer--function and timer--args rather than raw access to
4608 2012-09-13 Glenn Morris <rgm@gnu.org>
4610 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4611 If not compiling a file, try using load-file-name.
4613 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4615 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4617 (edebug-update-eval-list): Use `push'.
4619 * emacs-lisp/edebug.el: Use lexical-binding.
4620 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4621 Mark unused args with underscore.
4622 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4623 (edebug-form-data): Use defvar-local.
4624 (edebug-make-before-and-after-form, edebug-make-after-form):
4626 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4627 Not dynamically scoped any more.
4628 (edebug--enter-trace): Add arguments `function' and `args'.
4629 Rename from edebug-enter-trace.
4630 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4631 (edebug--update-coverage): Add `after-index' and `value' args.
4632 Rename from edebug-update-coverage.
4633 (edebug-slow-after): Call it accordingly.
4634 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4635 edebug-recursive-edit.
4636 (edebug--display): Call it accordingly. Add args `value',
4637 `offset-index', and `arg-mode'. Rename from edebug-display.
4638 (edebug-debugger, edebug): Call it accordingly.
4639 (edebug-eval-display-list): Use dolist.
4641 2012-09-12 Juri Linkov <juri@jurta.org>
4643 * info.el (Info-search): Don't check for isearch-mode and
4644 isearch-regexp before let-binding search-spaces-regexp to
4645 Info-search-whitespace-regexp.
4646 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4647 search-whitespace-regexp if isearch-lax-whitespace or
4648 isearch-regexp-lax-whitespace is non-nil.
4649 (Info-mode): Don't set local variable search-whitespace-regexp.
4650 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4652 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4654 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4655 (debugger-env-macro): Remove support for unread-command-char.
4657 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4658 the temporary map re-appearing on emulation-mode-map-alists.
4660 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4663 * ehelp.el (with-electric-help): Accept functions in
4664 electric-help-form-to-execute.
4665 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4666 And replace unread-command-char -> unread-command-events.
4668 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
4670 Sync with Tramp 2.2.6.
4672 * net/tramp.el (tramp-accept-process-output): Don't use
4673 JUST-THIS-ONE in the XEmacs case.
4675 * net/trampver.el: Update release number.
4677 2012-09-12 Martin Rudalics <rudalics@gmx.at>
4679 * emacs-lisp/debug.el (debugger-previous-window-height):
4681 (debug): When debugger-jumping-flag is non-nil try to restore
4682 height of debugger window. (Bug#8789)
4684 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4686 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4687 overriding-local-map and pre/post-command-hook here.
4688 (edebug-recursive-edit): Do it here instead (bug#12345).
4689 (edebug-outside-unread-command-char): Remove all uses of
4690 unread-command-char.
4692 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4693 inhibit-debugger is bound instead.
4695 2012-09-11 Bastien Guerry <bzg@gnu.org>
4697 * subr.el (set-temporary-overlay-map): Add a docstring.
4700 2012-09-11 Bastien Guerry <bzg@gnu.org>
4702 * minibuffer.el (completion-table-subvert): Fix docstring.
4705 2012-09-11 Bastien Guerry <bzg@gnu.org>
4707 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
4709 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4711 * progmodes/sql.el: Version 3.1
4712 (sql-db2-escape-newlines): New variable.
4713 (sql-escape-newlines-filter): Use it.
4715 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
4717 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4719 2012-09-10 Dan Nicolaescu <dann@gnu.org>
4721 * vc/diff-mode.el (diff-mode-menu):
4722 Bind diff-remove-trailing-whitespace.
4724 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4726 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
4727 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4728 (emacs-lisp-byte-code-mode): New functions.
4729 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4730 (eval-defun-2): Remove bogus interactive spec.
4731 (lisp-indent-line): Remove redundant whole-exp code, now done in
4732 indent-according-to-mode.
4733 (save-match-data): Remove redundant indent data.
4735 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4738 2012-09-09 Juri Linkov <juri@jurta.org>
4740 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4741 (replace-lax-whitespace, query-replace-regexp)
4742 (query-replace-regexp-eval, replace-regexp): Doc fix.
4743 (perform-replace, replace-highlight): Let-bind
4744 isearch-lax-whitespace to replace-lax-whitespace and
4745 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4747 * isearch.el (isearch-query-replace): Let-bind
4748 replace-lax-whitespace to isearch-lax-whitespace and
4749 replace-regexp-lax-whitespace to
4750 isearch-regexp-lax-whitespace. (Bug#10885)
4752 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4754 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4756 2012-09-09 Alan Mackenzie <acm@muc.de>
4758 * progmodes/cc-engine.el (c-state-cache-init):
4759 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4760 (c-record-parse-state-state):
4761 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
4763 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4765 * register.el (register-separator): Rename from
4766 separator-register. All uses changed. Doc fix.
4767 (register): Fix version.
4769 2012-09-09 Chong Yidong <cyd@gnu.org>
4771 * replace.el (query-replace-map): Bind four new symbols for
4772 requesting window scrolling.
4774 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4775 query-replace-map (Bug#8948).
4777 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4779 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4780 since they are now in query-replace-map.
4782 * window.el (scroll-other-window-down): Make the arg optional.
4784 2012-09-09 Chong Yidong <cyd@gnu.org>
4786 * files.el (hack-local-variables-confirm): Use quit-window to kill
4787 the *Local Variables* buffer.
4789 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4791 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4792 not just expect to be at its beginning. Adjust callees.
4793 Succeed when do-end block has no space before the pipe character.
4794 (ruby-brace-to-do-end): When the original block is one-liner,
4795 convert to multiline. Reindent the result.
4797 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
4799 * register.el (register): New group.
4800 (separator-register): New user option.
4801 (increment-register): Route it to `append-to-register', if
4802 register contains text. Implication is that `C-x r +' can now be
4803 used for appending to a text register (bug#12217).
4804 (append-to-register, prepend-to-register): Add separator based on
4805 `separator-register'.
4807 2012-09-08 Alan Mackenzie <acm@muc.de>
4809 AWK Mode: make auto-newline work when there's "==" in the pattern.
4810 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4812 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4813 Test more rigorously for "=" token.
4815 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4817 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4818 Only fail when reached LIMIT.
4820 2012-09-08 Chong Yidong <cyd@gnu.org>
4822 * dired.el (dired-mode-map): Don't bind M-=.
4824 * dired-aux.el (dired-diff): Use backup file as default.
4826 2012-09-08 Drew Adams <drew.adams@oracle.com>
4828 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4830 2012-09-08 Chong Yidong <cyd@gnu.org>
4832 * subr.el (syntax-after, syntax-class): Doc fix.
4834 2012-09-08 Martin Rudalics <rudalics@gmx.at>
4836 * window.el (display-buffer-in-previous-window): New buffer
4837 display action function.
4839 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4840 (debugger-previous-window): New variable.
4841 (debug): Rewrite using display-buffer-in-previous-window,
4842 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4844 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4846 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4848 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4850 * progmodes/python.el (python-shell-send-string):
4851 When default-directory is remote, create temp file on remote
4853 (python-shell-send-file): When file is remote, pass local view of
4854 file paths to remote Python interpreter. (Bug#12340)
4856 2012-09-07 Chong Yidong <cyd@gnu.org>
4858 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4860 * files.el (after-find-file): Don't fail on a read-only buffer if
4861 require-final-newline is `visit' or `visit-save' (Bug#11156).
4863 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4865 * userlock.el (ask-user-about-supersession-threat):
4866 Use read-char-choice (Bug#12093).
4868 2012-09-07 Chong Yidong <cyd@gnu.org>
4870 * subr.el (buffer-narrowed-p): New function.
4872 * ses.el (ses-widen):
4873 * simple.el (count-words--buffer-message):
4874 * net/browse-url.el (browse-url-of-buffer): Use it.
4876 * simple.el (count-words-region): Don't signal an error if there
4877 is a non-nil prefix arg and the mark is not set.
4879 * help.el (describe-key-briefly): Allow the message to be seen
4880 when invoked from the minibuffer (Bug#7014).
4882 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4884 * progmodes/ruby-mode.el (ruby-end-of-defun)
4885 (ruby-beginning-of-defun): Simplify, allow indentation before
4886 block beginning and end keywords.
4887 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4888 (ruby-end-of-defun): Expect that the point is at the beginning of
4891 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4893 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4895 (cl--make-usage-args): Strip _ from argument names.
4897 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4899 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4900 obsolete alias speedbar-key-map.
4901 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4902 (vhdl-index-menu-init): Don't use obsolete variable
4903 font-lock-maximum-size.
4905 2012-09-06 Chong Yidong <cyd@gnu.org>
4907 * frame.el (window-system-version): Mark as obsolete.
4909 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4910 of obsolete variable speedbar-key-map.
4912 2012-09-06 Juri Linkov <juri@jurta.org>
4914 * replace.el (replace-lax-whitespace): New defcustom.
4915 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4916 (replace-string, replace-regexp): Mention it in docstrings.
4917 (perform-replace, replace-highlight): Let-bind
4918 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4919 to the values of replace-lax-whitespace and regexp-flag.
4920 Don't let-bind search-whitespace-regexp. (Bug#10885)
4922 * isearch.el (isearch-query-replace): Let-bind
4923 replace-lax-whitespace instead of let-binding
4924 replace-search-function and replace-re-search-function.
4925 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4926 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4927 (isearch-toggle-symbol): Set isearch-regexp to nil
4928 in isearch-word mode (like in isearch-toggle-word).
4930 2012-09-06 Juri Linkov <juri@jurta.org>
4932 * replace.el (replace-search-function)
4933 (replace-re-search-function): Set default values to nil.
4934 (perform-replace): Let-bind isearch-related variables based on
4935 replace-related values, call `isearch-search-fun' and let-bind
4936 the result to `search-function'. Remove code that sets
4937 `search-function' and `search-string' separately for
4939 (replace-highlight): Add new argument `delimited-flag' and
4940 rename other arguments to the names used in `perform-replace'.
4941 Let-bind `isearch-word' to the argument `delimited-flag'.
4942 (Bug#10885, bug#10887)
4944 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4946 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4947 ruby-beginning-of-indent, simplify, allow all keywords to have
4948 indentation before them.
4949 (ruby-beginning-of-indent): Adjust for above. Search until the
4950 found point is not inside a string or comment.
4951 (ruby-font-lock-keywords): Allow symbols to start with "@"
4952 character, give them higher priority than variables.
4953 (ruby-syntax-propertize-function)
4954 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4955 matchers. Expression expansions are not comments when inside a
4956 string, and there comment syntax status is irrelevant.
4957 (ruby-match-expression-expansion): New function. Check that
4958 expression expansion is inside a string, and it's not escaped.
4959 (ruby-font-lock-keywords): Use it.
4961 2012-09-05 Martin Rudalics <rudalics@gmx.at>
4963 * help.el (temp-buffer-max-height): New default value.
4964 (temp-buffer-resize-frames): New option.
4965 (resize-temp-buffer-window): Optionally resize frame.
4967 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4968 (fit-frame-to-buffer): New function.
4970 2012-09-05 Glenn Morris <rgm@gnu.org>
4972 * emulation/cua-rect.el (cua--init-rectangles):
4973 * textmodes/picture.el (picture-mode-map):
4974 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4975 like forward-char and backward-char. (Bug#12317)
4977 2012-09-05 Leo Liu <sdl.web@gmail.com>
4979 * progmodes/flymake.el (flymake-warning-re): New variable.
4980 (flymake-parse-line): Use it.
4982 2012-09-05 Glenn Morris <rgm@gnu.org>
4984 * calendar/holidays.el (holiday-christian-holidays):
4985 Rename an entry. (Bug#12289)
4987 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4989 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4992 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4994 * loadup.el: Load macroexp. Remove hack.
4995 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4996 (macroexp--expand-all): Use it to get better warnings.
4997 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4998 (internal-macroexpand-for-load): New functions.
4999 (macroexp--pending-eager-loads): New var.
5000 (emacs-startup-hook): New hack to replace one in loadup.el.
5001 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5002 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5003 (cl-psetf): Simplify.
5004 (cl-defstruct): Add indent rule.
5006 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5008 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5009 over `user-mail-address' for the SMTP MAIL FROM envelope.
5010 (smtpmail-via-smtp): Ditto.
5012 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5014 * progmodes/ruby-mode.el: Clean up keybindings.
5015 (ruby-mode-map): Don't bind ruby-electric-brace,
5016 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5017 backward-kill-word, reindent-then-newline-and-indent.
5018 (ruby-mark-defun): Remove.
5019 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5020 (ruby-mode): Set local beginning-of-defun-function and
5021 end-of-defun-function values.
5023 2012-09-03 Martin Rudalics <rudalics@gmx.at>
5025 * window.el (temp-buffer-window-setup-hook)
5026 (temp-buffer-window-show-hook): New hooks.
5027 (temp-buffer-window-setup, temp-buffer-window-show)
5028 (with-temp-buffer-window): New functions.
5029 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5030 (special-display-popup-frame): Make sure the window used shows BUFFER.
5032 * help.el (temp-buffer-resize-mode): Fix doc-string.
5033 (resize-temp-buffer-window): New optional argument WINDOW.
5035 * files.el (recover-file, save-buffers-kill-emacs):
5036 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5038 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
5040 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5041 remote definition of `default-directory', ensure we can connect.
5043 2012-09-02 Juri Linkov <juri@jurta.org>
5045 Toggle whitespace matching mode with M-s SPC.
5046 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5048 * isearch.el (search-whitespace-regexp): Doc fix.
5049 Remove cons cell customization.
5050 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5051 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5053 (isearch-forward, isearch-forward-regexp): Doc fix.
5054 (isearch-toggle-lax-whitespace): New command.
5055 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5056 (re-search-forward-lax-whitespace)
5057 (re-search-backward-lax-whitespace): New functions.
5058 (isearch-whitespace-regexp): Remove function.
5059 (isearch-query-replace): Let-bind replace-search-function and
5060 replace-re-search-function.
5061 (isearch-occur): Let-bind search-spaces-regexp according to the
5062 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5063 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5064 condition for C-q SPC.
5065 (isearch-search-fun-default): Use new functions mentioned above.
5066 (isearch-search-forward, isearch-search-backward): Remove functions.
5067 (isearch-search): Don't let-bind search-spaces-regexp.
5068 (isearch-lazy-highlight-space-regexp): Remove variable.
5069 (isearch-lazy-highlight-lax-whitespace)
5070 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5071 (isearch-lazy-highlight-new-loop): Use them.
5072 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5074 2012-09-02 Chong Yidong <cyd@gnu.org>
5076 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5078 2012-09-02 Glenn Morris <rgm@gnu.org>
5080 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5082 2012-09-01 Glenn Morris <rgm@gnu.org>
5084 * term.el: Tidy up menu definitions.
5085 (term-mode-map): Use easymenu for In/Out, Complete menus.
5086 (term-pager-break-map): Initialize in the defvar.
5087 (term-terminal-menu, term-signals-menu): Define with easymenu.
5088 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5089 (term-pager-menu): New, extracted from term-process-pager.
5090 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5091 (term-update-mode-line): Propertize line/char and page items.
5092 (term-process-pager): Move keymap initialization elsewhere.
5094 2012-09-01 Martin Rudalics <rudalics@gmx.at>
5096 * window.el (switch-to-prev-buffer): Handle additional values of
5097 BURY-OR-KILL argument. Don't switch in minibuffer window.
5098 (switch-to-next-buffer): Don't switch in minibuffer window.
5099 (quit-restore-window): New function based on quit-window.
5100 Handle additional values of former KILL argument.
5101 (quit-window): Call quit-restore-window with appropriate
5102 interpretation of KILL argument.
5103 (display-buffer-below-selected): New buffer display action
5106 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5108 * minibuffer.el (completion-at-point-functions): Complete docstring
5111 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5113 Better seed support for (random).
5114 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5115 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5116 * play/mpuz.el, play/tetris.el, play/zone.el:
5117 * calc/calc-comb.el (math-init-random-base):
5118 * play/blackbox.el (bb-init-board):
5119 * play/life.el (life):
5120 * server.el (server-use-tcp):
5121 * type-break.el (type-break):
5122 Remove unnecessary call to (random t).
5123 * net/sasl.el (sasl-unique-id-function):
5124 Change (random t) to (random), now that the latter is more random.
5125 * play/life.el (life-initialized): Remove no-longer-needed var.
5127 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5129 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5130 Consider frame's buffer predicate when choosing the buffer.
5133 2012-08-30 Richard Stallman <rms@gnu.org>
5135 * simple.el (special-mode-map): Delete binding for `z'.
5137 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5139 * progmodes/compile.el (compilation-always-kill): Doc fix.
5141 2012-08-30 Chong Yidong <cyd@gnu.org>
5143 * window.el (display-buffer-reuse-frames): Make the obsolescence
5144 message more informative.
5146 2012-08-30 Glenn Morris <rgm@gnu.org>
5148 * paren.el (show-paren-delay):
5149 Add a :set function. Doc fix. (Bug#12297)
5151 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5153 * progmodes/compile.el (compilation-always-kill): New var.
5154 (compilation-start): Use it.
5156 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5158 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5159 * files.el (read-only-mode): Move to simple.el.
5161 * files.el (read-only-mode): New minor mode.
5162 (toggle-read-only): Use it and mark obsolete.
5163 (find-file--read-only):
5164 * vc/vc.el (vc-next-action, vc-checkout):
5165 * vc/vc-cvs.el (vc-cvs-checkout):
5166 * obsolete/vc-mcvs.el (vc-mcvs-update):
5167 * ffap.el (ffap--toggle-read-only): Update callers.
5169 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
5171 * eshell/esh-ext.el (eshell-external-command): Do not examine
5172 remote shell scripts.
5173 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
5175 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5178 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5180 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5182 2012-08-28 Leo Liu <sdl.web@gmail.com>
5184 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5185 completion-at-point. (Bug#12220)
5187 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5189 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5191 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5193 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5194 be buffer-local; add delete-trailing-whitespace (bug#12259).
5196 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
5198 * progmodes/hideif.el (hif-compress-define-list):
5199 Fix typo. (Bug#11951)
5201 2012-08-28 Dan Nicolaescu <dann@gnu.org>
5203 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5204 buffer local setting.
5206 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5207 rcirc-encode-coding-system.
5209 2012-08-28 Leo Liu <sdl.web@gmail.com>
5211 * net/rcirc.el (rcirc-split-message): New function.
5212 (rcirc-send-message): Use it. (Bug#12051)
5214 2012-08-28 Juri Linkov <juri@jurta.org>
5216 * info.el (Info-fontify-node): Hide empty lines at the end of
5217 the node. (Bug#12272)
5219 2012-08-27 Drew Adams <drew.adams@oracle.com>
5221 * dired.el (dired-pop-to-buffer): Make window start at beginning
5222 of buffer (Bug#12281).
5224 2012-08-26 Chong Yidong <cyd@gnu.org>
5226 * window.el (special-display-regexps, special-display-frame-alist)
5227 (special-display-buffer-names, special-display-function)
5228 (display-buffer-reuse-frames): Mark as obsolete.
5230 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5232 * help.el (help-print-return-message): Don't treat
5233 display-buffer-reuse-frames specially.
5235 2012-08-26 Chong Yidong <cyd@gnu.org>
5237 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5238 New variable, replacing gdb-frame-parameters.
5239 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5240 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5241 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5242 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5243 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5244 the functions directly with gdb-display-buffer-other-frame-action.
5245 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5246 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5247 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5248 (gdb-display-registers-buffer): Define directly.
5249 (def-gdb-display-buffer): Macro deleted.
5250 (gdb-display-buffer): Remove second and third args, callers don't
5251 use them. Defer to the default display-buffer behavior, apart
5252 from making windows dedicated.
5253 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5255 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5257 * window.el (display-buffer-pop-up-frame): Handle a
5258 pop-up-frame-parameters alist entry.
5259 (display-buffer): Document it.
5261 2012-08-26 Chong Yidong <cyd@gnu.org>
5263 * isearch.el (search-whitespace-regexp): Make string and nil
5264 values apply to both ordinary and regexp search. Allow a cons
5265 cell value to distinguish between the two.
5266 (isearch-whitespace-regexp, isearch-search-forward)
5267 (isearch-search-backward): New functions.
5268 (isearch-occur, isearch-search-fun-default, isearch-search)
5269 (isearch-lazy-highlight-new-loop): Use them.
5270 (isearch-forward, isearch-forward-regexp): Doc fix.
5272 2012-08-26 Chong Yidong <cyd@gnu.org>
5274 * faces.el (help-argument-name): Always inherit from italic
5277 2012-08-25 Martin Rudalics <rudalics@gmx.at>
5279 * window.el (window--even-window-heights): Even heights when
5280 WINDOW and the selected window form a vertical combination.
5281 (display-buffer-use-some-window): Provide that window used gets
5282 sized back by quit-window. (Bug#11880) and (Bug#12091)
5284 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5286 Fix file time stamp problem with bzr and CVS (Bug#12001).
5287 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5288 in the file's time stamp, since the version control system loses
5291 2012-08-22 Juri Linkov <juri@jurta.org>
5293 * info.el (Info-fontify-node): Hide the suffix of the
5294 Info file name in the header line. (Bug#12187)
5296 2012-08-22 Glenn Morris <rgm@gnu.org>
5298 * calendar/cal-tex.el (cal-tex-weekly-common):
5299 Restore leading blank page.
5301 2012-08-22 Le Wang <l26wang@gmail.com>
5303 * misc.el (forward-to-word, backward-to-word): Activate or extend
5304 the region under `shift-select-mode'. (Bug#12231)
5306 2012-08-22 Bastien Guerry <bzg@gnu.org>
5308 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5309 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5310 gives details on why the space is never needed.
5312 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5314 * window.el (walk-window-tree, window-with-parameter):
5315 New optional argument MINIBUF to control whether these functions
5316 should run on the minibuffer window.
5317 (window-at-side-list): Don't operate on minibuffer window.
5318 (window-in-direction): Simplify and rewrite doc-string.
5319 (window--size-ignore): Rename to window--size-ignore-p.
5321 (display-buffer-in-atom-window, window--major-non-side-window)
5322 (window--major-side-window, display-buffer-in-major-side-window)
5323 (delete-side-window, display-buffer-in-side-window):
5325 (window--side-check, window-deletable-p, delete-window)
5326 (delete-other-windows, split-window): Handle side windows and
5327 atomic windows appropriately.
5328 (window--display-buffer): Call display-buffer-record-window also
5329 when the window buffer did not change.
5331 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5333 * help-fns.el (help-fns--key-bindings):
5334 Abbreviate non-symbol remap targets. (Bug#12174)
5336 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5338 * dired.el (dired-mark-remembered): Don't clobber point.
5341 2012-08-22 Glenn Morris <rgm@gnu.org>
5343 * progmodes/bug-reference.el (bug-reference): New custom group.
5344 (bug-reference-bug-regexp): Make it a defcustom.
5346 2012-08-22 Daiki Ueno <ueno@unixuser.org>
5348 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5349 (js-paren-indent-offset, js-square-indent-offset)
5350 (js-curly-indent-offset): Add :safe (Bug#12257).
5352 2012-08-22 Edward O'Connor <hober0@gmail.com>
5354 * json.el (json-key-format): Add error properties.
5355 (json-encode-key): New function.
5356 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5357 Use json-encode-key.
5359 2012-08-22 Glenn Morris <rgm@gnu.org>
5361 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5362 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5363 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5364 Update for above change.
5366 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5368 * cus-face.el (custom-face-attributes): Fix customize type for the
5369 :underline attribute. (Bug#11805)
5371 2012-08-21 Martin Rudalics <rudalics@gmx.at>
5373 * window.el (window-point-1, set-window-point-1): Remove.
5374 (window-in-direction, record-window-buffer)
5375 (set-window-buffer-start-and-point, split-window-below)
5376 (window--state-get-1, display-buffer-record-window):
5377 Replace calls to window-point-1 and set-window-point-1 by calls to
5378 window-point and set-window-point respectively.
5380 2012-08-21 Glenn Morris <rgm@gnu.org>
5382 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5383 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5386 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5387 (cal-tex-shortday): New function.
5388 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5389 (cal-tex-cursor-filofax-daily): Use the above.
5391 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5393 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5394 (cal-tex-cursor-filofax-week): Use them.
5396 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5398 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5399 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5401 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5402 (cal-tex-end-document): Don't rely on buffer name.
5404 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5406 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5407 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
5408 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5411 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5412 (cal-tex-cursor-week, cal-tex-cursor-week2)
5413 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5414 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5415 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5416 (cal-tex-insert-preamble, cal-tex-b-document)
5417 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5418 Improve cal-tex-cmd usage.
5420 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5421 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5422 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5423 (cal-tex-weekly-paper): New function.
5424 (cal-tex-cursor-week, cal-tex-cursor-week2)
5425 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5426 (cal-tex-cursor-day): Use it.
5428 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5429 (cal-tex-cursor-filofax-week): Remove leading blank page.
5431 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5432 Add autoload cookie. For now at least, don't use color, since
5433 no other cal-tex function does.
5435 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5436 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5437 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5439 2012-08-21 Juri Linkov <juri@jurta.org>
5441 * info.el (Info-file-attributes): New variable.
5442 (info-insert-file-contents): Add file attributes to
5443 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5444 `Info-toc-nodes' when previous modtime of the Info file is less
5446 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5447 of info.el. (Bug#12230)
5449 2012-08-20 Glenn Morris <rgm@gnu.org>
5451 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5452 * calendar/holidays.el (calendar-holiday-list):
5453 Report errors with display-warning rather than beep'n'sleep.
5455 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
5457 * net/tramp.el (tramp-accept-process-output): Accept only output
5458 from PROC. Otherwise, process filters and sentinels might be
5459 confused. (Bug#12145)
5461 2012-08-20 Chong Yidong <cyd@gnu.org>
5463 * descr-text.el (describe-text-properties-1): Use overlays-in to
5464 report on empty overlays (Bug#3322).
5466 2012-08-20 Glenn Morris <rgm@gnu.org>
5468 * mail/rmailout.el (rmail-output-read-file-name):
5469 Trap and report errors in rmail-output-file-alist elements.
5471 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5472 since most non-font-lock faces are not also variables).
5474 2012-08-20 Edward Reingold <reingold@iit.edu>
5476 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5477 New function. (Bug12160)
5479 2012-08-19 Glenn Morris <rgm@gnu.org>
5481 * mail/rmailout.el (rmail-output-read-file-name):
5482 Fix previous change (when the alist is nil or does not match).
5484 2012-08-19 Chong Yidong <cyd@gnu.org>
5486 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5489 2012-08-18 Chong Yidong <cyd@gnu.org>
5491 * simple.el (yank-handled-properties): New defcustom.
5492 (yank-excluded-properties): Add font-lock-face and category.
5495 * subr.el (remove-yank-excluded-properties):
5496 Obey yank-handled-properties. The special handling of font-lock-face
5497 and category is now done this way, instead of being hard-coded.
5498 (insert-for-yank-1): Remove font-lock-face handling.
5499 (yank-handle-font-lock-face-property)
5500 (yank-handle-category-property): New function.
5502 2012-08-17 Glenn Morris <rgm@gnu.org>
5504 * mail/rmailout.el (rmail-output-read-file-name):
5505 Check rmail-output-file-alist against the full message body
5506 in the correct rmail buffer. (Bug#12214)
5508 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
5510 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5511 Eliminate superfluous prompt. (Bug#12203)
5513 2012-08-17 Chong Yidong <cyd@gnu.org>
5515 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5516 font spec, set the font directly (Bug#3228).
5518 2012-08-17 Martin Rudalics <rudalics@gmx.at>
5520 * window.el (delete-window): Fix last fix.
5522 2012-08-16 Martin Rudalics <rudalics@gmx.at>
5524 * window.el (window-valid-p): Move to window.c.
5525 (window-child, window-child-count, window-last-child)
5526 (window-normalize-window, window-combined-p)
5527 (window-combinations, window-atom-root, window-min-size)
5528 (window-sizable, window-sizable-p, window-size-fixed-p)
5529 (window-min-delta, window-max-delta, window--resizable)
5530 (window--resizable-p, window-resizable, window-total-size)
5531 (window-full-height-p, window-full-width-p, window-body-size)
5532 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5533 (minimize-window, window-deletable-p, delete-window)
5534 (delete-other-windows, set-window-buffer-start-and-point)
5535 (next-buffer, previous-buffer, split-window, balance-windows-2)
5536 (set-window-text-height, window-buffer-height)
5537 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
5538 (truncated-partial-width-window-p): Minor code adjustments.
5539 In doc-strings state whether the argument window has to denote a
5540 live, valid or any window.
5542 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5544 * progmodes/subword.el (subword-forward-function)
5545 (subword-backward-function, subword-forward-regexp)
5546 (subword-backward-regexp): New variables.
5547 (subword-forward, subword-forward-internal, subword-backward-internal):
5548 Use new variables, eg so that different "word" definitions
5549 can be easily used. (Bug#11411)
5551 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5553 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5554 for composite selectors.
5555 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5556 operation just because we can't find a previous revision.
5558 2012-08-15 Chong Yidong <cyd@gnu.org>
5560 * frame.el (set-frame-font): Accept font objects.
5562 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5564 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5566 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5568 * man.el (Man-overstrike-face, Man-underline-face)
5569 (Man-reverse-face): Remove variables.
5570 (Man-overstrike, Man-underline, Man-reverse): New faces.
5571 (Man-fontify-manpage): Use them instead of the variables.
5572 (Man-cleanup-manpage): Comment change.
5573 (Man-ansi-color-map): New variable.
5574 (Man-fontify-manpage): Use it.
5575 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5577 Implement ANSI SGR parameters 22-27 (bug#12146).
5578 * ansi-color.el (ansi-colors): Doc fix.
5579 (ansi-color-context, ansi-color-context-region): Doc fix.
5580 (ansi-color--find-face): New function.
5581 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5582 Rename the local variable `face' to `codes' since it is now a list of
5583 ansi codes. Doc fix.
5584 (ansi-color-get-face): Remove.
5585 (ansi-color-parse-sequence): New function, derived from
5586 ansi-color-get-face.
5587 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5590 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5592 * subr.el (read-passwd): Allow use from a minibuffer.
5594 2012-08-14 Eli Zaretskii <eliz@gnu.org>
5596 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5597 inside comments and strings as identifiers.
5599 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5600 expression to evaluate. This allows to evaluate expressions with
5601 embedded whitespace.
5602 (gud-tooltip-tips): Add a blank before the newline in the
5603 message-box text, for the benefit of message-box emulation on
5606 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5607 messages from GDB, pop them up in a tooltip to give feedback to
5609 (gdb-tooltip-print-1): Quote the expression to evaluate.
5610 This allows to evaluate expressions with embedded whitespace.
5611 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5612 if the TTY name is nil or empty (which happens when communicating
5613 with the inferior via pipes, e.g. on MS-Windows).
5614 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5615 don't send that to the GUD buffer.
5617 2012-08-14 Glenn Morris <rgm@gnu.org>
5619 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5620 Optimize away setq-default with no args, as for setq. (Bug#12195)
5622 2012-08-14 Chong Yidong <cyd@gnu.org>
5624 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5626 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5629 2012-08-14 Glenn Morris <rgm@gnu.org>
5631 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5633 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
5635 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5636 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5637 Use cached shell name.
5639 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5641 * progmodes/python.el (python-shell-send-string):
5642 (python-shell-send-setup-code): Do not use `format' with `message'.
5644 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5646 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5647 (ruby-percent-literal-beg-re): New constant.
5648 (ruby-syntax-general-delimiters-goto-beg): Rename to
5649 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5650 (ruby-syntax-propertize-general-delimiters): Rename to
5651 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5652 popular term. Adjust comments everywhere.
5653 (ruby-syntax-propertize-percent-literal): Only propertize when not
5654 inside a simple string or comment. When the literal is unclosed,
5655 leave the text after it unpropertized.
5656 (ruby-syntax-methods-before-regexp): New constant.
5657 (ruby-syntax-propertize-function): Use it to recognize regexps.
5658 Don't look at the text after regexp, just use the whitelist.
5660 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5662 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5663 non-nil always load the compiled file if it exists. (Bug#12197)
5665 2012-08-14 Chong Yidong <cyd@gnu.org>
5667 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5668 (hi-lock-set-pattern): When deciding whether to use font lock or
5669 overlays, look at font-lock-mode instead of font-lock-fontified
5671 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5672 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5674 2012-08-14 Daiki Ueno <ueno@unixuser.org>
5676 * subr.el (internal--after-with-selected-window): Fix typo
5679 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5681 Use `completion-table-dynamic' for completion functions.
5682 * progmodes/python.el
5683 (python-shell-completion--do-completion-at-point)
5684 (python-shell-completion--get-completions):
5686 (python-shell-completion-complete-at-point): New function.
5687 (python-completion-complete-at-point): Use it.
5689 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
5691 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5692 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5694 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5696 * subr.el (function-get): Refine `autoload' arg so it can also
5697 autoload functions for gv.el (bug#12191).
5698 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5701 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5702 Prefer pcase-let over destructuring-bind.
5703 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5704 Also, remove whitespace as we go, rather than after accumulating the
5707 * subr.el (internal--before-with-selected-window)
5708 (internal--after-with-selected-window): Fix typo seleted->selected.
5709 (with-selected-window): Adjust callers.
5710 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5712 2012-08-13 Bastien Guerry <bzg@gnu.org>
5714 * window.el (special-display-popup-frame): Minor docstring
5715 enhancement. (Bug#12172)
5717 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5719 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5721 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5724 * files.el (hack-local-variables-filter): Remove useless eval.
5726 2012-08-13 Martin Rudalics <rudalics@gmx.at>
5728 * subr.el (with-selected-window): Fix last change.
5730 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5732 * subr.el (internal--before-with-seleted-window)
5733 (internal--after-with-seleted-window): New functions.
5734 (with-selected-window): Use them, to replace dependency on
5737 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5739 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5740 binding for `newline'.
5741 (ruby-move-to-block): When moving backward, stop at block opening,
5743 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5744 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5745 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5746 `ruby-toggle-block'.
5748 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5750 * ibuffer.el (ibuffer-do-toggle-read-only):
5751 * dired.el (dired-toggle-read-only):
5752 * buff-menu.el (Buffer-menu-toggle-read-only):
5753 * bindings.el (mode-line-toggle-read-only):
5754 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5756 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5758 * descr-text.el (describe-char): Put the overlays over the
5759 "displayed as" character.
5761 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5763 * calc/calc-units.el (math-default-units-table): Give an
5765 (math-put-default-units): Add options to put composite units and
5766 unit systems in the default units table.
5767 (calc-convert-units): Send composite units to
5768 `math-put-default-units' when appropriate.
5770 2012-08-11 Glenn Morris <rgm@gnu.org>
5772 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5774 * tutorial.el (help-with-tutorial):
5775 * emacs-lisp/copyright.el (copyright-update-directory):
5776 * emacs-lisp/autoload.el (autoload-find-generated-file)
5777 (autoload-find-file): Disable local eval: (for insurance).
5779 * files.el (hack-local-variables-filter): If an eval: form is not
5780 known to be safe, and enable-local-variables is :safe, then ignore
5781 the form totally, as is done for non-eval forms. (Bug#12155)
5782 This is CVE-2012-3479.
5784 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5786 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5787 (rx-form): Simplify.
5789 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5791 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5792 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5793 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5794 (ruby-syntax-propertize-function): Adjust for changes in
5795 `ruby-syntax-propertize-heredoc'.
5797 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5799 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5800 binding (use `M-;' instead).
5801 (ruby-singleton-class-p): New function.
5802 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
5804 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5806 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5808 2012-08-10 Chong Yidong <cyd@gnu.org>
5810 * progmodes/python.el (python-shell-get-process-name): Don't mess
5811 with same-window-buffer-names.
5813 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5814 (eshell-remove-from-window-buffer-names): Make obsolete.
5815 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5816 (eshell): Just use pop-to-buffer-same-window instead.
5818 2012-08-10 Chong Yidong <cyd@gnu.org>
5820 * bindings.el: Bind M-= back to count-words-region.
5822 * simple.el (count-words-region): Accept a prefix arg for acting
5823 on the entire buffer.
5824 (count-words--buffer-message): New helper function.
5826 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5828 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5829 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5830 (event-start, event-end): Use posn-at-point to return a more
5832 (posnp): New function.
5833 * mouse.el (popup-menu-normalize-position): Use it.
5835 2012-08-10 Masatake YAMATO <yamato@redhat.com>
5837 * mouse.el (popup-menu-normalize-position): New function.
5838 (popup-menu): Use `popup-menu-normalize-position' to normalize
5839 the form for POSITION argument.
5841 * term/x-win.el (x-menu-bar-open):
5842 Use the value returend from (posn-at-point) as position
5843 passed to `popup-menu'.
5845 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5847 * calc/calccomp.el (math-compose-expr): Add extra argument
5848 indicating that parentheses should be put around products in
5849 denominators. Give multiplication precedence over division during
5852 2012-08-09 Chong Yidong <cyd@gnu.org>
5854 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5855 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5856 (Man-untabify-command, manual-program): Convert to defcustom
5859 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5861 * descr-text.el (describe-char): Don't insert extra newlines
5864 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5865 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5867 * align.el (align-region): Delete temporary markers (Bug#10047).
5868 Plus some code cleanups.
5870 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5872 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5873 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5874 (python-shell-internal-last-output): Use make-local-variable
5875 instead of make-variable-buffer-local.
5877 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5879 * progmodes/python.el: Enhancements to forward-sexp.
5880 (python-nav-forward-sexp): Rename from
5881 python-nav-forward-sexp-function.
5882 (python-nav--forward-sexp, python-nav--backward-sexp):
5885 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5887 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5888 modes and simplification modes.
5890 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5892 * delsel.el (delete-selection-pre-hook): Don't propagate the
5893 file-supersession signals (bug#12161).
5895 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5897 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5898 (cl-map-extents): Add compatibility aliases (bug#12135).
5900 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
5902 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5903 tests by `ignore-error'.
5904 (tramp-find-shell): Open also a new shell, when cache is already
5905 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5907 2012-08-08 Juri Linkov <juri@jurta.org>
5909 * bookmark.el: Add `defaults' property to the bookmark record.
5910 (bookmark-current-buffer): Doc fix.
5911 (bookmark-make-record): Add `defaults' property with default values
5912 to the bookmark record.
5913 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5914 with `bookmark-insert-current-bookmark'.
5915 (bookmark-set): Get `defaults' property from the bookmark record
5916 and use it in `read-from-minibuffer'.
5917 (bookmark-insert-current-bookmark): Remove function.
5919 * info.el (Info-bookmark-make-record): Add `defaults' property
5920 with values of canonical Info node name, the current Info file
5921 name and the current Info node name. (Bug#12107)
5923 2012-08-08 Juri Linkov <juri@jurta.org>
5925 * files.el (basic-save-buffer): Use `buffer-name' as the default
5926 of `read-file-name' when buffer is not visiting a file (bug#12128).
5928 2012-08-08 Juri Linkov <juri@jurta.org>
5930 * info.el (Info-isearch-search): Doc fix.
5931 (Info-search): Change search-failed message from "initial node" to
5932 "end of node" (bug#12078).
5933 (Info-isearch-search): Change `isearch-string-state' to
5934 `isearch--state-string'.
5936 2012-08-08 Glenn Morris <rgm@gnu.org>
5938 * language/persian.el: Remove file.
5939 * language/misc-lang.el: Move unique part of persian.el here.
5940 * loadup.el: Remove language/persian.
5942 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5944 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5946 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5948 * progmodes/python.el Fixed defsubst warning.
5949 (python-syntax-context) Rename from python-info-ppss-context.
5950 (python-syntax-context-type): Rename from
5951 python-info-ppss-context-type.
5952 (python-syntax-comment-or-string-p): Rename from
5953 python-info-ppss-comment-or-string-p.
5955 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5957 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5959 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5961 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5962 a defcustom that is quoted with backquote.
5964 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5965 Fix handling of interactive spec when the body uses return.
5966 (math-do-arg-check, math-define-function-body): Use backquote forms.
5967 * calc/calc-ext.el (math-defcache): Likewise.
5968 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5969 * allout.el (allout-new-exposure): Likewise.
5970 * calc/calcalg2.el (math-tracing-integral): Likewise.
5971 * info.el (Info-last-menu-item): Likewise.
5972 * emulation/vip.el (vip-loop): Likewise.
5973 * textmodes/artist.el (artist-funcall): Likewise.
5974 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5975 Construct menu-item directly.
5977 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5980 2012-08-07 Chong Yidong <cyd@gnu.org>
5982 * simple.el (deactivate-mark): Preserve text properties when
5983 saving the primary selection (Bug#8384).
5985 2012-08-07 Kevin Ryde <user42@zip.com.au>
5987 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5988 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5989 and continue processing (Bug#12110).
5991 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5993 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5994 syntax-propertize-function (bug#10095).
5996 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5998 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5999 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6000 describe-function-1.
6001 (describe-function-1): Use them. Move compiler macro after sig.
6002 (help-fns--compiler-macro): Use function-get. Assume we're already in
6003 standard-output. Adjust layout to new call order.
6005 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6006 re-binding a symbol that has a symbol-macro (bug#12119).
6008 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6010 * language/persian.el: New file. (Bug#11812)
6011 * loadup.el: Add language/persian.el.
6013 2012-08-06 Chong Yidong <cyd@gnu.org>
6015 * window.el (window--maybe-raise-frame): New function.
6016 (window--display-buffer): Split off from here.
6017 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6018 (display-buffer-pop-up-window, display-buffer-use-some-window):
6019 Obey an inhibit-switch-frame action alist entry.
6020 (display-buffer): Update doc.
6022 * replace.el (occur-after-change-function): Avoid losing focus by
6023 using the inhibit-switch-frame display parameter (Bug#12139).
6025 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6027 Make internal shell process buffer names start with space.
6028 * progmodes/python.el (python-shell-make-comint): Add optional
6030 (run-python-internal): Use it.
6031 (python-shell-internal-get-or-create-process): Check for new
6032 internal buffer names.
6034 2012-08-06 Glenn Morris <rgm@gnu.org>
6036 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
6037 Do less getting and setting of environment variables.
6039 2012-08-05 Chong Yidong <cyd@gnu.org>
6041 * proced.el (proced): Add substitution string to docstring to
6042 trigger autoloading of the proced library on C-h f (Bug#1768).
6044 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6045 Don't show defvars which have no second argument (Bug#8638).
6047 * imenu.el (imenu-generic-expression): Move documentation here
6048 from imenu--generic-function.
6049 (imenu--generic-function): Refer to imenu-generic-expression.
6051 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
6053 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6054 indentation declaration.
6055 (viper-loop): Add indentation declaration (Bug#7025).
6057 2012-08-05 Chong Yidong <cyd@gnu.org>
6059 * help-fns.el (describe-variable): Add hyperlink for
6060 directory-local variables files. Improve buffer-local and
6061 permanent-local reporting; suggested by MON KEY (Bug#6644).
6063 * help-mode.el (help-dir-local-var-def): New button type.
6065 * files.el (kill-buffer-hook): Provide a defvar.
6067 2012-08-05 Glenn Morris <rgm@gnu.org>
6069 * eshell/esh-ext.el (eshell/addpath):
6070 Also update eshell-path-env. (Bug#12013)
6072 2012-08-05 Chong Yidong <cyd@gnu.org>
6074 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
6076 * fringe.el (fringe-styles): Add docstring.
6077 (fringe--check-mode): New function.
6078 (set-fringe-mode, set-fringe-style): Use it.
6079 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6081 * files.el (set-auto-mode): Fix invalid setq call.
6083 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6085 * isearch.el: Misc simplification; use defstruct.
6086 (isearch-mode-map): Dense maps now work like sparse ones.
6087 (isearch--state): New defstruct.
6088 (isearch-string-state, isearch-message-state, isearch-point-state)
6089 (isearch-success-state, isearch-forward-state)
6090 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6091 (isearch-wrapped-state, isearch-barrier-state)
6092 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6093 replaced by defstruct's accessors.
6094 (isearch--set-state): Rename from isearch-top-state and change
6096 (isearch-push-state): Use new isearch--get-state.
6097 (isearch-toggle-word): Disable regexp when enabling word.
6098 (isearch-message-prefix): Remove unused arg _c-q-hack.
6099 (isearch-message-suffix): Remove unused arg _ellipsis.
6101 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6103 * simple.el (list-processes--refresh): For a server use :host or
6104 :local as the address.
6105 (list-processes): Doc fix.
6107 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
6109 * lisp/mpc.el: Support password in host argument.
6110 (mpc--proc-connect): Parse and use new password element.
6111 Set mpc-proc variable instead of returning process.
6112 (mpc-proc): Adjust accordingly.
6114 2012-08-03 Eli Zaretskii <eliz@gnu.org>
6116 * whitespace.el (whitespace-display-mappings): Use Unicode
6117 codepoints, instead of emacs-mule codepoints. See
6118 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6121 * files.el (file-truename): Don't skip symlink-chasing part on
6122 windows-nt. Incorporate the resolution of 8+3 short aliases on
6123 Windows into the loop that recursively chases symlinks.
6124 Compare directory and its parent case-insensitively on MS-Windows and
6127 2012-08-03 Chong Yidong <cyd@gnu.org>
6129 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6131 * sort.el (sort-regexp-fields): Doc fix.
6133 2012-08-03 Tassilo Horn <tsdh@gnu.org>
6135 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6136 labels regex position point at the expected place.
6138 2012-08-03 MON KEY <monkey@sandpframing.com>
6140 * net/imap.el (imap-interactive-login, imap-authenticate)
6141 (imap-mailbox-lsub, imap-mailbox-list)
6142 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6143 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6144 (imap-parse-response): Doc fix.
6146 2012-08-03 João Távora <joaotavora@gmail.com>
6148 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6149 if sexp scanning does not move point (Bug#5734).
6151 2012-08-02 Tassilo Horn <tsdh@gnu.org>
6153 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6154 Add listings, minted, and ctable packages.
6155 (reftex-label-alist-builtin): Move listings, minted, and ctable
6156 entries before LaTeX.
6157 (reftex-label-alist): Docfix.
6159 2012-08-02 Bastien Guerry <bzg@gnu.org>
6161 * replace.el (occur): Fix docstring (bug#12122).
6163 2012-08-02 Glenn Morris <rgm@gnu.org>
6165 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6167 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6169 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6170 * international/mule-cmds.el: Create
6171 inactivate-current-input-method-function as an obsolete alias for
6172 deactivate-current-input-method-function. See Katsumi Yamaoka in
6173 <http://bugs.gnu.org/10150#46>.
6175 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6177 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6180 2012-08-01 Glenn Morris <rgm@gnu.org>
6182 * progmodes/autoconf.el (autoconf-definition-regexp):
6183 Add AH_TEMPLATE, adjust submatch numbering.
6184 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6185 (autoconf-current-defun-function): Update for above change.
6186 (autoconf-current-defun-function): First skip to end of current word.
6188 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6190 * calendar/cal-html.el (cal-html-insert-agenda-days):
6191 Fix typo. (Bug#12018)
6193 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6195 Shell processes: enhancements to startup and CEDET compatibility.
6196 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6197 (python-shell-make-comint): accept-process-output at startup.
6198 (run-python-internal): Set inferior-python-mode-hook to nil.
6199 (python-shell-internal-get-or-create-process): call sit-for.
6200 (python-preoutput-result): Add obsolete alias.
6201 (python-shell-internal-send-string): Use it.
6202 (python-shell-send-setup-code): Remove call to
6203 accept-process-output.
6205 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6207 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6210 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6212 * calc-mode.el (calc-basic-simplification-mode): Rename from
6213 `calc-limited-simplification-mode'.
6214 (calc-alg-simplification-mode): New function.
6215 (calc-set-simplify-mode): Adjust message.
6217 * calc.el (calc-set-mode-line): Adjust mode line display for
6218 basic simplification mode.
6220 * calc-help.el (calc-m-prefix-help): Update help message.
6222 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6223 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6225 2012-07-31 Bastien Guerry <bzg@gnu.org>
6227 * man.el (man): Fix comment. (bug#12101)
6229 2012-07-31 Martin Rudalics <rudalics@gmx.at>
6231 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6232 Don't return a non-nil value when no suitable buffer was found.
6234 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6236 * progmodes/python.el (run-python-internal): Disable font lock for
6239 2012-07-30 Stefan Merten <smerten@oekonux.de>
6241 * textmodes/rst.el: Silence `checkdoc-ispell'.
6242 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6243 (rst-official-version, rst-official-cvs-rev)
6244 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6245 (rst-mode-map): New key binding.
6247 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6249 Update .PHONY listings in makefiles.
6250 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6251 autoloads, update-subdirs, updates, bzr-update, update-authors,
6252 compile-onefile, compile-calc, backup-compiled-files,
6253 compile-after-backup, compile-one-process, mh-autoloads,
6254 bootstrap-clean, distclean, maintainer-clean.
6256 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6258 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6259 (calc-set-mode-line): Don't display "AlgSimp ".
6261 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6262 (calc-lim-simplify-mode): New function.
6263 (calc-set-simplify-mode): Default to 'alg.
6264 (calc-default-simplify-mode): Make algebraic simplifications
6267 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6268 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6270 * calc/calc-help.el (calc-m-prefix-help): Change messages to
6271 indicate new simplification modes.
6273 * calc/README: Mention new default simplification mode.
6275 * calc/calc.el (math-normalize-error): New variable.
6276 (math-normalize): Set `math-normalize-error' to t
6277 when there's an error.
6279 * calc/calc-alg.el (math-simplify): Don't simplify when
6280 `math-normalize' returns an error.
6282 2012-07-29 Eli Zaretskii <eliz@gnu.org>
6284 * international/mule-cmds.el (set-locale-environment): Revert last
6285 change, since display-graphic-p returns nil when this function is
6286 called during startup. Instead...
6288 * term/w32console.el (terminal-init-w32console): ...setup the
6289 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6291 2012-07-29 Juri Linkov <juri@jurta.org>
6293 * simple.el (goto-line): Don't display default line number in the
6294 prompt because it should be displayed by `read-number' (bug#9952).
6295 Add the current line number to the defaults of `goto-line' to
6296 allow its easier modification by users with `M-n' (bug#9201).
6298 * subr.el (read-number): Support multiple default values like in
6299 other minibuffer reading functions. Replace `read' with
6300 `string-to-number' for consistency with `number-to-string'.
6302 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6304 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6305 * emulation/viper-init.el (viper-deactivate-input-method-action):
6306 Rename from viper-inactivate-input-method-action.
6307 (viper-deactivate-input-method):
6308 Rename from viper-inactivate-input-method.
6309 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6310 * international/mule-cmds.el (deactivate-input-method):
6311 Rename from inactivate-input-method.
6312 Also run input-method-deactivate-hook.
6313 (deactivate-current-input-method-function):
6314 Rename from inactivate-current-input-method-function.
6315 (input-method-deactivate-hook): New hook.
6316 (input-method-inactivate-hook): Mark obsolete.
6317 (inactivate-input-method): Mark obsolete.
6319 * international/quail.el (quail-activate):
6320 Also run quail-deactivate-hook.
6321 (quail-deactivate): Rename from quail-inactivate.
6322 * international/robin.el (robin-activate):
6323 Also run robin-deactivate-hook.
6324 (robin-deactivate): Rename from robin-inactivate.
6326 2012-07-29 Chong Yidong <cyd@gnu.org>
6328 * simple.el (indicate-copied-region): New function.
6329 (kill-ring-save): Split off from here.
6331 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6332 (kill-rectangle): Set deactivate-mark to t on read-only error.
6334 * register.el (copy-to-register, copy-rectangle-to-register):
6335 Deactivate the mark, and use indicate-copied-region (Bug#10056).
6336 (append-to-register, prepend-to-register): Call indicate-copied-region.
6338 2012-07-29 Juri Linkov <juri@jurta.org>
6340 * simple.el (async-shell-command-buffer): New defcustom.
6341 (shell-command): Use it. (Bug#4719)
6343 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6345 * international/mule-cmds.el (set-locale-environment): In a
6346 console session on MS-Windows, set up keyboard and terminal
6347 encoding from the OEM codepage, not the ANSI codepage.
6350 2012-07-28 Chong Yidong <cyd@gnu.org>
6352 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6355 2012-07-28 Leo Liu <sdl.web@gmail.com>
6357 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6358 the alist (bug#12029).
6360 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6362 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6363 (compile-always, compile-first)
6364 ($(lisp)/calendar/cal-loaddefs.el)
6365 ($(lisp)/calendar/diary-loaddefs.el)
6366 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6367 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6368 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6369 instead of on update-subdirs.
6370 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6372 2012-07-28 Chong Yidong <cyd@gnu.org>
6374 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6375 directory if vc-deduce-backend returns nil (Bug#7350).
6377 * simple.el (delete-trailing-lines): New option.
6378 (delete-trailing-whitespace): Obey it (Bug#11879).
6380 2012-07-28 David Engster <deng@randomsample.de>
6382 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6383 Explanation of new 'symbol-qnames feature in doc-strings.
6384 (xml-maybe-do-ns): Return expanded names as plain symbols if
6385 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6386 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6388 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6390 Consistent completion in inferior python with emacs -nw.
6391 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6392 binding in inferior-python-mode-map with "\t".
6393 (python-shell-completion-complete-at-point)
6394 (python-completion-complete-at-point): Remove interactive spec.
6396 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6398 * calc/calccomp.el (math-compose-expr): Undo previous change.
6400 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6402 * progmodes/python.el (python-mode-map): Add keybinding for
6404 (python-shell-make-comint): Fix pop-to-buffer call.
6405 (run-python): Autoload. New arg SHOW.
6406 (python-shell-get-or-create-process): Do not pop python process
6409 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
6411 * notifications.el (notifications-on-action-signal)
6412 (notifications-on-closed-signal): Use also the bus address for the map.
6413 (notifications-notify, notifications-close-notification)
6414 (notifications-get-capabilities): Add optional argument BUS.
6416 2012-07-27 Tassilo Horn <tsdh@gnu.org>
6418 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6419 Add support for the lstlisting and minted environments, and for the
6421 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6422 labels written in keyvals syntax.
6424 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6426 * calc/calccomp.el (math-compose-expr): Use parentheses when
6427 there is a product in the denominator of a fraction.
6429 2012-07-26 Eli Zaretskii <eliz@gnu.org>
6431 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6432 ($(lisp)/calendar/diary-loaddefs.el)
6433 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6434 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6435 Fixes failures in parallel bootstrap because subdirs.el is being
6436 rewritten while the autoload files are built at the same time,
6437 which needs to load subdirs.el.
6439 2012-07-26 Martin Rudalics <rudalics@gmx.at>
6441 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6442 (mouse-drag-line): Don't exit tracking when a switch-frame or
6443 switch-window event occurs (Bug#12006).
6445 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6447 * mouse.el (popup-menu): Fix last change.
6449 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6451 Autoload from Lisp with more care. Follow aliases when looking for
6452 function properties.
6453 * subr.el (autoloadp): New function.
6454 (symbol-file): Use it.
6455 (function-get): New function.
6456 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6458 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6459 (lisp-indent-function):
6460 * emacs-lisp/gv.el (gv-get):
6461 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6462 * emacs-lisp/byte-opt.el (byte-optimize-form):
6463 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6464 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6466 * emacs-lisp/cl.el: Don't propagate function properties any more.
6468 * speedbar.el (speedbar-add-localized-speedbar-support):
6469 * emacs-lisp/disass.el (disassemble-internal):
6470 * desktop.el (desktop-load-file):
6471 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6472 (describe-function-1):
6473 * emacs-lisp/find-func.el (find-function-noselect):
6474 * emacs-lisp/elp.el (elp-instrument-function):
6475 * emacs-lisp/advice.el (ad-has-proper-definition):
6476 * apropos.el (apropos-safe-documentation, apropos-macrop):
6477 * emacs-lisp/debug.el (debug-on-entry):
6478 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6479 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6480 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6482 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6484 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6485 function, not an obsolete variable (Bug#12046).
6487 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6489 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6491 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6493 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6494 window only if it is still live (Bug#12034).
6496 2012-07-25 Martin Rudalics <rudalics@gmx.at>
6498 * subr.el (redirect-frame-focus): Add advertised calling
6499 convention (Bug#12030).
6501 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6503 Prefer typical American spelling for "acknowledgment".
6504 * vc/add-log.el (change-log-acknowledgment): Rename from
6505 change-log-acknowledgement, with an alias for the old name.
6507 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6509 * calc-alg.el (math-simplify-divide): Don't cross multiply
6510 in an equation when the lhs is a variable.
6512 2012-07-24 Julien Danjou <julien@danjou.info>
6514 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6517 2012-07-23 Eli Zaretskii <eliz@gnu.org>
6519 * startup.el (command-line): Don't display an empty user name in
6520 the error message about non-existent home directory, when
6521 init-file-user was set to an empty string. See
6522 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6523 for the details and context.
6525 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6527 * ses.el (ses-cell-formula-aset): New macro.
6528 (ses-cell-references-aset): New macro.
6529 (ses-cell-p): New function.
6530 (ses-rename-cell): Do no longer rely on complex operations like
6531 ses-cell-set-formula or ses-set-cell to change the cell and handle
6532 the undo at the same time, but rather use lower level new macros
6533 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
6534 the undo directly. Refresh the mode line.
6536 2012-07-21 Leo Liu <sdl.web@gmail.com>
6538 * progmodes/cc-cmds.el (c-defun-name):
6539 Use match-string-no-properties instead for consistency.
6541 2012-07-20 Leo Liu <sdl.web@gmail.com>
6543 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6546 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6548 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6550 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6551 * progmodes/bug-reference.el, misearch.el: Provide themselves
6554 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6555 of narrowed buffer (bug#11966).
6557 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6559 * ses.el (ses-rename-cell): Set new name also in reference list of
6560 cells of which the renamed cell depends.
6562 2012-07-20 Masatake YAMATO <yamato@redhat.com>
6564 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6565 to check whether menu-bar is shown or not. If not shown,
6566 show the menu-bar as a popup menu instead of using tmm.
6567 * mouse.el (popup-menu): Accept `point' as `position' argument.
6569 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6571 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6572 up inside string symbol literal (bug#11923).
6574 2012-07-20 Eli Zaretskii <eliz@gnu.org>
6576 * startup.el (fancy-startup-text): Read the whole tutorial, not
6577 just its first 256 bytes. Prevents gibberish in display of the
6580 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6582 Drop idle buffer compaction due to an absence of the
6584 * compact.el: Remove.
6586 2012-07-19 Sam Steingold <sds@gnu.org>
6588 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6589 vc-bzr-pull & vc-bzr-merge-branch.
6590 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6591 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6592 for consistency with compilation-error-regexp-alist.
6593 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6594 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6595 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6596 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6598 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6600 * emacs-lisp/chart.el: Use lexical-binding.
6601 (chart-emacs-storage): Don't hardcode the list of entries.
6603 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6605 Next round of tweaks caused by Fgarbage_collect changes.
6606 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6608 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6610 Compact buffers when idle.
6611 * compact.el: New file.
6613 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6615 * subr.el (eventp): Presume that if it looks vaguely like an event,
6616 it's an event (bug#10190).
6618 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6620 Enhancements to ppss related code (thanks Stefan).
6621 * progmodes/python.el (python-indent-context)
6622 (python-indent-calculate-indentation, python-indent-dedent-line)
6623 (python-indent-electric-colon, python-nav-forward-block)
6624 (python-mode-abbrev-table)
6625 (python-info-assignment-continuation-line-p): Simplify checks
6627 (python-info-continuation-line-p): Cleanup.
6628 (python-info-ppss-context): Do not catch 'quote.
6629 (python-info-ppss-context-type)
6630 (python-info-ppss-comment-or-string-p): Simplify.
6632 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6634 * progmodes/python.el: Enhancements to eldoc support.
6635 (python-info-current-symbol): New function.
6636 (python-eldoc-at-point): Use python-info-current-symbol.
6637 (python-info-current-defun): Fix cornercase on first defun scan.
6638 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6639 and signal error when no inferior python process is available.
6641 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6643 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6644 assume it's always t.
6645 (vc-git-registered): Remove caching, the function is only called
6647 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6649 2012-07-18 Chong Yidong <cyd@gnu.org>
6651 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6653 * simple.el (count-words): Report on narrowing (Bug#9959).
6655 * bindings.el: Bind M-= to count-words.
6657 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6659 2012-07-18 Masatake YAMATO <yamato@redhat.com>
6661 * progmodes/sh-script.el (sh-imenu-generic-expression):
6662 Capture a function with `function' keyword and without parentheses
6663 like "function FOO" (bug#11856).
6665 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6667 * window.el (split-window-sensibly): Make WINDOW argument
6670 2012-07-18 Chong Yidong <cyd@gnu.org>
6672 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6674 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6675 and make C-x 8 RET exit isearch (Bug#11439).
6677 * international/iso-transl.el: Move isearch-mode-map key
6678 definitions to isearch.el.
6680 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6682 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6683 (eieio-defclass): Use gv-define-setter when possible.
6685 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6687 Reflect recent changes in Fgarbage_collect.
6688 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6689 reflect new format of data returned by Fgarbage_collect.
6691 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6693 New utility functions + python-info-ppss-context fix (Bug#11910).
6694 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6695 (python-info-ppss-comment-or-string-p): New functions.
6696 (python-info-ppss-context): Small fix for string check.
6698 2012-07-17 Juri Linkov <juri@jurta.org>
6700 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6701 (dired-do-async-shell-command): Don't add `*' at the end of the
6702 command (Bug#11815).
6703 (dired-do-shell-command): Doc fix.
6704 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6705 Join the individual commands using either "&" or ";" as the
6706 separator depending on the values of these trailing characters.
6707 At the end re-add the trailing "&". (Bug#10598)
6709 * simple.el (async-shell-command): Sync the interactive spec with
6710 `shell-command'. Doc fix.
6711 (shell-command): Doc fix.
6713 2012-07-17 Juri Linkov <juri@jurta.org>
6715 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6717 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6719 Final renames and doc fixes for movement commands (bug#11899).
6720 * progmodes/python.el (python-nav-beginning-of-statement):
6721 Rename from python-nav-statement-start.
6722 (python-nav-end-of-statement): Rename from
6723 python-nav-statement-end.
6724 (python-nav-beginning-of-block): Rename from
6725 python-nav-block-start.
6726 (python-nav-end-of-block): Rename from python-nav-block-end.
6728 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6730 * progmodes/python.el (python-shell-send-string-no-output):
6731 Allow accept-process-output to quit, keeping shell process ready for
6732 future interactions (Bug#11868).
6734 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6736 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6738 * emacs-lisp/elint.el (elint-find-args-in-code):
6739 Use help-function-arglist, so as to handle lexical byte-code.
6741 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6744 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6746 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6747 Avoid spuriously marking the buffer as modified because of c-is-sws.
6749 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6750 as not-a-comment (bug#11946).
6752 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6753 for uninterned vars.
6755 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6756 Use read-event since we don't really want to read chars but bytes.
6758 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6759 $$..$$ but also $..$ using regexps (bug#11953).
6760 Use tex-verbatim for \url and \path.
6761 (tex-font-lock-keywords): Define as defconst like the others.
6762 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6764 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6766 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6767 alias for insert-char.
6769 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6771 * progmodes/python.el: Simplified imenu implementation.
6772 (python-nav-jump-to-defun): Remove command.
6773 (python-mode-map): Use `imenu' instead.
6774 (python-nav-list-defun-positions-cache)
6775 (python-imenu-include-defun-type, python-imenu-make-tree)
6776 (python-imenu-subtree-root-label, python-imenu-index-alist):
6778 (python-nav-list-defun-positions, python-nav-read-defun)
6779 (python-imenu-tree-assoc, python-imenu-make-element-tree)
6780 (python-imenu-make-tree, python-imenu-create-index):
6782 (python-mode): Update to interact with imenu by setting
6783 `imenu-extract-index-name-function' only.
6785 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6787 * progmodes/python.el: Enhancements to navigation commands.
6788 (python-nav-backward-sentence)
6789 (python-nav-forward-sentence): Remove.
6790 (python-nav-backward-statement, python-nav-forward-statement)
6791 (python-nav-statement-start, python-nav-statement-end)
6792 (python-nav-backward-block, python-nav-forward-block)
6793 (python-nav-block-start, python-nav-block-end)
6794 (python-nav-forward-sexp-function)
6795 (python-info-current-line-comment-p)
6796 (python-info-current-line-empty-p): New functions.
6797 (python-indent-context): Use `python-nav-statement-start'.
6799 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
6801 * eshell/em-ls.el (eshell/ls): Use `apply'.
6803 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6804 multi-hops, instead of Tramp internals.
6806 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6808 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6809 when F1 and F2 are located on different hosts.
6811 2012-07-14 Chong Yidong <cyd@gnu.org>
6813 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6814 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6815 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6816 (xterm-mouse--read-event-sequence-1000)
6817 (xterm-mouse--read-event-sequence-1006): New functions. For old
6818 mouse protocol, handle M-mouse-X events correctly.
6819 (xterm-mouse-event): New arg specifying mouse protocol.
6820 (turn-on-xterm-mouse-tracking-on-terminal)
6821 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
6822 sequence to toggle extended coordinates on newer XTerms.
6823 This appears to be harmless on terminals which do not support this.
6825 2012-07-14 Leo Liu <sdl.web@gmail.com>
6827 Add fringe bitmap indicators for flymake. (Bug#11253)
6828 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6829 (flymake-make-overlay): New arg BITMAP.
6830 (flymake-error-bitmap, flymake-warning-bitmap)
6831 (flymake-fringe-indicator-position): New user variables.
6833 * fringe.el: New bitmap exclamation-mark.
6835 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6837 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6840 2012-07-14 Chong Yidong <cyd@gnu.org>
6842 * electric.el (electric-pair-post-self-insert-function): Fix pair
6843 insertion in empty-region case (Bug#11520).
6845 2012-07-14 Chong Yidong <cyd@gnu.org>
6847 * bindings.el: Consolidate ctl-x-r-map bindings.
6848 Bind copy-rectangle-as-kill to C-x r w.
6850 * rect.el, register.el: Move bindings to bindings.el.
6852 2012-07-14 Reuben Thomas <rrt@sc3d.org>
6854 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6856 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6858 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6860 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
6862 * bindings.el (top): Use `mapc' instead of `mapcar'.
6864 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6866 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
6868 * progmodes/sql.el (sql-comint): Suppress the check for program on
6869 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6872 2012-07-13 Chong Yidong <cyd@gnu.org>
6874 * bindings.el: Assign a non-nil permanent-local property to
6875 per-buffer variables which lack a default value (Bug#11930).
6877 * help-fns.el (describe-variable): In the "automatically becomes
6878 local" notice, take note of permanent-local variables.
6880 2012-07-13 Chong Yidong <cyd@gnu.org>
6882 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6883 to allow printing the message when called from Lisp.
6885 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6886 Remove toggle-read-only.
6888 * bs.el (bs-toggle-readonly):
6889 * buff-menu.el (Buffer-menu-toggle-read-only):
6890 Remove with-no-warnings around toggle-read-only.
6892 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6893 Remove with-no-warnings around toggle-read-only.
6894 (ffap-read-only, ffap-read-only-other-window)
6895 (ffap-read-only-other-frame): Callers changed.
6897 * help-mode.el: Don't require view package.
6898 (help-mode-finish): Set buffer-read-only instead of calling
6901 * bindings.el (mode-line-toggle-read-only):
6902 * dired.el (dired-toggle-read-only):
6903 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6904 with non-nil second arg.
6906 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6907 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6910 2012-07-12 Eli Zaretskii <eliz@gnu.org>
6912 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6915 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6917 More CL cleanups and reduction of use of cl.el.
6918 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6919 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6920 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6921 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6922 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6923 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6924 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6925 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6926 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6927 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6928 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6929 * eshell/em-cmpl.el, eshell/em-banner.el:
6930 * calendar/parse-time.el: Use cl-lib.
6931 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6932 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6933 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6934 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6935 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6936 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6937 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6938 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6939 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6940 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6941 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6942 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6943 `lambda' rather than with `quote'.
6944 (eshell-do-opt): Adjust accordingly.
6945 (eshell-process-option): Simplify.
6946 * eshell/esh-var.el:
6947 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6948 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6949 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6950 to `pcase--dontcare'.
6951 * emacs-lisp/cl.el (labels): Mark obsolete.
6952 (cl--letf, letf): Move to cl-lib.
6953 (cl--letf*, letf*): Remove.
6954 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6955 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6956 (cl-progv): Rewrite.
6957 (cl--letf, cl-letf): Move from cl.el.
6958 (cl-letf*): New macro.
6959 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6961 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
6963 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6965 2012-07-11 Chong Yidong <cyd@gnu.org>
6967 * vc/log-edit.el (log-edit-vc-backend): New variable.
6968 (log-edit): Doc fix.
6970 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6971 argument of log-edit to set up all local variables.
6972 (vc-start-logentry): New optional arg specifying VC backend.
6974 * vc/vc.el (vc-checkin): Use it.
6975 (vc-deduce-fileset): Handle Log Edit buffers.
6976 (vc-diff): Make first argument optional too.
6978 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6980 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
6982 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6983 command, just in case. The function is not needed anymore.
6984 (eshell-external-command): Do not call `eshell-remote-command'.
6986 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6988 Reduce use of (require 'cl).
6989 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6990 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6991 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6992 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6993 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6994 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6995 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6996 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6997 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6998 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6999 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7000 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7001 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7002 (byte-compile-unfold-bcf, byte-compile-check-variable):
7003 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7004 (byte-compile-nilconstp):
7005 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7006 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7008 * emacs-lisp/gv.el (cond): Make it a valid place.
7009 (if): Simplify slightly.
7011 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7012 (pcase--self-quoting-p): New function.
7013 (pcase--u1): Use it.
7015 2012-07-10 Glenn Morris <rgm@gnu.org>
7017 * emacs-lisp/authors.el (authors-fixed-entries):
7018 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7020 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7022 Rename configure.in to configure.ac (Bug#11603).
7023 * emacs-lisp/authors.el (authors-canonical-file-name):
7024 * progmodes/autoconf.el (autoconf-mode):
7025 Prefer configure.ac to configure.in.
7027 2012-07-08 Chong Yidong <cyd@gnu.org>
7029 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7030 Implement the mouse-1-click-follows-link handling properly.
7032 * info.el (Info-link-keymap): Use follow-link mechanism for
7033 header-line links (Bug#374).
7035 * simple.el (deactivate-mark): Do not set the primary selection
7036 if another program has acquired it (Bug#11772).
7038 2012-07-07 Kevin Ryde <user42@zip.com.au>
7040 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7041 (woman-decode-region): Replace escaped-escapes without destroying
7042 bold or underline (Bug#11552).
7043 (woman2-process-escapes): Handle nofill regions (Bug#11591).
7045 2012-07-07 Chong Yidong <cyd@gnu.org>
7047 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
7048 (interprogram-cut-function, interprogram-paste-function):
7049 Mention that we typically mean the clipboard.
7051 2012-07-06 Glenn Morris <rgm@gnu.org>
7053 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7055 * files.el (toggle-read-only): Restrict message to interactive use.
7057 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
7059 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7061 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7063 2012-07-06 Glenn Morris <rgm@gnu.org>
7065 * Makefile.in (compile-one-process): Rename from "recompile".
7067 * Makefile.in (bzr-update): "compile" is the same as "recompile
7068 autoloads", but parallelizable, so use that instead.
7070 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7072 * window.el (quit-window): Always restore window height when
7073 it's saved in quit-restore parameter (Bug#11810).
7075 2012-07-06 Glenn Morris <rgm@gnu.org>
7077 * simple.el (kill-whole-line): Doc tweak.
7079 2012-07-06 Eli Zaretskii <eliz@gnu.org>
7081 * files.el (file-relative-name): Compare file names
7082 case-insensitively if on MS-Windows or MS-DOS, or if
7083 read-file-name-completion-ignore-case is non-nil. Don't use
7084 case-fold-search for this purpose. (Bug#11827)
7086 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7088 * calendar/cal-dst.el (calendar-current-time-zone):
7089 Return calendar-current-time-zone-cache if non-nil.
7091 2012-07-17 Masatake YAMATO <yamato@redhat.com>
7092 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7094 * calendar/cal-dst.el (calendar-current-time-zone):
7095 Return calendar-current-time-zone-cache if non-nil.
7097 2012-07-06 Glenn Morris <rgm@gnu.org>
7099 * Makefile.in (cvs-update): Remove old alias.
7101 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
7103 Sync with Tramp 2.2.6-pre.
7105 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7106 compatible declaration.
7108 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7109 Protect `list-load-path-shadows' call.
7111 * net/tramp-compat.el (top): Require packages, which aren't
7112 autoloaded anymore for XEmacs. Protect call of
7113 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7114 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7115 it hurts at least for SXEmacs.
7116 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7117 standard-value for `temporary-file-directory'.
7119 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7120 Redirect stderr to /dev/null.
7121 (tramp-sh-handle-write-region): uid and gid can be floats.
7122 Reported by Russell Sim <russell.sim@gmail.com>.
7123 (tramp-sh-handle-vc-registered): Hide errors.
7124 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7125 and `start-file-process'.
7126 (tramp-maybe-open-connection): Check also whether `non-essential'
7129 2012-07-04 Chong Yidong <cyd@gnu.org>
7131 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7132 (xml-parse-tag): Likewise, and avoid changing entity tables.
7133 (xml-syntax-table): Define from scratch, making sure not to give
7134 x2000 and other Unicode spaces whitespace syntax, since those are
7136 (xml-parse-fragment): Delete unused function.
7137 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7138 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7139 (xml-entity-ref, xml-pe-reference-re)
7140 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7141 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7142 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7143 (xml-entity-value-re): Use syntax references in regexps where
7144 possible; no need to define inside a let-binding.
7145 (xml-parse-dtd): Use xml-pe-reference-re.
7146 (xml-entity-or-char-ref-re): New defconst.
7147 (xml-parse-string, xml-substitute-special): Use it.
7149 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7151 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7152 (find-file--read-only): New function.
7153 (find-file-read-only, find-file-read-only-other-window)
7154 (find-file-read-only-other-frame): Use it.
7155 (insert-file-contents-literally): Don't `fset'.
7156 (get-free-disk-space): Use locate-dominating-file.
7158 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7159 function is already compiled.
7161 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7163 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
7165 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7166 files on the same host.
7168 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7170 * help-fns.el (describe-function-1): Only call
7171 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7173 2012-07-03 Chong Yidong <cyd@gnu.org>
7175 * xml.el: Protect parser against XML bombs.
7176 (xml-entity-expansion-limit): New variable.
7177 (xml-parse-string, xml-substitute-special): Use it.
7178 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7180 2012-07-03 Glenn Morris <rgm@gnu.org>
7182 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7183 Allow linking to specific messages in debbugs reports (eg 123#5).
7185 2012-07-02 Chong Yidong <cyd@gnu.org>
7187 * xml.el: Fix entity and character reference expansion, allowing
7188 them to expand into markup as per XML spec.
7189 (xml-default-ns): New variable.
7190 (xml-entity-alist): Use XML spec definitions for lt and amp.
7191 (xml-parse-region): Make first two arguments optional.
7192 Discard text properties.
7193 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7194 All callers changed.
7195 (xml-parse-tag): Call xml-parse-tag-1. For backward
7196 compatibility, this function should not modify buffer contents.
7197 (xml-parse-tag-1): Fix opening-tag regexp.
7198 (xml-parse-string): Rewrite, handling entity and character
7199 references properly.
7200 (xml--entity-replacement-text): Signal an error if a parameter
7201 entity is undefined.
7203 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7205 * comint.el (comint-output-filter): Filter out repeated prompts.
7207 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7208 and file-name-absolute-p.
7209 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7212 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7215 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7216 Rename from byte-compile--refiy-function. All uses changed.
7218 2012-07-01 Chong Yidong <cyd@gnu.org>
7220 * xml.el (xml--parse-buffer): New function. Move most of
7221 xml-parse-region here.
7222 (xml-parse-region): Copy region into a temporary buffer, since
7223 parameter entity substitution requires changing buffer contents.
7224 Use xml--parse-buffer.
7225 (xml-parse-file): Use xml--parse-buffer.
7226 (xml-parse-dtd): Make parameter entity substitution work right.
7227 Use proper regexps for ELEMENT declarations (Bug#7172).
7229 2012-06-30 Glenn Morris <rgm@gnu.org>
7231 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7233 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7234 Remove outdated and unnecessary dbus declarations.
7236 2012-06-30 Eli Zaretskii <eliz@gnu.org>
7238 * emacs-lisp/timer.el (timer-until): Subtract results of
7239 float-time, instead of taking float-time of the result of
7240 time-subtract, since float-time signals an error for negative time
7243 2012-06-30 Chong Yidong <cyd@gnu.org>
7245 * xml.el (xml-*-re): Convert defvars into defconsts, and
7246 eval-and-compile them so eval-and-compile works on derivatives.
7247 (xml--entity-replacement-text): Use eval-and-comple.
7249 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
7251 * vc/vc-git.el (vc-git-registered): Use cache property
7253 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7254 `vc-git-working-revision' in order to benefit from the cache.
7255 (vc-git-root): Use cache property `git-root'. (Bug#11757)
7257 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7259 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
7260 removed (likely outside Emacs). (Bug#11757)
7262 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7264 * emacs-lisp/cl-lib.el: Require macroexp.
7266 2012-06-30 Chong Yidong <cyd@gnu.org>
7268 * xml.el: Implement XML parameter entities.
7269 (xml-parameter-entity-alist): New variable.
7270 (xml-parse-region, xml-parse-fragment): Preserve previous values
7271 of xml-entity-alist and xml-parameter-entity-alist, so that
7272 repeated calls on different documents do not change them.
7273 (xml-parse-tag): Fix doctype regexp.
7274 (xml--entity-replacement-text): New function.
7275 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7276 properly requires url retrieval which is unimplemented.
7277 (xml-escape-string): Doc fix.
7279 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7281 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7283 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7285 * fringe.el (fringe-mode): Doc fix.
7287 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
7289 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7291 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7292 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7294 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
7296 * calendar/cal-dst.el (calendar-current-time-zone):
7297 Return calendar-current-time-zone-cache if non-nil.
7299 2012-06-29 Masatake YAMATO <yamato@redhat.com>
7301 * progmodes/which-func.el (which-func-format):
7302 Add mouse-face. (Bug#11698)
7304 2012-06-29 Leo Liu <sdl.web@gmail.com>
7306 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7308 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7310 * minibuffer.el (minibuffer-confirm-exit-commands):
7311 Add completion-at-point (bug#11725).
7313 2012-06-29 Glenn Morris <rgm@gnu.org>
7315 * progmodes/f90.el (f90-font-lock-keywords-2):
7316 Add some preprocessor elements. (Bug#10499)
7318 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7320 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7321 Use syntax-propertize (bug#11739).
7323 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
7325 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7327 2012-06-28 Julien Danjou <julien@danjou.info>
7329 * term.el (term-handle-colors-array): Use a set of new faces to
7330 color the terminal. Also uses :inverse-video property.
7331 (term-default-fg-color): Set to nil by default, deprecate in favor
7333 (term-default-bg-color): Set to nil by default, deprecate in favor
7335 (term-current-face): Use `term-face' by default.
7336 (term-bold-attribute): Variable deleted.
7338 2012-06-28 Glenn Morris <rgm@gnu.org>
7340 * simple.el (completion-list-mode-finish):
7341 Don't use toggle-read-only. (Since completion-list-mode has
7342 a special mode-class, it wasn't doing anything extra anyway.)
7344 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7346 Make inlining of other-mode interpreted functions work (bug#11799).
7347 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7348 (byte-compile): Use it to fix compilation of lexical-binding closures.
7349 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7350 function, if needed.
7352 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7354 * help-mode.el (help-make-xrefs): Don't just withstand
7355 cyclic-variable-indirection but any error in documentation-property.
7357 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7359 * bindings.el (bindings--define-key): New function.
7360 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7361 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7362 * bindings.el: Use it to purecopy define-key bindings.
7364 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7366 * emacs-lisp/cl.el (flet): Mark obsolete.
7367 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7368 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7369 * progmodes/js.el (js-c-fill-paragraph):
7370 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7371 (ebrowse-switch-member-buffer-to-derived-class):
7372 * play/5x5.el (5x5-solver): Use cl-flet.
7374 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7375 (cl--symbol-function): New macro.
7376 (cl--letf, cl--letf*): Use it.
7378 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7379 Strip "toggle-" if any.
7381 2012-06-27 Glenn Morris <rgm@gnu.org>
7383 * info.el (Info-default-directory-list): Move here from paths.el.
7384 * paths.el: Remove file, which is now empty.
7385 * loadup.el: No longer load "paths".
7387 * custom.el (custom-initialize-delay): Doc fix.
7389 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7390 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7391 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7392 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7393 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7394 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7395 * eshell/eshell.el (eshell-defgroup): Remove alias.
7397 2012-06-27 Chong Yidong <cyd@gnu.org>
7399 * help.el (help-enable-auto-load): New variable.
7401 * help-fns.el (help-fns--autoloaded-p): New function.
7402 (describe-function-1): Refer to a function as "autoloaded" if it
7403 was autoloaded at any time in the past. Perform autoloading if
7404 help-enable-auto-load is non-nil.
7406 2012-06-26 Eli Zaretskii <eliz@gnu.org>
7408 * makefile.w32-in (compile, compile-always): Depend on
7409 update-subdirs, not on subdirs.el. Otherwise, several different
7410 sub-targets of 'bootstrap' running in parallel could
7411 simultaneously write to subdirs.el, producing a garbled file.
7413 2012-06-26 Sam Steingold <sds@gnu.org>
7415 * files.el (file-name-base): New convenience function.
7416 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7417 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7418 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7419 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7420 * textmodes/ispell.el, textmodes/reftex-ref.el:
7421 * textmodes/tex-mode.el: Use it.
7422 Did not touch cedet and org because they are maintained elsewhere.
7424 2012-06-26 Martin Rudalics <rudalics@gmx.at>
7426 * calendar/calendar.el (calendar-exit): Don't try to delete or
7427 iconify last frame. See:
7428 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7430 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7432 * server.el (server-process-filter): Remember dir in the
7433 process's `server-client-directory' properties.
7435 2012-06-24 Chong Yidong <cyd@gnu.org>
7437 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7440 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
7442 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7444 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7446 * help-fns.el (describe-variable): Don't croak when doc is not found.
7447 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7448 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7449 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7450 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7451 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7453 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7455 2012-06-23 Chong Yidong <cyd@gnu.org>
7457 * info.el (Info-mouse-follow-link): Accept symbol values of
7458 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
7459 (Info-fontify-node): Use Info-link-keymap for all navigation
7460 buttons, with link-args property to perform the desired action.
7461 (Info-link-keymap): Doc fix.
7462 (Info-next-link-keymap, Info-prev-link-keymap)
7463 (Info-up-link-keymap): Delete now-unused keymaps.
7465 2012-06-23 Chong Yidong <cyd@gnu.org>
7467 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7469 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7472 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7474 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7476 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7479 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7480 the requote function doesn't work properly (bug#11714).
7482 2012-06-23 Glenn Morris <rgm@gnu.org>
7484 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7486 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7488 Further GV/CL cleanups.
7489 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7491 (gv--defun-declaration): New function.
7492 (defun-declarations-alist): Use it.
7493 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7494 (gv-place): Autoload.
7495 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7496 original definition of dotimes and dolist.
7497 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7498 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7499 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7500 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7501 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7502 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7503 to the function's definition.
7504 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7508 * env.el: Don't use CL.
7510 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7512 Support higher-resolution time stamps (Bug#9000).
7514 * calendar/time-date.el (with-decoded-time-value): New arg
7515 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7516 (encode-time-value): New optional arg PICO. New type 3.
7517 (time-to-seconds) [!float-time]: Support the new picoseconds
7518 component if it's used.
7519 (seconds-to-time, time-subtract, time-add):
7520 Support ps-resolution time stamps as well.
7522 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7523 (timerp): Timer vectors now have length 9, not 8.
7524 (timer--time): Support new-style (4-part) time stamps.
7525 (timer-next-integral-multiple-of-time): Time stamps now have
7526 picosecond resolution, so take a bit more care about rounding.
7527 (timer-relative-time, timer-inc-time): New optional arg psecs.
7528 (timer-set-time-with-usecs): Set psecs to 0.
7529 (timer--activate): Check psecs component, too.
7531 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7533 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7535 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7536 Move the non-essential binding to the post/pre-command-hook where it is
7537 more obviously correct.
7539 * subr.el (read-passwd): Don't use a history at all.
7540 * savehist.el (savehist-save): Remove password saved accidentally
7541 because of the above bug.
7543 2012-06-22 Bastien Guerry <bzg@gnu.org>
7545 * files.el (toggle-read-only): Display a message telling whether
7546 the buffer is read-only or not (bug#11726).
7548 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7550 * emacs-lisp/gv.el: New file.
7551 * subr.el (push, pop): Extend to generalized variables.
7552 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7553 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7554 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7555 gv-define-simple-setter, and gv-define-expander.
7556 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7557 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7558 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7559 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7560 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7562 (cl-defstruct): Don't define setf-method any more.
7563 * emacs-lisp/cl.el (flet): Don't autoload.
7564 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7565 (define-setf-expander, defsetf, define-modify-macro)
7566 (cl-struct-setf-expander): Move from cl-lib.el.
7567 * emacs-lisp/syntax.el:
7568 * emacs-lisp/ewoc.el:
7569 * emacs-lisp/smie.el:
7570 * emacs-lisp/cconv.el:
7571 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7572 (timer--time): Use gv-define-simple-setter.
7573 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7574 to avoid coding-system problems in subr.el. Adjust all users.
7575 (macroexp--maxsize, macroexp-small-p): New functions.
7576 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7577 * scroll-bar.el (scroll-bar-mode):
7578 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7579 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7580 * winner.el (winner-configuration, winner-make-point-alist)
7581 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7582 * files.el (locate-file-completion-table): Avoid list*.
7584 2012-06-22 Chong Yidong <cyd@gnu.org>
7586 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7587 (dired-create-files): Doc fix (Bug#11329).
7588 (dired-do-copy): Doc fix (Bug#11334).
7589 (dired-mark-read-string): Doc fix (Bug#11553).
7591 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7592 Doc fix (Bug#11326).
7593 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7594 (dired-dwim-target): Doc fix.
7596 * wdired.el (wdired-mode): Doc fix.
7598 2012-06-22 Glenn Morris <rgm@gnu.org>
7600 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7601 (pcmpl-rpm-cache-stamp-file): New constant.
7602 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7603 (pcmpl-rpm-packages): Optionally cache list of packages.
7605 * pcmpl-rpm.el (pcmpl-rpm): New group.
7606 (pcmpl-rpm-query-options): New option.
7607 (pcmpl-rpm-packages): No need to inline it.
7608 Use pcmpl-rpm-query-options.
7610 * calendar/calendar.el (calendar-in-read-only-buffer):
7611 Avoid some needless mode changes.
7613 2012-06-21 Chong Yidong <cyd@gnu.org>
7615 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7616 (desktop-path): Remove . from the default value (Bug#10977).
7617 (desktop-read): Use user-emacs-directory if desktop-path is nil.
7619 2012-06-20 Chong Yidong <cyd@gnu.org>
7621 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7623 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7625 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7628 2012-06-20 Chong Yidong <cyd@gnu.org>
7630 * term.el (term-window-width): Handle the case of a missing right
7632 (term-check-size): Use window-text-height (Bug#5445).
7633 (term-mode): Use define-derived-mode. Minor cleanups.
7634 Set font-lock-defaults (Bug#7692).
7635 (term-move-columns, term-insert-char, term-emulate-terminal)
7636 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
7638 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
7640 * net/ange-ftp.el (ange-ftp-get-passwd):
7641 Bind `enable-recursive-minibuffers'.
7642 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7644 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7646 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7648 2012-06-19 Glenn Morris <rgm@gnu.org>
7650 * progmodes/python.el (python-mode): Derive from prog-mode.
7652 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7654 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7655 (edt-user-menu-bar-update-buffers): New functions.
7656 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7658 2012-06-19 Chong Yidong <cyd@gnu.org>
7660 * subr.el (with-selected-window): Preserve the selected window's
7661 terminal's top-frame (Bug#4702).
7663 * window.el (save-selected-window): Likewise.
7665 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7667 * progmodes/python.el (python-rx-constituents): Move backquote.
7668 (python-skeleton-define, python-define-auxiliary-skeleton):
7671 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
7673 * minibuffer.el (read-file-name-default): Revert the patch from
7676 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7678 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7679 (pcase--u1, pcase--q1): Don't use apply-partially.
7681 2012-06-18 Glenn Morris <rgm@gnu.org>
7683 * progmodes/python.el (python-proc, python-buffer)
7684 (python-send-receive, python-send-string): Fix obsolete versions.
7686 2012-06-18 Martin Rudalics <rudalics@gmx.at>
7688 * window.el (special-display-p): Completely remove stringp
7689 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7691 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
7693 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7695 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7697 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7698 * net/tramp-sh.el (tramp-maybe-open-connection):
7699 Throw if `non-essential' is non-nil.
7701 2012-06-17 Martin Rudalics <rudalics@gmx.at>
7703 * window.el (special-display-p): Signal an error if BUFFER-NAME
7704 is not a string (Bug#11713).
7706 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7708 * progmodes/python.el (python-info-beginning-of-backslash):
7709 Rename from python-info-beginning-of-backlash, as a spelling fix.
7711 2012-06-17 Chong Yidong <cyd@gnu.org>
7713 * term.el (term-emulate-terminal): If term-check-size is called,
7714 move point to the process mark without resetting point (Bug#4635).
7716 2012-06-17 Glenn Morris <rgm@gnu.org>
7718 * international/mule-cmds.el (mule-menu-keymap)
7719 (set-language-environment, set-locale-environment): Doc tweaks.
7721 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7723 * cus-face.el (custom-face-attributes): Add wave-style underline
7725 * faces.el (set-face-attribute): Update docstring to describe
7726 wave-style underline attribute.
7728 2012-06-16 Chong Yidong <cyd@gnu.org>
7730 * term/xterm.el (terminal-init-xterm): Discard input before
7731 querying background mode (Bug#10959).
7733 2012-06-16 Stefan Merten <smerten@oekonux.de>
7735 * textmodes/rst.el: Added and corrected some comments.
7736 (rst-re-alist-def): Improve symbol syntax.
7737 (rst-mode-syntax-table): Correct syntax entries.
7738 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7739 (rst-official-version, rst-official-cvs-rev): Update version
7742 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
7744 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7745 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7747 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7749 * progmodes/python.el: New python.el merge.
7750 (python-guess-indent): Obsolete var.
7751 (python-indent-guess-indent-offset): New defcustom.
7752 (python-indent): Obsolete var.
7753 (python-indent-offset): New defcustom.
7754 (python-python-command, python-jython-command): Delete var.
7755 (python-shell-interpreter): New defcustom.
7756 (python-pdbtrack-do-tracking-p): Delete var.
7757 (python-pdbtrack-activate): New defcustom.
7758 (python-use-skeletons): Obsolete var.
7759 (python-skeleton-autoinsert): New defcustom.
7760 (inferior-python-filter-regexp, python-continuation-offset)
7761 (python-honour-comment-indentation, python-indent-string-contents)
7762 (python-jython-packages, python-mode-hook)
7763 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7764 (python-shell-prompt-alist)
7765 (python-source-modes): Delete defcustoms.
7766 (python-check-buffer-name, python-eldoc-setup-code)
7767 (python-eldoc-string-code, python-ffap-setup-code)
7768 (python-ffap-string-code, python-fill-comment-function)
7769 (python-fill-decorator-function, python-fill-paren-function)
7770 (python-fill-string-function, python-imenu-include-defun-type)
7771 (python-imenu-make-tree, python-imenu-subtree-root-label)
7772 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7773 (python-shell-compilation-regexp-alist)
7774 (python-shell-completion-module-string-code)
7775 (python-shell-completion-pdb-string-code)
7776 (python-shell-completion-setup-code)
7777 (python-shell-completion-string-code)
7778 (python-shell-enable-font-lock, python-shell-exec-path)
7779 (python-shell-extra-pythonpaths)
7780 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7781 (python-shell-process-environment)
7782 (python-shell-prompt-block-regexp)
7783 (python-shell-prompt-output-regexp)
7784 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7785 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7786 (python-shell-virtualenv-path): New defcustoms.
7787 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7788 (inferior-python-mode-syntax-table, python--prompt-regexp)
7789 (python-buffer, python-command python-python-command)
7790 (python-default-template, python-imports, python-indent-index)
7791 (python-indent-list, python-indent-list-length)
7792 (python-mode-running, python-pdbtrack-is-tracking-p)
7793 (python-preoutput-continuation, python-preoutput-leftover)
7794 (python-preoutput-result, python-preoutput-skip-next-prompt)
7795 (python-prev-dir/file, python-recursing)
7796 (python-saved-check-command, python-version-checked)
7797 (python-which-func-length-limit)
7798 (view-return-to-alist): Delete vars.
7799 (python-check-custom-command, python-dotty-syntax-table)
7800 (python-imenu-index-alist, python-indent-current-level)
7801 (python-indent-dedenters, python-indent-levels)
7802 (python-nav-beginning-of-defun-regexp)
7803 (python-nav-list-defun-positions-cache)
7804 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7805 (python-shell-internal-buffer)
7806 (python-skeleton-available): New vars.
7807 (def-python-skeleton): Delete macro.
7808 (python-skeleton-define): New macro.
7809 (python-define-auxiliary-skeleton, python-rx): New macros.
7810 (python-insert-class): Delete command.
7811 (python-skeleton-class): New command.
7812 (python-insert-def): Delete command.
7813 (python-skeleton-def): New command.
7814 (python-insert-for): Delete command.
7815 (python-skeleton-for): New command.
7816 (python-insert-if): Delete command.
7817 (python-skeleton-if): New command.
7818 (python-insert-try/except, python-insert-try/finally): Delete commands.
7819 (python-skeleton-try): New command.
7820 (python-insert-while): Delete command.
7821 (python-skeleton-while): New command.
7822 (python-backspace): Delete command.
7823 (python-indent-dedent-line-backspace): New command.
7824 (python-electric-colon): Delete command.
7825 (python-indent-electric-colon): New command.
7826 (python-guess-indent): Delete command.
7827 (python-indent-guess-indent-offset): New command.
7828 (python-shift-left): Delete command.
7829 (python-indent-shift-left): New command.
7830 (python-shift-right): Delete command.
7831 (python-indent-shift-right): New command.
7832 (python-find-function): Delete command.
7833 (python-nav-jump-to-defun): New command.
7834 (python-next-statement): Delete command.
7835 (python-nav-forward-sentence): New command.
7836 (python-previous-statement): Delete command.
7837 (python-nav-backward-sentence): New command.
7838 (python-fill-paragraph): Delete command.
7839 (python-fill-paragraph-function): New command.
7840 (python-send-buffer): Delete command.
7841 (python-shell-send-buffer): New command.
7842 (python-send-defun): Delete command.
7843 (python-shell-send-defun): New command.
7844 (python-send-region, python-send-region-and-go): Delete commands.
7845 (python-shell-send-region)
7846 (python-shell-switch-to-shell): New commands.
7847 (python-send-string): Delete command.
7848 (python-shell-send-string): New command.
7849 (python-switch-to-python): Delete command.
7850 (python-shell-switch-to-shell): New command.
7851 (python-describe-symbol): Delete command.
7852 (python-eldoc-at-point): New command.
7853 (python--set-prompt-regexp, python-args-to-list)
7854 (python-after-info-look, python-check-version)
7855 (python-check-comint-prompt, python-find-imports)
7856 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7857 (python-unload-function, python-expand-template)
7858 (python-maybe-jython, python-preoutput-filter)
7859 (python-pdbtrack-get-source-buffer)
7860 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7861 (python-pdbtrack-toggle-stack-tracking)
7862 (python-pdbtrack-track-stack-file, python-initial-text)
7863 (python-first-word, python-comment-line-p, python-send-command)
7864 (python-setup-brm, python-sentinel, python-set-proc)
7865 (python-skip-out, python-input-filter, python-outdent-p)
7866 (python-outline-level, python-backslash-continuation-line-p)
7867 (python-end-of-block, python-end-of-statement, python-mark-block)
7868 (python-beginning-of-block, python-beginning-of-statement)
7869 (python-blank-line-p, python-beginning-of-string)
7870 (python-open-block-statement-p): Delete functions.
7871 (python-indent-line, python-indent-line-1): Delete functions.
7872 (python-indent-line): New function.
7873 (python-indentation-levels): Delete function.
7874 (python-indent-calculate-levels): New function.
7875 (python-proc): Delete function.
7876 (python-shell-get-process): New function.
7877 (python-send-receive): Delete function.
7878 (python-shell-send-string-no-output): New function.
7879 (python-module-path): Delete function.
7880 (python-ffap-module-path): New function.
7881 (python-completion-at-point)
7882 (python-symbol-completions): Delete functions.
7883 (python-completion-complete-at-point): New function.
7884 (python-load-file): Delete function.
7885 (python-shell-send-file): New function.
7886 (python-calculate-indentation): Delete function.
7887 (python-indent-calculate-indentation): New function.
7888 (python-skip-comments/blanks): Delete function.
7889 (python-util-forward-comment): New function.
7890 (python-continuation-line-p): Delete function.
7891 (python-info-continuation-line-p): New function.
7892 (python-which-func, python-current-defun): Delete function.
7893 (python-info-current-defun): New function.
7894 (python-beginning-of-defun): Delete function.
7895 (python-nav-beginning-of-defun): New function.
7896 (python-close-block-statement-p)
7897 (python-block-end-p): Delete function.
7898 (python-info-closing-block): New function.
7899 (python-comint-output-filter-function)
7900 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7901 (python-fill-comment, python-fill-decorator, python-fill-paren)
7902 (python-fill-string, python-imenu-make-element-tree)
7903 (python-imenu-make-tree, python-imenu-tree-assoc)
7904 (python-indent-context, python-indent-dedent-line)
7905 (python-indent-line-function)
7906 (python-indent-post-self-insert-function)
7907 (python-indent-toggle-levels)
7908 (python-info-assignment-continuation-line-p)
7909 (python-info-beginning-of-backlash)
7910 (python-info-block-continuation-line-p)
7911 (python-info-closing-block-message)
7912 (python-info-line-ends-backslash-p)
7913 (python-info-looking-at-beginning-of-defun)
7914 (python-info-ppss-context, python-info-ppss-context-type)
7915 (python-nav-list-defun-positions, python-nav-read-defun)
7916 (python-nav-sentence-end, python-nav-sentence-start)
7917 (python-pdbtrack-comint-output-filter-function)
7918 (python-pdbtrack-set-tracked-buffer)
7919 (python-shell-calculate-exec-path)
7920 (python-shell-calculate-process-environment)
7921 (python-shell-completion--do-completion-at-point)
7922 (python-shell-completion--get-completions)
7923 (python-shell-completion-complete-at-point)
7924 (python-shell-completion-complete-or-indent)
7925 (python-shell-get-or-create-process)
7926 (python-shell-get-process-name)
7927 (python-shell-internal-get-or-create-process)
7928 (python-shell-internal-get-process-name)
7929 (python-shell-internal-send-string, python-shell-make-comint)
7930 (python-shell-parse-command, python-shell-send-setup-code)
7931 (python-skeleton-add-menu-items)
7932 (python-util-clone-local-variables, python-util-position)
7933 (run-python-internal, python-indentation-levels)
7934 (python-nav-beginning-of-defun)
7935 (python-completion-complete-at-point): New functions.
7936 (run-python): Change arguments. New API requirements.
7938 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7940 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7943 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7944 (macroexp--expand-all): Use it.
7946 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7947 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7948 Use `cl-function' instead.
7950 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
7952 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7953 Suggested by Stefan Monnier while discussing bug#11657.
7955 2012-06-14 Sam Steingold <sds@gnu.org>
7957 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7959 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7961 * play/doctor.el (doctor-doc): Remove parameter and use
7962 doctor-sent instead of sent.
7963 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7965 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7967 * files.el: Require cl-lib.
7968 (file-name-non-special): Replace case -> cl-case.
7970 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7972 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7973 mapping from #' to function*.
7975 2012-06-13 Chong Yidong <cyd@gnu.org>
7977 * mouse.el (mouse-drag-track): Do not set the mark if the user
7978 releases the mouse without selecting anything (Bug#11588).
7980 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7982 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7983 as well (bug#11646).
7985 * loadup.el: Count byte-code functions as well.
7987 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7988 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7990 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7991 (bug#11649). Add cl-defun and cl-defmacro.
7993 2012-06-13 Drew Adams <drew.adams@oracle.com>
7995 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7998 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
8000 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8001 Otherwise, it blocks in batch mode.
8003 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
8005 * help-mode.el (bookmark-make-record-default): Declare.
8007 2012-06-13 Chong Yidong <cyd@gnu.org>
8009 * emacs-lisp/package.el (list-packages): Compute a list of
8010 packages that are newly-available since the last list-packages
8012 (package-menu--new-package-list): New var.
8013 (package-menu--generate, package-menu--print-info)
8014 (package-menu--status-predicate, package-menu-mark-install):
8015 Handle new status label "new".
8017 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8019 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8020 conversion to backquotes.
8022 2012-06-12 Chong Yidong <cyd@gnu.org>
8024 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8025 Rename from gud-inhibit-global-bindings.
8027 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8029 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8030 hook from nxml-glyph-set-hook.
8032 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8035 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8037 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8038 Convert to defcustom.
8040 2012-06-12 Drew Adams <drew.adams@oracle.com>
8042 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8044 (help-mode): Use them.
8046 2012-06-11 Glenn Morris <rgm@gnu.org>
8048 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8049 Use preprocessor face for directives.
8050 (fortran-directive-re): Doc fix.
8052 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8054 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8055 conversion to backquotes (bug#11652).
8057 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8058 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8059 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8060 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8061 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8062 (cl-ninth, cl-tenth): Mark them as inlinable.
8063 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8064 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8065 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8066 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8067 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8068 (cl-list*, cl-adjoin): Don't put an autoload manually.
8069 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8070 (cl--compiler-macro-list*): Add autoload cookie.
8071 (cl--compiler-macro-cXXr): New function.
8073 * help-fns.el (help-fns--compiler-macro): New function extracted from
8074 describe-function-1; follow aliases and use `compiler-macro' property.
8075 (describe-function-1): Use it.
8077 2012-06-11 Chong Yidong <cyd@gnu.org>
8079 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8080 is uninstalled, if imagemagick is installed.
8082 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8084 * emacs-lisp/cl-lib.el: Use lexical-binding.
8085 (cl-map-extents, cl-maclisp-member): Remove.
8086 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8087 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8088 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8089 * emacs-lisp/cl-extra.el: Use lexical-binding.
8090 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8091 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8092 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8093 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8094 * emacs-lisp/cl-seq.el: Use lexical-binding.
8095 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8096 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8097 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8098 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8099 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8102 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
8104 Sync with Tramp 2.2.6-pre.
8106 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8107 `print-length' and `print-level' to nil, in order to avoid
8108 truncation. Reported by Christopher Schmidt
8109 <christopher@ristopher.com>.
8111 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8113 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8115 (tramp-compat-copy-directory): Add optional argument
8116 COPY-CONTENTS. It is not handled yet.
8118 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8119 (tramp-ftp-file-name-p): Simplify.
8121 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8122 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8125 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8126 (tramp-methods): Do not use `tramp-password-end-of-line'.
8127 (tramp-completion-function-alist-putty): Handle UNIX case.
8128 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8129 (tramp-do-file-attributes-with-stat)
8130 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8131 gid as real numbers. They could run out of integer range on cygwin.
8132 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8133 (tramp-sh-handle-expand-file-name): Handle hops.
8134 (tramp-open-connection-setup-interactive-shell):
8135 Use `tramp-cleanup'. Move check for busyboxes ...
8136 (tramp-find-shell): ... here. Simplify implementation.
8137 Set "remote-shell" property also for alternative shells.
8138 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8139 If failing, a regular file would be written otherwise.
8140 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
8141 (tramp-find-inline-encoding): Cache the coding commands in the
8142 process cache. Apply test command on the remote side, if defined.
8143 (tramp-find-inline-compress): Cache the compress commands in the
8145 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8146 when requested. Handle hops.
8147 (tramp-current-connection): New defvar.
8148 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8149 Throw `suppress', if there was a failed connection shortly before.
8150 Handle user interrupt. (Bug#10187)
8151 (tramp-get-inline-compress, tramp-get-inline-coding):
8152 Read connection properties from the process cache.
8154 * net/tramp-smb.el (tramp-smb-server-version)
8155 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8157 (tramp-smb-prompt): Extend for powershell prompt.
8158 (tramp-smb-file-name-handler-alist): Add handlers for
8159 `process-file', `shell-command' and `start-file-process'.
8160 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8161 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8162 (tramp-smb-file-name-p): Simplify.
8163 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8164 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8165 (tramp-smb-shell-quote-argument): New defuns.
8166 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8167 Implement using "tar". By this, time-stamps are preserved.
8168 (tramp-smb-handle-copy-file): Handle also the case of directories.
8169 (tramp-smb-do-file-attributes-with-stat)
8170 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8171 Use `tramp-get-connection-buffer').
8172 (tramp-smb-handle-rename-file): Use "rename", when source and
8173 target are on the same share.
8174 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8175 Use `tramp-smb-server-version'.
8176 (tramp-smb-wait-for-output): Remove prompt.
8178 * net/tramp.el (top): Require 'cl.
8179 (tramp-methods, tramp-rsh-end-of-line):
8180 Remove `tramp-password-end-of-line' from docstring.
8181 (tramp-save-ad-hoc-proxies): New defcustom.
8182 (tramp-completion-function-alist): Adapt docstring.
8183 (tramp-default-password-end-of-line): Remove defcustom.
8184 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8185 (tramp-user-regexp, tramp-file-name-regexp-unified)
8186 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8187 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8188 (tramp-remote-file-name-spec-regexp): New defconst.
8189 (tramp-file-name-structure): Extend structure for hops.
8190 (tramp-get-method-parameter): Move up.
8191 (tramp-file-name-p, tramp-dissect-file-name)
8192 (with-parsed-tramp-file-name): Handle hops.
8193 (tramp-file-name-hop): New defun.
8194 (tramp-make-tramp-file-name): New optional arg HOP.
8195 (tramp-message-show-progress-reporter-message): New defvar.
8196 (tramp-with-progress-reporter): Use it. We cannot use
8197 `tramp-message-show-message' here, because this suppresses also
8199 (tramp-error-with-buffer): Suppress buffer view, if
8200 `tramp-message-show-message' is nil.
8201 Use `tramp-get-connection-buffer'.
8202 (tramp-cleanup): New defun.
8203 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8204 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8206 (tramp-completion-handle-file-name-all-completions): Handle hops.
8207 Fix an error when called from ido.
8208 (tramp-completion-dissect-file-name): Use better local variable
8209 name. Add hop to the vector.
8210 (tramp-handle-insert-file-contents): Use progress-reporter for the
8212 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8214 (tramp-check-for-regexp): Simplify search.
8215 (tramp-enter-password): Remove it. Move implementation ...
8216 (tramp-action-password): ... here.
8217 (tramp-mode-string-to-int, tramp-local-host-p)
8218 (tramp-make-tramp-temp-file, tramp-read-passwd)
8219 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8220 Set tramp-autoload cookie.
8222 * net/trampver.el: Update release number.
8224 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8225 Michael Albinus <michael.albinus@gmx.de>
8227 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8228 (tramp-parse-group, tramp-parse-file)
8229 (tramp-parse-shostkeys-sknownhosts): New defuns.
8230 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8231 (tramp-parse-shosts-group, tramp-parse-sconfig)
8232 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8233 (tramp-parse-sknownhosts, tramp-parse-hosts)
8234 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8236 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8237 (tramp-parse-putty-group): Don't narrow.
8238 (tramp-parse-putty): Make a loop.
8239 (tramp-file-name-handler): Catch the `suppress' signal.
8241 2012-06-11 Chong Yidong <cyd@gnu.org>
8243 * image.el (imagemagick-register-types): Put the ImageMagick entry
8244 at the end of image-type-file-name-regexps.
8246 2012-06-11 Johan Bockgård <bojohan@gnu.org>
8248 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8249 (pcase, pcase-let*, pcase-dolist): Use them.
8251 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8253 * emacs-lisp/pcase.el (pcase--let*): New function.
8254 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8255 (pcase--expand): Use macroexp-let².
8257 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8259 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8260 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8261 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8262 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8263 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8264 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8266 2012-06-10 Glenn Morris <rgm@gnu.org>
8268 * mail/rmail.el (rmail-yank-current-message): Leave point at
8269 correct position. (Bug#11660)
8271 2012-06-10 Chong Yidong <cyd@gnu.org>
8273 * allout-widgets.el: Fix code header.
8275 2012-06-10 Chong Yidong <cyd@gnu.org>
8277 * cus-edit.el (customize-changed-options-previous-release):
8280 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8282 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8284 2012-06-09 Chong Yidong <cyd@gnu.org>
8286 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8288 2012-06-09 Martin Rudalics <rudalics@gmx.at>
8290 * window.el (special-display-popup-frame): Don't use
8291 window--display-buffer (Bug#11651).
8293 2012-06-09 Eli Zaretskii <eliz@gnu.org>
8295 Fix parallel builds: make sure loaddefs.el is not being written
8296 while Lisp files are compiled.
8297 (compile): Don't depend on 'mh-autoloads'.
8298 (compile-CMD, compile-SH): Depend on 'autoloads'.
8299 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8301 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8303 2012-06-09 Chong Yidong <cyd@gnu.org>
8305 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8306 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8307 Doc fixes (Bug#11225).
8309 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8311 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8312 a function if there's a clear indication that it has a compiler-macro.
8313 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8314 (macro-declarations-alist): Add arglist to declaration functions.
8315 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8316 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8317 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8318 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8319 Also add autoload to find the compiler macro.
8320 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8321 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8322 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8323 (cl--compiler-macro-get): New functions, replacing calls to
8324 cl-define-compiler-macro.
8325 (cl-typep) [compiler-macro]: Use macroexp-let².
8327 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
8329 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8330 string properly, fixes Bug#11473.
8332 2012-06-08 Chong Yidong <cyd@gnu.org>
8334 * faces.el (set-face-attribute): Doc fix.
8335 (modify-face): Don't use :bold and :italic.
8336 (error, warning, success): Tweak definitions.
8338 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8339 (custom-modified, custom-set, custom-changed, custom-themed)
8340 (custom-saved, custom-button, custom-button-mouse)
8341 (custom-button-pressed, custom-state, custom-comment-tag)
8342 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8343 (custom-group-subtitle): Use new-style face specs.
8344 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8345 (custom-set-face, custom-changed-face, custom-saved-face)
8346 (custom-button-face, custom-button-pressed-face)
8347 (custom-documentation-face, custom-state-face)
8348 (custom-comment-face, custom-comment-tag-face)
8349 (custom-variable-tag-face, custom-variable-button-face)
8350 (custom-face-tag-face, custom-group-tag-face-1)
8351 (custom-group-tag-face): Remove obsolete face alias.
8353 * epa.el (epa-validity-high, epa-validity-medium)
8354 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8355 (epa-field-name, epa-field-body):
8356 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8357 (font-lock-keyword-face, font-lock-builtin-face)
8358 (font-lock-function-name-face, font-lock-variable-name-face)
8359 (font-lock-type-face, font-lock-constant-face):
8360 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8361 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8362 * speedbar.el (speedbar-button-face, speedbar-file-face)
8363 (speedbar-directory-face, speedbar-tag-face)
8364 (speedbar-selected-face, speedbar-highlight-face)
8365 (speedbar-separator-face):
8366 * whitespace.el (whitespace-newline, whitespace-space)
8367 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8368 (whitespace-line, whitespace-space-before-tab)
8369 (whitespace-space-after-tab, whitespace-indentation)
8371 * emulation/cua-base.el (cua-global-mark):
8372 * eshell/em-prompt.el (eshell-prompt):
8373 * net/newst-plainview.el (newsticker-new-item-face)
8374 (newsticker-old-item-face, newsticker-immortal-item-face)
8375 (newsticker-obsolete-item-face, newsticker-date-face)
8376 (newsticker-statistics-face, newsticker-default-face):
8377 * net/newst-reader.el (newsticker-feed-face)
8378 (newsticker-extra-face, newsticker-enclosure-face):
8379 * net/newst-treeview.el (newsticker-treeview-face)
8380 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8381 (newsticker-treeview-immortal-face)
8382 (newsticker-treeview-obsolete-face)
8383 (newsticker-treeview-selection-face):
8384 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8385 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8386 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8387 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8388 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8389 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8390 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8392 * progmodes/vera-mode.el (vera-font-lock-number)
8393 (vera-font-lock-function, vera-font-lock-interface):
8394 * textmodes/table.el (table-cell): Use new-style face specs, and
8395 don't use the old :bold and :italic attributes.
8397 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8398 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8399 (ebrowse-member-class, ebrowse-progress): Likewise.
8400 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8401 (ebrowse-file-name-face, ebrowse-default-face)
8402 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8403 (ebrowse-progress-face): Remove obsolete faces.
8405 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8406 Inherit from error and warning faces respectively.
8408 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8410 (flyspell-incorrect-face, flyspell-duplicate-face):
8411 Remove obsolete aliases.
8413 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
8415 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8418 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8420 * startup.el (argv, argi): Make lexically scoped.
8421 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8422 * emacs-lisp/cl-macs.el: Use lexical-binding.
8423 Rename cl-bind-* to cl--bind-*.
8424 * files.el: Don't require `cl' since it doesn't use it.
8425 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8427 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
8429 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8430 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8431 instead of calling external sort utility.
8432 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8434 2012-06-08 Eli Zaretskii <eliz@gnu.org>
8436 * descr-text.el (describe-char): Mention how to insert the
8437 character, if the current input method doesn't support it.
8438 See the discussion in this thread for the details:
8439 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8441 2012-06-08 Sam Steingold <sds@gnu.org>
8443 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8444 XF86Back to previous-buffer.
8445 (minibuffer-local-map): Bind them to next-history-element and
8446 previous-history-element respectively.
8447 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8448 help-go-back respectively.
8449 * info.el (Info-mode-map): Bind them to Info-history-forward and
8450 Info-history-back respectively.
8451 These are the keys next to Up on the ThinkPad keyboard.
8453 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8455 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8456 * emacs-lisp/cl-macs.el: Provide itself.
8457 (cl--labels-convert-cache): New var.
8458 (cl--labels-convert): New function.
8459 (cl-flet, cl-labels): New implementation with new semantics, relying on
8461 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8462 (cl-closure-vars, cl--function-convert-cache)
8463 (cl--function-convert): Move from cl-macs.el.
8464 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8465 rename by removing the "cl-" prefix.
8466 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8468 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8470 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8471 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8472 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8473 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8474 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8475 (cl-hash-table-count): Add old compatibility aliases.
8477 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8478 Use macroexpand-all-environment instead.
8479 (cl--old-macroexpand): New var.
8480 (cl--sm-macroexpand): New function.
8481 (cl-symbol-macrolet): Use it during macro expansion.
8482 (cl--function-convert-cache): New var.
8483 (cl--function-convert): New function, extracted from
8485 (cl-lexical-let): Use it.
8487 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8488 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8489 (cl-member): Remove old alias.
8491 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8492 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8493 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8494 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8495 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8496 (cl-macroexpand-cmacs): Remove var.
8497 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8498 Use macroexpand-all instead.
8500 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8502 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8503 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8504 (macroexp-copyable-p): New functions and macros.
8505 * emacs-lisp/edebug.el (edebug-unwrap):
8506 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8507 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8508 (pcase--let*): Remove.
8509 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8510 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8511 macroexp-const-p instead.
8512 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8514 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8515 instead of "cl-" for internal definitions. Use macroexp-const-p.
8516 (cl-old-bc-file-form): Remove var.
8517 (cl-const-exprs-p): Remove fun.
8518 (cl-labels, cl-macrolet): Use backquote.
8519 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8520 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8521 (cl-define-setf-expander): Rename from cl-define-setf-method.
8522 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8524 * international/mule-cmds.el: Don't require CL.
8525 (view-hello-file): Don't use `letf'.
8527 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8529 * tmm.el (tmm-prompt): Use string-prefix-p.
8530 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8531 (tmm-add-prompt): Use minibuffer-completion-help.
8532 (tmm-delete-map): Remove.
8534 * subr.el (kbd): Make it its own function.
8536 2012-06-07 Stefan Merten <smerten@oekonux.de>
8538 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8539 Silence compiler warnings. Fix versions.
8540 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
8541 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
8542 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
8543 (rst-package-emacs-version-alist): Correct Emacs version to
8544 represent major merge with upstream.
8545 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
8547 2012-06-06 Glenn Morris <rgm@gnu.org>
8549 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8550 Only print environment variables if set.
8552 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8554 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8555 (macroexp--cons): Rename from maybe-cons.
8556 (macroexp--accumulate): Rename from macroexp-accumulate.
8557 (macroexp--all-forms): Rename from macroexpand-all-forms.
8558 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8559 (macroexp--expand-all): Rename from macroexpand-all-1.
8561 2012-06-06 Sam Steingold <sds@gnu.org>
8563 * calendar/calendar.el (calendar-in-read-only-buffer):
8564 Call `special-mode' to enable the standard read-only keybindings.
8566 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8568 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8569 with "loading" messages (bug#11635).
8571 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
8573 * files.el (enable-remote-dir-locals): New option.
8574 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8576 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8577 Ensure, that the temp directory is local.
8579 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8580 `temporary-file-directory'.
8582 * progmodes/python.el (python-send-region): Ensure, that the
8583 temporary file is created also in the remote case.
8585 2012-06-06 Glenn Morris <rgm@gnu.org>
8587 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8588 (vc-rcs-update-changelog): Use it.
8590 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
8592 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8593 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8594 (vc-sccs-diff): Replace use of the external vcdiff script.
8596 2012-06-05 Glenn Morris <rgm@gnu.org>
8598 * ledit.el: Move to obsolete/.
8600 2012-06-05 Sam Steingold <sds@gnu.org>
8602 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
8605 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8607 * emacs-lisp/cust-print.el: Move to obsolete.
8609 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8610 compiler-macro expansion.
8612 Add native compiler-macro support.
8613 * emacs-lisp/macroexp.el (macroexpand-all-1):
8614 Support compiler-macros directly. Properly follow aliases and apply
8615 the compiler macros more thoroughly.
8616 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8617 macroexpand now properly follows aliases.
8618 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8619 (cl-compiler-macroexpand): Use new prop.
8620 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8622 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8624 2012-06-05 Martin Rudalics <rudalics@gmx.at>
8626 * window.el (get-lru-window, get-mru-window, get-largest-window):
8627 New argument NOT-SELECTED to avoid picking the selected window.
8628 (window--display-buffer-1, window--display-buffer-2): Replace by
8629 new function window--display-buffer
8630 (display-buffer-same-window, display-buffer-reuse-window)
8631 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8632 Use window--display-buffer.
8633 (display-buffer-use-some-window): Remove temporary dedication
8634 hack by calling get-lru-window and get-largest-window with
8635 NOT-SELECTED argument non-nil. Call window--display-buffer.
8637 2012-06-05 Glenn Morris <rgm@gnu.org>
8639 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8640 Replace external vcdiff script.
8642 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8644 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8646 2012-06-04 Chong Yidong <cyd@gnu.org>
8648 * image.el (imagemagick-types-inhibit): Revert last change.
8650 (imagemagick-enabled-types): Remove CIN and EPS*.
8652 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8654 * emacs-lisp/cl-lib.el: Rename from cl.el.
8655 * emacs-lisp/cl.el: New compatibility file.
8656 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8657 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8658 to obey the "cl-" prefix.
8659 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8661 2012-06-03 Glenn Morris <rgm@gnu.org>
8663 * emacs-lisp/authors.el (authors-aliases): Addition.
8665 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8668 2012-06-03 Stefan Merten <smerten@oekonux.de>
8670 * textmodes/rst.el: Add comments.
8671 (rst-transition, rst-adornment): New faces.
8672 (rst-adornment-faces-alist): Make default safe to reevaluate.
8674 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8675 Improve customization tags.
8676 (rst-define-level-faces): Clarify meaning.
8678 2012-06-03 Chong Yidong <cyd@gnu.org>
8680 * progmodes/compile.el (compilation-mode-line-fail)
8681 (compilation-mode-line-run, compilation-mode-line-exit):
8683 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8685 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8687 * progmodes/which-func.el (which-func-update-ediff-windows):
8688 New function. Use it in ediff-select-hook (Bug#11478).
8690 2012-06-03 Chong Yidong <cyd@gnu.org>
8692 * bindings.el: Remove explicit help text from format-mode-line.
8693 It is now supplied by mode-line-default-help-echo.
8694 (mode-line-front-space, mode-line-end-spaces)
8695 (mode-line-misc-info): New variables.
8696 (mode-line-modes, mode-line-position): Move the default value to
8697 the variable definition.
8698 (mode-line-default-help-echo): New defcustom.
8699 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8700 (mode-line-modified-help-echo): New functions.
8701 (mode-line-mule-info, mode-line-modified): Use them.
8702 (mode-line-eol-desc, propertized-buffer-identification):
8703 Consistency fixes for help text.
8704 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8705 set-buffer-file-coding-system (Bug#289).
8706 (mode-line-mule-info-help-echo): Update help text.
8708 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8710 * simple.el (execute-extended-command): Set real-this-command
8713 2012-06-02 Chong Yidong <cyd@gnu.org>
8715 Remove incorrect uses of "modeline" in comments, docstrings, and
8716 function/variable names (Bug#10329).
8718 * cus-edit.el (mode-line):
8719 * dframe.el (dframe-mouse-hscroll):
8720 * emacs-lisp/re-builder.el:
8721 * emacs-lisp/easy-mmode.el (define-minor-mode):
8722 * frame.el (set-frame-name):
8723 * help.el (lookup-minor-mode-from-indicator):
8724 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8725 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8726 (c-toggle-hungry-state):
8727 * progmodes/antlr-mode.el (antlr-language-alist):
8728 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8729 * progmodes/vhdl-mode.el (vhdl-mode):
8730 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8731 * term/ns-win.el (ns-face-at-pos):
8732 * term/sup-mouse.el (sup-mouse-report):
8733 * textmodes/flyspell.el (flyspell-mode-line-string):
8734 * textmodes/ispell.el (ispell-highlight-face):
8735 * textmodes/reftex-global.el:
8736 * vc/vc-arch.el (vc-arch-mode-line-string):
8737 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8738 * vc/vc-git.el (vc-git-mode-line-string):
8739 * vc/vc-hooks.el (vc-display-status)
8740 (vc-default-mode-line-string):
8741 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8743 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8745 * dired.el (dired-sort-set-mode-line): Rename from
8746 dired-sort-set-modeline. All callers changed.
8748 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8749 eshell-status-in-modeline.
8751 * foldout.el (foldout-mode-line-string): Rename from
8752 foldout-modeline-string. All callers changed.
8753 (foldout-update-mode-line): Rename from foldout-update-modeline.
8755 * subr.el (redraw-modeline): Make into obsolete alias.
8757 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8758 timeclock-modeline-display. Make old name an alias.
8759 (timeclock-update-mode-line): Likewise. All callers changed.
8760 (timeclock-mode-line-display): No need to check before using
8762 (timeclock-relative, timeclock-day-over-hook)
8763 (timeclock-use-elapsed, timeclock-mode-string)
8764 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8766 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8767 crisp-mode-modeline-string.
8769 * play/solitaire.el (solitaire-build-mode-line): Rename from
8770 solitaire-build-modeline. All callers changed.
8772 * play/zone.el (zone-hiding-mode-line): Rename from
8773 zone-hiding-modeline. All callers changed.
8774 (zone): Remove unusued `modeline-hidden-level' property.
8776 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8777 xscheme-modeline-initialize. All callers changed.
8779 * strokes.el (strokes-lighter): Rename from
8780 strokes-modeline-string.
8782 * textmodes/sgml-mode.el (html-face-tag-alist)
8783 (html-tag-face-alist): Use mode-line face instead of obsolete
8786 2012-06-02 Stefan Merten <smerten@oekonux.de>
8788 * textmodes/rst.el: Always require `cl'.
8789 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
8791 2012-06-02 Chong Yidong <cyd@gnu.org>
8793 * image.el (imagemagick-enabled-types): Rename from
8794 imagemagick-types-enable. Add many more types.
8795 (imagemagick-types-inhibit): Change default to nil.
8796 (imagemagick-filter-types): Caller changed.
8798 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8800 * emacs-lisp/cl-macs.el: Use backquotes.
8801 (cl-transform-function-property): Use eval-and-compile rather than
8803 (defstruct): Use declare-function instead of with-no-warnings.
8805 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8806 (byte-compile-output-docform): Re-add the print-circle bindings.
8807 (byte-compile-fix-header): Use #$ just because it's shorter.
8808 (byte-compile-output-file-form): Remove defun/defmacro.
8810 2012-06-01 Martin Rudalics <rudalics@gmx.at>
8812 * simple.el (choose-completion): Remove now obsolete binding for
8815 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
8817 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8818 in order to avoid "Stack overflow in regexp matcher".
8820 2012-05-31 Glenn Morris <rgm@gnu.org>
8822 * image.el: For clarity, call imagemagick-register-types at
8823 top-level, rather than relying on a custom :initialize.
8824 (imagemagick-types-enable): New option. (Bug#11557)
8825 (imagemagick-filter-types): New function. (Bug#7406)
8826 (imagemagick-register-types): Use imagemagick-filter-types.
8827 If disabling support, remove elements altogether rather
8828 than using an impossible regexp.
8829 (imagemagick-types-inhibit): Give it the default init function.
8831 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8833 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8834 Handle arbitrary file name lengths (Bug#11585).
8836 2012-05-31 Martin Rudalics <rudalics@gmx.at>
8838 * desktop.el (desktop-read): Clear previous and next buffers for
8839 all windows and bury *Messages* buffer (bug#11556).
8841 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8843 Add `declare' for `defun'. Align `defmacro's with it.
8844 * emacs-lisp/easy-mmode.el (define-minor-mode)
8845 (define-globalized-minor-mode): Don't autoload the var definitions.
8846 * emacs-lisp/byte-run.el: Use lexical-binding.
8847 (defun-declarations-alist, macro-declarations-alist): New vars.
8848 (defmacro, defun): Use them.
8849 (make-obsolete, define-obsolete-function-alias)
8850 (make-obsolete-variable, define-obsolete-variable-alias):
8852 (macro-declaration-function): Mark obsolete.
8853 * emacs-lisp/autoload.el: Use lexical-binding.
8854 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8856 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8858 * textmodes/ispell.el (ispell-with-no-warnings):
8860 (ispell-kill-ispell, ispell-change-dictionary):
8861 Use `called-interactively-p' for Emacs instead of obsolete
8864 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8866 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8867 (macro-declaration-function): Move var from C code.
8868 (macro-declaration-function): Define function with defalias.
8869 * emacs-lisp/macroexp.el (macroexpand-all-1):
8870 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8871 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8872 defun/defmacro any more.
8873 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8874 Provide fallback for unknown arglist.
8875 (byte-compile-arglist-warn): Change calling convention.
8876 (byte-compile-output-file-form): Move print-vars binding.
8877 (byte-compile-output-docform): Simplify accordingly.
8878 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8879 (byte-compile-defmacro-declaration): Remove.
8880 (byte-compile-file-form-defmumble): Generalize to defalias.
8881 (byte-compile-output-as-comment): Return byte-positions.
8882 Simplify callers accordingly.
8883 (byte-compile-lambda): Use `assert'.
8884 (byte-compile-defun, byte-compile-defmacro): Remove.
8885 (byte-compile-file-form-defalias):
8886 Use byte-compile-file-form-defmumble.
8887 (byte-compile-defalias-warn): Remove.
8889 2012-05-29 Stefan Merten <smerten@oekonux.de>
8891 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8892 possible. Fix authors. Improve comments. Improve loading of `cl'.
8894 (rst-mode-abbrev-table): Merge definition.
8895 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8896 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8898 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
8900 * calendar/icalendar.el
8901 (icalendar-export-region): Export UID properly.
8903 2012-05-29 Leo Liu <sdl.web@gmail.com>
8904 * calendar/icalendar.el (icalendar-import-format):
8905 Add `icalendar-import-format-uid' (Bug#11525).
8906 (icalendar-import-format-uid): New.
8907 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8910 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8912 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8913 different alternative patterns.
8914 (pcase-codegen): Be more careful to preserve identity.
8915 (pcase--u1): Don't forget to mark vars as used.
8917 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8918 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8919 (byte-compile-from-buffer): ...rather than here.
8921 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8922 functions from byte-compile-function-environment.
8924 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
8926 * window.el (window-deletable-p): Avoid deleting the root window
8927 of a frame with an active minibuffer.
8929 2012-05-29 Martin Rudalics <rudalics@gmx.at>
8931 * simple.el (choose-completion): Use quit-window (Bug#11567).
8933 2012-05-29 Chong Yidong <cyd@gnu.org>
8935 * whitespace.el (whitespace-cleanup): Fix usage of
8936 whitespace-empty-at-bob-regexp (Bug#11492).
8938 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8940 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8943 2012-05-29 Juri Linkov <juri@jurta.org>
8945 * isearch.el (isearch-mode-map): Bind `M-s _' to
8946 `isearch-toggle-symbol'. Bind `M-s c' to
8947 `isearch-toggle-case-fold'.
8948 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8949 (isearch-forward): Add `M-s _' to the docstring.
8950 (isearch-forward-symbol, isearch-toggle-case-fold)
8951 (isearch-symbol-regexp): New functions. (Bug#11381)
8953 2012-05-29 Juri Linkov <juri@jurta.org>
8955 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8956 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8957 a function, call it to get the regexp.
8958 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8959 property `isearch-message-prefix' instead of the string "word ".
8960 (isearch-search-fun-default): For the case of `isearch-word',
8961 return a lambda that calls re-search-forward/re-search-backward
8962 with a regexp returned by `word-search-regexp' or by the function
8965 2012-05-29 Juri Linkov <juri@jurta.org>
8967 * isearch.el (isearch-search-fun-default): New function.
8968 (isearch-search-fun): Move default part to the new function
8969 `isearch-search-fun-default'.
8970 (isearch-search-fun-function): Set the default value to
8971 `isearch-search-fun-default'. (Bug#11381)
8973 * comint.el (comint-history-isearch-end):
8974 Use `isearch-search-fun-default'.
8975 (comint-history-isearch-search): Use `isearch-search-fun-default'
8976 and remove spacial case for `isearch-word'.
8977 (comint-history-isearch-wrap): Remove spacial case for
8980 * hexl.el (hexl-isearch-search-function):
8981 Use `isearch-search-fun-default'.
8983 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8984 Use `word-search-regexp' for `isearch-word'.
8986 * misearch.el (multi-isearch-search-fun):
8987 Use `isearch-search-fun-default'.
8989 * simple.el (minibuffer-history-isearch-search):
8990 Use `isearch-search-fun-default' and remove spacial case for
8992 (minibuffer-history-isearch-wrap): Remove spacial case for
8995 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8996 Remove spacial case for `isearch-word'.
8997 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8999 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9001 Decrease XEmacs incompatibilities.
9002 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9004 (flyspell-delete-region-overlays): Use alternative definition for
9006 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9007 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9008 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9009 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9010 `define-obsolete-face-alias' under XEmacs, but old method.
9012 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9013 `with-no-warnings' definition or Emacs alias.
9014 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9015 (ispell-word): Do not use `region-p' if XEmacs.
9017 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9019 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9020 Check for `ispell-dictionary-base-alist' instead of full
9021 `ispell-dictionary-alist'.
9022 (ispell-init-process): Show spellchecker when starting new Ispell
9025 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9027 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9028 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9030 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
9032 * version.el (motif-version-string, gtk-version-string)
9033 (ns-version-string): Declare.
9035 2012-05-27 Juri Linkov <juri@jurta.org>
9037 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9038 after the `eval-defun-1' specialcaseing
9039 like in `edebug-eval-defun' (bug#10181).
9041 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9042 like in `eval-defun-1'.
9044 2012-05-27 Eli Zaretskii <eliz@gnu.org>
9046 * mail/sendmail.el (mail-yank-region):
9047 Recognize rmail-yank-current-message in addition to insert-buffer.
9048 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
9049 a *mail* buffer created through rmail-start-mail with sendmail as
9052 2012-05-27 Chong Yidong <cyd@gnu.org>
9054 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9055 Default to 256 (Bug#11267).
9057 * help.el (describe-mode): Doc fix.
9059 2012-05-26 Glenn Morris <rgm@gnu.org>
9061 * w32-fns.el (w32-init-info): Remove.
9062 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9064 * info.el (info-initialize): For self-contained NS builds, put the
9065 included info/ directory at the front. (Bug#2791)
9067 * paths.el (Info-default-directory-list): Make it a defcustom,
9068 mainly so that we can use custom-initialize-delay.
9070 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9072 * subr.el (buffer-has-markers-at): Mark obsolete.
9074 * subr.el (lambda): Use declare.
9076 * emacs-lisp/lisp-mode.el (lambda):
9077 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9079 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9081 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9083 2012-05-26 Glenn Morris <rgm@gnu.org>
9085 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9087 2012-05-25 Glenn Morris <rgm@gnu.org>
9089 * paths.el: Remove no-byte-compile.
9090 * loadup.el: No need to load paths.el uncompiled.
9092 * image.el (imagemagick-types-inhibit): Doc fix.
9094 * version.el: Remove no-byte-compile and associated formatting.
9095 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9096 is ancient code from when there was an "inc-vers.el".
9098 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9100 * progmodes/gdb-mi.el: Minor style changes.
9101 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9102 Turn into minor modes.
9103 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9104 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9105 (gdb-shell): Remove unneeded let-binding.
9106 (gdb-get-many-fields): Eliminate O(n²) behavior.
9108 2012-05-25 Eli Zaretskii <eliz@gnu.org>
9110 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9111 platforms that don't link in fontset.c.
9113 2012-05-25 Juri Linkov <juri@jurta.org>
9115 Use the same diff color scheme as in modern VCSes (bug#10181).
9117 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9118 to avoid confusion with `diff-added' that now uses green colors.
9119 (diff-removed): Use shades of red.
9120 (diff-added): Use shades of green.
9121 (diff-changed): Leave just the yellow color.
9122 (diff-use-changed-face): New variable.
9123 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9124 how to highlight context diff changes.
9125 (diff-refine-change): Use shades of yellow.
9126 (diff-refine-removed): New face that uses shades of red.
9127 (diff-refine-added): New face that uses shades of green.
9128 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9129 `diff-refine-removed' in the call to `smerge-refine-subst'
9130 depending on the value of `diff-use-changed-face'.
9132 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9133 (smerge-other): Use shades of green.
9134 (smerge-base): Use shades of yellow.
9135 (smerge-refined-change): Empty face.
9136 (smerge-refined-removed): New face that uses shades of red.
9137 (smerge-refined-added): New face that uses shades of green.
9138 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9139 args `props-r' and `props-a', and use them. Doc fix.
9140 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9141 on its value use different faces `smerge-refined-change',
9142 `smerge-refined-removed', `smerge-refined-added' in the call to
9143 `smerge-refine-subst'.
9145 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9146 Add face condition `min-colors 88' with shades of red.
9147 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9148 `min-colors 88' with shades of green.
9149 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9150 `min-colors 88' with shades of yellow.
9152 2012-05-24 Glenn Morris <rgm@gnu.org>
9154 * paths.el (prune-directory-list, remote-shell-program): Move to...
9155 * files.el (prune-directory-list, remote-shell-program): ...here.
9156 For the latter, delay initialization, prefer ssh, just search PATH.
9158 * paths.el (term-file-prefix): Move to faces.el (the only user).
9159 * faces.el (term-file-prefix): Move here, make it a defcustom.
9161 * paths.el (news-directory, news-path, news-inews-program):
9162 Move to gnus/nnspool.el.
9164 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9166 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9167 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9168 Make the latter a defcustom, with a delayed initialization.
9170 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9171 These were deleted from Gnus itself late 2010.
9173 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
9175 * progmodes/which-func.el (which-func-ff-hook):
9176 Check against user-error, not error.
9178 * emacs-lisp/edebug.el (top): Do not load or set up loading of
9179 cl-specs.el, which no longer exists.
9181 2012-05-22 Glenn Morris <rgm@gnu.org>
9183 * info.el (info-emacs-bug): New command.
9184 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9185 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9187 2012-05-21 Glenn Morris <rgm@gnu.org>
9189 * makefile.w32-in (update-subdirs-SH):
9190 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9192 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9194 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9196 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9197 Simplify Maven regexp, and make sure the file can't start with a space
9200 2012-05-21 Glenn Morris <rgm@gnu.org>
9202 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9203 Scrap superfluous subshells.
9205 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9207 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9208 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9210 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9212 * calc/calc.el (calc-ensure-consistent-units): New variable.
9214 * calc/calc-units.el (math-consistent-units-p)
9215 (math-check-unit-consistency): New functions.
9216 (calc-quick-units, calc-convert-units):
9217 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9219 (calc-extract-units): Fix typo.
9221 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9223 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9225 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9226 (flyspell-default-deplacement-commands): Don't spell check after
9227 repeated window/frame switches (e.g. triggered by mouse-movement).
9228 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9229 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9230 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9231 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9233 (flyspell-get-casechars, flyspell-get-not-casechars):
9234 Simplify; Don't bother removing a ] just to add it back.
9235 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9237 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9239 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9241 (math-function-table): Add support for more C functions.
9243 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9245 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9246 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9247 Protect delay handling for otherchars against empty otherchars.
9249 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9251 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9252 their respective macro declarations.
9253 * skeleton.el (define-skeleton):
9254 * progmodes/compile.el (define-compilation-mode):
9255 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9256 (define-ibuffer-filter):
9257 * emacs-lisp/generic.el (define-generic-mode):
9258 * emacs-lisp/easy-mmode.el (define-minor-mode)
9259 (define-globalized-minor-mode):
9260 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9261 * emacs-lisp/byte-run.el (defsubst):
9262 * custom.el (deftheme): Add doc-string metadata.
9264 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9266 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9268 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9270 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9272 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9273 * emacs-lisp/cl-macs.el: Idem.
9274 * emacs-lisp/cl-specs.el: Remove.
9276 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9278 Minor renaming of internal CL functions and variables.
9279 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9280 (cl--position): Rename from cl-position.
9281 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9282 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9283 (cl--random-state): Rename from *random-state*.
9285 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9287 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9288 parens around the arg list (bug#11499).
9290 2012-05-17 Juri Linkov <juri@jurta.org>
9292 * isearch.el (word-search-regexp, word-search-backward)
9293 (word-search-forward, word-search-backward-lax)
9294 (word-search-forward-lax): Move functions from search.c
9295 (bug#10145, bug#11381).
9297 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9299 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9300 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9301 Delay for otherchars as for normal word components.
9303 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9305 * minibuffer.el (completion--sifn-requote): Fix last change.
9306 (minibuffer-local-must-match-filename-map):
9307 Move define-obsolete-variable-alias before its var.
9309 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9311 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9313 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9315 (completion--string-equal-p): New function.
9316 (completion--twq-all): Use it to get better assertion failure data.
9318 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9319 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9320 (shell--requote-argument): New functions.
9321 (shell-completion-vars): Use them.
9322 (shell--parse-pcomplete-arguments): Rename from
9323 shell-parse-pcomplete-arguments.
9324 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9325 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9326 Obey comint-file-name-quote-list.
9328 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9329 (smie-indent-keyword): Use it.
9331 2012-05-14 Stefan Merten <smerten@oekonux.de>
9333 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9335 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9337 * net/rlogin.el (rlogin-mode-map): Fix last change.
9339 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
9341 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9342 the following \r\n using a single `process-send-string', since the
9343 Lotus SMTP server refuses to accept any commands if they are sent
9344 with two `process-send-string's (Bug#11444).
9346 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9348 * shell.el (shell-parse-pcomplete-arguments):
9349 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
9351 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9353 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
9354 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9355 (image-transform-width, image-transform-fit-width): New functions.
9356 (image-transform-properties): Use them.
9357 (image-transform-check-size): New function.
9358 (image-toggle-display-image): Use it (for testing).
9359 (image-transform-set-rotation): Reduce angle mod 360.
9360 Delete obsolete comment.
9362 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9364 * image-mode.el: Fix scaling (bug#11399).
9365 (image-transform-resize): Doc fix.
9366 (image-transform-properties): Default scale is 1 and height should
9369 2012-05-13 Johan Bockgård <bojohan@gnu.org>
9371 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9372 than hard-coding `car', to fix misbehavior when moving forward.
9374 2012-05-13 Chong Yidong <cyd@gnu.org>
9376 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9377 (tabulated-list-entries, tabulated-list-padding)
9378 (tabulated-list-sort-key): Make permanent-local.
9380 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9381 (electric-buffer-list): Put electric buffer menu
9382 command descriptions in this docstring, instead of the docstring
9383 of electric-buffer-menu-mode. Code cleanups.
9384 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9385 Electric-buffer-menu-mode.
9386 (electric-buffer-update-highlight): Minor code cleanup.
9388 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
9390 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9393 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9395 Move define-obsolete-variable-alias before the var's definition.
9396 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9397 * tooltip.el (tooltip-hook):
9398 * textmodes/reftex-toc.el (reftex-toc-map):
9399 * textmodes/reftex-sel.el (reftex-select-label-map)
9400 (reftex-select-bib-map):
9401 * textmodes/reftex-index.el (reftex-index-map)
9402 (reftex-index-phrases-map):
9403 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9404 * progmodes/meta-mode.el (meta-mode-map):
9405 * novice.el (disabled-command-hook):
9406 * loadhist.el (unload-hook-features-list):
9407 * frame.el (blink-cursor):
9408 * files.el (find-file-not-found-hooks, write-file-hooks)
9409 (write-contents-hooks):
9410 * emulation/tpu-edt.el (GOLD-map):
9411 * emacs-lock.el (emacs-lock-from-exiting):
9412 * emacs-lisp/generic.el (generic-font-lock-defaults):
9413 * emacs-lisp/chart.el (chart-map):
9414 * dos-fns.el (register-name-alist):
9415 * dired-x.el (dired-omit-files-p):
9416 * desktop.el (desktop-enable):
9417 * cus-edit.el (custom-mode-hook):
9418 * buff-menu.el (buffer-menu-mode-hook):
9419 * bookmark.el (bookmark-read-annotation-text-func)
9420 (bookmark-exit-hooks):
9421 * allout.el (allout-mode-deactivate-hook)
9422 (allout-exposure-change-hook, allout-structure-added-hook)
9423 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9424 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9425 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9426 comes before the corresponding variable's definition.
9428 2012-05-12 Chong Yidong <cyd@gnu.org>
9430 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
9431 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9432 (Buffer-menu-mode-map): Bind it.
9433 (Buffer-menu--pretty-name): Add a mouse-face property.
9435 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9437 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9438 (prolog-upper-case-string, prolog-lower-case-string)
9439 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9440 (prolog-use-smie, prolog-smie-grammar): New vars.
9441 (prolog-smie-forward-token, prolog-smie-backward-token)
9442 (prolog-smie-rules): New funs.
9443 (prolog-comment-indent): Remove.
9444 (prolog-mode-variables): Use default comment indentation instead.
9446 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9447 (prolog-mode): Don't call them any more.
9448 (prolog-electric-colon, prolog-electric-dash)
9449 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9451 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9453 * minibuffer.el (completion--twq-all): Again, allow case differences.
9455 * term.el: Move keymap initialization code to be more idiomatic.
9456 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9457 (term-terminal-menu): Move initialization into declaration.
9458 (term-escape-char): Let the user set it in her .emacs.
9460 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9461 Provide SMIE-based indentation (not enabled by default yet).
9462 (sh-mode-map): Don't bind electric keys.
9463 Use electric-pair-mode instead of skeleton-pair.
9464 (sh-assignment-regexp): Fit within 80 columns.
9465 (sh-indent-supported): Specify actual shell name instead of boolean.
9466 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9467 (sh-maybe-here-document): Use it. Make obsolete.
9468 (sh-electric-here-document-mode) New minor mode.
9469 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9470 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9471 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9472 (sh-smie-rc-grammar, sh-use-smie): New vars.
9473 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9474 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9475 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9476 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9477 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9478 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9479 (sh-set-shell): Use smie-setup if requested.
9481 * term.el (term-set-escape-char): Properly set term-escape-char.
9482 See http://stackoverflow.com/questions/10524656.
9484 2012-05-10 Chong Yidong <cyd@gnu.org>
9486 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9487 Use url-generic-parse-url, and handle host names and Windows
9489 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9490 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9491 URL schemes to work on.
9492 (ffap--toggle-read-only): New function.
9493 (ffap-read-only, ffap-read-only-other-window)
9494 (ffap-read-only-other-frame): Use it.
9495 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9496 necessary for ffap-url-unwrap-remote.
9498 2012-05-10 Dave Abrahams <dave@boostpro.com>
9500 * cus-start.el (create-lockfiles): Add it.
9502 2012-05-09 Chong Yidong <cyd@gnu.org>
9504 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9505 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9507 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9509 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9511 2012-05-09 Chong Yidong <cyd@gnu.org>
9513 * ansi-color.el (ansi-color-process-output): Check for validity of
9514 comint-last-output-start before using it. This avoids a bad
9515 interaction with gdb-mi's input/output buffer.
9517 2012-05-09 Glenn Morris <rgm@gnu.org>
9519 * files.el (dir-locals-read-from-file):
9520 Mention dir-locals in any error message.
9522 2012-05-09 Chong Yidong <cyd@gnu.org>
9524 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9525 package (Bug#11410).
9527 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9528 variables into description.
9530 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9532 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9533 shell-delimiter-argument-list (bug#11348).
9534 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9536 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
9538 * textmodes/rst.el: Silence byte-compiler warnings.
9539 (rst-re-alist, rst-reset-section-caches): Move around.
9540 (rst-re): Use `characterp', not `char-valid-p'.
9541 (font-lock-beg, font-lock-end): Declare.
9543 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9544 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9546 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9548 2012-05-08 Glenn Morris <rgm@gnu.org>
9550 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9552 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9554 * vc/log-edit.el: Add GNU coding standards highlighting.
9555 (log-edit-font-lock-gnu-style)
9556 (log-edit-font-lock-gnu-keywords): New vars.
9557 (log-edit-font-lock-keywords): New fun.
9558 (log-edit-mode): Don't fold case in font-lock.
9559 (log-edit-font-lock-keywords): Do not assume case-folding.
9561 * imenu.el: Misc cleanup. Make docstrings out of comments.
9562 Use lexical-binding.
9563 (imenu--index-alist, imenu--last-menubar-index-alist)
9564 (imenu-menubar-modified-tick): Use defvar-local.
9565 (imenu--split-menu): Remove unused var.
9566 (imenu--cleanup-seen): Declare as global.
9567 (imenu--cleanup): Use dolist.
9569 * subr.el (defvar-local): Add debug spec and doc-string position.
9571 2012-05-08 Glenn Morris <rgm@gnu.org>
9573 * language/burmese.el, language/cham.el, language/czech.el:
9574 * language/english.el, language/georgian.el, language/greek.el:
9575 * language/japanese.el, language/khmer.el, language/korean.el:
9576 * language/lao.el, language/misc-lang.el, language/romanian.el:
9577 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9578 * language/thai.el, language/utf-8-lang.el:
9579 Remove no-byte-compile setting.
9581 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9583 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9585 * progmodes/make-mode.el (makefile-browse):
9586 Remove unnecessary interactive. (Bug#11324)
9588 2012-05-07 Glenn Morris <rgm@gnu.org>
9590 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9592 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9594 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9596 * loadup.el: Preload newcomment.el.
9597 * newcomment.el: Move autoload-only code to toplevel.
9599 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9600 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9601 Handle new :right-align column property.
9602 (tabulated-list-print-col): Idem, plus use `display' text-property to
9603 try and preserve alignment for variable pitch fonts.
9605 2012-05-07 Chong Yidong <cyd@gnu.org>
9607 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9608 (tabulated-list-use-header-line): New var.
9609 (tabulated-list-init-header): Use it.
9610 (tabulated-list-print-fake-header): New function.
9611 (tabulated-list-print): Use it.
9612 (tabulated-list-sort-button-map): Add non-header-line commands.
9613 (tabulated-list-init-header): Add column name property to basic
9615 (tabulated-list-col-sort): Handle non-header-line button case.
9616 (tabulated-list--sort-by-column-name): Fix a corner case.
9618 * buff-menu.el (list-buffers--refresh):
9619 Handle Buffer-menu-use-header-line.
9621 2012-05-06 Chong Yidong <cyd@gnu.org>
9623 * buff-menu.el: Convert to Tabulated List mode.
9624 (Buffer-menu-buffer+size-width): Make obsolete.
9625 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9626 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9627 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9628 documentation into docstring of buffer-menu.
9629 (Buffer-menu-toggle-files-only): Add an informative message.
9630 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9631 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9632 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9633 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9634 (Buffer-menu-execute, Buffer-menu-select)
9635 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9636 (Buffer-menu-bury): Use Tabulated List machinery.
9637 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9638 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
9640 (list-buffers--refresh): New function.
9641 (list-buffers-noselect): Use it.
9642 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9643 (Buffer-menu--pretty-file-name): New helper functions.
9645 * loadup.el: Preload tabulated-list.
9647 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9648 tabulated-list-sort-column.
9649 (tabulated-list-init-header): Add the initial aligning space even
9650 if tabulated-list-padding is zero.
9652 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9654 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9655 whose cdr is not a cons cell correctly (bug#11038).
9657 2012-05-06 Chong Yidong <cyd@gnu.org>
9659 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9660 Accept additional plist in column descriptors.
9661 (tabulated-list-init-header): Obey it.
9662 (tabulated-list-get-entry): New function.
9663 (tabulated-list-put-tag): Use it. Use string-width instead of
9665 (tabulated-list--column-number): New function.
9666 (tabulated-list-print): Use it.
9667 (tabulated-list-print-col): New function.
9668 Set `tabulated-list-column-name' property on each column's text.
9669 (tabulated-list-print-entry): Use it.
9670 (tabulated-list-delete-entry, tabulated-list-set-col):
9672 (tabulated-list-sort-column): New command (Bug#11337).
9674 * buff-menu.el (list-buffers): Move C-x C-b binding from
9675 buff-menu.el to bindings.el.
9677 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9678 :advertised-binding feature.
9680 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9682 * progmodes/compile.el (compilation-internal-error-properties):
9683 Calculate start position correctly when end-col is set but
9684 end-line is not (Bug#11382).
9686 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9688 * man.el (Man-unindent): Use text-property-default-nonsticky to
9689 prevent untabify from inheriting face properties (Bug#11408).
9691 2012-05-05 Stefan Merten <smerten@oekonux.de>
9693 * textmodes/rst.el: Major merge with upstream development up to
9694 Docutils SVN r7399 / rst.el V1.2.1.
9696 Clarify maintainership and authors.
9698 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9699 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9700 (rst-official-version, rst-official-cvs-rev, rst-version)
9701 (rst-package-emacs-version-alist): New functions and variables
9702 for version information.
9704 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9705 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9706 (rst-mode-syntax-table, rst-mode): New and corrected functions
9707 and variables representing reStructuredText features.
9709 (rst-re): New function for reStructuredText regexes. Use in
9712 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9713 (rst-mode-map): Rebind keys.
9715 (rst-mode-lazy, rst-font-lock-keywords)
9716 (rst-font-lock-extend-region)
9717 (rst-font-lock-extend-region-internal)
9718 (rst-font-lock-extend-region-extend)
9719 (rst-font-lock-find-unindented-line-limit)
9720 (rst-font-lock-find-unindented-line-match)
9721 (rst-adornment-level, rst-font-lock-adornment-level)
9722 (rst-font-lock-adornment-match)
9723 (rst-font-lock-handle-adornment-pre-match-form)
9724 (rst-font-lock-handle-adornment-matcher): Major revision of
9725 font-locking. Integrate with other code. Use `jit-lock-mode'.
9727 (rst-preferred-adornments, rst-adjust-hook)
9728 (rst-new-adornment-down, rst-preferred-bullets)
9729 (rst-preferred-bullets, rst-indent, rst-indent-width)
9730 (rst-indent-field, rst-indent-literal-normal)
9731 (rst-indent-literal-minimized, rst-indent-comment): Change,
9732 extend and improve customization.
9734 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9735 (rst-normalize-cursor-position, rst-get-decoration)
9736 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9737 (rst-rstrip, rst-toc-insert-find-delete-contents)
9738 (rst-shift-fill-region, rst-compute-bullet-tabs)
9739 (rst-debug-print-tabs, rst-debug-mark-found)
9740 (rst-shift-region-guts, rst-shift-region-right)
9741 (rst-shift-region-left, rst-use-char-classes)
9742 (rst-font-lock-keywords-function)
9743 (rst-font-lock-indentation-point)
9744 (rst-font-lock-find-unindented-line-begin)
9745 (rst-font-lock-find-unindented-line-end)
9746 (rst-font-lock-find-unindented-line)
9747 (rst-font-lock-adornment-point, rst-font-lock-level)
9748 (rst-adornment-level-alist): Remove functions and variables.
9750 (rst-compare-adornments, rst-get-adornment-match)
9751 (rst-suggest-new-adornment, rst-get-adornments-around)
9752 (rst-adornment-complete-p, rst-get-next-adornment)
9753 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9754 (rst-straighten-adornments): Standardize function names to
9755 use "adornment" instead of "decoration". Correct callers.
9756 Similar standardizing in many places.
9758 (rst-update-section, rst-adjust, rst-promote-region)
9759 (rst-enumerate-region, rst-bullet-list-region)
9760 (rst-repeat-last-character): Correct use of `interactive'.
9762 (rst-classify-adornment, rst-find-all-adornments)
9763 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9764 (rst-find-leftmost-column, rst-repeat-last-character):
9767 (rst-find-title-line, rst-reset-section-caches)
9768 (rst-get-adornments-around, rst-adjust-adornment-work)
9769 (rst-arabic-to-roman, rst-roman-to-arabic)
9770 (rst-insert-list-pos, rst-insert-list-new-item)
9771 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9774 (rst-all-sections, rst-section-hierarchy)
9775 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9778 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9779 configuration instead of only buffer. Change where necessary.
9781 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9782 (rst-shift-region, rst-adaptive-fill): New functions for
9783 indentation and filling.
9785 (rst-comment-line-break, rst-comment-indent)
9786 (rst-comment-insert-comment, rst-comment-region)
9787 (rst-uncomment-region): New functions for handling comments.
9789 (rst-compile): Quote shell arguments.
9791 (rst-compile-pdf-preview, rst-compile-slides-preview):
9792 Delete temporary files after use.
9794 2012-05-05 Glenn Morris <rgm@gnu.org>
9796 * calendar/cal-html.el: Optionally include holidays in the output.
9797 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9798 (cal-html-holidays): New option.
9799 (cal-html-css-default): Add holiday entry.
9800 (holiday-in-range): Autoload it.
9801 (cal-html-htmlify-entry): Add optional class argument.
9802 (cal-html-htmlify-list): Add optional holidays argument.
9803 (cal-html-insert-agenda-days): Include holidays in the output.
9804 (cal-html-one-month): Maybe include holidays.
9806 * calendar/holidays.el (holiday-in-range):
9807 Move here from cal-tex-list-holidays.
9808 * calendar/cal-tex.el (cal-tex-list-holidays):
9809 Make it an obsolete alias for holiday-in-range. Update all callers.
9811 2012-05-05 Chong Yidong <cyd@gnu.org>
9813 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9816 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9818 * files.el (file-auto-mode-skip): New var.
9819 (set-auto-mode-1): Use it.
9821 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9823 * repeat.el: Use lexical-binding.
9824 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9825 (repeat-undo-count): Remove.
9827 * progmodes/octave-mod.el (octave-abbrev-start):
9828 * progmodes/f90.el (f90-abbrev-start):
9829 * face-remap.el (text-scale-adjust):
9830 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9832 * emacs-lisp/pcase.el (pcase--let*): New function.
9833 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9835 (pcase--split-pred): Be more clever about ruling out overlap between
9836 a predicate and some constant pattern.
9837 (pcase--q1): Use `null' instead of (eq foo nil).
9839 * subr.el (setq-local, defvar-local): New macros.
9840 (kbd): Redefine as an alias.
9841 (with-selected-window): Leave unrelated frames alone.
9842 (set-temporary-overlay-map): New function.
9844 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9846 * subr.el (user-error): New function.
9847 * window.el (switch-to-buffer):
9848 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9849 (smerge-match-conflict):
9850 * simple.el (previous-matching-history-element)
9851 (next-matching-history-element, goto-history-element, undo-more)
9853 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9854 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9855 (next-file, tags-loop-scan, list-tags, complete-tag):
9856 * progmodes/compile.el (compilation-loop):
9857 * mouse.el (mouse-minibuffer-check):
9858 * man.el (Man-bgproc-sentinel, Man-goto-page):
9859 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9860 (Info-history-forward, Info-follow-reference, Info-menu)
9861 (Info-extract-menu-item, Info-extract-menu-counting)
9862 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9863 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9864 (Info-next-reference, Info-prev-reference, Info-index)
9865 (Info-index-next, Info-follow-nearest-node)
9866 (Info-copy-current-node-name):
9867 * imenu.el (imenu--make-index-alist)
9868 (imenu-default-create-index-function, imenu-add-to-menubar):
9869 * files.el (basic-save-buffer, recover-file):
9870 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9871 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9872 (checkdoc-message-text, checkdoc-defun):
9873 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9874 * cus-edit.el (customize-changed-options, customize-rogue)
9875 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9876 (custom-variable-mark-to-reset-standard)
9877 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9879 * completion.el (check-completion-length):
9880 * comint.el (comint-search-arg)
9881 (comint-previous-matching-input-string-position)
9882 (comint-previous-matching-input)
9883 (comint-replace-by-expanded-history-before-point, comint-send-input)
9884 (comint-copy-old-input, comint-backward-matching-input)
9885 (comint-goto-process-mark, comint-set-process-mark):
9886 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9887 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9889 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9891 * dabbrev.el (dabbrev--ignore-case-p): New function.
9892 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9895 * files.el (automount-dir-prefix): Mark as obsolete.
9897 2012-05-04 Glenn Morris <rgm@gnu.org>
9899 * patcomp.el, play/bruce.el: Move to obsolete/.
9901 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9903 Fix minor Y10k bugs.
9904 * arc-mode.el (archive-unixdate):
9905 * autoinsert.el (auto-insert-alist):
9906 * calc/calc-forms.el (math-this-year):
9907 * emacs-lisp/copyright.el (copyright-current-year)
9908 (copyright-update-year, copyright):
9909 * tar-mode.el (tar-clip-time-string):
9910 * time.el (display-time-update):
9911 Don't assume years have 4 digits.
9913 2012-05-04 Chong Yidong <cyd@gnu.org>
9915 * dos-w32.el (file-name-buffer-file-type-alist)
9916 (direct-print-region-use-command-dot-com):
9917 * ffap.el (ffap-menu-regexp):
9918 * find-file.el (ff-special-constructs):
9919 * follow.el (follow-debug):
9920 * forms.el (forms--debug):
9921 * iswitchb.el (iswitchb-all-frames):
9922 * ido.el (ido-all-frames):
9923 * emacs-lisp/timer.el (timer-max-repeats):
9924 * mail/feedmail.el (feedmail-mail-send-hook)
9925 (feedmail-mail-send-hook-queued):
9926 * mail/footnote.el (footnote-signature-separator):
9927 * mail/mailabbrev.el (mail-alias-separator-string)
9928 (mail-abbrev-mode-regexp):
9929 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9930 * progmodes/idlwave.el (idlwave-libinfo-file)
9931 (idlwave-default-completion-case-is-down)
9932 (idlwave-library-routines): Convert defvars to defcustoms.
9934 * mail/rmail.el (rmail-decode-mime-charset):
9935 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9936 (idlwave-shell-fix-inserted-breaks)
9937 (idlwave-shell-activate-alt-keybindings)
9938 (idlwave-shell-use-breakpoint-glyph):
9939 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9941 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9943 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9945 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9947 * progmodes/verilog-mode.el (font-lock-keywords):
9948 Fix mis-highligting auto. Reported by Craig Barner.
9949 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9950 defines from global name space. Reported by Dan Dever.
9951 (verilog-auto-reset, verilog-auto-reset-widths)
9952 (verilog-auto-tieoff): Support using unbased numbers for
9953 AUTORESET and AUTOTIEOFF.
9954 (verilog-submit-bug-report): Update variable list.
9955 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9956 parenthesis from not matching. Reported by Michael Rytting.
9957 (verilog-auto-template-lint): Fix hash error when linting modules
9958 with no used templates.
9959 (verilog-warn, verilog-warn-error)
9960 (verilog-warn-fatal): When non-interactive report multiple
9961 warnings before exiting. Suggested by Brad Dobbie.
9962 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9963 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9964 to report unused template errors. Reported by Brad Dobbie.
9965 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9966 nets, bug438. Reported by Vns Blore.
9967 (verilog-auto-inout-module, verilog-auto-reg)
9968 (verilog-read-decls, verilog-read-sub-decls-sig)
9969 (verilog-signals-edit-wire-reg, verilog-signals-with):
9970 Fix passing of Verilog data types in ANSI input/output ports
9971 such as "output logic" into the AUTOs. Special case "wire" and
9972 "reg" for backwards compatibility presuming Verilog 2001.
9973 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9974 (verilog-preprocess): Fix replication of preprocess output.
9975 Reported by Brad Dobbie.
9976 (verilog-auto-inst-interfaced-ports):
9977 Create verilog-auto-inst-interfaced-ports, bug429.
9978 Reported by Julian Gorfajn.
9979 (verilog-after-save-font-hook)
9980 (verilog-before-save-font-hook): New variable.
9981 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9982 (verilog-save-font-mods): Wrap disabling fontification, reported
9984 (verilog-do-indent, verilog-pretty-declarations-auto)
9985 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9986 Reported by Pierre-David Pfister.
9987 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9988 of class declarations, bug292. Reported by Kevin Heilman.
9989 (verilog-read-decls): Fix 'parameter type' not appearing in
9990 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9991 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9992 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
9993 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9994 Reported by David Kravitz.
9996 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
9998 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9999 assignment with tests in ifs and for loops.
10000 (verilog-extended-complete-re, verilog-complete-reg): Change so
10001 that DPI inport functions don't look like fuction declarations.
10002 (verilog-pretty-expr): Don't line up assignment
10003 operations to the test and increment in if and for loops
10004 (verilog-extended-complete-re, verilog-complete-reg): Change so
10005 that DPI inport functions don't look like fuction declarations.
10007 2012-05-03 Kenichi Handa <handa@m17n.org>
10009 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
10010 decoding, and show a warning message without signaling an error
10013 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10015 * emacs-lisp/bytecomp.el
10016 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10017 since cconv.el might have introduced :fun-body, internal-make-closure,
10018 and friends for bytecomp to handle (bug#11391).
10019 * custom.el (defcustom): Avoid ((λ ..) ..).
10021 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10023 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10025 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
10027 * notifications.el (dbus-debug):
10028 * term/linux.el (gpm-mouse-enable):
10029 * term/screen.el (xterm-register-default-colors): Declare.
10031 2012-05-02 Chong Yidong <cyd@gnu.org>
10033 * cus-start.el (gc-cons-percentage, exec-suffixes)
10034 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10035 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10036 (make-cursor-line-fully-visible, void-text-area-pointer)
10037 (font-list-limit): Add customization data.
10039 * allout.el (allout-exposure-change-functions)
10040 (allout-structure-added-functions)
10041 (allout-structure-deleted-functions)
10042 (allout-structure-shifted-functions): Rename abnormal hooks from
10043 *-hook, and convert to defcustoms.
10044 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10045 Convert to defcustoms.
10046 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10048 * allout-widgets.el: Hook callers changed.
10050 2012-05-02 Eli Zaretskii <eliz@gnu.org>
10052 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10053 the yanked message in preference to the default value of
10054 buffer-file-coding-system.
10056 2012-05-02 Martin Rudalics <rudalics@gmx.at>
10058 * window.el (display-buffer--action-function-custom-type):
10061 2012-05-02 Alan Mackenzie <acm@muc.de>
10063 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10065 2012-05-01 Glenn Morris <rgm@gnu.org>
10067 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10069 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10071 * cus-edit.el (custom-variable-documentation): Simplify with format.
10073 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10074 Stefan Monnier <monnier@iro.umontreal.ca>
10076 * simple.el (suggest-key-bindings, execute-extended-command):
10077 Move from keyboard.c.
10079 2012-05-01 Chong Yidong <cyd@gnu.org>
10081 * follow.el: Eliminate advice.
10082 (set-process-filter, process-filter, sit-for): Advice deleted.
10083 (follow-mode-off-hook): Obsolete hook removed.
10084 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10086 (follow-auto): Use a :set function.
10087 (follow-mode): Rewritten. Don't advise process filters.
10088 (follow-switch-to-current-buffer-all, follow-scroll-up)
10089 (follow-scroll-down): Assume follow-mode is bound.
10090 (follow-comint-scroll-to-bottom)
10091 (follow-align-compilation-windows): New functions.
10092 (follow--window-sorter): New function.
10093 (follow-all-followers): Use it to explicitly sort windows by their
10094 positions; don't make assumptions about next-window order.
10095 (follow-windows-start-end, follow-delete-other-windows-and-split)
10096 (follow-calc-win-start): Doc fix.
10097 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10098 vertical-motion unnecessarily.
10099 (follow-adjust-window): New function.
10100 (follow-post-command-hook): Use it.
10101 (follow-call-set-process-filter, follow-call-process-filter)
10102 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10103 (follow-stop-intercept-process-output, follow-generic-filter):
10105 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
10106 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10107 New functions, replacing advice on scroll-bar-* commands.
10108 (follow-mwheel-scroll): New function (Bug#4112).
10110 * comint.el (comint-adjust-point): New function.
10111 (comint-postoutput-scroll-to-bottom): Use it.
10112 Call follow-comint-scroll-to-bottom for Follow mode buffers.
10114 2012-05-01 Glenn Morris <rgm@gnu.org>
10116 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10117 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10118 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10119 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10120 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10121 Remove no-byte-compile setting.
10123 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10125 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10126 all-completions code to not return a number in the last cdr.
10128 2012-04-30 Leo Liu <sdl.web@gmail.com>
10130 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10133 2012-04-29 Chong Yidong <cyd@gnu.org>
10135 * follow.el (follow-calc-win-end): Rewrite to handle partial
10136 screen lines correctly (Bug#8390).
10137 (follow-avoid-tail-recenter): Minor cleanup.
10139 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10141 Avoid the obsolete `assoc' package.
10142 * speedbar.el (speedbar-refresh): Avoid adelete.
10143 (speedbar-file-lists): Simplify and avoid aput.
10144 * man.el (Man--sections, Man--refpages): New vars, replacing
10145 Man-sections-alist and Man-refpages-alist.
10146 (Man-build-section-alist, Man-build-references-alist):
10147 Use them; avoid aput.
10148 (Man--last-section, Man--last-refpage): New vars.
10149 (Man-follow-manual-reference): Use them.
10150 Use the `default' arg of completing-read.
10151 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10153 2012-04-27 Chong Yidong <cyd@gnu.org>
10155 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10157 * startup.el (x-apply-session-resources): New function.
10159 * term/ns-win.el (ns-initialize-window-system):
10160 * term/w32-win.el (w32-initialize-window-system):
10161 * term/x-win.el (x-initialize-window-system): Use it to properly
10162 set menu-bar-mode and other vars from X resources, even if the
10163 initial frame is not a window-system frame (Bug#2299).
10165 * subr.el (read-key): Avoid running filter function when setting
10166 up temporary tool bar entries (Bug#9922).
10168 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10170 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10173 2012-04-27 Chong Yidong <cyd@gnu.org>
10175 * select.el (xselect--encode-string): New function, split from
10176 xselect-convert-to-string.
10177 (xselect-convert-to-string): Use it.
10178 (xselect-convert-to-filename, xselect-convert-to-os)
10179 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10180 returned strings are properly encoded (Bug#11315).
10182 2012-04-27 Chong Yidong <cyd@gnu.org>
10184 * simple.el (delete-active-region): Move to killing custom group.
10186 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10188 * progmodes/which-func.el (which-func-current): Quote %
10189 characters for mode-line processing.
10191 2012-04-27 Chong Yidong <cyd@gnu.org>
10193 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10194 reaching eob (Bug#11286).
10196 2012-04-27 Eli Zaretskii <eliz@gnu.org>
10198 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10199 (gdb): Make it buffer-local and init to zero.
10200 (gdb-control-commands-regexp): New variable.
10201 (gdb-send): Don't wrap in "-interpreter-exec console" if
10202 gdb-control-level is positive. Increment gdb-control-level
10203 whenever the command matches gdb-control-commands-regexp, and
10204 decrement it each time the command is "end". (Bug#11279)
10206 2012-04-27 Martin Rudalics <rudalics@gmx.at>
10208 * window.el (adjust-window-trailing-edge, enlarge-window)
10209 (shrink-window, window-resize):
10210 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10211 windows (Bug#11276).
10213 2012-04-27 Chong Yidong <cyd@gnu.org>
10215 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
10216 fix "missing prefix" warning. All callers changed.
10218 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10220 * emacs-lisp/assoc.el: Move to obsolete/.
10222 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10224 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
10226 * term/ns-win.el (ns-define-service):
10227 * progmodes/pascal.el (pascal-goto-defun):
10228 * progmodes/js.el (js--read-tab):
10229 * progmodes/etags.el (tags-lazy-completion-table):
10230 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10231 * emacs-lisp/ewoc.el (ewoc--wrap):
10232 * emacs-lisp/assoc.el (aput, adelete, amake):
10233 * doc-view.el (doc-view-convert-current-doc):
10234 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10236 2012-04-26 Chong Yidong <cyd@gnu.org>
10238 * image.el (image-type-from-buffer): Only return supported image
10241 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10242 value, for symmetry with diff-end-of-hunk.
10243 (diff-split-hunk, diff-find-source-location)
10244 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10245 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10246 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10247 compute the relevant hunk or file properly (Bug#6005).
10248 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10250 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10259 * vc/vc.el: Replace lexical-let by lexical-binding.
10260 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10261 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10262 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10264 2012-04-26 Chong Yidong <cyd@gnu.org>
10266 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10267 (diff-mode-shared-map): Bind it to / and [remap undo].
10269 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10270 (ediff-window-setup-function): Use it as the default, to set up
10271 windows based on whether the current frame is graphical (Bug#2138).
10272 (ediff-choose-window-setup-function-automatically): Make obsolete.
10274 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10276 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10278 * ffap.el: Remove old code for obsolete package.
10279 (ffap-complete-as-file-p): Remove.
10281 Use completion-table-with-quoting for comint and pcomplete.
10282 * comint.el (comint--unquote&requote-argument)
10283 (comint--unquote-argument, comint--requote-argument): New functions.
10284 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10285 (comint-quote-filename): Use regexp-opt-charset.
10286 (comint--common-suffix, comint--common-quoted-suffix)
10287 (comint--table-subvert): Remove.
10288 (comint-unquote-function, comint-requote-function): New vars.
10289 (comint--complete-file-name-data): Use them with
10290 completion-table-with-quoting.
10291 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10292 * pcomplete.el (pcomplete-arg-quote-list)
10293 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10294 (pcomplete-unquote-argument-function): Default to non-nil.
10295 (pcomplete-unquote-argument): Simplify.
10296 (pcomplete--common-quoted-suffix): Remove.
10297 (pcomplete-requote-argument-function): New var.
10298 (pcomplete--common-suffix): New function.
10299 (pcomplete-completions-at-point): Use completion-table-with-quoting
10300 and completion-table-subvert.
10302 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10303 (minibuffer--double-dollars): Preserve properties.
10304 (completion--sifn-requote): New function.
10305 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10307 * minibuffer.el: Add support for completion of quoted/escaped data.
10308 (completion-table-with-quoting, completion-table-subvert): New funs.
10309 (completion--twq-try, completion--twq-all): New functions.
10310 (completion--nth-completion): New function.
10311 (completion-try-completion, completion-all-completions): Use it.
10313 2012-04-25 Leo Liu <sdl.web@gmail.com>
10315 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10316 Use compilation-message if available to find real filename.
10318 2012-04-25 Chong Yidong <cyd@gnu.org>
10320 * vc/diff-mode.el (diff-setup-whitespace): New function.
10321 (diff-mode): Use it.
10323 * vc/diff.el (diff-sentinel):
10324 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10325 Whitespace mode variables based on diff style (Bug#8612).
10327 2012-04-25 Leo Liu <sdl.web@gmail.com>
10329 * progmodes/python.el (python-send-region): Add suffix .py to the
10332 * files.el (auto-mode-alist): Use javascript-mode instead.
10334 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10336 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
10338 * net/soap-client.el (soap-resolve-references-for-sequence-type)
10339 (soap-resolve-references-for-array-type): Hack to prevent self
10340 references, see Bug#9.
10341 (soap-parse-envelope): Report the contents of the 'detail' node
10342 when receiving a fault reply.
10343 (soap-parse-envelope): Report the contents of the entire 'detail' node.
10345 * net/soap-inspect.el (soap-sample-value-for-simple-type)
10346 (soap-inspect-simple-type): New function.
10348 * net/soap-client.el (soap-simple-type): New struct.
10349 (soap-default-xsd-types, soap-default-soapenc-types)
10350 (soap-decode-basic-type, soap-encode-basic-type):
10351 support unsignedInt and double basic types.
10352 (soap-resolve-references-for-simple-type)
10353 (soap-parse-simple-type, soap-encode-simple-type): New function.
10354 (soap-parse-schema): Parse xsd:simpleType declarations.
10356 * net/soap-client.el (soap-default-xsd-types)
10357 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10358 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10359 the local name of "soapenc:Array".
10360 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
10361 decoding integer, byte and anyURI xsd types.
10363 2012-04-25 Chong Yidong <cyd@gnu.org>
10365 * cus-edit.el (custom-buffer-create-internal): Update header text.
10367 2012-04-25 Eli Zaretskii <eliz@gnu.org>
10369 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10370 settings on 'system-type', not on 'window-system'. On MS-Windows,
10371 set interactive-mode on in GDB.
10373 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10375 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10376 (ruby-syntax-propertize-regexp): Remove.
10377 (ruby-syntax-propertize-function): Split regexp into chunks.
10378 Match following code directly.
10380 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10382 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10383 (ruby-syntax-propertize-regexp): New function.
10384 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10385 by a special keyword.
10387 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10388 (ruby-syntax-general-delimiters-goto-beg)
10389 (ruby-syntax-propertize-general-delimiters): New functions.
10390 (ruby-syntax-propertize-function): Use them to handle GDL.
10391 (ruby-font-lock-keywords): Move old handling of GDL...
10392 (ruby-font-lock-syntactic-keywords): .. to here.
10393 (ruby-calculate-indent): Adjust indentation for GDL.
10395 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
10397 * notifications.el (top): Remove unneeded declarations.
10398 (notifications-specification-version): Change to "1.2".
10399 (notifications-interface, notifications-notify-method)
10400 (notifications-close-notification-method): Fix docstring.
10401 (notifications-get-capabilities-method): New defconst.
10402 (notifications-notify): Add :action-items, :resident and
10403 :transient hints. Change "image_data" to "image-data" and
10404 "image_path" to "image-path".
10405 (notifications-get-capabilities): New defun.
10407 2012-04-24 Leo Liu <sdl.web@gmail.com>
10409 * progmodes/python.el: Move hideshow setup to the end.
10411 2012-04-24 Martin Rudalics <rudalics@gmx.at>
10413 * window.el (handle-select-window): Clear echo area since this is
10414 no more done by read_char (Bug#11304).
10416 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10418 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10419 and `/ M' to filter-derived-mode.
10420 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10421 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10422 (ibuffer-mark-by-mode): Use default rather than initial-input.
10423 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10425 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10427 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10428 (ibuffer-filter-by-derived-mode): New filter.
10429 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10431 2012-04-23 Andreas Politz <politza@fh-trier.de>
10433 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10435 2012-04-23 Chong Yidong <cyd@gnu.org>
10437 * cus-edit.el (customize-apropos, customize-apropos-options):
10438 Disable matching of non-option variables (Bug#11176).
10439 (customize-option, customize-option-other-window)
10440 (customize-changed-options): Doc fix.
10441 (customize-apropos-options, customize-apropos-faces)
10442 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10444 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
10445 Fix word list splitting (Bug#11132).
10446 (apropos-symbol, apropos-keybinding, apropos-label)
10447 (apropos-property, apropos-function-button)
10448 (apropos-variable-button, apropos-misc-button): New faces.
10449 (apropos-symbol-face, apropos-keybinding-face)
10450 (apropos-label-face, apropos-property-face, apropos-match-face):
10451 Variables removed (Bug#8396).
10452 (apropos-library-button, apropos-format-plist, apropos-print)
10453 (apropos-print-doc, apropos-describe-plist): Callers changed.
10455 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
10457 * net/xesam.el (xesam-mode-map): Use let-bound map in
10458 initialization. (Bug#11292)
10460 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10462 Preserve ispell session localwords when switching back to
10465 * textmodes/ispell.el (ispell-buffer-session-localwords):
10466 New buffer-local variable to hold buffer session localwords.
10467 (ispell-kill-ispell): Add option 'clear to delete session
10469 (ispell-command-loop, ispell-change-dictionary)
10470 (ispell-buffer-local-words): Preserve session localwords when
10473 * textmodes/flyspell.el (flyspell-process-localwords)
10474 (flyspell-do-correct): Preserve session localwords when needed.
10476 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10478 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10479 using obsolete `translation-table-for-input'.
10480 (ispell-word, ispell-process-line, ispell-complete-word):
10481 Use plain `insert' instead of removed `ispell-insert-word'.
10483 2012-04-22 Chong Yidong <cyd@gnu.org>
10485 * cus-edit.el (custom-variable-menu)
10486 (custom-variable-reset-saved, custom-face-menu)
10487 (custom-face-reset-saved): If there is no saved value, make the
10488 "reset-saved" operation bring back the default (Bug#9509).
10489 (custom-face-state): Properly detect themed faces.
10491 * faces.el (face-spec-set): Stop supporting deprecated form of
10494 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
10496 Move functions from C to Lisp. Make non-blocking method calls
10497 the default. Implement further D-Bus standard interfaces.
10499 * net/dbus.el (dbus-message-internal): Declare function.
10500 Remove unneeded function declarations.
10501 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10502 (dbus-message-type-method-return, dbus-message-type-error)
10503 (dbus-message-type-signal): Declare variables. Remove local
10505 (dbus-interface-dbus, dbus-interface-peer)
10506 (dbus-interface-introspectable, dbus-interface-properties)
10507 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10509 (dbus-interface-objectmanager): New defconst.
10510 (dbus-call-method, dbus-call-method-asynchronously)
10511 (dbus-send-signal, dbus-method-return-internal)
10512 (dbus-method-error-internal, dbus-register-service)
10513 (dbus-register-signal, dbus-register-method): New defuns, moved
10515 (dbus-call-method-handler, dbus-setenv)
10516 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10518 (dbus-call-method-non-blocking): Make it an obsolete function.
10519 (dbus-unregister-object, dbus-unregister-service)
10520 (dbus-handle-event, dbus-register-property)
10521 (dbus-property-handler): Obey the new structure of
10522 `bus-registered-objects'.
10523 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10524 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10525 Use `dbus-call-method'.
10527 2012-04-22 Chong Yidong <cyd@gnu.org>
10529 * cus-edit.el (custom-commands, custom-reset-menu)
10530 (Custom-reset-standard): Tweak labels.
10531 (custom-reset-button-menu): Change default to t.
10532 (custom-buffer-create-internal): For the custom-reset-button-menu
10533 case, put the revert button first.
10534 (custom-group-subtitle): New face.
10535 (custom-group-value-create): Align docstring to a specific column.
10537 * wid-edit.el (widget-documentation-link-add): Don't handle
10538 indentation in this function.
10539 (widget-documentation-string-indent-to): New function.
10540 (widget-documentation-string-value-create): Use it.
10542 * autorevert.el (auto-revert):
10543 * epg-config.el (epg):
10544 * ibuffer.el (ibuffer):
10547 * eshell/eshell.el (eshell):
10548 * net/ange-ftp.el (ange-ftp):
10549 * progmodes/ebnf2ps.el (postscript):
10550 * progmodes/flymake.el (flymake):
10551 * progmodes/prolog.el (prolog):
10552 * progmodes/verilog-mode.el (verilog-mode):
10553 * progmodes/which-func.el (which-func):
10554 * term/xterm.el (xterm):
10555 * textmodes/picture.el (picture):
10556 * textmodes/tildify.el (tildify):
10557 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10558 customization buffers.
10560 2012-04-22 Alan Mackenzie <acm@muc.de>
10562 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10563 Adding a ) can hide the resulting (..) from searches. Fix it.
10564 Bound the backward search to the position of the existing (.
10566 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
10568 * progmodes/verilog-mode.el (verilog-mode): Check whether
10569 which-func-modes is t before adding verilog-mode.
10570 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10572 2012-04-21 Leo Liu <sdl.web@gmail.com>
10574 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
10576 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10578 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10579 filling of the last column of a table (Bug#5635).
10580 (woman-find-next-control-line): New arg, specifying an additional
10581 regexp component for the control line.
10582 (woman2-roff-buffer): Use it.
10583 (woman-break-table): New function.
10584 (woman2-TS): Use it.
10586 2012-04-21 Chong Yidong <cyd@gnu.org>
10588 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10589 (woman-horizontal-escapes, woman-negative-vertical-space)
10590 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10591 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10593 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10595 * minibuffer.el (completion-file-name-table): Complete user names.
10597 2012-04-20 Leo Liu <sdl.web@gmail.com>
10599 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10602 2012-04-20 Chong Yidong <cyd@gnu.org>
10604 * server.el (server-execute): Respect initial-buffer-choice if it
10605 is a string and there are no files to open (Bug#2825).
10606 (server-create-window-system-frame, server-create-tty-frame):
10607 Don't switch buffers here.
10608 (server-process-filter): Only try to open a window system frame if
10609 compiled with graphical support (Bug#8314).
10611 2012-04-20 Dan Nicolaescu <dann@gnu.org>
10613 * battery.el (battery-echo-area-format): Display remaining time
10614 for sysfs backend too (Bug#11269).
10615 (battery-linux-sysfs): Fix conditional for the charge.
10617 2012-04-20 Chong Yidong <cyd@gnu.org>
10619 * progmodes/gdb-mi.el (gdb): Revert previous change.
10620 (gdb-inferior-io--init-proc): New function.
10621 (gdb-init-1): Use it.
10622 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10623 responsible for allocating a new pty and hooking it to gdb when
10624 the old pty gets an EIO due to process exit.
10625 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10626 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10627 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10629 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10631 * window.el (window-min-size, window-sizable, window-min-delta)
10632 (window-max-delta, window--resizable, window-resizable)
10633 (window-total-size, window-full-height-p, window-full-width-p)
10634 (window-in-direction, window--resize-mini-window, window-resize)
10635 (window--resize-child-windows-normal)
10636 (window--resize-child-windows, window--resize-siblings)
10637 (window--resize-this-window, adjust-window-trailing-edge)
10638 (enlarge-window, shrink-window): Doc fixes.
10640 2012-04-20 Chong Yidong <cyd@gnu.org>
10642 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10643 New function to call delete-process on the gdb-inferior buffer's pty.
10644 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10645 pty process (Bug#11273).
10646 (gdb-update): New arg to suppress talking to the gdb process.
10647 (gdb-done-or-error): Use it.
10648 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10649 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10650 sentinel not being called.
10652 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10654 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10656 2012-04-20 Glenn Morris <rgm@gnu.org>
10658 * net/network-stream.el (open-network-stream): Doc fix.
10660 2012-04-20 Chong Yidong <cyd@gnu.org>
10662 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10664 2012-04-20 Alan Mackenzie <acm@muc.de>
10666 Ensure searching for keywords is case sensitive.
10668 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10669 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10670 (c-defun-name, c-mark-function, c-cpp-define-name)
10671 (c-comment-indent, c-scan-conditionals, c-indent-defun)
10672 (c-context-line-break): Bind case-fold-search to nil.
10674 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10675 Bind case-fold-search to nil.
10677 2012-04-20 Chong Yidong <cyd@gnu.org>
10679 * mail/sendmail.el (mail-bury): Call return action with the right
10680 Rmail buffer (Bug#11242).
10682 * server.el (server-process-filter): Handle corner case where both
10683 tty and nowait options are present (Bug#11102).
10685 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10687 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
10688 (top level): Put into the executable the ident-style '$Id:' tag on
10689 windows-nt as well.
10691 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10693 * electric.el (electric-indent-post-self-insert-function): Check that
10694 electric-indent-mode is enabled in current buffer.
10696 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10698 * imenu.el (imenu-progress-message): Restore; it is "used" in
10699 erc/erc-imenu.el and net/snmp-mode.el.
10701 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10703 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10704 (mouse-avoidance-nudge-mouse): Remove unused binding.
10706 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10708 * descr-text.el (describe-char):
10709 * progmodes/python.el (python-describe-symbol):
10710 Don't call `toggle-read-only', set `buffer-read-only'.
10712 * imenu.el (imenu-default-goto-function): Mark unused args.
10713 (imenu-progress-message): Remove obsolete macro; all callers changed.
10715 * subr.el (keymap-canonicalize): Remove unused binding.
10716 (read-passwd): Mark unused arg.
10718 * tutorial.el (tutorial--display-changes): Remove unused binding.
10719 (tutorial--save-tutorial-to): Remove unused variable.
10721 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10722 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10723 (package-generate-autoloads, package-menu--generate)
10724 (package-menu--find-upgrades): Remove unused bindings.
10726 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10727 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10728 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10729 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10730 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10731 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10732 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10733 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10734 (cua-delete-char-rectangle): Mark unused args.
10735 (cua-align-rectangle): Remove unused binding.
10737 * mail/rmail.el (compilation--message->loc)
10738 (epa--find-coding-system-for-mime-charset): Declare.
10740 * net/dbus.el (dbus-register-service): Declare.
10741 (dbus-name-owner-changed-handler): Remove unused binding.
10743 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10744 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10745 (nxml-scan-backward-within): Mark unused arg.
10746 (nxml-dynamic-markup-word): Remove unused binding.
10748 * mouse.el (mouse-menu-major-mode-map):
10749 * emacs-lisp/authors.el (authors-scan-change-log)
10750 (authors-add-to-author-list):
10751 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10752 * emacs-lisp/smie.el (smie-auto-fill):
10753 * mail/sendmail.el (mail-bury):
10754 * mail/unrmail.el (unrmail):
10755 * net/tls.el (open-tls-stream):
10756 * textmodes/picture.el (picture-mouse-set-point):
10757 Remove unused bindings.
10759 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
10761 * net/tramp.el (tramp-action-password): Let-bind
10762 `enable-recursive-minibuffers' to t.
10764 2012-04-18 Sam Steingold <sds@gnu.org>
10766 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10767 instead of 'string to accommodate values like [f11].
10768 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10769 * progmodes/gdb-mi.el: Likewise.
10771 2012-04-18 Leo Liu <sdl.web@gmail.com>
10773 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10775 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10778 2012-04-18 Chong Yidong <cyd@gnu.org>
10780 * simple.el (line-move): Use forward-line if in batch mode
10783 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10785 * files.el (after-find-file): Do not try to add a final newline if
10786 the buffer is read-only (Bug#11156).
10788 2012-04-17 Richard Stallman <rms@gnu.org>
10790 * mail/rmail.el (rmail-start-mail):
10791 Pass (rmail-mail-return...) for the return-action.
10792 Pass (rmail-yank-current-message...) for the yank-action.
10793 (rmail-yank-current-message): New function.
10794 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10795 (rmail-reply): Likewise.
10796 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10798 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
10799 buffer, not the last. Reject temp buffers. Use the rmail-mode
10800 buffer, not newbuf.
10802 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
10804 * server.el (server-ensure-safe-dir): Simplify.
10806 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10808 * emacs-lisp/smie.el: Provide smarter auto-filling.
10809 (smie-auto-fill): New function.
10810 (smie-setup): Use it.
10812 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10814 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
10816 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10817 (comment-indent): Use it.
10819 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
10821 * ses.el: The overall change is to add cell renaming, that is
10822 setting fancy names for cell symbols other than name matching
10823 "\\`[A-Z]+[0-9]+\\'" regexp .
10824 (ses-localvars): Add ses--renamed-cell-symb-list.
10825 (ses-create-cell-variable): New defun.
10826 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
10827 (ses-relocate-formula): Relocate formulas only for cells the
10828 symbols of which are not renamed, i.e. symbols whose names do not
10829 match regexp "\\`[A-Z]+[0-9]+\\'".
10830 (ses-relocate-all): Relocate values only for cells the symbols of
10831 which are not renamed.
10832 (ses-load): Create cells variables as the (ses-cell ...) are read,
10833 in order to check row col consistency with cell symbol name only
10834 for cells that are not renamed.
10835 (ses-replace-name-in-formula): New defun.
10836 (ses-rename-cell): New defun.
10838 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10840 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10841 New option (bug#11118).
10842 (perl-calculate-indent): Respect it.
10844 2012-04-17 Glenn Morris <rgm@gnu.org>
10846 * dired-aux.el (dired-mark-read-string): Doc fix.
10848 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10850 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10851 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10853 2012-04-17 Glenn Morris <rgm@gnu.org>
10855 * mouse.el (mouse-drag-track):
10856 * speedbar.el (speedbar-frame-mode):
10857 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10859 2012-04-16 Leo Liu <sdl.web@gmail.com>
10861 * progmodes/python.el: Trivial cleanup.
10863 2012-04-16 Glenn Morris <rgm@gnu.org>
10865 * vc/vc.el (vc-string-prefix-p):
10866 * vc/pcvs-util.el (cvs-string-prefix-p):
10867 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10868 * mpc.el (mpc-string-prefix-p):
10869 Make all of these into obsolete aliases for string-prefix-p.
10871 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10873 * textmodes/two-column.el: Move custom options to the start.
10874 (frame-width): Remove compat definition.
10875 (2C-associate-buffer, 2C-dissociate):
10876 Use with-current-buffer rather than save-excursion.
10877 (2C-dissociate): Force a mode-line update.
10878 (2C-autoscroll): Use ignore-errors.
10880 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10883 * emacs-lisp/cl-extra.el (*random-state*):
10884 Remove unnecessary declaration.
10886 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10888 * play/cookie1.el (cookie-snarf):
10889 Give an explicit error if input file cannot be read.
10891 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10893 * progmodes/perl-mode.el (c-macro-expand):
10894 Remove unnecessary autoload (it is in loaddefs.el).
10896 * textmodes/picture.el (picture-desired-column)
10897 (picture-update-desired-column): Convert comments to doc-strings.
10898 (picture-substitute): Remove function.
10899 (picture-mode-map): Initialize in the defvar.
10901 * woman.el: Remove eval-after-load for tar-mode.
10902 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10903 (woman-tar-extract-file): Autoload it.
10905 * frame.el (automatic-hscrolling): Make this alias obsolete.
10907 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10909 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10910 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10911 (ispell-dictionary-base-alist): Revert to original XEmacs
10912 friendly version for default. [:alpha:] will be added in
10913 `ispell-set-spellchecker-params' if needed.
10915 2012-04-16 Chong Yidong <cyd@gnu.org>
10917 * image.el (imagemagick--file-regexp): New variable.
10918 (imagemagick-register-types): Use it.
10919 (imagemagick-types-inhibit): Add :set function. Allow new value
10920 of t to inhibit all types.
10922 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10923 so we can preload it.
10925 * loadup.el (fboundp): Preload regexp-opt, needed by
10926 imagemagick-register-types.
10928 2012-04-15 Chong Yidong <cyd@gnu.org>
10930 * frame.el (scrolling): Remove nearly unused customization group.
10932 * scroll-all.el (scroll-all-mode): Move to windows group.
10934 2012-04-15 Chong Yidong <cyd@gnu.org>
10936 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10938 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10940 Avoid the use of ((lambda ...) ...) in lexical-binding code.
10941 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10943 2012-04-15 Glenn Morris <rgm@gnu.org>
10945 * simple.el (process-file-side-effects): Doc fix.
10947 2012-04-15 Glenn Morris <rgm@gnu.org>
10949 * international/mule-cmds.el (set-language-environment): Doc fix.
10951 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10953 * server.el (server-auth-key, server-generate-key): Doc fixes.
10954 (server-get-auth-key): Doc fix. Use `string-match-p'.
10955 (server-start): Reflow docstring.
10957 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10959 * server.el (server-generate-key): `called-interactively-p'
10960 requires a parameter.
10962 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
10964 * server.el (server-auth-key): New variable.
10965 (server-generate-key, server-get-auth-key): New function.
10966 (server-start): Use the new variable and functions to allow
10967 setting a permanent server key (bug#9423).
10969 2012-04-14 Leo Liu <sdl.web@gmail.com>
10971 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10973 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10976 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10977 Emacs uses American spelling.
10979 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10981 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10982 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10983 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10984 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10986 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10988 * progmodes/which-func.el (which-func-modes): Change default.
10990 2012-04-14 Kim F. Storm <storm@cua.dk>
10992 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10993 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10995 2012-04-14 Chong Yidong <cyd@gnu.org>
10997 * custom.el (custom-theme-set-variables): Doc fix.
10999 2012-04-14 Glenn Morris <rgm@gnu.org>
11001 * international/mule.el (set-auto-coding-for-load): Doc fix.
11003 2012-04-14 Alan Mackenzie <acm@muc.de>
11005 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11006 imenu work again for Objective C Mode. Correct the *-index values,
11007 these having been disturbed by a previous change in 2011-08.
11009 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11010 Correct two search limits.
11012 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11014 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11016 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
11018 * international/characters.el: Fix sorting.
11020 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11022 * international/characters.el: Add more missing Latin case pairs.
11024 2012-04-14 Glenn Morris <rgm@gnu.org>
11026 * files.el (dir-locals-set-class-variables): Doc fix.
11028 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11030 * international/characters.el: Add set-case-syntax-pair call for
11031 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11032 counterpart. (Bug#11209)
11034 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11036 2012-04-14 Glenn Morris <rgm@gnu.org>
11038 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11040 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11042 * textmodes/ispell.el (ispell-dictionary-base-alist):
11043 Add data for Hebrew.
11045 2012-04-14 Chong Yidong <cyd@gnu.org>
11047 * net/rcirc.el (rcirc-cmd-quit):
11048 Revert 2012-03-18 change (Bug#11192).
11050 2012-04-14 Glenn Morris <rgm@gnu.org>
11052 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11054 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11056 * minibuffer.el (completion-in-region-mode-map):
11057 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
11059 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11061 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11063 2012-04-13 Masatake YAMATO <yamato@redhat.com>
11065 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11066 to allow `C-M-f' and `C-M-b' to move to the nearest path
11067 separator (bug#9511).
11069 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11071 * avoid.el: Require cl when compiling. And also move the
11072 `provide' to the end.
11074 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11076 * avoid.el (mouse-avoidance-banish-position): New variable.
11077 (mouse-avoidance-banish-destination): Use it (bug#10165).
11079 2012-04-13 Leo Liu <sdl.web@gmail.com>
11081 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11083 2012-04-13 Ken Brown <kbrown@cornell.edu>
11085 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
11086 this is no longer needed now that cygstart understands file:// URLs.
11087 (browse-url-filename-alist): For the same reason, don't modify
11088 file:// URLs on Cygwin.
11090 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11092 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11093 the region on shift if the binding is already shifted (bug#11221).
11095 2012-04-12 Glenn Morris <rgm@gnu.org>
11097 * mail/mailpost.el: Move to obsolete/.
11099 2012-04-12 Drew Adams <drew.adams@oracle.com>
11101 * imenu.el (imenu--generic-function): Ignore invisible definitions
11104 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11106 * hexl.el (hexl-bits): New variable.
11107 (hexl-options): Mention the variable in the doc string.
11108 (hexl-rulerise, hexl-line-displen): New functions.
11109 (hexl-mode): Mention the new variable.
11110 (hexl-mode, hexl-current-address, hexl-current-address):
11112 (hexl-ascii-start-column): New function.
11113 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11114 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11116 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11118 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11119 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11120 the encoding, as expected by hunspell.
11122 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11124 * battery.el (battery--linux-sysfs-regexp): New const.
11125 (battery-status-function): Use it. Remove yeeloong special case.
11126 (battery-yeeloong-sysfs): Remove.
11127 (battery-echo-area-format): Remove yeeloong special case.
11129 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11131 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11132 Reported by Noah Friedman.
11134 * subr.el (read-passwd): Use read-string.
11136 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11138 * vcursor.el (vcursor-move): Increase the priority of the overlay
11141 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11143 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11144 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11146 2012-04-11 William Stevenson <yhvh2000@gmail.com>
11148 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11149 define-minor-mode (bug#10760).
11151 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11153 * progmodes/grep.el (rgrep): Tweak the find command line so
11154 that directories matching `grep-find-ignored-files' won't be
11155 pruned (bug#10351).
11157 2012-04-11 Chong Yidong <cyd@gnu.org>
11159 * startup.el (command-line): Remove support for long-obsolete
11160 variable font-lock-face-attributes.
11162 2012-04-11 Glenn Morris <rgm@gnu.org>
11164 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11166 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11168 * window.el (window--state-get-1): Obey window-point-insertion-type.
11170 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11172 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11173 to previous function when point is on the first character of a
11174 function. Take care of that in `narrow-to-defun' (bug#6157).
11176 2012-04-11 Glenn Morris <rgm@gnu.org>
11178 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11179 not just file-errors.
11181 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11182 (vc-bzr-sha1): Use internal sha1.
11184 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11186 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11188 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11190 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11191 that start in the middle of the line (bug#10496).
11193 2012-04-10 Dan Nicolaescu <dann@gnu.org>
11195 * battery.el (battery-linux-proc-acpi): Only one battery is
11196 discharged at a time, but that seems to confuse battery.el when
11197 computing `rate-type' for the battery not being discharged
11200 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11202 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11204 * international/quail.el: Use dolist and simplify.
11205 (quail-define-package, quail-update-keyboard-layout)
11206 (quail-define-rules): Use dolist.
11207 (quail-insert-kbd-layout, quail-get-translation): CSE.
11209 * tmm.el: Use dolist, remove left over hook.
11210 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11212 (calendar-load-hook): Don't mess with it.
11214 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11215 Use derived-mode-p. Run the diff asynchronously.
11217 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11219 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11221 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
11223 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11224 (list-dynamic-libraries--loaded): New function.
11225 (list-dynamic-libraries--refresh): Use it.
11227 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
11229 * progmodes/python.el (python-fill-paragraph):
11230 Make python-fill-region in a multiline string work when font-lock is
11231 disabled (bug#7018).
11233 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11235 * language/european.el (cp775): Add oem/legacy (en)coding on
11236 DOS/MS Windows for the Baltic languages. There are still plenty
11237 of texts written in this encoding/codepage (bug#6519).
11239 2012-04-10 Glenn Morris <rgm@gnu.org>
11241 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11242 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11244 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11246 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
11247 next-line "n" and previous-line "p" in order to make recentf more
11248 consistent with ibuffer, dired or org-mode (bug#9387).
11250 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11252 * image.el (put-image): Return the overlay created instead of the
11253 optional input string (bug#7834). Note that this may break code
11254 that is (for some reason or other) depending on `put-image'
11255 returning the string.
11257 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11259 * simple.el (zap-to-char): Allow zapping using input methods
11262 * textmodes/fill.el (fill-region): Leave point and mark where they
11263 were before filling (bug#5399).
11265 2012-04-09 Glenn Morris <rgm@gnu.org>
11267 * version.el (emacs-bzr-get-version):
11268 Handle lightweight checkouts of local branches.
11270 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11272 * international/characters.el: Recover lost case pairs. (Bug#11209)
11274 2012-04-09 Chong Yidong <cyd@gnu.org>
11276 * custom.el (custom-variable-p): Return nil for non-symbol
11277 arguments instead of signaling an error.
11278 (user-variable-p): Obsolete alias for custom-variable-p.
11280 * apropos.el (apropos-variable):
11281 * files-x.el (read-file-local-variable):
11282 * simple.el (set-variable):
11283 * woman.el (woman-mini-help):
11284 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11286 2012-04-09 Glenn Morris <rgm@gnu.org>
11288 * startup.el (normal-top-level): Don't look for leim-list.el
11289 in places where it will not be found. (Bug#910)
11291 * international/mule-cmds.el (set-default-coding-systems):
11292 * files.el (normal-mode):
11293 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11294 This function was removed with ucs-tables.el in 2008.
11296 2012-04-08 Eli Zaretskii <eliz@gnu.org>
11298 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11299 ispell-encoding8-command to "-i", without a trailing space.
11300 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11301 separate command-line arguments, to specify the encoding, since
11302 that's how hunspell expects it.
11304 2012-04-08 Glenn Morris <rgm@gnu.org>
11306 * loadup.el: Load bindings before cus-start.
11307 This reduces somewhat the number of "rogue" settings in emacs -Q.
11309 2012-04-07 Glenn Morris <rgm@gnu.org>
11311 * version.el (emacs-bzr-get-version): New function.
11312 (emacs-bzr-version): New variable.
11313 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11314 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11316 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11318 * international/uni-bidi.el, international/uni-category.el:
11319 * international/uni-combining.el, international/uni-decimal.el:
11320 * international/uni-decomposition.el, international/uni-digit.el:
11321 * international/uni-lowercase.el, international/uni-mirrored.el:
11322 * international/uni-name.el, international/uni-numeric.el:
11323 * international/uni-titlecase.el, international/uni-uppercase.el:
11324 Update for Unicode 6.1.
11326 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11328 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11330 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11332 * window.el (shrink-window): Mention the `window-min-height'
11333 variable in the doc string.
11335 2012-04-05 Bastien Guerry <bzg@altern.org>
11337 * color.el (color-lighten-name): Fix typo.
11339 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11341 * server.el (server--on-display-p): New function.
11342 (server--on-display-p): Use it.
11344 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11346 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11349 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11351 * comint.el (comint--common-quoted-suffix): Check string boundary
11352 before comparing (bug#11158).
11353 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11355 2012-04-04 Chong Yidong <cyd@gnu.org>
11357 * minibuffer.el (completion-extra-properties): Doc fix.
11359 * subr.el (delayed-warnings-hook): Doc fix.
11361 2012-04-04 Daiki Ueno <ueno@unixuser.org>
11363 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11364 selection (Bug#11159).
11365 (epa-insert-keys): Inform that the default public key will be
11366 exported if no key is selected.
11368 2012-04-04 Richard Stallman <rms@gnu.org>
11370 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11372 2012-04-03 Chong Yidong <cyd@gnu.org>
11374 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11375 mail-insert-file, not its obsolete alias mail-attach-file.
11377 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
11379 * notifications.el (notifications-notify): Fix docstring.
11381 2012-04-02 Glenn Morris <rgm@gnu.org>
11383 * emacs-lisp/authors.el (authors-aliases): Another addition.
11385 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
11387 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11388 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11389 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11391 2012-04-01 Chong Yidong <cyd@gnu.org>
11393 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11394 Handle root directory properly.
11395 (copy-directory): Caller changed.
11397 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11398 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11400 2012-03-31 Glenn Morris <rgm@gnu.org>
11402 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11404 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11406 * calendar/calendar.el (calendar-window-list)
11407 (calendar-hide-window): Restore. (Bug#11140)
11408 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11410 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11412 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11414 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11415 Check if file is a symlink (Bug#10489).
11417 * files.el (copy-directory): Likewise.
11419 2012-03-30 Chong Yidong <cyd@gnu.org>
11421 * image.el (imagemagick-types-inhibit)
11422 (imagemagick-register-types): Doc fix.
11424 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11426 * textmodes/ispell.el (ispell-get-extended-character-mode):
11427 Disable extended-char-mode for hunspell. hunspell does not support it
11428 and treats ~word as ordinary words in pipe mode.
11430 2012-03-30 Glenn Morris <rgm@gnu.org>
11432 * tutorial.el (help-with-tutorial): Ensure local variables don't
11433 happen to make the buffer read-only. (Bug#11127)
11435 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11437 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11438 (perl-calculate-indent): Return `noindent' in strings.
11440 2012-03-28 Sam Steingold <sds@gnu.org>
11442 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11443 instead of the broken adhockery which does not prevent calendar
11444 buffers from being displayed at random after exit.
11445 (calendar-window-list, calendar-hide-window): Remove the broken
11448 2012-03-28 Glenn Morris <rgm@gnu.org>
11450 * replace.el (query-replace-map): Doc fix.
11452 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11454 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11455 contents. (Bug#11109)
11457 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11459 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11461 (avl-tree--check, avl-tree--check-node): New funs.
11463 2012-03-27 Martin Rudalics <rudalics@gmx.at>
11465 * window.el (switch-to-visible-buffer): New option.
11466 (switch-to-prev-buffer, switch-to-next-buffer):
11467 Observe switch-to-visible-buffer. Make sure that checking for a window
11468 showing a buffer already is done on the same frame.
11470 2012-03-27 Glenn Morris <rgm@gnu.org>
11472 * startup.el (mail-host-address): Doc fix.
11474 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11476 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11477 than 197 variables.
11479 2012-03-26 Ami Fischman <ami@fischman.org>
11481 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11483 2012-03-26 Glenn Morris <rgm@gnu.org>
11485 * files.el (save-buffers-kill-emacs): Doc fix.
11487 * startup.el (normal-top-level, command-line, command-line-1):
11488 Give them doc strings.
11490 2012-03-25 Eli Zaretskii <eliz@gnu.org>
11492 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
11493 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
11495 2012-03-25 Chong Yidong <cyd@gnu.org>
11497 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11498 theme if it was previously enabled before (Bug#11031).
11500 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11501 spec with custom-face-get-current-spec if its :shown-value is not
11502 determined yet (Bug#9337).
11503 (customize-create-theme, custom-theme-revert): Doc fixes.
11505 * button.el (button-at): Minor addition to docstring.
11507 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
11509 * vc/vc.el (vc-merge): Fix a prompt.
11511 2012-03-24 Chong Yidong <cyd@gnu.org>
11513 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11516 * button.el (button-at): Minor addition to docstring.
11518 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11520 * newcomment.el (comment-choose-indent): No space after BOL.
11522 2012-03-22 Sam Steingold <sds@gnu.org>
11524 * window.el (switch-to-prev-buffer): Revert last patch because the
11525 bug turned out to be an advertised feature (Elisp manual 28.14).
11527 2012-03-22 Glenn Morris <rgm@gnu.org>
11529 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11530 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11532 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11534 * net/network-stream.el (network-stream-open-starttls): Make error
11535 message under Windows be less misleading.
11537 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11539 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11540 understands (bug#9942).
11542 2012-03-22 Chong Yidong <cyd@gnu.org>
11544 * simple.el (end-of-visible-line): Handle return value of
11545 next-single-property-change properly (Bug#9371).
11547 2012-03-22 Kenichi Handa <handa@m17n.org>
11549 * international/quail.el (quail-insert-kbd-layout): Fix previous
11550 change. To avoid unwanted bidi reordering, use
11551 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11553 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11555 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11556 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11557 (ruby-beginning-of-indent): Be more careful with the difference
11558 between word-boundary and symbol boundary.
11559 (ruby-mode-syntax-table): Make : a symbol constituent.
11561 2012-03-21 Andreas Politz <politza@fh-trier.de>
11563 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11565 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11567 * progmodes/etags.el (tags-completion-at-point-function):
11570 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11572 2012-03-21 Sam Steingold <sds@gnu.org>
11574 * progmodes/etags.el (tags-completion-at-point-function):
11575 Avoid the error when point is inside the pattern.
11577 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11579 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11582 2012-03-21 Drew Adams <drew.adams@oracle.com>
11584 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11586 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11588 * ido.el (ido-set-current-directory, ido-read-internal)
11589 (ido-choose-completion-string, ido-completion-help): Handle nil
11590 value of ido-completion-buffer (Bug#11008).
11592 2012-03-21 Sam Steingold <sds@gnu.org>
11594 * window.el (switch-to-prev-buffer): Do not switch to a visible
11595 window previous buffer, just like with the frame previous buffers.
11597 2012-03-21 Chong Yidong <cyd@gnu.org>
11599 * faces.el (make-face, make-empty-face, copy-face):
11600 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11603 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11605 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11606 (widget-complete): Remove broken use of it.
11608 2012-03-20 Chong Yidong <cyd@gnu.org>
11610 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11611 Use string-width and truncate-string-width to handle arbitrary
11614 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11616 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11617 to draw rectangles, not squares. (Regression introduced by revno
11618 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11620 2012-03-18 Chong Yidong <cyd@gnu.org>
11622 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11623 it is not yet defined (for temacs).
11625 2012-03-18 Leo Liu <sdl.web@gmail.com>
11627 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11630 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11632 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11633 (ispell-choices-win-default-height, ispell-silently-savep)
11634 (ispell-dictionary-alist, ispell-encoding8-command)
11635 (ispell-check-version, ispell-aspell-find-dictionary)
11636 (ispell-valid-dictionary-list, ispell-words-keyword)
11637 (ispell-get-word, ispell-internal-change-dictionary)
11638 (ispell-region, ispell-skip-region-list)
11639 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11640 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11641 (ispell-message-text-end, ispell-message)
11642 (ispell-buffer-local-parsing): Doc fix.
11644 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
11646 * htmlfontify.el: Add support for code block fontification for ODT
11647 export (Bug #9914).
11648 (hfy-optimisations): Define new option
11650 (hfy-fontify-buffer): Honor above setting.
11651 (hfy-begin-span, hfy-end-span): New routines factored out form
11652 `hfy-fontify-buffer'.
11653 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11654 that permit insertion of custom tags.
11655 (hfy-fontify-buffer): Use above handlers.
11656 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11657 (hfy-face-to-css): Re-defined to be a variable.
11658 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
11659 over multiple runs. This is made possible by having the caller let
11660 bind a special variable `hfy-user-sheet-assoc'.
11661 (htmlfontify-string): New defun.
11662 (hfy-compile-face-map): Make sure that the last char in the
11663 buffer is correctly fontified.
11664 (hfy-face-resolve-face): Whitespace only change.
11666 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11668 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11669 message more clear.
11671 2012-03-16 Leo Liu <sdl.web@gmail.com>
11673 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11675 2012-03-16 Alan Mackenzie <acm@muc.de>
11677 Further optimize the handling of large macros.
11679 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11680 limit to a call of `c-literal-limits'.
11681 (c-determine-+ve-limit): New function.
11682 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11683 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
11684 In CASE 5B, restrict a search limit to 500.
11685 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11687 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11688 Restrict macro bounds to +-500 from after-change's BEG END.
11690 2012-03-16 Leo Liu <sdl.web@gmail.com>
11692 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11694 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11696 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
11697 `special-mode' setting of `buffer-read-only'. (Bug#11010)
11699 2012-03-16 Glenn Morris <rgm@gnu.org>
11701 * view.el (view-buffer, view-buffer-other-window)
11702 (view-buffer-other-frame): Doc fixes re special mode-class.
11704 * subr.el (eval-after-load): If named feature is provided not from
11705 a file, run after-load forms. (Bug#10946)
11707 * calendar/calendar.el (calendar-insert-at-column):
11708 Handle non-unit-width characters a bit better. (Bug#10978)
11710 2012-03-15 Chong Yidong <cyd@gnu.org>
11712 * emacs-lisp/ring.el (ring-extend): New function.
11713 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11715 * comint.el (comint-read-input-ring)
11716 (comint-add-to-input-history): Grow comint-input-ring lazily.
11718 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11720 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11721 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11723 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11724 (imenu-add-to-menubar): Don't add a redundant index.
11725 (imenu-update-menubar): Handle a dynamically composed keymap.
11727 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11729 * mail/sendmail.el (mail-encode-header):
11730 Bind rfc2047-encode-encoded-words to nil.
11732 2012-03-13 Glenn Morris <rgm@gnu.org>
11734 * calendar/calendar.el (calendar-string-spread):
11735 Handle non-unit-width characters a bit better. (Bug#10978)
11737 2012-03-13 Leo Liu <sdl.web@gmail.com>
11739 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11740 directory and file as argument (Bug#10822).
11742 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11744 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11745 For dynamically generated code, follow $PC.
11746 (gdb-disassembly-handler-custom): Handle no function name case.
11748 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11750 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11751 * emulation/ws-mode.el (ws-query-replace):
11752 * sort.el (sort-regexp-fields):
11753 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11755 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11757 * dabbrev.el: Fix cycle completion order (bug#10963).
11758 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11759 (dabbrev-completion): Don't use an obarray; provide
11760 a cycle-sort-function.
11762 2012-03-12 Leo Liu <sdl.web@gmail.com>
11764 * simple.el (kill-new): Use equal-including-properties for comparison.
11765 (kill-do-not-save-duplicates): Doc fix.
11767 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11769 * dabbrev.el: Fix cycle completion (bug#10963).
11770 Use lexical binding and wrap to 80 columns.
11771 (dabbrev-completion): Delay computing the list of completions.
11773 2012-03-12 Kenichi Handa <handa@m17n.org>
11775 * international/quail.el (quail-insert-kbd-layout): Surround each
11776 row by LRO and PDF instead of inserting many LRMs. Pad the left
11777 and right of each non-spacing marks. Insert invisible space
11778 between lower and upper characters to prevent composition.
11780 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11782 * minibuffer.el (minibuffer-complete): Don't get confused when the
11783 function is run twice via different commands (bug#10958).
11784 (complete-with-action): Fix docstring.
11786 2012-03-12 Chong Yidong <cyd@gnu.org>
11788 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11789 (nxml-completion-at-point-function): New function.
11790 (nxml-mode): Use it.
11791 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11793 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11794 Load generated autoloads file before byte compiling (Bug#10970).
11795 (package--make-autoloads-and-compile): New helper fun.
11797 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11799 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11801 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
11803 * autorevert.el (auto-revert-handler): Ensure, that
11804 file-readable-p is applied only for local files or in
11805 auto-revert-tail-mode.
11807 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11809 * server.el (server-eval-at): Handle non-tcp connections.
11810 Decode result string.
11812 * server.el (server-msg-size): New constant.
11813 (server-reply-print): New function.
11814 (server-eval-and-print): Use it.
11815 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11816 Handle -print-nonl.
11818 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11820 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11823 2012-03-11 Chong Yidong <cyd@gnu.org>
11825 * simple.el (goto-line): Doc fix (Bug#9938).
11827 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11829 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11830 when finished (Bug#10963).
11832 2012-03-11 Martin Rudalics <rudalics@gmx.at>
11834 * window.el (split-window-below): Fix bug in case where
11835 split-window-keep-point is nil (Bug#10971).
11837 2012-03-11 Juri Linkov <juri@jurta.org>
11839 * replace.el (replace-highlight): Set isearch-word to nil
11840 unconditionally. (Bug#10887)
11842 2012-03-10 Eli Zaretskii <eliz@gnu.org>
11844 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11845 mairix-replace-illegal-chars; all callers changed. Don't remove
11846 ^, ~, and = characters: they are meaningful in mairix search specs.
11847 (mairix-widget-create-query): Add usage information about mairix
11848 search forms: negating words, searching for substrings, etc.
11850 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11852 * international/fontset.el (font-encoding-alist): Add an entry for
11853 ksx1001 (Bug#5667).
11855 2012-03-10 Richard Stallman <rms@gnu.org>
11857 * mail/sendmail.el (mail-encode-header):
11858 Set rfc2047-encode-encoded-words.
11860 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11862 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11863 view buffer means not swapped.
11864 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11865 (rmail-write-region-annotate): Error if real text has disappeared.
11867 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11869 2012-03-10 Chong Yidong <cyd@gnu.org>
11871 * emulation/cua-rect.el (cua--init-rectangles):
11872 * emulation/cua-base.el (cua--init-keymaps):
11873 Add delete-forward-char to remappings (Bug#9666).
11875 2012-03-10 Martin Rudalics <rudalics@gmx.at>
11877 * speedbar.el (speedbar-unhighlight-one-tag-line):
11878 Avoid unhighlighting due to frame switching (Bug#10275).
11880 2012-03-10 Chong Yidong <cyd@gnu.org>
11882 * minibuffer.el (completion-in-region, completion-help-at-point):
11883 Give the completion field overlay a high priority (Bug#6830).
11885 * dired.el (dired-goto-file): Recognize absolute file name
11886 listings (Bug#7126).
11887 (dired-goto-file-1): New helper function.
11888 (dired-toggle-read-only): Inhibit warnings.
11890 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
11892 * net/dbus.el (dbus-property-handler): Return empty array if
11893 there are no properties.
11895 2012-03-09 Leo Liu <sdl.web@gmail.com>
11897 * savehist.el (savehist-printable): Stricter check for string
11900 2012-03-09 Eli Zaretskii <eliz@gnu.org>
11902 * mail/smtpmail.el (smtpmail-send-it):
11903 Bind coding-system-for-write to *-unix, so that FCC files are kept in
11906 2012-03-09 Glenn Morris <rgm@gnu.org>
11908 * files.el (dir-locals-find-file):
11909 Don't check result is regular, readable.
11910 (dir-locals-read-from-file): Demote errors.
11912 2012-03-08 Eli Zaretskii <eliz@gnu.org>
11914 * international/quail.el (quail-insert-kbd-layout):
11915 Insert invisible LRM characters before each character in a keyboard
11916 layout cell, to prevent their reordering by bidi display engine.
11917 For details, see the discussion in
11918 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11920 2012-03-08 Alan Mackenzie <acm@muc.de>
11922 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11923 the starting position; make it extend the marked region when
11924 invoked repeatedly - all under appropriate circumstances.
11925 Fixes bugs #5525, #10906.
11927 2012-03-08 Glenn Morris <rgm@gnu.org>
11929 * files.el (locate-dominating-file, dir-locals-find-file):
11930 Undo 2012-03-06 change.
11932 2012-03-07 Eli Zaretskii <eliz@gnu.org>
11934 * international/quail.el (quail-help):
11935 Force bidi-paragraph-direction be left-to-right. See discussion in
11936 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11939 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
11941 Avoid superfluous registering of signals. (Bug#10807)
11943 * notifications.el (notifications-on-action-object)
11944 (notifications-on-close-object): New defvars.
11945 (notifications-on-action-signal, notifications-on-closed-signal):
11946 Unregister the signal if not needed any longer.
11947 (notifications-notify): Register `notifications-action-signal' or
11948 `notifications-closed-signal', if :on-action or :on-close has been
11949 passed as argument.
11951 2012-03-07 Chong Yidong <cyd@gnu.org>
11953 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11956 2012-03-06 Glenn Morris <rgm@gnu.org>
11958 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11959 (x-disown-selection-internal, x-get-selection-internal):
11960 Doc fix (add arglist signatures). (Bug#10783)
11962 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11964 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11965 Handle breakpoints with no "type".
11967 2012-03-06 Glenn Morris <rgm@gnu.org>
11969 * files.el (locate-dominating-file): Add optional predicate argument.
11970 (dir-locals-find-file): Make use of above change.
11972 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11974 * info.el (Info-insert-dir): Also try "dir.gz".
11976 2012-03-06 Glenn Morris <rgm@gnu.org>
11978 * files.el (dir-locals-find-file):
11979 Ignore non-readable or non-regular files. (Bug#10928)
11981 * files.el (locate-dominating-file): Doc fix.
11983 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11985 * calendar/calendar.el (calendar-set-mode-line):
11986 `getenv' returns a string. (Bug#10951)
11988 2012-03-05 Leo Liu <sdl.web@gmail.com>
11990 * simple.el (backward-delete-char-untabify): Constrain point to
11993 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11995 2012-03-05 Chong Yidong <cyd@gnu.org>
11997 * simple.el (count-words): If called from Lisp, return the word
11998 count, for symmetry with `count-lines'. Arglist changed.
11999 (count-words--message): Args changed. Consolidate counting code
12000 from count-words and count-words-region.
12001 (count-words-region): Caller changed.
12002 (count-lines-region): Make it an obsolete alias.
12004 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12006 * saveplace.el (save-place-to-alist)
12007 (save-place-ignore-files-regexp): Allow value nil to disable this
12010 2012-03-04 Chong Yidong <cyd@gnu.org>
12012 * faces.el (face-spec-reset-face): For the default face, reset the
12013 attributes to default values (Bug#10748).
12015 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12017 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12018 previous patch: Check `message-send-mail-function', and not the
12019 default function (bug#10897).
12021 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
12023 * notifications.el (notifications-on-action-signal)
12024 (notifications-on-closed-signal): Check for unique service name of
12025 incoming event. Fix error in removing entry.
12026 (top): Register for signals with wildcard service name.
12027 (notifications-notify): Use daemon unique service name for map entries.
12029 2012-03-04 Chong Yidong <cyd@gnu.org>
12031 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
12033 2012-03-04 Glenn Morris <rgm@gnu.org>
12035 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12036 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12037 (expand-abbrev, define-abbrev-table): Doc fixes.
12039 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12041 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12042 `message-default-send-mail-function' and not `send-mail-function'
12043 when doing the prompting for `sendmail-query-once' before sending
12044 in Message buffers (bug#10897).
12046 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12047 This is inconsistent with all the other stream functions, which leave
12048 the setting up to the higher levels (if so wanted) (bug#10931).
12050 2012-03-02 Alan Mackenzie <acm@muc.de>
12052 Depessimize the handling of very large macros.
12054 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12055 (c-macro-cache-syntactic): New variables to implement a one
12056 element macro cache.
12057 (c-invalidate-macro-cache): New function.
12058 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12059 Adapt to use the new cache.
12060 (c-state-safe-place): Use better the cache of safe positions.
12061 (c-state-semi-nonlit-pos-cache)
12062 (c-state-semi-nonlit-pos-cache-limit):
12063 New variables for...
12064 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12065 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
12066 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12067 Use c-state-semi-safe-place.
12069 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12070 Add c-invalidate-macro-cache to the C, C++, Obj entries.
12072 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
12074 * jka-compr.el (jka-compr-call-process):
12075 Apply `file-accessible-directory-p' only when the default directory is
12078 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
12080 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12081 access of FILE2, if FILE1 does not exist.
12083 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12084 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12086 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12087 Add "PAGER=" to `process-environment'.
12089 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12091 * progmodes/sql.el: Bug fix
12092 (sql-get-login-ext): Save login values in globals.
12093 (sql-get-login): Use new version of `sql-get-login-ext'.
12094 (sql-interactive-mode): Set global `sql-connection' to nil.
12095 (sql-connect): Set global values for connection.
12096 (sql-product-interactive): Save global values as buffer local.
12098 2012-02-29 Leo Liu <sdl.web@gmail.com>
12100 * abbrev.el (define-abbrevs): Reset sys to nil.
12102 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12104 * files.el (file-equal-p): Rename from `files-equal-p'.
12105 Return nil when one or both files don't exist.
12106 (file-subdir-of-p): Now only top directory must exists,
12107 return nil if it doesn't.
12108 (copy-directory): No need to test with `file-subdir-of-p' after
12110 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12113 2012-02-28 Glenn Morris <rgm@gnu.org>
12115 * shell.el (shell-mode):
12116 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12117 * play/landmark.el (landmark-font-lock-face-O):
12118 * play/handwrite.el (handwrite):
12119 * play/gomoku.el (gomoku-O):
12120 * net/browse-url.el (browse-url-browser-display):
12121 * international/mule.el (define-charset):
12122 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12123 * filesets.el (filesets-find-file-delay):
12124 * eshell/em-xtra.el (eshell-xtra):
12125 * eshell/em-unix.el (eshell-grep):
12126 * emulation/viper.el (viper-mode):
12127 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12128 * emacs-lisp/easymenu.el (easy-menu-define):
12129 * calendar/timeclock.el (timeclock-use-display-time):
12131 * bookmark.el (bookmark-save-flag):
12132 Doc fix (standardize possessive apostrophe usage).
12134 2012-02-27 Chong Yidong <cyd@gnu.org>
12136 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12137 Fix key-binding lookup for ESC key (Bug#9146).
12139 * font-lock.el (font-lock-specified-p): Rename from
12140 font-lock-spec-present. Callers changed.
12142 2012-02-27 Daniel Hackney <dan@haxney.org>
12144 * emacs-lisp/package.el (package-compute-transaction):
12145 Handle holding a package version to t in package-load-list.
12147 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
12149 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12150 (tramp-get-inode, tramp-get-device): Use cached values.
12152 2012-02-26 Alan Mackenzie <acm@muc.de>
12154 Check there is a font-lock specification before doing initial
12157 * font-core.el (font-lock-mode): Move the conditional from
12158 :after-hook to font-lock-initial-fontify.
12159 (font-lock-default-function): Move the check for a specification
12160 to font-lock-spec-present.
12162 * font-lock.el (font-lock-initial-fontify): Call ...
12163 (font-lock-spec-present): New function.
12165 2012-02-26 Jim Blandy <jimb@red-bean.com>
12167 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12168 (gdb-send): Apply it to the operand of the '-interpreter-exec
12169 console' command, so that we can pass arguments with (say) quotes
12170 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12172 2012-02-26 Chong Yidong <cyd@gnu.org>
12174 * help-fns.el (describe-function-1): Clarify description of
12175 remapping (Bug#10844).
12177 * files.el (files-equal-p): Doc fix.
12178 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12179 and quit the loop once a mismatch is found.
12181 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
12183 * bs.el (bs--show-with-configuration): Don't throw an error
12184 if the window cannot be split; otherwise, subsequent calls to
12185 bs-show fail, restoring a stale window config. (Bug#10882)
12187 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12189 * term/ns-win.el (global-map): Bind ns-drag-file to
12190 ns-find-file (Bug#5855, Bug#10050).
12192 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12194 * calendar/parse-time.el (parse-time-string): Allow extractor to
12197 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
12199 * net/tramp.el (tramp-file-name-for-operation):
12200 Add `files-equal-p' and `file-subdir-of-p'.
12202 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12203 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12204 Add COPY-CONTENTS argument.
12206 2012-02-25 Chong Yidong <cyd@gnu.org>
12208 Add custom groups for VC backends, for consistency with vc-bzr.
12210 * vc/vc-arch.el (vc-arch):
12211 * vc/vc-cvs.el (vc-cvs):
12212 * vc/vc-git.el (vc-git):
12213 * vc/vc-hg.el (vc-hg):
12214 * vc/vc-mtn.el (vc-mtn):
12215 * vc/vc-rcs.el (vc-rcs):
12216 * vc/vc-sccs.el (vc-sccs):
12217 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12218 All relevant defcustoms reassigned.
12220 2012-02-25 Chong Yidong <cyd@gnu.org>
12222 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12224 * term/x-win.el (x-initialize-window-system): Reduce default for
12225 x-selection-timeout to 5 seconds (Bug#8869).
12227 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12229 * files.el (files-equal-p, file-subdir-of-p): New functions.
12230 (copy-directory): Error when trying to copy a directory on itself.
12231 Add missing copy-contents arg to tramp handler.
12232 * dired-aux.el (dired-copy-file-recursive): Same.
12233 (dired-create-files): Modify destination when source is equal to
12234 dest when copying files.
12235 Return also when dest is a subdir of source. (Bug#10489)
12237 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
12239 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12242 2012-02-23 Alan Mackenzie <acm@muc.de>
12244 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12245 parameter "after-hook:" to allow the expansion to run code after
12246 the execution of the mode hooks.
12248 * font-lock.el (font-lock-initial-fontify): New function extracted
12249 from font-lock-mode-internal.
12251 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
12254 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12256 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12257 (completion--cache-all-sorted-completions): New function.
12258 (completion-all-sorted-completions): Use it.
12259 (completion--do-completion, minibuffer-force-complete):
12260 Use it to re-instate the flush hook.
12262 * icomplete.el (icomplete-completions): Replace last fix with a better
12265 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12267 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12268 when it might call us back infinitely (bug#10797).
12270 2012-02-23 Glenn Morris <rgm@gnu.org>
12272 * minibuffer.el (completion-category-overrides): Doc fix.
12274 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12276 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12277 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12279 2012-02-23 Glenn Morris <rgm@gnu.org>
12281 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
12282 (authors-obsolete-files-regexps, authors-ignored-files)
12283 (authors-ambiguous-files, authors-renamed-files-alist):
12286 2012-02-23 Juri Linkov <juri@jurta.org>
12288 * isearch.el (isearch-occur): Sync interactive spec with occur's
12289 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12291 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12293 2012-02-22 Juri Linkov <juri@jurta.org>
12295 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12296 (ucs-insert): Doc fix. Check for hex digits in the string.
12297 Don't display `nil' in the error message. (Bug#10857)
12299 2012-02-22 Alan Mackenzie <acm@muc.de>
12301 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
12303 2012-02-22 Glenn Morris <rgm@gnu.org>
12305 * ffap.el (ffap-c-path):
12306 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12308 2012-02-22 Chong Yidong <cyd@gnu.org>
12310 * custom.el (load-theme): Doc fix.
12312 2012-02-22 Glenn Morris <rgm@gnu.org>
12314 * dired-x.el (dired-guess-shell-alist-default):
12315 Remove escape sequences from nroff output. (Bug#172)
12317 2012-02-21 Glenn Morris <rgm@gnu.org>
12319 * vc/emerge.el (emerge-defvar-local):
12320 Set `permanent-local' property rather than unused `preserved'.
12322 * textmodes/picture.el (picture-delete-char): New alias.
12323 (picture-mode-map): Use it. (Bug#10860)
12324 (picture-mode): Doc fix.
12326 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
12328 * newcomment.el (uncomment-region-default): Remove unused binding.
12330 2012-02-21 Glenn Morris <rgm@gnu.org>
12332 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12333 (picture-self-insert, picture-tab-chars): Doc fix.
12334 (picture-mode-map): Fix C-a, C-e.
12336 2012-02-20 Glenn Morris <rgm@gnu.org>
12338 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12340 2012-02-20 Leo Liu <sdl.web@gmail.com>
12342 * icomplete.el (icomplete-completions): Check FROM arg before
12343 passing to substring (Bug#10850).
12345 2012-02-19 Chong Yidong <cyd@gnu.org>
12347 * comint.el: Require ansi-color.
12348 (comint-output-filter-functions): Add ansi-color-process-output.
12350 * ansi-color.el: Don't set comint-output-filter-functions; it is
12351 now in the initial value defined in comint.el.
12352 (ansi-color-apply-face-function): New variable.
12353 (ansi-color-apply-on-region): Use it.
12354 (ansi-color-apply-overlay-face): New function.
12356 * shell.el (shell): No need to require ansi-color.
12357 (shell-mode): Use ansi-color-apply-face-function to highlight
12358 color escapes using font-lock-face property (Bug#10835).
12360 2012-02-19 Chong Yidong <cyd@gnu.org>
12362 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12363 mode-line formats (Bug#10839).
12365 2012-02-18 Glenn Morris <rgm@gnu.org>
12367 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12369 * mail/undigest.el (unforward-rmail-message): Doc fix.
12371 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12373 2012-02-18 Eli Zaretskii <eliz@gnu.org>
12375 * international/characters.el (script-list): Sync with the latest
12376 Unicode Character Database.
12378 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12380 * international/titdic-cnv.el: Remove duplicate coding tag.
12381 * language/cham.el: Likewise.
12382 * language/tai-viet.el: Likewise.
12384 2012-02-18 Glenn Morris <rgm@gnu.org>
12386 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12387 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12388 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12389 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12390 * calendar/holidays.el (holiday-bahai-holidays)
12391 (calendar-holidays, list-holidays):
12392 Use utf-8 Bahá'í in doc-strings, menus, etc.
12394 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12396 * saveplace.el (save-place-ignore-files-regexp): New variable
12397 allowing for excluding files from saving their location of point.
12398 The default value matches the temporary commit message editing
12399 files from Git, SVN, Bazaar, and Mercurial.
12400 (save-place-to-alist): Use it.
12402 2012-02-17 Lawrence Mitchell <wence@gmx.li>
12403 Stefan Monnier <monnier@iro.umontreal.ca>
12405 * newcomment.el (uncomment-region-default): Don't leave extra space
12406 when an arg is provided (bug#8150).
12408 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12410 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
12412 2012-02-17 Glenn Morris <rgm@gnu.org>
12414 * net/socks.el: Require network-stream. (Bug#10599)
12416 2012-02-17 Kenichi Handa <handa@m17n.org>
12418 * international/charprop.el:
12419 * international/uni-name.el:
12420 * international/uni-old-name.el:
12421 * international/uni-comment.el: Regenerate.
12423 2012-02-16 Glenn Morris <rgm@gnu.org>
12425 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12426 Interactively in calendar buffer, give an error if not on a date.
12428 2012-02-15 Glenn Morris <rgm@gnu.org>
12430 * shell.el (shell-delimiter-argument-list):
12431 Revert 2011-02-17 change. (Bug#8027)
12433 2012-02-15 Chong Yidong <cyd@gnu.org>
12435 * minibuffer.el (completion-at-point-functions): Doc fix.
12437 * custom.el (defcustom): Doc fix; note use of defvar.
12439 2012-02-15 Glenn Morris <rgm@gnu.org>
12441 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12444 2012-02-14 Glenn Morris <rgm@gnu.org>
12446 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12448 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12450 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12451 way the ports list is computed.
12452 (smtpmail-query-smtp-server): Prompt the user for a port number if
12453 we can't connect to any of the standard ports (bug#10810).
12455 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12457 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12459 2012-02-13 Glenn Morris <rgm@gnu.org>
12461 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12463 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12465 * net/gnutls.el (gnutls-trustfiles): New variable.
12466 (gnutls-negotiate): Use it.
12468 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12470 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12471 does its stuff if Gnus is running.
12473 2012-02-13 Alan Mackenzie <acm@muc.de>
12475 Fix a loop in c-set-fl-decl-start.
12477 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
12478 c-backward-syntactic-ws actually moves backwards.
12480 2012-02-13 Leo Liu <sdl.web@gmail.com>
12482 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12483 beginning so that all \C-o chars are removed.
12485 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12487 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
12489 2012-02-12 Alan Mackenzie <acm@muc.de>
12491 Fix infinite loop with long macros.
12492 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
12494 2012-02-12 Chong Yidong <cyd@gnu.org>
12496 * window.el (display-buffer): Doc fix (Bug#10785).
12498 2012-02-12 Glenn Morris <rgm@gnu.org>
12500 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12501 (x-disown-selection-internal, x-get-selection-internal):
12502 Sync docs with the xselect.c versions.
12504 * allout-widgets.el: Add missing license notice.
12506 2012-02-11 Glenn Morris <rgm@gnu.org>
12508 * select.el (x-get-selection-internal, x-own-selection-internal)
12509 (x-disown-selection-internal):
12510 * x-dnd.el (x-get-selection-internal): Update declarations.
12512 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12514 * window.el (window-sides-slots):
12515 * tool-bar.el (tool-bar-position):
12516 * term/xterm.el (xterm-extra-capabilities):
12517 * ses.el (ses-self-reference-early-detection):
12518 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12519 (verilog-auto-wire-type)
12520 (verilog-auto-delete-trailing-whitespace)
12521 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12522 (verilog-auto-tieoff-declaration):
12523 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12524 (sql-oracle-statement-starters, sql-oracle-scan-on):
12525 * progmodes/prolog.el (prolog-align-comments-flag)
12526 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12527 (prolog-left-indent-regexp, prolog-paren-indent-p)
12528 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12529 (prolog-types, prolog-mode-specificators)
12530 (prolog-determinism-specificators, prolog-directives)
12531 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12532 (prolog-electric-dot-flag)
12533 (prolog-electric-dot-full-predicate-template)
12534 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12535 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12536 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12537 (prolog-program-switches, prolog-prompt-regexp)
12538 (prolog-debug-on-string, prolog-debug-off-string)
12539 (prolog-trace-on-string, prolog-trace-off-string)
12540 (prolog-zip-on-string, prolog-zip-off-string)
12541 (prolog-use-standard-consult-compile-method-flag)
12542 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12543 (prolog-imenu-max-lines, prolog-info-predicate-index)
12544 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12545 (prolog-char-quote-workaround):
12546 * progmodes/cc-vars.el (c-defun-tactic):
12547 * net/tramp.el (tramp-encoding-command-interactive)
12548 (tramp-local-end-of-line):
12549 * net/soap-client.el (soap-client):
12550 * net/netrc.el (netrc-file):
12551 * net/gnutls.el (gnutls):
12552 * minibuffer.el (completion-category-overrides)
12553 (completion-cycle-threshold)
12554 (completion-pcm-complete-word-inserts-delimiters):
12555 * man.el (Man-name-local-regexp):
12556 * mail/feedmail.el (feedmail-display-full-frame):
12557 * international/characters.el (glyphless-char-display-control):
12558 * eshell/em-ls.el (eshell-ls-date-format):
12559 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12560 (lisp-lambda-list-keyword-parameter-indentation)
12561 (lisp-lambda-list-keyword-parameter-alignment):
12562 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12563 * dired-x.el (dired-omit-verbose):
12564 * cus-theme.el (custom-theme-allow-multiple-selections):
12565 * calc/calc.el (calc-highlight-selections-with-faces)
12566 (calc-lu-field-reference, calc-lu-power-reference)
12567 (calc-note-threshold):
12568 * battery.el (battery-mode-line-limit):
12569 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12570 (archive-7z-update):
12571 * allout.el (allout-prefixed-keybindings)
12572 (allout-unprefixed-keybindings)
12573 (allout-inhibit-auto-fill-on-headline)
12574 (allout-flattened-numbering-abbreviation):
12575 * allout-widgets.el (allout-widgets-auto-activation)
12576 (allout-widgets-icons-dark-subdir)
12577 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12578 (allout-widgets-theme-dark-background)
12579 (allout-widgets-theme-light-background)
12580 (allout-widgets-item-image-properties-emacs)
12581 (allout-widgets-item-image-properties-xemacs)
12582 (allout-widgets-run-unit-tests-on-load)
12583 (allout-widgets-time-decoration-activity)
12584 (allout-widgets-hook-error-post-time)
12585 (allout-widgets-track-decoration):
12586 Add missing :version tags to new defcustoms and defgroups.
12588 * progmodes/sql.el (sql-ansi-statement-starters)
12589 (sql-oracle-statement-starters): Add custom type.
12591 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12592 (prolog-system-version): Give it a type.
12594 2012-02-11 Eli Zaretskii <eliz@gnu.org>
12596 * term/pc-win.el (x-select-text, x-selection-owner-p)
12597 (x-own-selection-internal, x-disown-selection-internal)
12598 (x-get-selection-internal): Sync doc strings and argument lists
12599 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12601 2012-02-11 Leo Liu <sdl.web@gmail.com>
12603 * progmodes/python.el (python-end-of-statement): Fix infinite
12606 2012-02-10 Glenn Morris <rgm@gnu.org>
12608 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12609 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12611 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12613 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12614 about SMTP before checking the From header.
12616 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
12617 into own function for reuse by emacsbug.el.
12619 2012-02-10 Leo Liu <sdl.web@gmail.com>
12621 * subr.el (condition-case-unless-debug): Rename from
12622 condition-case-no-debug. All callers changed.
12623 (with-demoted-errors): Fix caller.
12625 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12626 * nxml/rng-valid.el (rng-do-some-validation):
12627 * emacs-lisp/package.el (package-refresh-contents)
12628 (package-menu-execute):
12629 * desktop.el (desktop-create-buffer):
12630 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
12632 2012-02-10 Glenn Morris <rgm@gnu.org>
12634 * textmodes/bibtex.el:
12635 Add missing :version tags for new/changed defcustoms.
12637 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12639 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
12641 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12642 (smtpmail-via-smtp): Use it, or fall back on the From address.
12643 (smtpmail-send-it): Ditto.
12645 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12647 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12648 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12649 (byte-compile-tmp-var): New const.
12650 (byte-compile-defvar): Use it to minimize .elc size.
12651 Just use `defvar' rather than simulate it (bug#10761).
12653 2012-02-09 Glenn Morris <rgm@gnu.org>
12655 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12657 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12660 * progmodes/compile.el (compilation-error-screen-columns)
12661 (compilation-first-column, compilation-filter-start): Doc fixes.
12663 * vc/log-view.el (log-view-toggle-entry-display):
12664 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12666 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12667 (report-emacs-bug-can-use-xdg-email):
12668 (report-emacs-bug-insert-to-mailer): Doc fixes.
12669 (report-emacs-bug): Message fix.
12671 * net/browse-url.el (browse-url-can-use-xdg-open)
12672 (browse-url-xdg-open): Doc fixes.
12674 * electric.el (electric-indent-mode, electric-pair-mode)
12675 (electric-layout-rules, electric-layout-mode): Doc fixes.
12676 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12678 2012-02-08 Martin Rudalics <rudalics@gmx.at>
12680 * server.el (server-unselect-display): Don't inadvertently kill
12681 the current buffer. (Bug#10729)
12683 2012-02-08 Glenn Morris <rgm@gnu.org>
12685 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12686 (sql-list-table): Doc fixes.
12688 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12689 Comment out (does nothing).
12691 * completion.el (dynamic-completion-mode):
12692 * dirtrack.el (dirtrack-debug-mode):
12693 * electric.el (electric-layout-mode):
12694 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12695 * face-remap.el (text-scale-mode, buffer-face-mode):
12696 * iimage.el (iimage-mode):
12697 * image-mode.el (image-transform-mode):
12698 * minibuffer.el (completion-in-region-mode):
12699 * scroll-lock.el (scroll-lock-mode):
12700 * simple.el (next-error-follow-minor-mode):
12701 * tar-mode.el (tar-subfile-mode):
12702 * tooltip.el (tooltip-mode):
12703 * vcursor.el (vcursor-use-vcursor-map):
12704 * wid-browse.el (widget-minor-mode):
12705 * emulation/tpu-edt.el (tpu-edt-mode):
12706 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12707 * international/iso-ascii.el (iso-ascii-mode):
12708 * language/thai-util.el (thai-word-mode):
12709 * mail/supercite.el (sc-minor-mode):
12710 * net/goto-addr.el (goto-address-mode):
12711 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12712 * progmodes/cwarn.el (cwarn-mode):
12713 * progmodes/flymake.el (flymake-mode):
12714 * progmodes/glasses.el (glasses-mode):
12715 * progmodes/hideshow.el (hs-minor-mode):
12716 * progmodes/pascal.el (pascal-outline-mode):
12717 * textmodes/enriched.el (enriched-mode):
12718 * vc/smerge-mode.el (smerge-mode):
12719 Doc fixes (minor mode argument).
12721 2012-02-07 Eli Zaretskii <eliz@gnu.org>
12723 * ls-lisp.el (ls-lisp-sanitize): New function.
12724 (ls-lisp-insert-directory): Use it to fix or remove any elements
12725 in file-alist with missing attributes. (Bug#4673)
12727 2012-02-07 Alan Mackenzie <acm@muc.de>
12729 Fix spurious recognition of c-in-knr-argdecl.
12731 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12732 putative K&R region.
12734 2012-02-07 Alan Mackenzie <acm@muc.de>
12736 * progmodes/cc-engine.el (c-forward-objc-directive):
12737 Prevent looping in "#pragma mark @implementation".
12739 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
12741 * notifications.el (notifications-on-closed-signal): Make `reason'
12742 optional. (Bug#10744)
12744 2012-02-07 Glenn Morris <rgm@gnu.org>
12746 * emacs-lisp/easy-mmode.el (define-minor-mode):
12747 Doc fixes for the macro and the mode it defines.
12749 * image.el (imagemagick-types-inhibit): Doc fix.
12751 * cus-start.el (imagemagick-render-type): Add it.
12753 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12755 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12756 Set the default at load time, too, so that `font-lock-fontify-buffer'
12757 can be called without setting up the entire mode first. This fixes
12758 a bug in `mm-inline-text' with C MIME parts.
12760 2012-02-06 Chong Yidong <cyd@gnu.org>
12762 * simple.el (list-processes--refresh): Delete exited processes
12765 * comint.el (comint-next-prompt): next-single-char-property-change
12766 and prev-single-char-property-change never return nil (Bug#8657).
12768 * custom.el (defcustom): Doc fix (Bug#9711).
12770 2012-02-05 Chong Yidong <cyd@gnu.org>
12772 * cus-edit.el (custom-variable-reset-backup): Quote the value
12773 before storing it in the customized-value property (Bug#6712).
12774 (custom-display): Add a customization type tag.
12775 (custom-buffer-create-internal): Improve tooltip message.
12777 * wid-edit.el (widget-field-value-get): New optional arg to
12778 suppress trailing whitespace truncation.
12779 (character): Use it (Bug#2689).
12781 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12783 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12784 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12786 2012-02-05 Chong Yidong <cyd@gnu.org>
12788 * cus-edit.el (custom-variable-value-create): For mismatched
12789 types, show the current value (Bug#7600).
12791 * custom.el (defcustom): Doc fix.
12793 2012-02-05 Glenn Morris <rgm@gnu.org>
12795 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12797 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
12799 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12800 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12801 (pp-last-sexp): Use `looking-at-p'.
12803 2012-02-04 Glenn Morris <rgm@gnu.org>
12805 * files.el (revert-buffer):
12806 Doc fix (mention revert-buffer-in-progress-p).
12808 * emacs-lisp/ert-x.el (ert-simulate-command):
12809 Check deferred-action-list (which is obsolete) is bound.
12811 * subr.el (with-wrapper-hook): Doc fixes.
12813 * simple.el (filter-buffer-substring-functions)
12814 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12816 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12818 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12819 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12821 2012-02-04 Leo Liu <sdl.web@gmail.com>
12823 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12825 2012-02-04 Glenn Morris <rgm@gnu.org>
12827 * image.el (image-extension-data): Add obsolete alias.
12829 * isearch.el (isearch-update): Doc fix.
12831 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12833 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12835 2012-02-03 Glenn Morris <rgm@gnu.org>
12837 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12838 (image-animate-timeout): Doc fix.
12840 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12842 2012-02-02 Glenn Morris <rgm@gnu.org>
12844 * server.el (server-auth-dir): Doc fix.
12845 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12847 * subr.el (run-mode-hooks): Doc fix.
12849 2012-02-02 Juri Linkov <juri@jurta.org>
12851 * image-mode.el (image-toggle-display-image): Remove tautological
12852 `major-mode' from the `derived-mode-p' test.
12854 2012-02-02 Kenichi Handa <handa@m17n.org>
12856 * composite.el (compose-region): Cancel previous change.
12858 2012-02-02 Kenichi Handa <handa@m17n.org>
12860 * composite.el (compose-region, compose-string): Signal error for
12861 a null string component (Bug#6988).
12863 2012-02-01 Chong Yidong <cyd@gnu.org>
12865 * view.el (view-buffer-other-window, view-buffer-other-frame):
12866 Handle special modes like view-buffer (Bug#10650).
12867 (view-buffer): Simplify.
12869 * frame.el (set-frame-font): Tweak meaning of third argument.
12871 * dynamic-setting.el (font-setting-change-default-font):
12872 Use set-frame-font (Bug#9982).
12874 2012-02-01 Glenn Morris <rgm@gnu.org>
12876 * progmodes/compile.el (compilation-internal-error-properties):
12877 Respect compilation-first-column in the "*compilation*" buffer.
12879 * emacs-lisp/easy-mmode.el (define-minor-mode):
12880 Relax :variable's test for a named function.
12882 2012-01-31 Alan Mackenzie <acm@muc.de>
12884 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12887 2012-01-31 Chong Yidong <cyd@gnu.org>
12889 * frame.el (set-frame-font): New arg ALL-FRAMES.
12891 * menu-bar.el (menu-set-font): Use set-frame-font.
12893 * faces.el (face-spec-reset-face): Don't apply unspecified
12894 attribute values to the default face.
12896 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
12898 * progmodes/cwarn.el (cwarn): Remove dead link.
12899 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12900 Remove * from defcustom docstrings.
12901 (turn-on-cwarn-mode): Make obsolete.
12902 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12903 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12905 2012-01-31 Glenn Morris <rgm@gnu.org>
12907 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12908 Fix :variable handling of mode a symbol not equal to modefun.
12909 Allow named functions to be used as the cdr of :variable.
12911 2012-01-30 Glenn Morris <rgm@gnu.org>
12913 * emacs-lisp/authors.el (authors-fixed-entries):
12914 Remove reference to deleted file rnewspost.el.
12916 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
12918 * window.el (window-with-parameter): Remove unused variable `windows'.
12919 (window--side-check): Remove unused variable `code'.
12920 (window--resize-siblings): Remove unused variable `first'.
12921 (adjust-window-trailing-edge): Remove unused variable `failed'.
12922 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12923 Use `let', not `let*'.
12924 (balance-windows-2): Remove unused variable `found'.
12925 (window--state-put-2): Remove unused variable `splits'.
12926 (window-state-put): Remove unused variable `selected'.
12927 (same-window-p): Use `string-match-p'.
12928 (display-buffer-assq-regexp): Remove unused variable `value'.
12929 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12930 Mark argument ALIST as ignored.
12931 (pop-to-buffer): Remove unused variable `old-window'.
12933 2012-01-29 Eli Zaretskii <eliz@gnu.org>
12935 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12936 and .lzma compressed files.
12938 2012-01-29 Chong Yidong <cyd@gnu.org>
12940 * frame.el (window-system-default-frame-alist): Doc fix.
12942 * dynamic-setting.el (font-setting-change-default-font): Don't
12943 change the default face if SET-FONT argument is non-nil (Bug#9982).
12945 2012-01-29 Samuel Bronson <naesten@gmail.com>
12947 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12949 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
12951 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12952 breakpoints in files outside current directory (Bug#6098).
12954 2012-01-29 Chong Yidong <cyd@gnu.org>
12956 * progmodes/python.el: Require ansi-color at top-level.
12958 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12959 Define and use in Emacs Lisp mode (Bug#9360).
12960 (lisp-mode-abbrev-table): Add doc.
12961 (lisp-mode-variables): Don't set local-abbrev-table.
12962 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12964 2012-01-28 Roland Winkler <winkler@gnu.org>
12966 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12968 2012-01-28 Roland Winkler <winkler@gnu.org>
12970 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12971 (bibtex-set-dialect): Use it. Either set global values of
12972 dialect-dependent variables or bind these variables buffer-locally
12974 (bibtex-mode): Call bibtex-set-dialect via
12975 hack-local-variables-hook.
12976 (bibtex-dialect): Update docstring.
12977 Add safe-local-variable predicate.
12978 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12979 bibtex-set-dialect.
12980 (bibtex-mode-map): Define menu for each dialect.
12981 (bibtex-entry): Fix docstring.
12983 2012-01-28 Chong Yidong <cyd@gnu.org>
12985 * eshell/esh-arg.el (eshell-quote-argument): New function.
12987 * eshell/esh-ext.el (eshell-invoke-batch-file):
12988 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12989 first arg to eshell-parse-command (Bug#10523).
12991 2012-01-28 Drew Adams <drew.adams@oracle.com>
12993 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12994 `default-directory' is non-nil.
12996 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12998 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12999 line that displays system-configuration-options. (Bug#9924)
13001 2012-01-28 Drew Adams <drew.adams@oracle.com>
13003 * descr-text.el (describe-char): Show information about POS, in
13004 addition to information about the character at POS. Improve and
13005 update the doc string. Change "code point" to "code point in
13006 charset", to avoid confusion with the character's Unicode code
13007 point shown above that. (Bug#10129)
13009 2012-01-28 Eli Zaretskii <eliz@gnu.org>
13011 * descr-text.el (describe-char): Show the raw character, not only
13012 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13013 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13016 2012-01-28 Phil Hagelberg <phil@hagelb.org>
13018 * emacs-lisp/package.el (package-install):
13019 Run package-refresh-contents if there is no archive yet (Bug#9798).
13021 2012-01-28 Chong Yidong <cyd@gnu.org>
13023 * emacs-lisp/package.el (package-maybe-load-descriptor):
13024 New function, split from package-maybe-load-descriptor.
13025 (package-maybe-load-descriptor): Use it.
13026 (package-download-transaction): Fully load required packages
13027 inside the loop, so that `require' calls work (Bug#10593).
13028 (package-install): No need to call package-initialize now.
13030 2012-01-28 Chong Yidong <cyd@gnu.org>
13032 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13034 * tooltip.el (tooltip-mode): Doc fix.
13035 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13037 * frame.el (set-cursor-color): Doc fix (Bug#352).
13039 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13040 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13042 * cus-edit.el (custom-buffer-create-internal): Fix search button
13043 action (Bug#10542).
13044 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
13046 2012-01-27 Eduard Wiebe <usenet@pusto.de>
13048 * dired.el (dired-mark-files-regexp):
13049 Include any subdirectory components. (Bug#10445)
13051 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13053 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13054 Handle [host]:port syntax. (Bug#10533)
13056 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
13058 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13060 2012-01-26 Glenn Morris <rgm@gnu.org>
13062 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13063 * term.el (term-raw-escape-map): Use Control-X-prefix.
13064 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13066 2012-01-25 Martin Rudalics <rudalics@gmx.at>
13068 * window.el (window-state-get, window--state-get-1): Don't deal
13069 with fixed-sizeness of windows. Simplify code.
13071 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13073 * window.el (window--state-get-1, window--state-put-2):
13074 Don't save and restore the mark.
13076 2012-01-25 Chong Yidong <cyd@gnu.org>
13078 * custom.el (custom-variable-p): Doc fix.
13080 2012-01-25 Glenn Morris <rgm@gnu.org>
13082 * dired.el (dired-goto-file): Handle some of the more common
13083 characters that `ls -b' escapes. (Bug#10596)
13085 * progmodes/compile.el (compilation-next-error-function):
13086 Respect compilation-first-column in the "*compilation*" buffer.
13087 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13089 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13091 2012-01-24 Glenn Morris <rgm@gnu.org>
13093 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13095 2012-01-24 Julien Danjou <julien@danjou.info>
13097 * color.el (color-rgb-to-hsl): Fix value computing.
13098 (color-hue-to-rgb): New function.
13099 (color-hsl-to-rgb): New function.
13100 (color-clamp, color-saturate-hsl, color-saturate-name)
13101 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13102 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13104 2012-01-24 Glenn Morris <rgm@gnu.org>
13106 * vc/vc-rcs.el (vc-rcs-create-tag):
13107 * vc/vc-sccs.el (vc-sccs-create-tag):
13108 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13110 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13112 * eshell/esh-util.el (eshell-read-hosts-file):
13113 Skip comment lines. (Bug#10549)
13115 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13117 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
13119 * subr.el (display-delayed-warnings): Doc fix.
13120 (collapse-delayed-warnings): New function to collapse identical
13122 (delayed-warnings-hook): Add it.
13124 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
13126 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13128 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13129 (tramp-default-user-alist): Don't add "pscp".
13130 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13131 property "login-as", if set. (Bug#10530)
13133 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
13135 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13136 "plink1" and "psftp". (Bug#10530)
13138 2012-01-21 Kenichi Handa <handa@m17n.org>
13140 * international/mule-cmds.el (prefer-coding-system): Show a
13141 warning message if the default value of file-name-coding-system
13144 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13146 * windmove.el (windmove-reference-loc):
13147 Fix windmove-reference-loc miscalculation.
13149 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13151 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13154 2012-01-21 Glenn Morris <rgm@gnu.org>
13156 * international/mule.el (auto-coding-alist): Add .tbz.
13158 * files.el (local-enable-local-variables): Doc fix.
13159 (inhibit-local-variables-regexps): Rename from
13160 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13161 Doc fix. Add some extensions from auto-coding-alist.
13162 (inhibit-local-variables-suffixes):
13163 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13164 (inhibit-local-variables-p):
13165 New function, extracted from set-auto-mode-1.
13166 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13167 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13168 (hack-local-variables): Doc fix. Make the mode-only case
13169 respect enable-local-variables and friends.
13170 Respect inhibit-local-variables-regexps for file-locals, but
13171 not for directory-locals.
13172 (set-visited-file-name):
13173 Take account of inhibit-local-variables-regexps.
13174 Whether it applies may change as the file name is changed.
13175 * jka-cmpr-hook.el (jka-compr-install):
13176 * jka-compr.el (jka-compr-uninstall):
13177 Update for inhibit-first-line-modes-suffixes name change.
13179 2012-01-20 Martin Rudalics <rudalics@gmx.at>
13181 * help-macro.el (make-help-screen): Temporarily restore original
13182 binding for minor-mode-map-alist (Bug#10454).
13184 2012-01-19 Julien Danjou <julien@danjou.info>
13186 * color.el (color-name-to-rgb): Use the white color to find the max
13187 color component value and return correctly computed values.
13188 (color-name-to-rgb): Add missing float conversion for max value.
13190 2012-01-19 Martin Rudalics <rudalics@gmx.at>
13192 * window.el (window--state-get-1, window-state-get): Do not use
13193 special state value for window-persistent-parameters.
13194 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
13195 (window--state-put-2): Reset all window parameters to nil before
13196 assigning values of persistent parameters.
13198 2012-01-18 Alan Mackenzie <acm@muc.de>
13200 Eliminate sluggishness and hangs in fontification of "semicolon
13203 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13204 Change value 10000 -> 3000.
13205 (c-state-safe-place): Reformulate so it doesn't stack up an
13206 infinite number of wrong entries in c-state-nonlit-pos-cache.
13207 (c-determine-limit-get-base, c-determine-limit): New functions to
13208 determine backward search limits disregarding literals.
13209 (c-find-decl-spots): Amend commenting.
13210 (c-cheap-inside-bracelist-p): New function which detects "={".
13212 * progmodes/cc-fonts.el
13213 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13215 (c-font-lock-declarations): Fix an occurrence of point being
13216 undefined. Check additionally for point being in a bracelist or
13217 near a macro invocation without a semicolon so as to avoid a
13218 fruitless time consuming search for a declarator. Give a more
13219 precise search limit for declarators using the new
13222 2012-01-18 Glenn Morris <rgm@gnu.org>
13224 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13225 (set-auto-mode): Doc fixes.
13227 2012-01-17 Glenn Morris <rgm@gnu.org>
13229 * isearch.el (search-nonincremental-instead): Fix doc typo.
13231 * dired.el (dired-insert-directory): Handle newlines in directory name.
13232 (dired-build-subdir-alist): Unescape newlines in directory name.
13234 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
13236 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13237 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13238 (tramp-action-terminal): Use it. (Bug#10530)
13240 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13242 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13244 2012-01-16 Martin Rudalics <rudalics@gmx.at>
13246 * window.el (window-state-ignored-parameters): Remove variable.
13247 (window--state-get-1): Rename argument MARKERS to IGNORE.
13248 Handle persistent window parameters. Make copy of clone-of
13249 parameter only if requested. (Bug#10348)
13250 (window--state-put-2): Install a window parameter only if it has
13251 a non-nil value or an existing parameter shall be overwritten.
13253 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
13255 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13257 2012-01-14 Eli Zaretskii <eliz@gnu.org>
13259 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13260 don't pass the (nil) value of `upnode' to string-match.
13262 2012-01-14 Chong Yidong <cyd@gnu.org>
13264 * startup.el (command-line): Fix X resource class for cursorColor.
13265 Fix values recognized by the cursorBlink resource.
13267 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13269 * epg.el (epg--make-temp-file): Avoid permission race condition
13270 when running on old Emacs versions (bug#10403).
13272 2012-01-14 Glenn Morris <rgm@gnu.org>
13274 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13276 2012-01-13 Alan Mackenzie <acm@muc.de>
13278 Fix filling for when filladapt mode is enabled.
13280 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13281 c-mask-paragraph, pass in `fill-paragraph' rather than
13282 `fill-region-as-paragraph'. (This is a reversion of a previous
13284 * progmodes/cc-mode.el (c-basic-common-init):
13285 Make fill-paragraph-handle-comment buffer local and set it to nil.
13287 2012-01-13 Glenn Morris <rgm@gnu.org>
13289 * dired.el (dired-switches-escape-p): New function.
13290 (dired-insert-directory): Use dired-switches-escape-p.
13291 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13293 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13295 2012-01-12 Glenn Morris <rgm@gnu.org>
13297 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13298 changes in adaptive-fill-regexp. (Bug#10276)
13300 2012-01-11 Alan Mackenzie <acm@muc.de>
13302 Fix Emacs bug #10463 - put `widen's around the critical spots.
13304 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
13305 widen around each invocation of c-state-pp-to-literal. Remove an
13306 unused let variable.
13308 2012-01-11 Glenn Morris <rgm@gnu.org>
13310 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
13313 2012-01-10 Chong Yidong <cyd@gnu.org>
13315 * net/network-stream.el (network-stream-open-starttls):
13316 Avoid emitting a confusing error message when the server gives a bad
13317 response to the capability command.
13319 2012-01-10 Glenn Morris <rgm@gnu.org>
13321 * mail/unrmail.el (unrmail): Tweak previous change.
13323 2012-01-09 Chong Yidong <cyd@gnu.org>
13325 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13327 2012-01-08 Alan Mackenzie <acm@muc.de>
13329 Optimize font locking in long enum definitions.
13331 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13332 arm to a cond form to handle enums.
13333 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13334 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13336 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
13338 * files.el (move-file-to-trash): Preserve default file modes on error.
13341 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13343 * faces.el (set-face-attribute): Clarify the meaning of the nil
13346 * subr.el (with-selected-frame): Mention that the selected frame
13347 is restored (bug#9980).
13349 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13352 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
13353 (password-read): Don't autoload unused function.
13355 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
13357 * progmodes/which-func.el (which-func-mode): Turn into a
13358 non-interactive function and mark as obsolete (bug#10428).
13360 2012-01-06 Chong Yidong <cyd@gnu.org>
13362 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13363 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13364 functions, along with 1 and -1.
13366 2012-01-06 Eli Zaretskii <eliz@gnu.org>
13368 * time.el (display-time-load-average)
13369 (display-time-default-load-average): Doc fixes. See the thread
13371 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13374 2012-01-06 Glenn Morris <rgm@gnu.org>
13376 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13377 has no messages. (Bug#10377)
13379 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13380 than Info-edit. (Bug#10385)
13382 * time.el (display-time-load-average, display-time-next-load-average):
13385 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13386 local setting of buffer-read-only to the input buffer. (Bug#10419)
13388 * calendar/calendar.el (calendar-mode):
13389 Locally set scroll-margin to 0. (Bug#10379)
13391 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
13393 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13395 2012-01-05 Glenn Morris <rgm@gnu.org>
13397 * eshell/em-unix.el (diff-no-select): Autoload it.
13398 (eshell/diff): Use diff-no-select. (Bug#10420)
13400 2012-01-05 Chong Yidong <cyd@gnu.org>
13402 * shell.el (shell-dynamic-complete-functions): Revert last change.
13403 (shell-command-completion-function): New function.
13404 (shell-completion-vars): Use it to implement
13405 shell-completion-execonly (Bug#10417).
13407 * custom.el (enable-theme): Don't set custom-safe-themes.
13409 * cus-theme.el (custom-theme-merge-theme):
13410 Ignore custom-enabled-themes and custom-safe-themes.
13412 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13414 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13415 first prompt in `sql-interacive-mode'.
13416 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
13418 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
13419 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13420 context of original buffer. Invoke `sql-login-hook'.
13422 2012-01-04 Eli Zaretskii <eliz@gnu.org>
13424 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13425 letters in cite-prefix.
13427 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13429 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13431 2012-01-03 Chong Yidong <cyd@gnu.org>
13433 * shell.el (shell-dynamic-complete-functions):
13434 Put pcomplete-completions-at-point, so as to try
13435 comint-filename-completion first (Bug#10417).
13437 2012-01-02 Richard Stallman <rms@gnu.org>
13439 * battery.el (battery-status-function):
13440 Detect when to use battery-yeeloong-sysfs.
13441 (battery-echo-area-format): Add string for Yeeloong.
13442 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13443 (battery-yeeloong-sysfs): New function.
13445 2012-01-02 Chong Yidong <cyd@gnu.org>
13447 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13448 (dirtrack): Merge code for handling relative filenames in prompt
13449 from shell-dir-cookie-watcher.
13450 (dirtrack-debug-message): New arg to avoid excess format calls.
13452 * shell.el (shell-dir-cookie-re): Variable deleted.
13453 (shell-dir-cookie-watcher): Function deleted.
13454 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13455 with dirtrack-mode.
13457 2012-01-01 Eli Zaretskii <eliz@gnu.org>
13459 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13460 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
13463 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13465 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13467 2011-12-31 Eli Zaretskii <eliz@gnu.org>
13469 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13470 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13472 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
13474 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13475 also for alternative shells.
13476 (tramp-open-connection-setup-interactive-shell): Check, whether
13477 the shell is a busybox.
13478 (tramp-send-command): Don't suppress multiple prompts for
13479 busyboxes, it hurts.
13481 2011-12-28 Chong Yidong <cyd@gnu.org>
13483 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13484 (gdb-get-source-file): Move mode line update to
13485 gdb-get-source-file (Bug#10087).
13487 2011-12-25 Chong Yidong <cyd@gnu.org>
13489 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13490 gud-gdb-marker-filter without taking it as an argument.
13491 (gud-gdb-run-command-fetch-lines): Caller changed.
13492 (gud-gdb-completion-function): New variable.
13493 (gud-gdb-completion-at-point): Use it.
13494 (gud-gdb-completions-1): Split from gud-gdb-completions.
13496 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13497 function as separate arguments.
13498 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13499 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13500 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13501 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13502 (gdb-stopped, def-gdb-auto-update-trigger)
13503 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
13504 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13506 (gud-gdbmi-completions): New function.
13507 (gdb): Use it for generating the completion table.
13509 2011-12-24 Alan Mackenzie <acm@muc.de>
13511 Introduce a mechanism to widen the region used in context font
13512 locking. Use this to protect declarations from losing their contexts.
13514 * progmodes/cc-langs.el (c-before-font-lock-functions):
13515 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
13516 (c-before-context-fontification-functions): New defvar, a list of
13517 functions to be run just before context (etc.) font locking.
13519 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
13520 New, functionality extracted from
13521 c-neutralize-syntax-in-and-mark-CPP.
13522 (c-in-after-change-fontification): New variable.
13523 (c-after-change): Set c-in-after-change-fontification.
13524 (c-set-fl-decl-start): Rejig its interface, so it can be called
13525 from both after-change and context fontifying.
13526 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13528 (c-standard-font-lock-fontify-region-function): New variable.
13529 (c-font-lock-fontify-region): New function.
13531 2011-12-24 Juri Linkov <juri@jurta.org>
13533 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13536 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
13538 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13539 existence of source file. (Bug#10325)
13541 2011-12-23 Alan Mackenzie <acm@muc.de>
13543 Fix unstable fontification inside templates.
13545 * progmodes/cc-langs.el (c-before-font-lock-functions):
13546 Newly created from the singular version. The (c c++ objc) entry now
13547 additionally has c-set-fl-decl-start. The other languages (apart
13548 from AWK) have that as a single entry.
13550 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13551 The functionality for "local" declarations has been extracted to
13552 c-set-fl-decl-start.
13554 * progmodes/cc-mode.el (c-common-init, c-after-change):
13555 Changes due to pluralisation of c-before-font-lock-functions.
13556 (c-set-fl-decl-start): New function, extracted from
13557 c-font-lock-enclosing-decls and enhanced.
13559 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
13561 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13563 2011-12-22 Juri Linkov <juri@jurta.org>
13565 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13567 2011-12-22 Chong Yidong <cyd@gnu.org>
13569 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13571 2011-12-21 Drew Adams <drew.adams@oracle.com>
13573 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13575 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13577 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13579 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13581 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13582 highlighting and support. Fix up comments for capitalization.
13583 (cfengine-mode-debug): New var.
13584 (cfengine3-mode): Change the modeline indicator to "CFE3".
13585 (cfengine3-font-lock-keywords): Improve defun highlighting.
13586 (cfengine2-actions): Rename from `cfengine-actions'.
13587 (cfengine2-font-lock-keywords): Rename from
13588 `cfengine-font-lock-keywords'.
13589 (cfengine2-imenu-expression): Rename from
13590 `cfengine-imenu-expression'.
13591 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13592 (cfengine2-beginning-of-defun): Rename from
13593 `cfengine-beginning-of-defun'.
13594 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13595 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13596 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13597 modeline indicator to "CFE2".
13598 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13599 (cfengine-mode-abbrevs): Mark obsolete.
13601 2011-12-21 Chong Yidong <cyd@gnu.org>
13603 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13606 2011-12-20 Martin Rudalics <rudalics@gmx.at>
13608 * window.el (window-normalize-buffer-to-display): Remove.
13609 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13611 2011-12-19 Chong Yidong <cyd@gnu.org>
13613 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13614 Don't signal an error in a predicate function; return non-nil.
13615 (vc-dir-mark-file): Move the error here.
13616 (vc-dir-mark-unmark): If acting on the region, keep going if one
13617 of the entries cannot be marked/unmarked.
13618 (vc-dir-mark-all-files): If current entry is a directory, mark
13619 only child files, as documented.
13621 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13623 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13624 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13627 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13629 * term/ns-win.el (ns-get-selection-internal)
13630 (ns-store-selection-internal): Declare.
13631 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13632 Declare as obsolete.
13633 (ns-get-pasteboard, ns-paste-secondary):
13634 Use ns-get-selection-internal.
13635 (ns-set-pasteboard, ns-copy-including-secondary):
13636 Use ns-store-selection-internal.
13638 2011-12-17 Chong Yidong <cyd@gnu.org>
13640 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
13641 (vc-deduce-fileset): Doc fix.
13643 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13645 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13647 2011-12-13 Sam Steingold <sds@gnu.org>
13649 * man.el (Man-getpage-in-background): When running under a
13650 window-system, ignore $MANWIDTH and $COLUMNS.
13652 2011-12-15 Kenichi Handa <handa@m17n.org>
13654 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13655 (setup-ethiopic-environment-internal): Comment out key-binding for
13656 ethio-toggle-punctuation.
13658 2011-12-13 Alan Mackenzie <acm@muc.de>
13660 Add the switch statement to AWK Mode.
13662 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
13663 "default" to the keywords regexp.
13665 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
13666 expression as the rest.
13667 (c-nonlabel-token-key): Allow string literals for AWK.
13668 Refactor for the other modes.
13670 Large brace-block initialisation makes CC Mode slow: Fix.
13671 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13672 routines. Limit backward searching in c-font-lock-enclosing.decl.
13674 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13675 pp-state and literal type in addition to the limits.
13676 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13677 (c-state-literal-at): Use the above new defun.
13678 (c-slow-in-literal, c-fast-in-literal): Remove.
13679 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13681 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13682 being in a literal. Add a limit for backward searching.
13684 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13687 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13689 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13691 2011-12-13 Martin Rudalics <rudalics@gmx.at>
13693 * window.el (delete-other-windows): Use correct frame in call to
13694 window-with-parameter.
13696 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13698 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13699 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13700 (makefile-gmake-statements, makefile-makepp-statements):
13701 Use it and add new makepp keywords.
13702 (makefile-makepp-font-lock-keywords): Add new patterns.
13703 (makefile-match-function-end): Match new [...] and [[...]].
13705 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
13707 * ses.el (ses-call-printer-return, ses-cell-property-get)
13708 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13709 (ses-create-cell-variable, ses-reset-header-string)
13710 (ses-cell-set-formula, ses-repair-cell-reference-all)
13711 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13712 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13713 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13714 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13715 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13716 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13717 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13718 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13719 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13720 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13721 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13722 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13724 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13726 * ses.el: The overall change is to add cell renaming, that is
13727 setting fancy names for cell symbols other than name matching
13728 "\\`[A-Z]+[0-9]+\\'" regexp .
13729 (ses-create-cell-variable): New defun.
13730 (ses-relocate-formula): Relocate formulas only for cells the
13731 symbols of which are not renamed, i.e. symbols whose names do not
13732 match regexp "\\`[A-Z]+[0-9]+\\'".
13733 (ses-relocate-all): Relocate values only for cells the symbols of
13734 which are not renamed.
13735 (ses-load): Create cells variables as the (ses-cell ...) are read,
13736 in order to check row col consistency with cell symbol name only
13737 for cells that are not renamed.
13738 (ses-replace-name-in-formula): New defun.
13739 (ses-rename-cell): New defun.
13741 2011-12-11 Chong Yidong <cyd@gnu.org>
13743 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13744 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13746 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13748 * window.el (other-window): Fix docstring.
13750 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13752 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
13753 `from' or `to' address before taking its substring.
13754 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
13755 encoded name is chopped in the middle of the encoded string, and
13756 thus displayed encoded.
13758 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
13760 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13762 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13764 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13765 to use texinfo-update-node and commands that call it if the
13766 Texinfo file uses @node lines without next/prev/up pointers.
13767 Correct outdated description about texinfo-master-menu.
13768 (texinfo-all-menus-update, texinfo-master-menu)
13769 (texinfo-update-node, texinfo-every-node-update)
13770 (texinfo-multiple-files-update): Doc fix. Warn against updating
13771 all the @node lines.
13772 (texinfo-master-menu): Only call texinfo-update-node if the prefix
13773 argument is numeric. Explain better in the doc string what the
13774 function really does.
13775 (texinfo-insert-master-menu-list): Improve the error message
13776 displayed if there's no menu in the Top node.
13777 (Bug#2975) See also this thread:
13778 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13780 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13782 * speedbar.el (speedbar-supported-extension-expressions):
13783 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13785 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
13787 * printing.el (pr-mode-alist):
13788 * simple.el (filter-buffer-substring-functions)
13789 (completion-list-insert-choice-function):
13790 * window.el (window-with-parameter, window-atom-root)
13791 (window-sides-slots, window-size-fixed, window-min-delta)
13792 (window-max-delta, window--resize-mini-window)
13793 (window--resize-child-windows-normal, window-tree)
13794 (delete-other-windows, quit-window, split-window)
13795 (display-buffer-record-window, special-display-buffer-names)
13796 (special-display-regexps, special-display-popup-frame)
13797 (same-window-p, split-window-sensibly)
13798 (display-buffer-overriding-action, display-buffer-alist)
13799 (display-buffer-base-action, display-buffer, switch-to-buffer)
13800 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13801 (fit-window-to-buffer, recenter-positions)
13802 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13803 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13804 and remove unneeded backslashes in docstrings.
13806 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13808 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13810 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13811 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13813 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13814 when reading the makefile (bug#10116).
13816 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13818 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13821 2011-12-06 Glenn Morris <rgm@gnu.org>
13823 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13825 2011-12-06 Chong Yidong <cyd@gnu.org>
13827 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13829 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
13831 * textmodes/table.el (table-shorten-cell): Fix typo.
13833 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13835 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13837 2011-12-05 Eli Zaretskii <eliz@gnu.org>
13839 * descr-text.el (describe-char): Fix display of strong
13840 right-to-left characters and directional embeddings and overrides.
13842 * simple.el (what-cursor-position): Fix display of codepoints of
13843 strong right-to-left characters.
13845 2011-12-05 Chong Yidong <cyd@gnu.org>
13847 * faces.el (read-color): Doc fix.
13849 2011-12-05 Glenn Morris <rgm@gnu.org>
13851 * align.el (align--set-marker): Add doc-string.
13852 Don't try to move something that is not a marker. (Bug#10216)
13854 2011-12-04 Glenn Morris <rgm@gnu.org>
13856 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13857 overly zealous deletion of trailing whitespace.
13859 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
13861 * server.el (server-delete-client): On Windows, do not try to delete
13863 (server-process-filter): On Windows, treat requests for a tty frame as
13864 if they were for a GUI frame if the running server is in GUI mode.
13866 2011-12-03 Glenn Morris <rgm@gnu.org>
13868 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13870 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13872 * electric.el: Streamline electric-indent's hook.
13873 (electric-indent-chars): Revert to simple list.
13874 (electric-indent-functions): New var.
13875 (electric-indent-post-self-insert-function): Use it.
13877 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13878 there's no inferior buffer (bug#10196).
13879 (prolog-consult-compile): Don't use toggle-read-only.
13881 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
13883 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13884 interrupt. (Bug#10187)
13886 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13888 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13891 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13894 2011-12-02 Juri Linkov <juri@jurta.org>
13896 * info.el (Info-search): Display "end of manual" when Isearch
13897 reaches the end of single-file Info manual. (Bug#9918)
13899 2011-12-02 Eli Zaretskii <eliz@gnu.org>
13901 * isearch.el (isearch-message-prefix): Run the input method part
13902 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13904 2011-12-02 Juri Linkov <juri@jurta.org>
13906 * isearch.el (isearch-occur): Use `word-search-regexp' for
13908 (isearch-search-and-update): Add condition for `isearch-word' and
13909 call `word-search-regexp'. (Bug#10145)
13911 2011-12-01 Glenn Morris <rgm@gnu.org>
13913 * eshell/em-hist.el (eshell-hist-initialize):
13914 Handle eshell-history-size nil and HISTSIZE set or unset.
13915 (eshell-history-file-name, eshell-history-size): Fix custom type.
13917 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13919 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13921 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
13923 * progmodes/verilog-mode.el (verilog-pretty-expr):
13924 Rework verilog-pretty-expr to handle new assignment operators in system
13925 verilog, such as += *= and the like.
13926 (verilog-assignment-operator-re): Regular expression to find the
13927 assigment operator in a verilog assignment.
13928 (verilog-assignment-operation-re): Regular expression to find an
13929 assignment statement for pretty-expr.
13930 (verilog-in-attribute-p): Query returns true if point is in an
13931 attribute context; used to skip these for expression line up from
13933 (verilog-in-parameter-p): Query returns true if point is in an
13934 parameter definition context; used to skip these for expression
13935 line up from pretty-expr.
13936 (verilog-in-parenthesis-p): Query returns true if point is in a
13937 parenthetical expression, specifically ( ) but not [ ] or { };
13938 used by pretty-expr.
13939 (verilog-just-one-space): If there is no space, don't add one.
13940 (verilog-get-lineup-indent-2): Specifically skip just attribute
13941 contexts for expression lineup, rather than skipping all
13942 parenthetical expressions.
13943 (verilog-calculate-indent): Fix comment, and fix indent.
13944 (verilog-do-indent): Indent declarations in lists (suggested by
13946 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13948 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13951 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
13953 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13954 parameters with embedded comments. Reported by Ray Stevens.
13955 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13956 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13957 Reported by Tim Holt.
13958 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13959 instantiated by upper module causing wrong expansion until AUTOed a
13960 second time. Reported by K C Buckenmaier.
13961 (verilog-diff-auto): Fix showing .* as a difference when
13962 `verilog-auto-star-save' off. Reported by Dan Dever.
13963 (verilog-auto-reset, verilog-read-always-signals)
13964 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13965 temporary signals in reset list if
13966 verilog-auto-reset-blocking-in-non is nil, and match assignment
13967 style to each signal's assignment type, bug381.
13968 Reported by Thomas Esposito.
13969 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13970 (verilog-uvm-statement-re): Support UVM indentation and
13971 highlighting, with old OVM keywords only.
13972 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13973 Support AUTOTIEOFF creating non-wire data types.
13974 Suggested by Jonathan Greenlaw.
13975 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13976 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13977 (verilog-inject-sense, verilog-read-inst-pins)
13978 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13979 Fix mismatching parenthesis inside commented out code when deleting
13980 AUTOINST, bug383. Reported by Jonathan Greenlaw.
13981 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13982 non-numeric vector width. Reported by Alex Reed.
13983 (verilog-auto-ascii-enum): Add "onehot" option to work around not
13984 detecting signals with parameter widths. Reported by Alex Reed.
13985 (verilog-auto-delete-trailing-whitespace):
13986 With `verilog-auto-delete-trailing-whitespace' remove trailing
13987 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13988 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13989 Fix verilog-scan-cache corruption when running user AUTO expansion
13990 hooks that call indentation routines.
13991 (verilog-simplify-range-expression): Fix typo ignoring lower case
13993 (verilog-delete-auto): Fix delete-autos to also remove user created
13994 automatics, as long as they start with AUTO.
13995 (verilog-batch-diff-auto, verilog-diff-auto)
13996 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13997 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13998 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13999 (verilog-in-paren-quick, verilog-re-search-backward-quick)
14000 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14001 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
14002 is disabled and its cache will get corrupt, causing AUTOS not to
14003 expand. Instead use only -quick functions.
14004 (verilog-scan-region): Fix scanning over escaped quotes.
14005 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14006 (verilog-re-search-backward-quick)
14007 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14008 related functions now ignore strings, to fix misparsing of strings
14009 with magic comments embedded in them.
14010 (verilog-read-auto-template):
14011 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14012 Reported by Brad Dobbie.
14013 (verilog-read-auto-template):
14014 Fix 'verilog-auto-inst-template-numbers' with comments.
14015 Reported by Brad Dobbie.
14016 (verilog-auto-inst, verilog-auto-inst-param)
14017 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14018 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14019 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
14020 debugging templates without merge conflicts, bug357.
14021 Reported by Brad Dobbie.
14022 (verilog-read-auto-template):
14023 Fix verilog-auto-inst-template-numbers with multiple templates.
14024 Reported by Brad Dobbie.
14025 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14026 abbrevs so user won't be asked to save.
14027 (verilog-read-auto-lisp-present): Fix to start at beginning of
14028 buffer in case called outside of verilog-auto.
14029 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14030 to "X-2". Reported by Matthew Myers.
14031 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14032 all inputs from module templates. Reported by Leith Johnson.
14033 (verilog-module-inside-filename-p): Fix locating programs as with
14035 (verilog-auto-inst-port): Fix vl-width expressions when using
14036 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14037 (verilog-decls-get-regs, verilog-decls-get-signals,
14038 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14039 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14040 verilog-read-decls): Combine reg and wire structures into one var
14041 structure to represent SystemVerilog concepts.
14042 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14043 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
14044 (verilog-auto-wire-type, verilog-insert-definition):
14045 Add verilog-auto-wire-type and AUTOLOGIC to support using
14046 SystemVerilog "logic" keyword instead of "wire"/"reg".
14047 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14048 to declares outputs that also have assignments (presumably in an
14049 ifdef or generate if so there's not a driver conflict).
14050 Reported by Matthew Myers.
14051 (verilog-auto-declare-nettype, verilog-insert-definition):
14052 Add verilog-auto-declare-nettype to fix declarations using
14053 `default_nettype none. Reported by Julian Gorfajn.
14054 (verilog-read-always-signals-recurse, verilog-read-decls)
14055 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14056 malformed end statement, bug325. Reported by Joshua Wise and
14058 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14059 (verilog-inst-comment-re): Fix not deleting Interfaced comment
14060 when expanding .* in interfaces, bug320.
14061 Reported by Pierre-David Pfister.
14062 (verilog-read-module-name): Fix import statements between module
14063 name and open parenthesis, bug317.
14064 Reported by Pierre-David Pfister.
14065 (verilog-simplify-range-expression): Fix simplification of
14066 multiplications inside AUTOWIRE connections, bug303.
14067 (verilog-auto-inst-port): Support parameter expansion in
14068 multidimensional arrays.
14069 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14070 after "assert property". Reported by Julian Gorfajn.
14071 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14072 with multiplication, bug303.
14073 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14074 Reported by Jan Frode Lonnum.
14076 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
14078 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14079 (hfy-shell-file-name, hfy-shell):
14080 * international/fontset.el (x-decompose-font-name): Fix typos.
14082 2011-11-29 Ken Brown <kbrown@cornell.edu>
14084 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14085 (gdb-version): Remove defvar.
14086 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14087 (gdb-gud-context-command, gdb-non-stop-handler)
14088 (gdb-current-context-command, gdb-stopped): Use it.
14089 (gdb-init-1): Enable pretty printing here.
14090 (gdb-non-stop-handler): Don't enable pretty-printing here.
14091 Check to see if the target supports non-stop mode; if not, turn off
14092 non-stop mode. Use the following.
14093 (gdb-check-target-async): New defun.
14094 (gud-watch, gdb-stopped): Fix whitespace.
14095 (gdb-get-source-file): Don't try to display the source file if
14096 `gdb-main-file' is nil.
14098 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14100 * align.el: Try to generate fewer markers (bug#10047).
14101 (align--set-marker): New macro.
14102 (align-region): Use it.
14104 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14106 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14108 2011-11-29 Chong Yidong <cyd@gnu.org>
14110 * indent.el (indent-for-tab-command, indent-according-to-mode):
14112 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14114 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
14116 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14117 aware of remote file names. (Bug#10124)
14119 2011-11-29 Chong Yidong <cyd@gnu.org>
14121 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14123 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14125 * files.el (find-file): Don't use force-same-window (bug#10144).
14126 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14127 use pop-to-buffer if the selected window can't be used.
14128 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14130 2011-11-28 Eli Zaretskii <eliz@gnu.org>
14132 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14135 2011-11-28 Chong Yidong <cyd@gnu.org>
14137 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14139 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
14141 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14142 gdb-get-source-file-list on gdb-create-source-file-list.
14144 2011-11-26 Eli Zaretskii <eliz@gnu.org>
14146 * whitespace.el (whitespace-newline): Use a different foreground
14147 color for 16-color light-background displays.
14149 2011-11-24 Chong Yidong <cyd@gnu.org>
14151 * window.el (display-buffer--special-action): Doc fix.
14153 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
14155 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14156 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14157 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14158 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14159 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14160 (avl-tree-stack-first):
14161 * emacs-lisp/cconv.el (cconv--analyse-use):
14162 * net/gnutls.el (gnutls-negotiate): Fix typos.
14164 2011-11-24 Glenn Morris <rgm@gnu.org>
14166 * lpr.el (lpr-windows-system, lpr-lp-system):
14167 * mail/binhex.el (binhex-begin-line):
14168 * progmodes/grep.el (grep-history, grep-find-history):
14169 * textmodes/flyspell.el:
14170 * vc/pcvs-defs.el (cvs-global-menu):
14171 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14172 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14173 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14175 * net/tls.el: Fix case of "GnuTLS".
14177 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14179 * version.el (emacs-build-system): Give it a doc-string.
14181 2011-11-24 Juri Linkov <juri@jurta.org>
14183 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14185 2011-11-24 Glenn Morris <rgm@gnu.org>
14187 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14188 if called on a non-mime message just toggle the headers. (Bug#8006)
14190 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
14192 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14193 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14194 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14195 (allout-rebullet-heading, allout-open-sibtopic)
14196 (allout-toggle-current-subtree-encryption)
14197 (allout-toggle-subtree-encryption, allout-encrypt-string)
14198 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14199 (allout-distinctive-bullets-string, allout-auto-activation):
14200 * window.el (window-normalize-buffer-to-display):
14201 * progmodes/verilog-mode.el (verilog-batch-indent):
14202 * textmodes/bibtex.el (bibtex-field-braces-opt)
14203 (bibtex-field-strings-opt):
14204 * vc/cvs-status.el (cvs-tree-merge):
14207 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
14209 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14210 `non-essential' to t, in order to avoid remote connections.
14212 2011-11-23 Eli Zaretskii <eliz@gnu.org>
14214 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14215 On MS-DOS and MS-Windows, compare with loaddefs.el
14216 case-insensitively.
14218 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14220 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14222 2011-11-23 Glenn Morris <rgm@gnu.org>
14224 * paths.el (rmail-file-name): Reformat the doc-string so that it
14227 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14228 (rmail-auto-file): Ignore case in the "special" field names,
14229 as mail-fetch-field does for all others.
14231 * mail/rmail.el (rmail-forward):
14232 * mail/rmailkwd.el (rmail-set-label):
14233 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14234 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14236 * mail/rmail.el (rmail-current-message): Doc fix.
14238 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14240 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14242 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14244 2011-11-22 Glenn Morris <rgm@gnu.org>
14246 * mail/rmailmm.el (test-rmail-mime-handler)
14247 (test-rmail-mime-bulk-handler)
14248 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14250 2011-11-21 Juri Linkov <juri@jurta.org>
14252 * calc/calc.el (calc-read-key-sequence):
14253 Let-bind `input-method-function' to nil. (Bug#10018)
14255 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14257 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14258 Tell the caller that the next line needs recomputation, even
14259 though it doesn't start a sexp (bug#10094).
14261 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14263 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14265 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14267 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14268 Use force-same-window.
14270 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14272 * descr-text.el (describe-char-unicode-data):
14273 * json.el (json-string-escape):
14274 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14275 (Footnote-unicode, Footnote-style-p):
14276 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14278 2011-11-20 Chong Yidong <cyd@gnu.org>
14280 * window.el (replace-buffer-in-windows): Restore interactive spec.
14282 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14284 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14286 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14287 (byte-compile-global-not-obsolete-vars): New var.
14288 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14290 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14292 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14294 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14295 * progmodes/pascal.el (electric-pascal-equal):
14296 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14297 * xml.el (xml-substitute-special): Fix typos.
14299 2011-11-20 Glenn Morris <rgm@gnu.org>
14301 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14302 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14304 (rmail-decode-mime-charset): Mark as obsolete.
14306 * mail/rmailsum.el (rmail-message-regexp-p-1):
14307 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14308 Before using mime functions, check they are set. (Bug#10077)
14310 2011-11-19 Juri Linkov <juri@jurta.org>
14312 * info.el (Info-finder-find-node): Use `package--builtins' instead
14313 of `package-alist'. Use node names formed by the pattern "Keyword "
14314 and the keyword name.
14316 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14318 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
14320 2011-11-19 Juri Linkov <juri@jurta.org>
14322 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14323 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14324 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14325 `old-history', `old-history-forward'. Add let-binding
14326 `window-selected'. Remove calls to `kill-buffer',
14327 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14328 before calling `Info-find-node', so `Info-find-node-2' will reread
14329 the Info file. Restore window positions only when `window-selected'
14332 2011-11-19 Juri Linkov <juri@jurta.org>
14334 * isearch.el (isearch-lazy-highlight-new-loop):
14335 Remove condition `(not isearch-error)'. (Bug#9918)
14337 * misearch.el (multi-isearch-search-fun): Add condition
14338 `(not bound)' to ignore lazy-highlighting search.
14339 Add the search-failed message "end of multi" when the end of
14340 multi-sequence is reached. Uncapitalize the search-failed
14341 message "Repeat for next buffer".
14343 * info.el (Info-search): Add the search-failed message
14344 "end of the manual" when the end of the manual is reached
14347 2011-11-19 Juri Linkov <juri@jurta.org>
14349 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14350 Use non-destructive `remove' instead of `delete' because
14351 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14352 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14354 2011-11-19 Juri Linkov <juri@jurta.org>
14356 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14357 to nil instead of binding `search-ring' and `regexp-search-ring'.
14360 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14362 * simple.el (line-move): Force movement by logical lines for any
14363 hscrolled window, not only when auto-hscroll-mode is on.
14364 (line-move-visual): Update doc string to that effect. (Bug#10076)
14366 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14368 * language/european.el (macintosh): Define as alias for mac-roman.
14370 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14372 * mail/rmailmm.el (rmail-mime-display-header)
14373 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14374 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14375 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14376 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14377 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14379 (rmail-mime-entity-segment): To get past the tagline, move forward
14380 2 more lines, to account for the 2 empty lines that precede and
14381 follow the line with the buttons.
14382 (rmail-mime-update-tagline): Move one more line, to get past the
14383 empty line that follows the buttons in the tagline. (Bug#9520)
14385 2011-11-19 Martin Rudalics <rudalics@gmx.at>
14387 * window.el (window-max-delta-1, window-min-delta-1)
14388 (window-min-size-1, window-state-get-1, window-state-put-1)
14389 (window-state-put-2): Use "window--" prefix.
14391 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14393 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14394 (smie-warning-count): New var.
14395 (smie-set-prec2tab): Use it.
14396 (smie-bnf->prec2): Improve warnings. Add docstring.
14397 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14398 (smie-bnf--set-class): New function.
14399 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14402 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14403 (compilation-error-properties, compilation-move-to-column):
14404 Handle compilation-first-column while in the target buffer.
14406 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14407 Don't hardcode point-min==1.
14409 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14410 (eshell-rewrite-for-command): Remove workaround.
14411 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14412 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14413 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14415 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14417 2011-11-17 Glenn Morris <rgm@gnu.org>
14419 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14420 Ignore buffer-local generated-autoload-file if it is the same
14421 as the global value. (Bug#10049)
14423 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
14425 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14426 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14427 (reftex-toc-previous-heading, reftex-toc-max-level)
14428 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14429 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14430 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14431 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14432 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14433 (reftex-toc-rename-label, reftex-toc-visit-location)
14434 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14435 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14436 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14437 leaving "*toc*" only for references to the buffer.
14439 2011-11-17 Martin Rudalics <rudalics@gmx.at>
14441 * window.el (window-resize, delete-window, split-window):
14442 Replace window-splits by window-combination-resize.
14443 * cus-start.el (window-splits): Replace by window-combination-resize.
14445 2011-11-17 Glenn Morris <rgm@gnu.org>
14447 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14448 Make bash entry derive from sh entry, not shell entry.
14450 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
14452 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14455 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14457 * menu-bar.el (menu-bar-file-menu):
14458 * printing.el (pr-ps-utility):
14459 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14460 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14461 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14462 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14463 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14464 (icalendar--convert-cyclic-to-ical)
14465 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14466 (icalendar--convert-ical-to-diary)
14467 (icalendar--convert-recurring-to-diary)
14468 (icalendar--convert-non-recurring-all-day-to-diary)
14469 (icalendar-import-format-sample):
14470 * progmodes/idlw-shell.el (idlwave-shell-mode):
14471 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14472 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14473 (vhdl-ps-print-init): Fix typos.
14475 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14477 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14478 FSF and collapse date sequence, obscure author/maintainer email address
14479 better, remove extra version line, track relocation of author's webpage.
14481 * progmodes/python.el (python-pdbtrack-input-prompt)
14482 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14483 regular python pdb prompts. Adjustments shamelessly taken exactly as
14484 suggested in EmacsWiki page (tiny change):
14485 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
14487 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14489 * expand.el (expand-pos, expand-index, expand-point):
14490 Remove redundant info from docstring.
14491 (expand-add-abbrevs): Doc fix.
14492 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14493 (expand-sample-perl-mode-expand-list): Fix typos.
14495 * net/dbus.el (dbus-event-member-name):
14496 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14497 * term/pc-win.el (msdos-create-frame-with-faces):
14498 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14500 2011-11-16 Martin Rudalics <rudalics@gmx.at>
14502 * window.el (split-window, window-state-get-1)
14503 (window-state-put-1, window-state-put-2): Rename occurrences of
14504 window-nest to window-combination-limit.
14505 * cus-start.el (window-nest): Rename to window-combination-limit.
14507 2011-11-16 Chong Yidong <cyd@gnu.org>
14509 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14510 regexp (Bug#10033).
14512 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14514 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14515 `completing-read' will remove *Completions* and will preserve
14516 current-buffer for us.
14517 (tmm-add-prompt): Users of *Completions* will always (re)set its
14519 (tmm-old-comp-map): Remove.
14521 2011-11-16 Glenn Morris <rgm@gnu.org>
14523 * mail/rmailedit.el: Require rmailmm when compiling.
14524 (rmail-old-mime-state): New declaration.
14525 (rmail-edit-current-message): If editing a mime message,
14526 edit the "raw" message from the mbox buffer.
14527 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14529 2011-11-15 Glenn Morris <rgm@gnu.org>
14531 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14532 which wasn't being used. Add optional arg to force given state.
14533 (rmail-mime): Add optional arg to force given state.
14535 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14537 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14538 * frame.el (display-mm-dimensions-alist):
14539 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14540 (outline-move-subtree-down):
14541 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14542 (newsticker--treeview-do-get-node):
14543 * net/quickurl.el (quickurl-list-buffer-name):
14544 * progmodes/dcl-mode.el (dcl-mode):
14545 * progmodes/gdb-mi.el (gdb-mapcar*):
14546 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14548 2011-11-15 Glenn Morris <rgm@gnu.org>
14550 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14551 in a boolean sense, so just make it a boolean, and fix the doc.
14552 (rmail-show-mime-function, rmail-mime-feature)
14553 (rmail-require-mime-maybe): Doc fixes.
14554 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14556 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14558 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14560 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14561 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14562 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14563 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14565 2011-11-15 Glenn Morris <rgm@gnu.org>
14567 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14568 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14569 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14570 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14571 (rmail-mime, rmail-show-mime): Doc fixes.
14573 * term/ns-win.el (mode-line-frame-identification):
14574 Leave it alone. (Bug#10051)
14576 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14578 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14579 Handle empty buffers. (Bug#9978)
14581 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
14583 * international/mule.el (define-charset):
14584 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14585 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14586 * progmodes/verilog-mode.el (verilog-backward-token):
14587 * textmodes/ispell.el (lookup-words):
14588 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14590 2011-11-14 Glenn Morris <rgm@gnu.org>
14592 * progmodes/executable.el
14593 (executable-make-buffer-file-executable-if-script-p):
14594 Handle file-modes returning nil.
14596 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14597 message - not necessary, and causes problems. (Bug#9831)
14599 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14601 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14603 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14604 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14605 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14607 2011-11-12 Martin Rudalics <rudalics@gmx.at>
14609 * window.el (window-resize, delete-window): Use window-splits
14610 variable instead of function.
14611 (window-state-get-1, window-state-put-2, window-state-put):
14612 Don't deal with windows' splits status.
14614 2011-11-12 Glenn Morris <rgm@gnu.org>
14616 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14617 (apropos-documentation): Doc fixes.
14619 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14621 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14622 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14624 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14626 * electric.el (electric-indent-post-self-insert-function): Make it
14627 possible for a char to only indent in some circumstances.
14628 (electric-indent-mode): Simplify.
14630 2011-11-11 Martin Rudalics <rudalics@gmx.at>
14632 * window.el (windows-with-parameter): Remove unused function.
14633 (windows-at-side): Rename to window-at-side-list.
14634 (window-check, window-atom-check, window-atom-check-1)
14635 (window-side-check, window-size-ignore, window-size-fixed-1)
14636 (window-in-direction-2): Prefix with "window--".
14637 (window-tree-1): Rename to window--subtree, fix doc-string.
14639 2011-11-11 Glenn Morris <rgm@gnu.org>
14641 * subr.el (eval-after-load): If FILE is already loaded,
14642 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14644 2011-11-10 Glenn Morris <rgm@gnu.org>
14646 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14647 Call svn via vc-svn-command rather than vc-do-command.
14648 (vc-svn-command): Add --non-interactive. (Bug#9993)
14649 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14651 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14652 Add toggle-read-only. (Bug#7292)
14653 * files.el (toggle-read-only): Mention that it should only
14654 be used interactively. (Bug#10006)
14656 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14658 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14659 Adjust regexp for OCaml warnings.
14661 * electric.el (electric-pair-post-self-insert-function): Let user
14662 turn it off buffer-locally (bug#9932).
14664 * progmodes/python.el (python-beginning-of-statement):
14665 Rewrite (bug#2703).
14667 * progmodes/compile.el: Better handle TABs (bug#9749).
14668 (compilation-internal-error-properties)
14669 (compilation-next-error-function): Obey the target buffer's
14670 compilation-error-screen-columns.
14672 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
14674 * progmodes/meta-mode.el: Remove obsolete comments.
14675 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14676 Fix typos in docstrings.
14678 2011-11-09 Martin Rudalics <rudalics@gmx.at>
14680 * window.el (window-size-fixed-p): Rewrite doc-string.
14681 (window-resizable-p): Rename to window--resizable-p. Update callers.
14682 (window--resizable): New function. Make all callers of
14683 window-resizable call window--resizable instead.
14684 (window-resizable): Rewrite in terms of window--resizable.
14686 2011-11-08 Glenn Morris <rgm@gnu.org>
14688 * progmodes/delphi.el (delphi-mode-syntax-table):
14689 Let define-derived-mode define a proper syntax table. (Bug#9994)
14691 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14693 * window.el: Stay away from defsubst.
14694 (window-list-no-nils): Remove.
14695 (window-state-get-1, window-state-get): Use backquote instead.
14697 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14699 * emacs-lisp/find-func.el (find-function-read):
14700 Fix incorrect use of default argument in `completing-read'.
14702 2011-11-08 Martin Rudalics <rudalics@gmx.at>
14704 * window.el (display-buffer-function, special-display-function):
14705 Mention display-buffer-record-window but do not mention
14706 help-setup parameter in doc-strings.
14707 (window-min-delta): Fix doc-string typo.
14709 2011-11-08 Chong Yidong <cyd@gnu.org>
14711 * window.el (window-total-height, window-total-width): Doc fix.
14712 (window-body-size): Move from C.
14713 (window-body-height, window-body-width): Move to C.
14715 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14717 * window.el: Make special-display like display-buffer-alist (bug#9532).
14718 (display-buffer--special-action): New function, morphed
14719 from display-buffer--special.
14720 (display-buffer): Use it to handle special-display-buffers at higher
14721 priority (just after display-buffer-alist).
14722 (display-buffer-fallback-action, display-buffer--other-frame-action)
14723 (pop-to-buffer-same-window): Remove display-buffer--special.
14725 2011-11-07 Glenn Morris <rgm@gnu.org>
14727 * calendar/cal-menu.el (cal-menu-set-date-title):
14728 Do nothing if not in a calendar. (Bug#9976)
14730 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14732 * files.el (find-file): Always use selected-window.
14734 2011-11-07 Martin Rudalics <rudalics@gmx.at>
14736 * window.el (window-combinations): Make WINDOW argument
14737 mandatory. Rewrite doc-string.
14738 (walk-window-subtree, window-atom-check, window-min-delta)
14739 (window-max-delta, window--resize-this-window)
14740 (window--resize-root-window-vertically, window-tree)
14741 (balance-windows, window-state-put): Rewrite doc-strings as to
14742 not mention the term "subwindow".
14743 (window--resize-subwindows-skip-p): Rename to
14744 window--resize-child-windows-skip-p.
14745 (window--resize-subwindows-normal): Rename to
14746 window--resize-child-windows-normal.
14747 (window--resize-subwindows): Rename to
14748 window--resize-child-windows.
14749 (window-or-subwindow-p): Rename to window--in-subtree-p.
14751 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14753 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14754 Ensure that mbox format messages end in two newlines (Bug#9974).
14756 2011-11-06 Chong Yidong <cyd@gnu.org>
14758 * window.el (window-combination-p): Function deleted; its
14759 side-effect is not used in any existing code.
14760 (window-combinations, window-combined-p): Call window-*-child
14763 2011-11-05 Chong Yidong <cyd@gnu.org>
14765 * window.el (window-valid-p): Rename from window-any-p.
14766 (window-size-ignore, window-state-get): Callers changed.
14767 (window-normalize-window): Rename from window-normalize-any-window.
14768 New arg LIVE-ONLY, replacing window-normalize-live-window.
14769 (window-normalize-live-window): Delete.
14770 (window-combination-p, window-combined-p, window-combinations)
14771 (walk-window-subtree, window-atom-root, window-min-size)
14772 (window-sizable, window-sizable-p, window-size-fixed-p)
14773 (window-min-delta, window-max-delta, window-resizable)
14774 (window-resizable-p, window-full-height-p, window-full-width-p)
14775 (window-current-scroll-bars, window-point-1, set-window-point-1)
14776 (window-at-side-p, window-in-direction, window-resize)
14777 (adjust-window-trailing-edge, maximize-window, minimize-window)
14778 (window-deletable-p, delete-window, delete-other-windows)
14779 (record-window-buffer, unrecord-window-buffer)
14780 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14781 (quit-window, split-window, window-state-put)
14782 (set-window-text-height, fit-window-to-buffer)
14783 (shrink-window-if-larger-than-buffer): Callers changed.
14785 2011-11-04 Eli Zaretskii <eliz@gnu.org>
14787 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14788 rfc2047-decode-string.
14789 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14792 * window.el (window-body-height, window-body-width): Mention in
14793 the doc string that the return values are in frame's canonical
14796 2011-11-03 Alan Mackenzie <acm@muc.de>
14798 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14799 change in cc-engine.el.
14801 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14803 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14805 2011-11-02 Martin Rudalics <rudalics@gmx.at>
14807 * window.el (quit-window): Call unrecord-window-buffer after
14808 showing another buffer in the window. (Bug#9937)
14809 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
14811 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
14813 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14814 Accept status with more than 9 shelves. (Bug#9935)
14815 Reported by Colin D Bennett <colin@gibibit.com>.
14817 2011-11-01 Martin Rudalics <rudalics@gmx.at>
14819 * help.el (with-help-window): Don't reference
14820 temp-buffer-show-specifiers in doc-string.
14822 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14824 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14827 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14829 * whitespace.el: New version 13.2.2.
14830 (whitespace-newline-mode): Disable properly. Reported by Sarah
14833 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
14835 * net/newst-treeview.el: Remove "Time-stamp".
14836 (newsticker--group-manage-orphan-feeds): Do not call
14837 newsticker--treeview-tree-update.
14838 (newsticker-treeview-update, newsticker-treeview):
14839 Call newsticker--treeview-tree-update if necessary.
14841 2011-10-30 Martin Rudalics <rudalics@gmx.at>
14843 * window.el (window-iso-combination-p, window-iso-combined-p)
14844 (window-iso-combinations): Remove "iso-" infix.
14845 Suggested by Chong Yidong.
14846 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14847 (window-max-delta-1, window-resize, window--resize-siblings)
14848 (window--resize-this-window, adjust-window-trailing-edge)
14849 (split-window, balance-windows-1)
14850 (shrink-window-if-larger-than-buffer):
14851 * calendar/calendar.el (calendar-generate-window):
14852 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14854 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14856 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14857 in place (bug#9907).
14858 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14859 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14860 (eshell-structure-basic-command, eshell-rewrite-while-command)
14861 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14862 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14863 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14864 (eshell-do-pipelines-synchronously, eshell-eval-command):
14865 Use backquotes and prefer setq to set.
14866 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14867 (eshell-macrop): Use functionp.
14868 (eshell-do-eval): Handle multiple expressions in `while' body.
14870 2011-10-30 Chong Yidong <cyd@gnu.org>
14872 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14873 instead of set-mark (Bug#9810).
14875 2011-10-30 Chong Yidong <cyd@gnu.org>
14877 * window.el (split-window-below, split-window-right): Rename from
14878 split-window-above-each-other and split-window-side-by-side
14879 respectively. All callers changed.
14880 (split-window-sensibly, split-window-sensibly): Use them.
14881 (split-window-keep-point): Doc fix.
14883 * isearch.el: Add isearch-scroll property to split-window-below
14884 and split-window-right.
14886 * follow.el (follow-mode):
14887 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14888 * progmodes/ada-xref.el (ada-gdb-application):
14889 * emulation/vip.el (vip-buffer-in-two-windows):
14890 * image-dired.el (image-dired-dired-with-window-configuration):
14891 * dired-x.el (dired-do-find-marked-files):
14892 * dired.el (dired-pop-to-buffer):
14893 * bs.el (bs--show-with-configuration):
14894 * vc/emerge.el (emerge-setup-windows):
14895 * textmodes/two-column.el (2C-two-columns):
14896 * textmodes/reftex-toc.el (reftex-toc):
14897 * progmodes/gdb-mi.el (gdb-setup-windows):
14898 * progmodes/fortran.el (fortran-window-create):
14899 * net/newst-treeview.el (newsticker--treeview-window-init):
14900 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14901 * emulation/tpu-edt.el (tpu-gold-map):
14902 * emulation/crisp.el (crisp-mode-map):
14903 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14905 2011-10-29 Chong Yidong <cyd@gnu.org>
14907 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14909 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14911 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14912 forged Ispell output (Bug#7904).
14914 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14916 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14918 * doc-view.el: Avoid ugly errors about not finding nil.
14919 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14920 (doc-view-dvipdf-program, doc-view-unoconv-program)
14921 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14922 Avoid nil or absolute file name as default value.
14923 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14925 2011-10-28 Alan Mackenzie <acm@muc.de>
14927 * progmodes/cc-defs.el (c-version): -> 5.32.2.
14929 2011-10-28 Alan Mackenzie <acm@muc.de>
14931 Amend the handling of c-beginning/end-of-defun in nested declaration
14934 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14935 cc-langs.el. Change it to a defcustom.
14937 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14940 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14941 Prevent "class foo : bar" being spuriously recognized as a label.
14943 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14944 Add parameter `inclusive' (to include enclosing braces in the region).
14945 (c-widen-to-enclosing-decl-scope): New function.
14946 (c-while-widening-to-decl-block): New macro.
14947 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14948 outward for defun boundaries, and correspondingly change symbol
14949 `respect-enclosure' to `go-outward'.
14950 (c-declaration-limits): Change algorithm to report only the "innermost"
14951 defun's boundaries.
14953 2011-10-28 Deniz Dogan <deniz@dogan.se>
14955 * net/rcirc.el (rcirc-mode): Use hard newlines.
14957 2011-10-28 Alan Mackenzie <acm@muc.de>
14959 Amend to indent and fontify macros "which include their own semicolon"
14960 correctly, using the "virtual semicolon" mechanism.
14962 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14964 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14965 Recode to scan one line at a time rather than having \n and \r
14966 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14967 (c-forward-label): Amend for virtual semicolons.
14968 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14970 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14971 of the new C macros.
14973 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14974 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14975 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14976 (c-opt-cpp-macro-define): Make into a full language variable.
14977 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14978 AWK Mode (including \n, \r) removed, no longer needed.
14980 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14981 Invoke c-make-macro-with-semi-re.
14983 * progmodes/cc-vars.el (c-macro-with-semi-re):
14984 (c-macro-names-with-semicolon): New variables.
14985 (c-make-macro-with-semi-re): New function.
14987 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14989 * vc/log-edit.el: Fill empty field rather than adding new one.
14990 (log-edit-add-field): New function.
14991 (log-edit-insert-changelog): Use it.
14993 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14995 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14997 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14999 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15000 (gdb--check-interpreter): New function.
15003 2011-10-27 Glenn Morris <rgm@gnu.org>
15005 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15006 (least-positive-float, least-negative-float)
15007 (least-positive-normalized-float, least-negative-normalized-float)
15008 (float-epsilon, float-negative-epsilon):
15009 Remove unnecessary declarations.
15011 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15012 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15013 (least-positive-float, least-negative-float)
15014 (least-positive-normalized-float, least-negative-normalized-float)
15015 (float-epsilon, float-negative-epsilon): Add doc-strings,
15016 based on those in cl.texi.
15018 * files.el (set-visited-file-name): If the major-mode changed,
15019 reload the local variables. (Bug#9796)
15021 2011-10-27 Chong Yidong <cyd@gnu.org>
15023 * subr.el (change-major-mode-after-body-hook): New hook.
15024 (run-mode-hooks): Run it.
15026 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15027 Use change-major-mode-before-body-hook.
15029 * simple.el (fundamental-mode):
15030 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15031 change introducing fundamental-mode-hook.
15033 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
15035 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
15037 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
15039 * ido.el (ido-file-name-all-completions-1): Do not require
15040 tramp.el explicitly. (Bug#7583)
15042 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15044 * progmodes/octave-mod.el:
15045 * progmodes/octave-inf.el: Update maintainer.
15047 2011-10-26 Chong Yidong <cyd@gnu.org>
15049 * subr.el (with-wrapper-hook): Rewrite doc.
15051 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
15053 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
15054 filenames "/method:foo:". (Bug#9793)
15056 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15058 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15061 2011-10-24 Glenn Morris <rgm@gnu.org>
15063 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15065 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
15067 * notifications.el: Add the requirement of a running D-Bus session
15068 bus to the Commentary.
15070 2011-10-24 Juri Linkov <juri@jurta.org>
15072 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15073 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15076 2011-10-24 Juri Linkov <juri@jurta.org>
15078 * info.el (Info-following-node-name-re): Add newline to the list
15079 of allowed characters for leading space. (Bug#9824)
15081 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15083 * progmodes/octave-inf.el (inferior-octave-mode-map):
15084 Fix C-c C-h binding.
15085 * progmodes/octave-mod.el (octave-help): Remove.
15087 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
15089 Sync with Tramp 2.2.3.
15091 * net/tramp-cache.el (top): Pacify byte-compiler using
15092 `init-file-user' and `site-run-file'.
15094 * net/trampver.el: Update release number.
15096 2011-10-23 Chong Yidong <cyd@gnu.org>
15098 * files.el (toggle-read-only): Remove obsolete comment about
15101 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15102 for toggle-read-only. Note that this hasn't called vc-next-action
15103 since 2008-05-02, though it wasn't documented at the time.
15105 * vc/ediff-init.el (ediff-toggle-read-only-function):
15106 Use toggle-read-only.
15108 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15110 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15113 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15114 correct faulty logical expression.
15115 (c-parse-state-state, c-record-parse-state-state):
15116 (c-replay-parse-state-state): New defvar/defuns.
15117 (c-debug-parse-state): Use new functions.
15119 2011-10-22 Martin Rudalics <rudalics@gmx.at>
15121 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
15122 last fix. Use window-in-direction correctly.
15124 2011-10-21 Chong Yidong <cyd@gnu.org>
15126 * progmodes/idlwave.el (idlwave-mode):
15127 * progmodes/vera-mode.el (vera-mode): No need to set
15128 require-final-newline; that's done in prog-mode.
15129 Suggested by Stefan Monnier.
15131 2011-10-21 Martin Rudalics <rudalics@gmx.at>
15133 * mouse.el (mouse-drag-window-above)
15134 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15135 (mouse-drag-mode-line-1, mouse-drag-header-line)
15136 (mouse-drag-vertical-line-rightward-window): Remove.
15137 (mouse-drag-line): New function.
15138 (mouse-drag-mode-line, mouse-drag-header-line)
15139 (mouse-drag-vertical-line): Call mouse-drag-line.
15140 * window.el (window-at-side-p, windows-at-side): New functions.
15142 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
15144 * tar-mode.el (tar-grind-file-mode):
15145 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15147 2011-10-21 Chong Yidong <cyd@gnu.org>
15149 * progmodes/idlwave.el (idlwave-mode):
15150 * progmodes/vera-mode.el (vera-mode):
15151 Use mode-require-final-newline.
15153 2011-10-20 Glenn Morris <rgm@gnu.org>
15155 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
15157 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15159 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15161 2011-10-20 Chong Yidong <cyd@gnu.org>
15163 * emulation/cua-base.el (cua-mode):
15164 * mail/footnote.el (footnote-mode):
15165 * mail/mailabbrev.el (mail-abbrevs-mode):
15166 * net/xesam.el (xesam-minor-mode):
15167 * progmodes/bug-reference.el (bug-reference-mode):
15168 * progmodes/cap-words.el (capitalized-words-mode):
15169 * progmodes/compile.el (compilation-minor-mode)
15170 (compilation-shell-minor-mode):
15171 * progmodes/gud.el (gud-tooltip-mode):
15172 * progmodes/hideif.el (hide-ifdef-mode):
15173 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15174 * progmodes/subword.el (subword-mode):
15175 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15176 * progmodes/which-func.el (which-function-mode):
15177 * term/tvi970.el (tvi970-set-keypad-mode):
15178 * term/vt100.el (vt100-wide-mode):
15179 * textmodes/flyspell.el (flyspell-mode):
15180 * textmodes/ispell.el (ispell-minor-mode):
15181 * textmodes/nroff-mode.el (nroff-electric-mode):
15182 * textmodes/paragraphs.el (use-hard-newlines):
15183 * textmodes/refill.el (refill-mode):
15184 * textmodes/reftex.el (reftex-mode):
15185 * textmodes/rst.el (rst-minor-mode):
15186 * textmodes/sgml-mode.el (html-autoview-mode)
15187 (sgml-electric-tag-pair-mode):
15188 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15189 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15190 * emulation/crisp.el (crisp-mode):
15191 * emacs-lisp/eldoc.el (eldoc-mode):
15192 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15193 minor mode behavior.
15195 2011-10-19 Juri Linkov <juri@jurta.org>
15197 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15198 the list of hard-coded chars with escape-glyph face.
15200 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15202 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15204 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
15206 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15209 2011-10-19 Glenn Morris <rgm@gnu.org>
15211 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15212 Ignore ignored files. (Bug#9726)
15214 2011-10-19 Chong Yidong <cyd@gnu.org>
15216 Doc fix for minor modes, stating that an omitted argument enables
15217 the mode unconditionally when called from Lisp.
15219 * abbrev.el (abbrev-mode):
15220 * allout.el (allout-mode):
15221 * autoinsert.el (auto-insert-mode):
15222 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15223 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15224 (global-auto-revert-mode):
15225 * battery.el (display-battery-mode):
15226 * composite.el (global-auto-composition-mode)
15227 (auto-composition-mode):
15228 * delsel.el (delete-selection-mode):
15229 * desktop.el (desktop-save-mode):
15230 * dired-x.el (dired-omit-mode):
15231 * dirtrack.el (dirtrack-mode):
15232 * doc-view.el (doc-view-minor-mode):
15233 * double.el (double-mode):
15234 * electric.el (electric-indent-mode, electric-pair-mode):
15235 * emacs-lock.el (emacs-lock-mode):
15236 * epa-hook.el (auto-encryption-mode):
15237 * follow.el (follow-mode):
15238 * font-core.el (font-lock-mode):
15239 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15240 * help.el (temp-buffer-resize-mode):
15241 * hilit-chg.el (highlight-changes-mode)
15242 (highlight-changes-visible-mode):
15243 * hi-lock.el (hi-lock-mode):
15244 * hl-line.el (hl-line-mode, global-hl-line-mode):
15245 * icomplete.el (icomplete-mode):
15246 * ido.el (ido-everywhere):
15247 * image-file.el (auto-image-file-mode):
15248 * image-mode.el (image-minor-mode):
15249 * iswitchb.el (iswitchb-mode):
15250 * jka-cmpr-hook.el (auto-compression-mode):
15251 * linum.el (linum-mode):
15252 * longlines.el (longlines-mode):
15253 * master.el (master-mode):
15254 * mb-depth.el (minibuffer-depth-indicate-mode):
15255 * menu-bar.el (menu-bar-mode):
15256 * minibuf-eldef.el (minibuffer-electric-default-mode):
15257 * mouse-sel.el (mouse-sel-mode):
15258 * msb.el (msb-mode):
15259 * mwheel.el (mouse-wheel-mode):
15260 * outline.el (outline-minor-mode):
15261 * paren.el (show-paren-mode):
15262 * recentf.el (recentf-mode):
15263 * reveal.el (reveal-mode, global-reveal-mode):
15264 * rfn-eshadow.el (file-name-shadow-mode):
15265 * ruler-mode.el (ruler-mode):
15266 * savehist.el (savehist-mode):
15267 * scroll-all.el (scroll-all-mode):
15268 * scroll-bar.el (scroll-bar-mode):
15269 * server.el (server-mode):
15270 * shell.el (shell-dirtrack-mode):
15271 * simple.el (auto-fill-mode, transient-mark-mode)
15272 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15273 (line-number-mode, column-number-mode, size-indication-mode)
15274 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15275 * strokes.el (strokes-mode):
15276 * time.el (display-time-mode):
15277 * t-mouse.el (gpm-mouse-mode):
15278 * tool-bar.el (tool-bar-mode):
15279 * tooltip.el (tooltip-mode):
15280 * type-break.el (type-break-mode-line-message-mode)
15281 (type-break-query-mode):
15282 * view.el (view-mode):
15283 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15284 (global-whitespace-mode, global-whitespace-newline-mode):
15285 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15287 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15288 Fix autogenerated docstring.
15290 2011-10-19 Juri Linkov <juri@jurta.org>
15292 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15293 by checking environment variables "DESKTOP_SESSION" and
15294 "XDG_CURRENT_DESKTOP". (Bug#9779)
15296 2011-10-19 Juri Linkov <juri@jurta.org>
15298 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15299 (browse-url-chromium-program, browse-url-chromium-arguments):
15301 (browse-url-default-browser): Check for `browse-url-chromium' and
15302 call `browse-url-chromium-program'.
15303 (browse-url-chromium): New command. (Bug#9779)
15305 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
15307 * facemenu.el (list-colors-duplicates): On Windows, detect more
15308 duplicates by assuming that only colors matching "^System" are
15309 special "system colors". (Bug#9722)
15311 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15313 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15314 to distinguish the author from the committer.
15316 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
15318 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15320 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15322 * international/mule.el (sgml-html-meta-auto-coding-function):
15323 Add support for detecting encoding in HTML5 specified only as
15324 <meta charset="UTF-8">. Implementation just makes http-equiv and
15325 content-type parts from HTML4 encoding string optional. (Bug#9716)
15327 2011-10-18 Glenn Morris <rgm@gnu.org>
15329 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15331 2011-10-18 Chong Yidong <cyd@gnu.org>
15333 * faces.el (cursor): Doc fix.
15335 2011-10-17 Chong Yidong <cyd@gnu.org>
15337 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15339 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
15341 * dirtrack.el (dirtrack): Support shell buffers with path
15342 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15344 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15346 * json.el: Bump version to 1.3 and note change in History.
15347 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15349 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15351 * comint.el (comint-insert-input, comint-send-input)
15352 (comint-get-old-input-default, comint-backward-matching-input)
15353 (comint-next-prompt): Use nil instead of `input' for field property of
15354 past user input (bug#114).
15356 * minibuffer.el (completion--replace): Inherit surrounding properties
15358 (minibuffer-complete-and-exit): Use it.
15360 * comint.el (comint--table-subvert): Quote the all-completions output
15363 2011-10-17 Martin Rudalics <rudalics@gmx.at>
15365 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
15367 * menu-bar.el (menu-bar-file-menu): Add entry for making new
15368 window on right of selected. (Bug#9350) Reword other window
15369 entries and separate them from frame entries.
15371 2011-10-15 Glenn Morris <rgm@gnu.org>
15373 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15376 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
15378 * net/network-stream.el (network-stream-open-starttls):
15379 Improve detection of failure due to lack of TLS support.
15381 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15382 putting the input text in front and in bold.
15384 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15386 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15388 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15391 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15392 unread-command-events rather than pushing yet-another event.
15394 2011-10-14 Eli Zaretskii <eliz@gnu.org>
15396 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15397 the explanation of the possible choices. Make the options passed
15398 to completing-read shorter.
15400 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15402 * textmodes/flyspell.el (flyspell-large-region): Make sure
15403 extended character mode is used if defined (Bug#1339).
15405 2011-10-13 Eli Zaretskii <eliz@gnu.org>
15407 * simple.el (what-cursor-position): Fix the display of the
15408 character info for LRE, LRO, RLE, and RLO characters by appending
15411 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15413 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15414 even in case of error; add debug spec; simplify data flow.
15415 (with-timeout-handler): Remove.
15417 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
15419 Fix Bug#6019, Bug#9315.
15421 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15422 complete `buffer-file-name', the local file name part could look
15423 remotely (for example on VMS).
15425 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15426 `tramp-run-real-handler'.
15427 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15428 already quoted by '"'.
15430 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15431 Let `file-name-handler-alist' be nil, the local file name part
15432 could look remotely (for example on VMS).
15434 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15436 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15438 (flyspell-post-command-hook): ...to here.
15440 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15442 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15444 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15445 using completion. Protect against "slow" callers.
15446 Remove the "message hack".
15448 2011-10-11 Juri Linkov <juri@jurta.org>
15450 * isearch.el (isearch-lazy-highlight-word): New variable.
15451 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15454 2011-10-11 Glenn Morris <rgm@gnu.org>
15456 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15457 like f90-previous-statement does.
15459 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15461 * eshell/eshell.el (eshell-command): History should be saved
15462 only in interactive use, to avoid error.
15464 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15466 * minibuffer.el (completion-file-name-table): Fix last change,
15467 i.e. ignore normal errors but not the other ones.
15469 2011-10-10 Martin Rudalics <rudalics@gmx.at>
15471 * window.el (special-display-buffer-names)
15472 (special-display-regexps): Remove some remnants of earlier
15473 changes from doc-strings.
15474 (quit-windows-on): New function.
15476 * vc/vc.el (vc-revert, vc-rollback):
15477 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15478 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
15479 (Bug#6183) (Bug#7074) (Bug#7447)
15481 2011-10-09 Martin Rudalics <rudalics@gmx.at>
15483 * window.el (frame-auto-hide-function): Add version tag.
15486 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
15488 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15491 2011-10-09 Leo Liu <sdl.web@gmail.com>
15493 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15496 2011-10-08 Glenn Morris <rgm@gnu.org>
15498 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15499 before the first code statement zero indent. (Bug#9690)
15501 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
15503 * simple.el (count-words-region): Always count in the region.
15504 Report the number of lines and characters too.
15505 (count-words): New command, which counts in the buffer if the
15506 region is inactive, as count-words-region used to.
15507 (count-words--message): New function. Handle plurals.
15508 (count-lines-region): Make it an alias for count-words-region.
15510 * bindings.el (esc-map): Replace count-lines-region with
15511 count-words-region.
15513 2011-10-08 Martin Rudalics <rudalics@gmx.at>
15515 * window.el (window--delete): Delete dedicated frame
15516 unconditionally when argument KILL is non-nil. (Bug#9699)
15517 (switch-to-buffer): Fix doc-string typo.
15519 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15521 * eshell/eshell.el (eshell-command): Avoid using hooks.
15523 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
15525 * bindings.el ([M-left],[M-right]): Bind to left-word and
15526 right-word respectively.
15528 2011-10-07 Glenn Morris <rgm@gnu.org>
15530 * cus-start.el (debug-on-quit): Fix custom type.
15532 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15534 * subr.el (define-key-after): Clarify that the function is not
15535 useful for non-menu keymaps.
15537 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15539 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15541 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
15542 in current minibuffer (Fix bug with recursive minibuffers).
15544 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
15546 * progmodes/gdb-mi.el (gdb): Doc fix.
15548 2011-10-05 Martin Rudalics <rudalics@gmx.at>
15550 * window.el (frame-auto-hide-function): New option replacing
15551 frame-auto-delete. Suggested by Stefan Monnier.
15552 (window--delete): Call frame-auto-hide-function instead of
15553 investigating frame-auto-delete.
15554 (window-point-1, set-window-point-1): New functions.
15555 (window-in-direction, record-window-buffer, window-state-get-1)
15556 (display-buffer-record-window): Use window-point-1 instead of
15558 (set-window-buffer-start-and-point): Use set-window-point-1.
15560 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15562 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15564 2011-10-05 Glenn Morris <rgm@gnu.org>
15566 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15567 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15569 2011-10-05 Leo Liu <sdl.web@gmail.com>
15571 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15572 works with buffer object.
15574 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15576 * mpc.el (mpc-tool-bar-map): Add labels.
15578 2011-10-04 Glenn Morris <rgm@gnu.org>
15580 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15582 2011-10-04 Martin Rudalics <rudalics@gmx.at>
15584 * window.el (window--delete): New function.
15585 (frame-auto-delete): Resuscitate option.
15586 (bury-buffer, replace-buffer-in-windows)
15587 (quit-window): Rewrite using window--delete.
15588 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15589 Pass display-buffer-mark-dedicated to window--display-buffer-2
15592 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15594 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15595 returns a list (bug#9554). Add remote file name completion.
15596 * comint.el (comint--table-subvert): Curry and get quote&unquote
15597 functions as arguments.
15598 (comint--complete-file-name-data): Adjust call accordingly.
15599 * pcomplete.el (pcomplete--table-subvert): Remove.
15600 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15602 * minibuffer.el (completion-table-case-fold): Use currying.
15603 (completion--styles-type, completion--cycling-threshold-type):
15605 (completion-styles, completion-category-overrides)
15606 (completion-cycle-threshold): Use them.
15607 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15608 completion-table-case-fold.
15610 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
15612 * minibuffer.el (completion-category-overrides): Fix type of styles
15613 and add more user friendly tags (bug#9660).
15615 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15617 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15618 (mule-input-method-string): New widget.
15619 (default-input-method, language-info-custom-alist): Use it.
15621 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15623 * pcomplete.el: Require comint.
15624 (pcomplete--common-suffix): Remove.
15625 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15626 (pcomplete--table-subvert): Sync with comint--table-subvert.
15627 (pcomplete--entries): Use comint-completion-file-name-table.
15628 * comint.el (comint-unquote-filename): Simplify.
15629 (comint-completion-file-name-table): New function (bug#9616).
15630 (comint--complete-file-name-data): Use it.
15632 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15633 (pcmpl-gnu-tar-buffer): Remove.
15634 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
15635 around. Make sure pcomplete-suffix-list is only changed temporarily.
15636 Don't look inside the tar's file if it's too large.
15638 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
15640 * cus-edit.el (custom-mode-map):
15641 * epa.el (epa-key-list-mode-map):
15642 * man.el (Man-mode-map):
15643 * startup.el (splash-screen-keymap):
15644 * simple.el (special-mode-map): Use scroll-up-command and
15645 scroll-down-command.
15647 * progmodes/idlw-help.el (idlwave-help-mode-map):
15648 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15649 * net/newst-plainview.el (newsticker-mode-map):
15650 * emulation/ws-mode.el (wordstar-mode-map):
15651 * emulation/vi.el (vi-com-map):
15652 * calc/calc-graph.el (calc-graph-show-dumb):
15653 * term/sun.el (terminal-init-sun):
15654 * term/ns-win.el (global-map):
15655 * progmodes/grep.el (grep-mode-map):
15656 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15657 * mail/rmail.el (rmail-mode-map):
15658 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15660 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15661 custom-safe-themes as special.
15663 2011-10-01 Julien Danjou <julien@danjou.info>
15665 * notifications.el (notifications-notify): Fix docstring.
15667 2011-10-01 Per Starbäck <per@starback.se>
15669 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15671 2011-09-30 Martin Rudalics <rudalics@gmx.at>
15673 * startup.el (command-line-1): Fix last fix by inserting
15674 initial-scratch-message into *scratch* before displaying it.
15675 (Bug#9605) and (Bug#9636)
15677 2011-09-29 Eli Zaretskii <eliz@gnu.org>
15679 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15680 window is hscrolled, move by logical lines. (Bug#9607)
15681 (line-move-visual): Update the doc string to the above effect.
15683 2011-09-29 Martin Rudalics <rudalics@gmx.at>
15685 * window.el (display-buffer-record-window): When WINDOW is the
15686 selected window use `point' instead of `window-point'. (Bug#9626)
15688 * startup.el (command-line-1): Use insert-before-markers when
15689 inserting initial-scratch-message. (Bug#9605)
15691 * help.el (help-window): Remove variable.
15693 2011-09-29 Glenn Morris <rgm@gnu.org>
15695 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15697 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
15699 * descr-text.el (describe-char-categories): Accept category
15700 descriptions more than one line long.
15702 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15704 * simple.el (delete-trailing-whitespace): Fix last change.
15706 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15707 Don't confuse "y => 3" as the beginning of a `y' operation.
15709 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15710 object has more than 4 slots (bug#9613).
15712 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
15714 * subr.el (with-output-to-temp-buffer):
15715 * net/quickurl.el (quickurl, quickurl-browse-url):
15716 Fix typos in docstrings.
15718 2011-09-27 Eli Zaretskii <eliz@gnu.org>
15720 * minibuffer.el (completion-styles)
15721 (completion-category-overrides): Cross reference each other in doc
15724 2011-09-27 Glenn Morris <rgm@gnu.org>
15726 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15727 to split-string. (Bug#9606)
15729 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15731 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15734 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
15736 * emacs-lisp/package.el (list-packages): Fix echo area message.
15738 2011-09-27 Leo Liu <sdl.web@gmail.com>
15740 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15742 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
15744 * net/dbus.el (dbus-unregister-object): Don't release services for
15745 registered signals. (Bug#9581)
15747 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15749 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15750 function that picks between cfengine 2 and 3 support
15751 automatically. Update docs accordingly.
15753 2011-09-22 Kenichi Handa <handa@m17n.org>
15755 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15757 (indian-itrans-v5-table-for-tamil): New variable.
15758 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15760 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15762 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15763 that's true if the current command involved collapsing of text.
15764 It's reset to false at the beginning of the next command.
15765 (allout-post-command-business): Move the cursor to the beginning
15766 of entry if the cursor is hidden and collapsing activity just
15769 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
15771 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15772 tracking (Bug#9541).
15774 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
15776 * net/newst-reader.el (newsticker-html-renderer)
15777 (newsticker-show-news): Automatically load html rendering package
15778 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15779 because w3m-fill-column is let-bound" and the error "Symbol's value
15780 as variable is void: w3m-fill-column".
15782 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
15784 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15785 Release services only if they are defined. (Bug#9581)
15787 2011-09-23 Richard Stallman <rms@gnu.org>
15789 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15790 distinguish start of paragraph from start of its text.
15792 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15794 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15795 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15796 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15798 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15800 * international/mule-diag.el (mule-diag): Insert a newline after
15801 each fontset description.
15803 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15805 * simple.el (delete-trailing-whitespace):
15806 Document last change; simplify.
15808 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15810 * simple.el (delete-trailing-whitespace): Also delete
15811 extra newlines at the end of the buffer.
15813 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15814 (picture-newline): Use forward-line so as to ignore fields.
15816 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15818 * subr.el (with-wrapper-hook): Fix edebug spec.
15820 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15822 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15825 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
15827 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15828 Fix nasty bug using wrong cached values.
15830 2011-09-23 Alan Mackenzie <acm@muc.de>
15832 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15834 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
15836 * window.el (pop-to-buffer): Ensure right window is selected if we
15837 chose another frame.
15839 2011-09-22 Eli Zaretskii <eliz@gnu.org>
15841 * simple.el (what-cursor-position): Use get-char-property-change
15842 and next-single-char-property-change, to be able to show display
15843 properties that come from overlays as well as text properties.
15845 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
15847 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15849 * cmuscheme.el (run-scheme, switch-to-scheme):
15850 * cus-edit.el (customize-group, custom-buffer-create)
15851 (customize-browse):
15853 * shell.el (shell):
15854 * mail/sendmail.el (mail):
15855 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15857 2011-09-22 Richard Stallman <rms@gnu.org>
15859 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15860 move back only to line beg, don't move back over blank lines.
15862 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
15864 * files.el (copy-directory): Set directory attributes only in case
15865 they could be retrieved from the source directory. (Bug#9565)
15867 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15869 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15870 (hs-find-block-beginning, hs-hide-level-recursive):
15871 Ignore strings as well as comments. (Bug#9502)
15873 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15875 * progmodes/sql.el (sql-comint-postgres):
15876 Convert port number to a string. (Bug#9566)
15878 2011-09-22 Martin Rudalics <rudalics@gmx.at>
15880 * window.el (quit-window): Undedicate window when switching to
15881 previous buffer. Reported by Thierry Volpiatto
15882 <thierry.volpiatto@gmail.com>.
15883 (special-display-popup-frame): When popping up a new frame reset
15884 its previous buffers to nil. Simplify code.
15886 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
15888 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15889 and process filter, as done also in `shell-command'.
15891 2011-09-21 Martin Rudalics <rudalics@gmx.at>
15893 * window.el (set-window-buffer-start-and-point):
15894 Call set-window-start with NOFORCE argument t.
15895 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15896 (quit-window): Reword doc-string. Handle new format of
15897 quit-restore parameter. Don't delete window if it has a
15898 previous buffer we can show instead of the present one.
15899 (display-buffer-record-window): Rewrite using a new format for
15900 the quit-restore window parameter
15901 (special-display-popup-frame, display-buffer-same-window)
15902 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15903 (display-buffer-pop-up-window, display-buffer-use-some-window):
15904 Adapt symbol passed to display-buffer-record-window.
15905 * help.el (help-window-setup): Handle new format of quit-restore
15908 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15910 * faces.el (face-list): Fix docstring (bug#9564).
15912 * window.el (display-buffer--action-function-custom-type):
15913 Don't include internal functions in the Custom interface.
15915 2011-09-20 Juri Linkov <juri@jurta.org>
15917 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15918 (Info-forward-node, Info-backward-node, Info-next-preorder)
15919 (Info-last-preorder): Use it. (Bug#9528)
15921 2011-09-20 Juri Linkov <juri@jurta.org>
15923 * info.el (Info-last-preorder): Visit last menu item only when
15924 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15926 2011-09-20 Julien Danjou <julien@danjou.info>
15928 * password-cache.el (password-cache-remove): Remove entries even if the
15929 value is nil, so that password with a nil value (negative caching) is
15930 possible to invalidate.
15932 2011-09-20 Lawrence Mitchell <wence@gmx.li>
15934 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15935 all whitespace around breakpoint. (Bug#9553)
15936 (f90-find-breakpoint): Only break at whitespace inside a comment.
15938 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15940 * minibuffer.el (completion-file-name-table): Keep track of errors.
15941 (completion-table-with-predicate): Handle the case where pred1 is nil.
15942 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15944 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15946 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15947 (debugger-return-value): Signal an error if the debugging context does
15948 not await any return value.
15950 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15951 * image-mode.el (image-toggle-display-text)
15952 (image-toggle-display-image): Stay away from evil `intangible'.
15954 2011-09-19 Leo Liu <sdl.web@gmail.com>
15956 * replace.el (occur-revert-arguments): Make it permanent-local.
15957 (occur-mode): Don't call font-lock-defontify.
15959 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
15961 * net/ldap.el (ldap-search-internal): Don't push empty search
15964 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15966 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15968 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
15970 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15971 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15973 2011-09-18 Juri Linkov <juri@jurta.org>
15975 * buff-menu.el (Buffer-menu-mode-map):
15976 * dired.el (dired-mode-map):
15977 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15978 (lisp-interaction-mode-map):
15979 * emacs-lisp/package.el (package-menu-mode-map):
15980 * epa.el (epa-key-list-mode-map):
15981 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15982 (menu-bar-options-menu):
15983 * outline.el (outline-mode-menu-bar-map):
15984 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15985 * vc/vc-dir.el (vc-dir-menu-map):
15986 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15987 Capitalize non-function content words in menu item strings.
15989 * dired.el (dired-mode-map): Add menu item for
15990 `image-dired-dired-toggle-marked-thumbs'.
15992 2011-09-18 Juri Linkov <juri@jurta.org>
15994 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15995 to `isearch-case-fold-search' and restore its original value
15996 after the `isearch-mode' call.
15998 2011-09-18 Juri Linkov <juri@jurta.org>
16000 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16001 because `zgrep' returns 1 for successful matches (bug#9226).
16003 2011-09-18 Juri Linkov <juri@jurta.org>
16005 * info.el (Info-extract-menu-node-name): Check the second match
16006 for empty string (second test-case of bug#9528).
16007 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16008 intermediate nodes to the history (first test-case of bug#9528).
16010 2011-09-18 Juri Linkov <juri@jurta.org>
16012 * info.el (Info-mode-syntax-table): New variable.
16013 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
16015 2011-09-18 Juri Linkov <juri@jurta.org>
16017 * info.el (Info-file-supports-index-cookies):
16018 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16019 outputs one more line for long file names (bug#4142).
16021 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
16023 * newcomment.el (comment-normalize-vars): If prompting for
16024 comment-start, set comment-start-skip too (Bug#8424).
16026 2011-09-18 Johan Bockgård <bojohan@gnu.org>
16028 * icomplete.el: Fix previous fix of Bug#5849.
16029 (icomplete-mode): Don't set completion-show-inline-help.
16030 (icomplete-minibuffer-setup): Set completion-show-inline-help
16031 locally during icompletion.
16033 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
16035 * woman.el (woman2-process-escapes): Don't delete unrecognized
16036 escapes (Bug#7843).
16038 * files.el (inhibit-first-line-modes-regexps): Add image files.
16039 (hack-local-variables-prop-line): Return nil for malformed
16040 prop-lines (Bug#9044).
16042 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
16044 * net/tramp.el (top): Don't require 'shell.
16045 (tramp-methods): Fix docstring.
16046 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
16047 Return complete remote file name. Handle "smb" case.
16048 Use `tramp-tmpdir', if defined for the respective method.
16049 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16051 * net/tramp-compat.el (top): Require 'shell.
16053 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16054 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16055 `tramp-current-host'.
16056 (tramp-get-remote-tmpdir): Remove.
16058 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16059 `tramp-tmpdir' entries.
16060 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16061 (tramp-smb-handle-file-attributes): Ignore errors.
16062 (tramp-smb-wait-for-output): Check also for process end.
16064 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16066 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16067 when sending QUIT (bug#9312).
16069 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
16071 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16072 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16073 occur-mode-display-occurrence.
16074 (occur-edit-mode): Add usage message.
16075 (occur-cease-edit): New command.
16076 (occur-after-change-function): Use text properties to find the
16077 position of the prefix text.
16078 (occur-engine): Set stickiness of prefix text properties.
16080 2011-09-17 Glenn Morris <rgm@gnu.org>
16082 * progmodes/etags.el (complete-tag):
16083 Fix call to completion-in-region. (Bug#9526)
16085 2011-09-17 Juri Linkov <juri@jurta.org>
16087 * textmodes/ispell.el (ispell-word): Add to the error message
16088 the word, ispell program name and current dictionary (bug#9121).
16089 (ispell-tex-arg-end): Capitalize "error" in the error message.
16091 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16093 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16096 2011-09-17 Juri Linkov <juri@jurta.org>
16098 * window.el (window-safe-min-height, window-safe-min-width):
16099 Fix typos (followup to bug#9522).
16101 2011-09-17 Sven Joachim <svenjoac@gmx.de>
16103 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16105 2011-09-16 Eli Zaretskii <eliz@gnu.org>
16107 * simple.el (line-move): If goal-column is set, move by logical
16108 lines, not by display lines. (Bug#971)
16109 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16110 to reflect the above change.
16112 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16114 * image.el (imagemagick-register-types): Use regexp-opt.
16116 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
16118 * window.el (display-buffer-base-action): Rename from
16119 display-buffer-default-action. Make default value empty.
16120 (display-buffer-overriding-action): Convert to defvar.
16121 (display-buffer-fallback-action): New var.
16123 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
16125 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16127 (package--add-to-archive-contents): If there is a duplicate entry
16128 with an older version, remove it.
16129 (package-menu-mark-delete, package-menu-mark-install)
16130 (package-menu-mark-unmark): Make unused args optional.
16131 (package-menu-mark-obsolete-for-deletion):
16132 Use package-menu-get-status instead of a regexp search.
16133 (package-menu-get-status): Use tabulated-list-entry.
16134 (package-menu-mark-upgrades): New command.
16135 (package-menu-mode-map): Bind it to U. Add it to menu bar.
16136 (package-menu-execute): Do installation before deletion.
16137 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16138 instead of checking major-mode.
16139 (package-menu--find-upgrades): New function.
16141 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16143 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16144 passwords in the log buffer.
16145 (smtpmail-process-filter): Update the process marker so that the
16146 "broken by peer" status message is inserted in the right place.
16148 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16150 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16151 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16152 bibtex-completion-at-point-function.
16153 (bibtex-completion-at-point-function): Use them.
16155 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16157 * mpc.el (mpc-constraints-tag-lookup): New function.
16158 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16159 also to browser "album|playlist".
16161 2011-09-14 Juri Linkov <juri@jurta.org>
16163 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16164 (isearch-edit-string): Use length of `isearch-string' when
16165 `isearch-fail-pos' returns nil.
16166 (isearch-message): Remove duplicate code and call
16167 `isearch-fail-pos' with arg `t'.
16169 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
16171 * replace.el (occur-mode-goto-occurrence): Don't force using other
16174 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16176 2011-09-14 Martin Rudalics <rudalics@gmx.at>
16178 * window.el (display-buffer-window): Remove.
16179 (display-buffer-record-window): Use help-setup window parameter
16180 instead of variable display-buffer-window.
16181 (display-buffer-function, special-display-buffer-names)
16182 (special-display-function): Mention help-setup parameter instead
16183 of display-buffer-window in doc-string.
16184 * help.el (help-window-setup): New argument help-window.
16185 Use help-window-setup parameter instead of display-buffer-window.
16186 Reword some messages.
16187 (with-help-window): Pass window used for displaying the buffer
16188 to help-window-setup. Don't set display-buffer-window.
16190 2011-09-13 Glenn Morris <rgm@gnu.org>
16192 * emacs-lisp/debug.el (debugger-make-xrefs):
16193 Preserve point. (Bug#9462)
16195 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16197 * window.el (window-deletable-p): Use next-frame.
16199 2011-09-13 Martin Rudalics <rudalics@gmx.at>
16201 * window.el (window-auto-delete): Remove.
16202 (window-deletable-p): Remove argument FORCE. Don't deal with
16203 dedication and previous buffers.
16204 (switch-to-prev-buffer): Don't delete window.
16205 (delete-windows-on): Delete a window's frame if and only if the
16206 window is dedicated.
16207 (replace-buffer-in-windows): Delete buffer's window or frame if
16208 and only if window is dedicated.
16209 (quit-window): Handle quit-restore as before last change.
16210 (bury-buffer): Delete window only if window-deletable-p returns t.
16212 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16214 * window.el (window-deletable-p): Never delete the last frame on a
16217 2011-09-13 Glenn Morris <rgm@gnu.org>
16219 * help.el (describe-key-briefly): Copy previous standard-output change.
16221 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
16223 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16225 2011-09-13 Glenn Morris <rgm@gnu.org>
16227 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16228 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16230 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
16232 * dired-aux.el (dired-mark-read-string): Don't return default
16233 value on empty input (Bug#9361).
16234 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16235 Omit initial minibuffer contents.
16236 (dired-do-chmod): Signal an error on empty input.
16237 (dired-mark-read-string): Don't return default on empty input.
16239 * files.el (file-modes-symbolic-to-number): Doc fix.
16241 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16243 * international/mule-cmds.el (ucs-completions): Remove.
16244 (read-char-by-name): Use complete-with-action instead; add metadata.
16246 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16248 * window.el (display-buffer--action-function-custom-type)
16249 (display-buffer--action-custom-type): New vars.
16250 (display-buffer-alist, display-buffer-default-action)
16251 (display-buffer-overriding-action): Add defcustom types.
16253 * frame.el (delete-other-frames): Doc fix (Bug#276).
16255 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16257 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16259 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16261 Change modes that used same-window-* vars to use switch-to-buffer.
16263 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16264 Use switch-to-buffer.
16266 * cus-edit.el (customize-group, custom-buffer-create)
16267 (customize-browse, custom-buffer-create-other-window):
16268 Use switch-to-buffer or switch-to-buffer-other-window.
16270 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16271 (Info-prev, Info-up, Info-speedbar-goto-node)
16272 (info-display-manual): Use switch-to-buffer.
16273 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16275 * mail/sendmail.el (mail): Use switch-to-buffer.
16276 (mail-recover): Use switch-to-buffer-other-window.
16278 * cmuscheme.el (run-scheme, switch-to-scheme):
16280 * shell.el (shell):
16281 * net/rlogin.el (rlogin):
16282 * net/telnet.el (telnet, rsh):
16283 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16285 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16287 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16289 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16291 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16292 so don't mention it (bug#9301).
16293 (dired-sort-toggle-or-edit): Clarify string further.
16295 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16296 match `x', `w32' and `ns', like the manual says (bug#9029).
16298 * subr.el (eval-after-load): Doc string clarification (bug#9125).
16299 (process-kill-buffer-query-function): Mention the buffer name in
16302 * image-mode.el (image-next-line): The line parameter is mandatory
16305 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16306 which can be useful (bug#9301).
16308 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16310 * subr.el (match-string): Mention that the current buffer should
16311 be the same as the search was done in (bug#9282).
16313 * facemenu.el: Disable the remove-* commands if the mark isn't
16316 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16318 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16320 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16322 * replace.el (occur-mode-goto-occurrence)
16323 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16324 and display-buffer.
16326 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16329 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16330 special-display and same-window variables.
16331 (mail-other-window): Use switch-to-buffer-other-window.
16332 (mail-other-frame): USe switch-to-buffer-other-frame.
16334 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16335 Use display-buffer-other-frame.
16336 (gdb-display-gdb-buffer): Use pop-to-buffer.
16338 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16340 * progmodes/python.el: Don't set same-window-buffer-names.
16342 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16344 * window.el (display-buffer-alist): Add *Python*.
16346 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16348 * window.el (display-buffer-alist): Add entry for buffers
16349 previously handled same-window-*.
16350 (display-buffer-alist, display-buffer-default-action)
16351 (display-buffer-overriding-action): Mark as risky.
16352 (display-buffer-alist): Document action function changes.
16353 (display-buffer--same-window-action)
16354 (display-buffer--other-frame-action): New variables.
16355 (switch-to-buffer, display-buffer-other-frame): Use them.
16356 (display-buffer): Rename reuse-frame entry to reusable-frames.
16357 (display-buffer-reuse-selected-window): Function deleted.
16358 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16359 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16360 (display-buffer-special): New function.
16361 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16362 display-buffer-reuse-or-pop-window. Split off special-display
16363 part into display-buffer-special.
16364 (display-buffer-use-some-window): Don't perform any special
16365 pop-up-frames handling.
16366 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
16367 (display-buffer--maybe-same-window): Rename from
16368 display-buffer-maybe-same-window.
16370 * info.el: Don't set same-window-regexps.
16371 (info-setup): New function.
16372 (info-other-window, info): Call it.
16374 * cus-edit.el: Don't set same-window-regexps.
16375 (customize-group): New argument.
16376 (customize-group-other-window): Use it.
16377 (customize-face, customize-face-other-window): Likewise.
16378 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16382 * progmodes/gud.el: Don't set same-window-regexps.
16387 * mail/sendmail.el:
16388 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16390 2011-09-10 Juri Linkov <juri@jurta.org>
16392 * isearch.el (isearch-edit-string): Remove obsolete mention of
16393 `C-w' (`isearch-yank-word-or-char') from docstring.
16394 (isearch-query-replace): Fix typo in docstring (bug#9466).
16396 2011-09-10 Juri Linkov <juri@jurta.org>
16398 * paren.el (show-paren-function): Don't show escaped parens.
16399 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16401 2011-09-10 Eli Zaretskii <eliz@gnu.org>
16403 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16404 (mm-default-file-encoding): Remove autoload forms, they are
16405 replaced with autoload cookies in mml.el and mm-encode.el.
16406 (mail-add-attachment): New command.
16407 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16408 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16410 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16412 2011-09-10 Reuben Thomas <rrt@sc3d.org>
16414 * simple.el (count-words-region): Use buffer if there's no region
16417 2011-09-09 Juri Linkov <juri@jurta.org>
16419 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16420 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16421 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16423 2011-09-09 Alan Mackenzie <acm@muc.de>
16425 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16426 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16428 2011-09-09 Eli Zaretskii <eliz@gnu.org>
16430 Fix for Savannah bug#9392.
16431 * simple.el (mail-encode-mml): New defvar.
16433 * mail/rmail.el (mail-encode-mml): Add a defvar.
16434 (rmail-enable-mime-composing): Default to t.
16435 (rmail-forward): Use MIME method of forwarding only if both
16436 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16437 Set mail-encode-mml non-nil if the MIME method was used.
16439 * mail/sendmail.el (mml-to-mime): Add autoload form.
16440 (mail-encode-mml): Add a defvar.
16441 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16443 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16444 message through mml-to-mime, and reset mail-encode-mml to nil.
16446 2011-09-09 Glenn Morris <rgm@gnu.org>
16448 * woman.el (woman-if-body): When processing an .el block,
16449 do not delete the next .el block as well. (Bug#9447)
16450 (woman-special-characters): Add oq, cq, and hy characters.
16452 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16454 * window.el (window-deletable-p): Make sure window is live before
16455 invoking window-prev-buffers.
16457 2011-09-08 Leo Liu <sdl.web@gmail.com>
16459 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16461 2011-09-08 Juri Linkov <juri@jurta.org>
16463 * progmodes/compile.el (compilation-environment): Make it
16464 a defcustom (bug#8340).
16466 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16468 * window.el (frame-auto-delete): Rename to window-auto-delete.
16469 Make it control auto-deletion of windows and/or frames.
16470 (window-deletable-p): New argument FORCE. Rewrite conditions
16471 for deleting window/frame. (Bug#9419)
16472 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16473 Rewrite handling of case when window/frame can be deleted.
16474 (delete-windows-on): Call window-deletable-p with new FORCE
16475 argument t. (Bug#9456)
16477 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
16479 * help-mode.el (help-mode): Restore autoload.
16481 2011-09-07 Juri Linkov <juri@jurta.org>
16483 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16484 `compilation-environment'. Set buffer-local
16485 `compilation-environment' to `thisenv' later after (funcall mode).
16488 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16489 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16490 instead of replacing its value. (Bug#8340)
16492 2011-09-07 Juri Linkov <juri@jurta.org>
16494 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16495 based on text properties put by `grep-filter' instead of matching
16497 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16498 to the value of `grep-error-screen-columns' (bug#9438).
16500 2011-09-07 Juri Linkov <juri@jurta.org>
16502 * simple.el (next-error-highlight, next-error-highlight-no-select):
16503 Doc fix (bug#9432).
16505 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16507 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16508 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16510 2011-09-07 Leo Liu <sdl.web@gmail.com>
16512 * net/rcirc.el (rcirc-mode): Conditionally initialize
16515 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16517 * emacs-lisp/find-func.el (find-function-C-source): Only set
16518 find-function-C-source-directory after checking that we found a source
16519 file there (bug#9440).
16521 2011-09-06 Alan Mackenzie <acm@muc.de>
16523 * isearch.el (isearch-other-meta-char): Wherever a key list is
16524 unread, "unread" the prefix arg, too. This fixes bug #8901.
16526 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16528 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16530 2011-09-05 Juri Linkov <juri@jurta.org>
16532 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16534 2011-09-05 Juri Linkov <juri@jurta.org>
16536 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16537 keeping point where processing of grep matches begins, and
16538 continue to delete remaining escape sequences from the same point.
16539 (grep-filter): Make leading zero optional in "0?1;31m" because
16540 git-grep emits "\033[1;31m" escape sequences unlike expected
16541 "\033[01;31m" as GNU Grep does (bug#9408).
16542 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16544 2011-09-05 Juri Linkov <juri@jurta.org>
16546 * subr.el (y-or-n-p): Capitalize "yes".
16548 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
16550 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16551 `tramp-cache-unload-hook' where appropriate.
16552 (tramp-methods): Rename `tramp-remote-sh' to
16553 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16554 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16556 * net/tramp-sh.el (top): Don't require 'shell.
16557 (tramp-methods): Add `tramp-remote-shell' and
16558 `tramp-remote-shell-args' entries.
16559 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16560 (tramp-sh-handle-shell-command): Remove.
16561 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16562 Use `tramp-remote-shell'.
16564 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
16566 * mail/sendmail.el (sendmail-query-once-function): Delete.
16567 (sendmail-query-once): Save directly to send-mail-function.
16568 Update message-send-mail-function too.
16570 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16572 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16574 * progmodes/python.el (python-mode-map): Use correct function to
16575 start python interpreter from menu-bar (as reported by Geert
16577 (inferior-python-mode-map): Fix typo.
16578 (python-shell-map): Remove.
16580 2011-09-03 Deniz Dogan <deniz@dogan.se>
16582 * net/rcirc.el (rcirc-print): Simplify code for
16583 rcirc-scroll-show-maximum-output. There is no need to walk
16584 through all windows to find the right one.
16586 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16588 * help.el (help-return-method): Doc fix.
16590 2011-09-03 Martin Rudalics <rudalics@gmx.at>
16592 * window.el (window-deletable-p): Don't return a non-nil value
16593 when there's a buffer that was shown in the window before.
16595 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16596 Set window's previous buffers to nil.
16598 2011-09-03 Eli Zaretskii <eliz@gnu.org>
16600 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16601 newline before and after the tag line, so it doesn't interfere
16602 with determining the paragraph direction of bidirectional text.
16604 2011-09-03 Leo Liu <sdl.web@gmail.com>
16606 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16608 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16610 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
16611 (pop-to-buffer): Change interactive spec. Pass second argument
16612 directly to display-buffer.
16613 (display-buffer): Fix interactive spec. Use functionp to
16614 distinguish between a function and a list of functions.
16616 * abbrev.el (edit-abbrevs):
16617 * arc-mode.el (archive-extract):
16618 * autoinsert.el (auto-insert):
16619 * bookmark.el (bookmark-bmenu-list):
16620 * files.el (find-file):
16621 * view.el (view-buffer):
16622 * progmodes/compile.el (compilation-goto-locus):
16623 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16625 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16627 * window.el (display-buffer-alist): Doc fix.
16628 (display-buffer): Add docstring. Don't treat
16629 display-buffer-default specially.
16630 (display-buffer-reuse-selected-window)
16631 (display-buffer-same-window, display-buffer-maybe-same-window)
16632 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16633 (display-buffer-pop-up-window)
16634 (display-buffer-reuse-or-pop-window)
16635 (display-buffer-use-some-window): New functions.
16636 (display-buffer-default-action): Use them.
16637 (display-buffer-default): Delete.
16638 (pop-to-buffer-1): Fix choice of actions.
16640 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16642 * minibuffer.el (completion--insert-strings): Don't get confused by
16643 completion entries that end with an LF char.
16645 2011-09-01 Eli Zaretskii <eliz@gnu.org>
16647 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16649 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
16651 * window.el (display-buffer): Restore interactive spec.
16652 (display-buffer-same-window, display-buffer-other-window):
16654 (pop-to-buffer-1): New function. Use the above.
16655 (pop-to-buffer, pop-to-buffer-same-window): Use it.
16656 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
16658 * view.el (view-buffer-other-window, view-buffer-other-frame):
16659 Just use pop-to-buffer.
16661 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16663 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16665 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16667 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16669 2011-08-31 Richard Stallman <rms@gnu.org>
16671 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16672 of the separation of rmail-view-buffer from rmail-buffer.
16673 If you say no to "replace original", the decrypt is in the
16674 view buffer. If you say yes, the decrypt goes into the
16677 2011-08-31 Martin Rudalics <rudalics@gmx.at>
16679 * window.el (display-buffer-window): Rewrite doc-string.
16680 (display-buffer-record-window): New function.
16681 (display-buffer-macro-specifiers)
16682 (display-buffer-even-window-sizes, display-buffer-set-height)
16683 (display-buffer-set-width, display-buffer-in-window)
16684 (display-buffer-reuse-window, display-buffer-split-specifiers)
16685 (display-buffer-side-specifiers, display-buffer-split-window-1)
16686 (display-buffer-split-window, display-buffer-split-atom-window)
16687 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16688 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16689 (display-buffer-other-window-means-other-frame)
16690 (display-buffer-normalize-special)
16691 (display-buffer-normalize-default)
16692 (display-buffer-normalize-argument)
16693 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16694 (display-buffer-normalize-specifiers, display-buffer-frame)
16695 (display-buffer-same-window, display-buffer-same-frame)
16696 (display-buffer-other-window)
16697 (display-buffer-same-frame-other-window)
16698 (display-buffer-other-frame, pop-to-buffer-same-window)
16699 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16700 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16701 (switch-to-buffer-same-frame)
16702 (switch-to-buffer-other-window-same-frame)
16703 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16704 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16705 (display-buffer-alist-set): Remove.
16706 (display-buffer-function, special-display-buffer-names)
16707 (special-display-regexps, special-display-function):
16708 In doc-string refer to display-buffer-window and quit-restore
16710 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16711 (special-display-frame-alist, special-display-popup-frame)
16712 (same-window-buffer-names, same-window-regexps, same-window-p)
16713 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16714 (split-window-preferred-function, split-height-threshold)
16715 (split-width-threshold, window-splittable-p)
16716 (split-window-sensibly, window--try-to-split-window)
16717 (window--frame-usable-p, even-window-heights)
16718 (window--even-window-heights, window--display-buffer-1)
16719 (window--display-buffer-2, display-buffer-other-frame):
16720 Restore old Emacs 23 code, order and doc-strings where applicable.
16721 (display-buffer-default, display-buffer-assq-regexp): New functions.
16722 (display-buffer-alist): Rewrite doc-string.
16723 (display-buffer-default-action)
16724 (display-buffer-overriding-action): New variables.
16725 (display-buffer, switch-to-buffer): Rewrite.
16726 (pop-to-buffer): Restore Emacs 23 behavior but use
16727 window-normalize-buffer-to-display.
16728 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16729 Restore Emacs 23 behavior but use
16730 window-normalize-buffer-to-switch-to.
16731 (pop-to-buffer-same-window): Rewrite.
16732 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16733 Rewrite using Emacs 23 options.
16735 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
16737 * net/tramp.el (tramp-root-regexp): Remove.
16738 (tramp-completion-file-name-regexp-unified)
16739 (tramp-completion-file-name-regexp-separate)
16740 (tramp-completion-file-name-regexp-url): Don't use leading volume
16741 letter on w32 systems. (Bug#5303, Bug#9311)
16742 (tramp-drop-volume-letter): Simplify definition.
16743 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
16745 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16747 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16750 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16752 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
16754 2011-08-29 Juri Linkov <juri@jurta.org>
16756 * isearch.el (isearch-done): Don't display message "Mark saved"
16757 when arg `edit' is non-nil to prevent its flicker in the echo area.
16759 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16761 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16762 obsolete packages for deletion.
16764 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16766 * help-mode.el (help-mode-map): Add special-mode-map to parent.
16767 (help-mode): Derive help-mode from special-mode. Don't invoke
16768 view-mode from help-mode.
16769 (help-xref-override-view-map): Remove.
16770 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16771 view-mode is not used anymore.
16773 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16775 * server.el (server-port): Doc fix.
16777 * cus-theme.el (custom-theme-choose-mode): Inherit from
16778 special-mode (Bug#9124).
16779 (custom-theme-choose-mode-map): Add special-mode to parent.
16781 2011-08-28 Alan Mackenzie <acm@muc.de>
16783 * progmodes/cc-fonts.el
16784 (c-make-font-lock-BO-decl-search-function): New function.
16785 (c-basic-matchers-after - "Fontify the clauses after various
16786 keywords"): Extract the three keyword lists for the 3 erroneous
16787 constructs from the list of four, and use the new function above
16788 in place of an old one.
16790 2011-08-28 Deniz Dogan <deniz@dogan.se>
16792 * net/rcirc.el (rcirc-insert-prev-input)
16793 (rcirc-insert-next-input): Remove unused argument.
16795 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16797 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16799 2011-08-27 Alan Mackenzie <acm@muc.de>
16801 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16802 handle function pointer parameters properly.
16804 2011-08-27 Martin Rudalics <rudalics@gmx.at>
16806 * window.el (display-buffer-reuse-window): Fix case where
16807 selected window was reused with non-nil OTHER-WINDOW argument.
16810 2011-08-27 Deniz Dogan <deniz@dogan.se>
16812 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16813 oftc's NickServ messages.
16815 2011-08-27 Glenn Morris <rgm@gnu.org>
16817 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16819 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
16821 * emacs-lisp/package.el (package-install): Call package-initialize
16822 if called interactively.
16824 2011-08-26 Leo Liu <sdl.web@gmail.com>
16826 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16828 2011-08-25 Juri Linkov <juri@jurta.org>
16830 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16831 `search-whitespace-regexp' (bug#9364).
16833 2011-08-25 Juri Linkov <juri@jurta.org>
16835 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16836 `regexp-search-ring' to their global values to protect from
16837 updating by `read-from-minibuffer' (bug#9185).
16839 2011-08-25 Juri Linkov <juri@jurta.org>
16841 * textmodes/ispell.el (ispell-command-loop): Add newline
16842 at the end of the "Use option `i'..." line.
16844 2011-08-25 Juri Linkov <juri@jurta.org>
16846 * battery.el (display-battery-mode): If `battery-status-function'
16847 or `battery-mode-line-format' is nil, display the message and set
16848 `display-battery-mode' to nil (bug#9363).
16850 2011-08-25 Eli Zaretskii <eliz@gnu.org>
16852 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16853 bidi-string-mark-left-to-right; they are unnecessary now.
16855 2011-08-25 Deniz Dogan <deniz@dogan.se>
16857 * net/quickurl.el: Documentation typo fixes.
16859 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
16861 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16863 2011-08-25 Glenn Morris <rgm@gnu.org>
16865 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16867 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16868 (smtpmail-via-smtp): Handle nil response from smtp.
16870 2011-08-24 Juri Linkov <juri@jurta.org>
16872 * proced.el (proced-marked): Inherit from `error' instead of
16873 `font-lock-warning-face'.
16875 * ibuffer.el (ibuffer-marked-face): Change default face from
16876 `font-lock-warning-face' to `warning'.
16877 (ibuffer-deletion-face): Change default face from
16878 `font-lock-type-face' to `error'.
16880 * battery.el (battery-update): Use the face `error' instead of
16881 `font-lock-warning-face' (bug#6117).
16883 2011-08-24 Juri Linkov <juri@jurta.org>
16885 * faces.el (success): Change face color from "Green3" to
16886 "ForestGreen" on light background (bug#9353).
16888 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
16890 * window.el (quit-window): Rename from quit-restore-window.
16891 Use same arglist as old quit-window.
16892 (frame-auto-delete): Doc fix.
16894 * view.el (view-mode-exit): Use quit-window.
16896 2011-08-24 Juri Linkov <juri@jurta.org>
16898 * isearch.el (isearch-ring-adjust1): Start visiting previous
16899 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16900 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16901 for empty search string (when the last search string is reused
16902 automatically) to adjust the isearch ring to the last element and
16903 prepare the correct index for further M-p commands (bug#9185).
16905 2011-08-24 Kenichi Handa <handa@m17n.org>
16907 * international/ucs-normalize.el: If decomposition property of
16908 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16910 (nfd, nfkd): Likewise.
16912 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16914 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16915 from process filters aren't reliably transmitted to the surrounding
16916 accept-process-output.
16917 (mpc-proc-check): New function.
16918 (mpc-proc-sync): Use it (bug#8293)
16920 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16922 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16923 Add compatibility functions (bug#9313).
16925 2011-08-23 Eli Zaretskii <eliz@gnu.org>
16927 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16929 * international/uni-bidi.el: Regenerate.
16931 2011-08-23 Kenichi Handa <handa@m17n.org>
16933 * international/charprop.el:
16934 * international/uni-bidi.el:
16935 * international/uni-category.el:
16936 * international/uni-combining.el:
16937 * international/uni-comment.el:
16938 * international/uni-decimal.el:
16939 * international/uni-decomposition.el:
16940 * international/uni-digit.el:
16941 * international/uni-lowercase.el:
16942 * international/uni-mirrored.el:
16943 * international/uni-name.el:
16944 * international/uni-numeric.el:
16945 * international/uni-old-name.el:
16946 * international/uni-titlecase.el:
16947 * international/uni-uppercase.el: Regenerate.
16949 2011-08-23 Martin Rudalics <rudalics@gmx.at>
16951 * help.el (help-window-setup): Fix message displayed when other
16952 window is reused. (Bug#9341)
16954 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16956 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16957 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16959 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16961 * shell.el (shell-parse-pcomplete-arguments): New function.
16962 (shell-completion-vars): Use it instead (bug#9160).
16964 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16966 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16967 strings and comments (bug#9333).
16969 * emacs-lisp/debug.el (debug-arglist): New function.
16970 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16971 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16973 2011-08-22 Juri Linkov <juri@jurta.org>
16975 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16976 Revert regexp that highlights output switches to its old
16977 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16979 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16980 to check for empty output (bug#9226).
16982 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
16984 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16985 symbol-constituent as the default, as that stops font-lock from
16986 working properly (Bug#8843).
16988 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16990 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16991 `coding-system-for-*' around the process open call to avoid
16992 auth-source side effects.
16993 (smtpmail-try-auth-methods): Expand the secret password.
16994 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16997 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16999 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17001 * emacs-lisp/find-func.el (find-function-noselect): New arg
17004 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17005 signal an error for built-in functions (Bug#6664).
17007 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17009 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17010 (smtpmail-try-auth-methods): Use it.
17012 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
17014 * font-lock.el (font-lock-fontify-region)
17015 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17016 (font-lock-default-unfontify-buffer)
17017 (font-lock-default-fontify-region)
17018 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17020 * progmodes/compile.el (compilation-error-properties):
17021 Fix confusion between file struct and message struct (Bug#9319).
17022 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17025 * net/browse-url.el (browse-url-firefox): Don't call
17026 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17028 2011-08-20 Glenn Morris <rgm@gnu.org>
17030 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17032 * tutorial.el (tutorial--default-keys): Update some default bindings.
17034 * files.el (hack-local-variables): Fully ignore case for "mode:".
17036 2011-08-20 Alan Mackenzie <acm@muc.de>
17038 Resolve invalid use of a regexp in regexp-opt.
17040 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17041 detection for a java annotation.
17043 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
17044 detection for a java annotation.
17046 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17048 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17050 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
17052 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17055 2011-08-20 Alan Mackenzie <acm@muc.de>
17057 Fontify CPP expressions correctly when starting in the middle of
17058 such a construct. Mainly for when jit-lock etc. starts a chunk
17061 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
17063 (c-make-font-lock-search-form): New function, extracted from
17064 c-make-font-lock-search-function.
17065 (c-make-font-lock-search-function): Use the above function.
17066 (c-make-font-lock-context-search-function): New function.
17067 (c-cpp-matchers): Enhance the preprocessor expression case with
17069 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17070 which takes an expression.
17072 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17074 2011-08-20 Martin Rudalics <rudalics@gmx.at>
17076 * window.el (display-buffer-reuse-window)
17077 (display-buffer-pop-up-window): Don't reuse or split a side
17080 2011-08-19 Glenn Morris <rgm@gnu.org>
17082 * files.el (hack-local-variables-prop-line, hack-local-variables):
17083 Downcase "Mode:". (Bug#9331)
17085 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
17087 * international/characters.el: Add L and R categories.
17089 * subr.el (bidi-string-mark-left-to-right): Rename from
17090 string-mark-left-to-right. Use category search.
17092 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17094 2011-08-18 Juri Linkov <juri@jurta.org>
17096 * faces.el (error, warning, success): New faces with definitions
17097 copied from old default values of `font-lock-warning-face',
17098 `compilation-warning', `compilation-info' (bug#6117).
17100 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17102 * progmodes/compile.el (compilation-error): Inherit from `error'.
17103 (compilation-warning): Inherit from `warning'.
17104 (compilation-info): Inherit from `success'.
17106 * dired.el (dired-marked): Inherit from `warning'.
17107 (dired-flagged): Inherit from `error'.
17109 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17111 * mail/smtpmail.el (auth-source): Require to avoid problems with
17112 binding variables (bug#9298). Also clean up some unused
17115 * net/network-stream.el (network-stream-open-starttls):
17116 Support using starttls.el without using gnutls-cli.
17118 2011-08-17 Juri Linkov <juri@jurta.org>
17120 * progmodes/grep.el (rgrep): Handle the case when
17121 `grep-find-command' is a cons cell (bug#9278).
17123 2011-08-17 Martin Rudalics <rudalics@gmx.at>
17125 * window.el (display-buffer-pop-up-frame): Run frame creation
17126 function with BUFFER current (as special-display-popup-frame
17127 does). Reported by Drew Adams.
17129 2011-08-17 Daiki Ueno <ueno@unixuser.org>
17131 * epa-mail.el: Simplify GnuPG group expansion using
17133 (epa-mail-group-alist, epa-mail-group-modtime)
17134 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17135 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17136 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17139 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
17141 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17143 2011-08-16 Alan Mackenzie <acm@muc.de>
17145 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17146 Correct, to avoid the inside of macros.
17148 2011-08-16 Richard Stallman <rms@gnu.org>
17150 * epa-mail.el: Handle GnuPG group definitions.
17151 (epa-mail-group-alist, epa-mail-group-modtime)
17152 (epa-mail-gnupg-conf-file): New variables.
17153 (epa-mail-parse-groups, epa-mail-sync-groups)
17154 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17155 (epa-mail-expand-recipients): New functions.
17156 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17158 * mail/rmail.el (rmail-epa-decrypt): New command.
17160 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17161 Don't bind buffer-read-only, just inhibit-read-only.
17162 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17163 (epa-decrypt-armor-in-region): Make error message clearer.
17165 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17167 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17168 and "a2b" to "ab" for `prefix'.
17170 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
17172 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17174 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17175 Fourquet (Bug#8804).
17177 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
17179 * startup.el (argi): Declare as global variable (bug#9275).
17181 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
17183 * subr.el (string-mark-left-to-right): Search the entire string
17184 for RTL script, not just the terminating character. Doc fix.
17186 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17188 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17190 (js--regexp-literal, js-syntax-propertize-function): Remove.
17191 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17192 (js-mode-map): Don't rebind electric keys.
17193 (js-insert-and-indent): Remove.
17194 (js-mode): Setup electric-layout and electric-indent instead.
17196 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17198 2011-08-12 Daiki Ueno <ueno@unixuser.org>
17200 * epa.el (epa-progress-callback-function): Fix the logic of
17201 displaying progress.
17202 * epa-file.el (epa-file-insert-file-contents): Make progress
17203 display more user-friendly.
17204 (epa-file-write-region): Ditto.
17206 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
17208 * subr.el (string-mark-left-to-right): New function.
17210 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17211 Use string-mark-left-to-right.
17212 (list-buffers-noselect): Caller changed.
17214 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17215 Use string-mark-left-to-right.
17216 (tabulated-list-print): Recenter after moving point.
17218 2011-08-10 Juri Linkov <juri@jurta.org>
17220 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17221 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17222 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17224 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
17226 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17229 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
17231 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17232 character. (Bug#6594)
17234 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
17236 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17237 (image-dired--with-db-file): New macro.
17238 (image-dired-write-tags, image-dired-remove-tag)
17239 (image-dired-create-gallery-lists, image-dired-write-comments)
17240 (image-dired-get-comment, image-dired-mark-tagged-files)
17241 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17242 (image-dired-gallery-generate): Use insert-file-contents.
17244 * time.el (display-time-world-list, display-time-world-display):
17245 * time-stamp.el (time-stamp-string):
17246 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17247 set-time-zone-rule (Bug#7337).
17249 2011-08-08 Daiki Ueno <ueno@unixuser.org>
17251 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17252 (epg-error-to-string, epg-errors-to-string): New function.
17253 (epg-wait-for-completion): Reverse errors list.
17254 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17255 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17256 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17257 (epg-sign-keys, epg-generate-key-from-file)
17258 (epg-generate-key-from-string): Format errors by using
17259 epg-errors-to-string (bug#9255).
17260 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17262 2011-08-07 Juri Linkov <juri@jurta.org>
17264 * faces.el (list-faces-display): Remove extra angle bracket
17265 from `help-mode-map'.
17267 * info.el (Info-history-toc-nodes): Doc fix.
17269 * longlines.el (longlines-mode): Doc fix.
17271 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17273 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17274 of statements and in a few more cases (bug#9183).
17276 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17278 (cl-transform-lambda): Use them (bug#9239).
17280 2011-08-05 Martin Rudalics <rudalics@gmx.at>
17282 * window.el (display-buffer-same-window)
17283 (display-buffer-same-frame, display-buffer-other-window)
17284 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17285 (pop-to-buffer-other-window)
17286 (pop-to-buffer-same-frame-other-window)
17287 (pop-to-buffer-other-frame): Make them defuns.
17288 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17290 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17292 * subr.el (make-composed-keymap): Move from C. Change calling
17293 convention, and improve docstring to bring attention to a subtle point.
17294 * minibuffer.el (completing-read-default): Adjust accordingly.
17296 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
17298 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17299 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17301 * net/trampver.el: Update release number.
17303 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17305 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17308 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17310 * mail/sendmail.el (sendmail-query-once): Restore the current
17311 buffer after querying (bug#9074).
17313 * dired.el (dired-flagged): Use different faces for marked and
17314 flagged files (bug#6117).
17316 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17319 * ido.el (ido-mode): Switch off the message if called
17322 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17323 before 587, since it appears that that's more likely to work for
17326 * cus-edit.el (custom-file): When running under emacs -q, always
17327 refuse to save the customizations, even if the .emacs file doesn't
17330 * info.el: Remove the `Info-beginning-of-buffer' function
17333 * net/network-stream.el (network-stream-open-starttls):
17334 Use `starttls-available-p' to see whether starttls.el can be used.
17336 2011-08-01 Martin Rudalics <rudalics@gmx.at>
17338 * window.el (display-buffer-in-window): Don't set dedicated status
17339 of window here (Bug#9215).
17340 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17341 (display-buffer-pop-up-side-window)
17342 (display-buffer-in-side-window): Set dedicated status of window here.
17344 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17346 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17347 before binding generated-autoload-file.
17349 2011-08-01 Deniz Dogan <deniz@dogan.se>
17351 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17353 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
17355 Sync with Tramp 2.2.2.
17357 * net/trampver.el: Update release number.
17359 2011-07-30 Juri Linkov <juri@jurta.org>
17361 * dired-aux.el (dired-touch-initial): Remove function.
17362 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17363 current time, and `default' to the last modification time of the
17364 current marked file (bug#6887).
17366 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17368 * simple.el (goto-line): Use string-to-number to provide a
17369 numeric argument to read-number (bug#9163).
17371 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
17373 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17374 connection process, it could be nil.
17376 2011-07-27 Leo Liu <sdl.web@gmail.com>
17378 Simplify url handling in rcirc-mode.
17380 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17381 (rcirc-browse-url-at-mouse): Remove.
17382 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17384 2011-07-26 Alan Mackenzie <acm@muc.de>
17386 Fontify bitfield declarations properly.
17388 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17389 (c-symbol-chars): Now exported as a lang variable.
17390 (c-not-primitive-type-keywords): New lang variable.
17392 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17393 QT keyword "more" to prevent "more slots: ...." being spuriously
17394 parsed as a bitfield declaration.
17396 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17397 Refactor and enhance to handle bitfield declarations.
17398 (c-punctuation-in): New function.
17399 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17400 declarations properly.
17402 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
17404 * calendar/icalendar.el (icalendar--all-events): Take care of
17405 multiple vcalendars in a single file.
17406 (icalendar--convert-float-to-ical): Checkdoc fixes.
17408 2011-07-25 Deniz Dogan <deniz@dogan.se>
17410 * image.el (insert-image): Clarifying docstring.
17412 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
17414 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17415 `tramp-send-command-and-check' if there is no error.
17416 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17418 2011-07-22 Alan Mackenzie <acm@muc.de>
17420 Prevent cc-langs.elc being loaded at run time.
17422 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17425 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
17426 "(require 'cc-langs)". Quote a form so it will evaluate at
17427 (cc-mode's) compilation time.
17429 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
17431 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17432 loading. (Bug#9114)
17434 2011-07-21 Martin Rudalics <rudalics@gmx.at>
17436 * window.el (display-buffer-pop-up-window)
17437 (display-buffer-pop-up-side-window)
17438 (display-buffer-in-side-window): Call display-buffer-set-height
17439 and display-buffer-set-width after setting the new window's
17440 buffer so `fit-window-to-buffer' and friends work on the right buffer.
17442 2011-07-20 Sam Steingold <sds@gnu.org>
17444 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17445 (etags-tags-included-tables): Call `convert-standard-filename' on
17446 the file names contained in TAGS so that windows Emacs can handle
17447 TAGS files created by cygwin ctags.
17449 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17451 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17452 which apparently didn't work.
17454 2011-07-19 Roland Winkler <winkler@gnu.org>
17456 * proced.el (proced-send-signal): For *Marked Processes* buffer
17457 put point at beginning of buffer.
17459 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
17461 * proced.el (proced-format): Make header lines align with the text
17464 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17466 * view.el (view-buffer): Allow running in `special' modes if we're
17467 visiting a file (bug#8615).
17469 2011-07-19 Martin Rudalics <rudalics@gmx.at>
17471 * window.el (display-buffer-alist-of-strings-p)
17472 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17474 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17477 2011-07-18 Alan Mackenzie <acm@muc.de>
17479 Fontify declarators properly when, e.g., a jit-lock chunk begins
17480 inside a declaration.
17482 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17484 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17486 (c-complex-decl-matchers): Insert reference to
17487 c-font-lock-enclosing-decls.
17489 * progmodes/cc-engine.el (c-backward-single-comment):
17490 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17491 to nil around calls to (forward-comment -1).
17493 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17495 * image.el (put-image): Doc typo fix.
17497 * progmodes/etags.el (tags-search): Doc typo fix.
17499 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17500 password if we get errors 550 to 554.
17502 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17504 * net/gnutls.el (gnutls-log-level): Remove.
17506 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17507 indentation character (bug#6380).
17509 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17511 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17512 to clarify what the problem is (bug#4291).
17514 * simple.el (current-kill): Clarify what
17515 `interprogram-paste-function' does (bug#7500).
17516 (auto-fill-mode): Document `auto-fill-function' in relation to
17517 `auto-fill-mode' (bug#2470).
17519 2011-07-16 Lawrence Mitchell <wence@gmx.li>
17521 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17522 method if slot is read-only (bug#9035).
17524 2011-07-16 Martin Rudalics <rudalics@gmx.at>
17526 * frame.el (select-frame-set-input-focus): New argument NORECORD.
17527 * window.el (pop-to-buffer): Select window used even if it was
17528 selected before, see discussion of (Bug#8615), (Bug#6954).
17529 Pass argument NORECORD on to select-frame-set-input-focus.
17531 2011-07-15 Glenn Morris <rgm@gnu.org>
17533 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
17536 2011-07-09 Lawrence Mitchell <wence@gmx.li>
17538 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17539 (gnutls-negotiate): Use it.
17541 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17543 * net/gnutls.el (gnutls-negotiate):
17544 Upcase `gnutls-algorithm-priority'.
17546 2011-07-15 Glenn Morris <rgm@gnu.org>
17548 * jka-compr.el (jka-compr-verbose): Move from here...
17549 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17550 Add missing :version tag.
17551 * info.el: No need to require jka-compr when compiling.
17553 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17555 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17556 (gnutls-negotiate): Use it.
17558 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17560 * info.el (Info-beginning-of-buffer): New command.
17561 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17562 announcing `b' as the key (bug#8325).
17563 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
17565 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17567 * international/mule-cmds.el
17568 (describe-specified-language-support): Make the error message
17569 clearer (bug#8905).
17571 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17573 * isearch.el (isearch-barrier): Add a doc string, since it's
17574 mentioned in a function doc string (bug#8678).
17576 2011-07-15 Martin Rudalics <rudalics@gmx.at>
17578 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17579 buffer argument (Bug#9083) and self-identifying label argument.
17581 2011-07-15 Glenn Morris <rgm@gnu.org>
17583 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17585 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17587 * man.el (Man-fontify-manpage): Fix message when formatting the
17588 man page (bug#7929).
17590 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17592 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17593 argument LRM; if non-nil, append an invisible LRM character to the
17595 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17596 last argument non-nil, when formatting buffer names.
17597 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17598 paragraph direction.
17600 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17602 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17603 the man page name (bug#7929).
17605 * image.el (put-image): Mention the `put-image' overlay property
17608 * scroll-bar.el (set-scroll-bar-mode): Mention that
17609 `scroll-bar-mode' lists the values (bug#7772).
17611 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17612 command (bug#7729).
17614 * rect.el (apply-on-rectangle): Return the point after the last
17616 (string-rectangle): Go to the point after the last operation
17619 * printing.el (pr-toggle-region): Clarify the documentation
17620 slightly (bug#7493).
17622 * time.el (display-time-update):
17623 Allow `display-time-mail-function' to return nil (bug#7158).
17624 Fix suggested by Detlev Zundel.
17626 * vc/diff.el (diff): Clarify the order the file names are read
17629 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17630 the doc string (bug#7015).
17632 * font-lock.el (font-lock-maximum-decoration): Mention what
17633 numeric levels mean (bug#6935).
17635 * startup.el (initial-buffer-choice): Don't mention the `none'
17636 selection, which is against policy.
17638 2011-07-14 Martin Rudalics <rudalics@gmx.at>
17640 * window.el (display-buffer-normalize-special):
17641 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
17643 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17645 * subr.el (version<, version<=, version=): Mention "-CVS" and
17646 "-12345" alpha version numbers.
17648 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17650 * bindings.el: Add advertised binding for set-mark-command
17653 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17655 * bindings.el (mode-line-other-buffer):
17656 * bookmark.el (bookmark-bmenu-2-window):
17657 * bs.el (bs-cycle-next, bs-cycle-previous):
17658 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17661 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17664 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
17666 * follow.el (follow-debug-message, follow-redisplay):
17667 * jka-cmpr-hook.el (with-auto-compression-mode):
17668 Fix typos in docstrings.
17670 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17672 * subr.el (with-silent-modifications): Clarify somewhat what the
17673 macro inhibits (bug#6525).
17675 * simple.el (eval-expression): Note what it does if called
17676 interactively (bug#6495).
17678 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17680 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17681 Use pop-to-buffer buffer-or-name if it is nil.
17683 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17684 Remove switch-to-buffer.
17686 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17688 * files.el (make-directory): Clarify that an error will be raised
17689 if there's an error (bug#6397).
17691 * startup.el (initial-buffer-choice): Add `none' as a choice
17694 * subr.el (add-hook): Clarify section about buffer-local hooks
17697 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17699 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17701 * tabify.el (untabify): Preserve the current column so that point
17702 doesn't move (bug#6032).
17704 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17706 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17707 Rewrite to avoid awkward possessive "s" (bug#5986).
17709 2011-07-13 Glenn Morris <rgm@gnu.org>
17711 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17712 (dired-insert-directory): Give a message the first time
17713 if ls is found not to support --dired.
17715 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17717 * simple.el (toggle-truncate-lines): Clarify what is toggled
17718 (bug#5580). Text by Drew Adams.
17720 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17722 * simple.el (blink-matching-open): Make the error message from the
17723 last change less verbose.
17725 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17727 * font-lock.el (font-lock-comment-face): Use the high contrast
17728 "yellow" color for font-lock-comment-face on low color terminals
17729 using a dark background color (bug#4221).
17731 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17733 * dired.el (dired-insert-set-properties): Make the doc string
17734 reflect what it does now (bug#5325).
17736 * simple.el (blink-matching-open): Say that we were unable to find
17737 the match within the limit, if we're limited (bug#5122).
17739 * international/mule-cmds.el (prefer-coding-system): Add an
17740 example (bug#4869).
17742 * progmodes/etags.el (tags-search): Document `file-list-form'
17745 2011-07-13 Lawrence Mitchell <wence@gmx.li>
17747 * net/browse-url.el (browse-url-default-browser)
17748 (browse-url-browser-function): Make the default browser choice a
17749 bit more logical (bug#4300). Also clean up the doc string.
17751 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17753 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17754 binary endings (bug#4440).
17756 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17758 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17759 which can be pretty annoying (bug#8971).
17761 * jka-compr.el (jka-compr-verbose): New variable, and use
17762 throughout (bug#8971).
17764 * info.el (Info-find-file): Fall back on the installation
17765 directory if we can't find the info node anywhere else.
17767 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17769 * vc/vc.el (vc-revert-file):
17770 Don't set file time-stamp in the past. (Bug#5181)
17772 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17774 * files.el (after-find-file): Give a better error message when
17775 trying to find a symlink that points to a file that doesn't exist
17778 * progmodes/cc-vars.el: Remove (probably) misleading comment
17781 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17783 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17785 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17787 * mouse-sel.el: Hack restoring functionality, while keeping
17788 compatibility with 2010-07-03 changes to mouse selection.
17789 (mouse-sel-primary-overlay): New var.
17790 (mouse-sel-selection-alist): Use it.
17791 (mouse-sel-mode): Doc fix; remove points that are default features
17794 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17796 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17797 Fix previous fix (bug#2490).
17799 2011-07-12 Roland Winkler <winkler@gnu.org>
17801 * textmodes/bibtex.el (bibtex-initialize):
17802 Use pop-to-buffer-same-window.
17803 (bibtex-search-entries): Fix interactive call.
17805 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17807 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17808 Fontise bytecomp Error lines more correctly (bug#2490).
17809 Fix suggested by Johan Bockgård.
17811 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17813 * dired-x.el (dired-guess-default): Use `delete-dups'.
17815 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17817 * dired.el (dired-mark-prompt):
17818 * dired-aux.el (dired-read-shell-command): Doc fix.
17820 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17822 * mail/sendmail.el (sendmail-query-once):
17823 Use `customize-save-variable' unconditionally, now that it works under
17826 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17828 * cus-edit.el (custom-file): Take an optional no-error variable.
17829 (customize-save-variable): Set the variable, and give a warning if
17830 running under "emacs -q".
17832 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
17834 * loadhist.el (unload-feature-special-hooks):
17835 Add `auto-coding-functions', `fill-nobreak-predicate' and
17836 `find-directory-functions' (bug#5327).
17838 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17840 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17842 * cus-edit.el (custom-guess-name-alist): -alist variables should
17843 use the `alist' type (bug#3120). Suggested by Drew Adams.
17845 * printing.el: Add documentation to all the `pr-toggle-' commands.
17847 2011-07-11 Leo Liu <sdl.web@gmail.com>
17849 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17850 backends where it makes sense (bug#2623).
17852 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17854 * dired-x.el (dired-guess-default): Remove duplicate shell command
17855 entries (bug#2028).
17856 (dired-guess-default): Fix grammar in doc string (bug#2028).
17857 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17859 * subr.el (remove-duplicates): New conveniency function.
17861 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17863 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17866 2011-07-10 Martin Rudalics <rudalics@gmx.at>
17868 * window.el (display-buffer-normalize-default): Don't invert
17869 meaning of even-window-heights. Reported by Eli Zaretskii
17872 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17874 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17876 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
17878 * window.el (display-buffer): Fix arguments to
17879 display-buffer-reuse-window in last change.
17881 * faces.el (link): Use a less saturated blue on light backgrounds.
17883 * startup.el (fancy-startup-text, fancy-about-text)
17884 (fancy-startup-tail): Use font-lock faces, for background safety.
17886 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17888 * emulation/viper-cmd.el (viper-change-state-to-vi):
17889 Limit triggering of abbrev expansion (Bug#9038).
17891 2011-07-09 Martin Rudalics <rudalics@gmx.at>
17893 * window.el (display-buffer-default-specifiers): Remove.
17894 (display-buffer-macro-specifiers): Remove default specifiers.
17895 (display-buffer-alist): Default to nil.
17896 (display-buffer-reuse-window): New optional argument other-window.
17897 (display-buffer-pop-up-window): Allow splitting internal
17898 windows. Check whether a live window was created.
17899 (display-buffer-other-window-means-other-frame)
17900 (display-buffer-normalize-arguments): Rename to
17901 display-buffer-normalize-argument and rewrite. Set the
17902 other-window specifier.
17903 (display-buffer-normalize-special): New function.
17904 (display-buffer-normalize-options): Rename to
17905 display-buffer-normalize-default and rewrite.
17906 (display-buffer-normalize-options-inhibit): Remove.
17907 (display-buffer-normalize-specifiers): Rewrite.
17908 (display-buffer): Process other-window specifier and call
17909 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17911 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17912 (display-buffer-alist-set): Don't handle 'unset default values.
17913 (display-buffer-in-window, display-buffer-alist-set):
17914 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
17915 <tassilo@member.fsf.org>.
17917 2011-07-09 Leo Liu <sdl.web@gmail.com>
17919 * register.el (insert-register): Restore accidental change on
17920 2011-06-26. (Bug#9028)
17922 2011-07-09 Glenn Morris <rgm@gnu.org>
17924 * subr.el (remq): Handle the empty list. (Bug#9024)
17926 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17928 * mail/sendmail.el (send-mail-function): No longer delay custom
17930 * custom.el (custom-initialize-delay): Doc fix.
17932 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17934 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17936 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
17938 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17939 human-friendly prompt.
17941 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17943 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17944 provided by a particular plugin.
17946 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17948 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17949 save customizations (with "emacs -Q"), just set the variable
17950 instead of erroring out.
17952 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17954 2011-07-08 Juri Linkov <juri@jurta.org>
17956 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17957 (archive-zip-update-case): Use 7z if found by `executable-find'.
17958 The order of searching the available programs is the same as in
17959 `archive-zip-extract' (bug#8968).
17961 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17963 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17964 (menu-bar-options-menu): Tweak descriptions.
17966 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17968 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17969 menu items into verb phrases (bug#1421). Also refill to fit under
17972 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17974 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17975 (Info-read-node-name): Doc fix (Bug#1084).
17977 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17978 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17979 (end-of-sexp, beginning-of-sexp)
17980 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17981 (forward-symbol, forward-same-syntax, word-at-point)
17982 (sentence-at-point): Doc fix (Bug#1144).
17984 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17986 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17987 should cover it (bug#1281).
17989 * cus-edit.el (custom-show): Mark as obsolete.
17991 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17992 negotiation fails, then possibly try again with a non-encrypted
17993 connection (bug#9017).
17995 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17998 2011-07-07 Richard Stallman <rms@gnu.org>
18000 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18001 property, and handle its changed format.
18002 Look for the correct line number.
18003 Use file's line contents (but not past first =) to find
18004 correct line in message.
18006 2011-07-07 Kenichi Handa <handa@m17n.org>
18008 * international/characters.el (build-unicode-category-table):
18010 (unicode-category-table): Set it by unicode-property-table-internal.
18012 * international/mule-cmds.el (char-code-property-alist): Move to
18014 (get-char-code-property): Call unicode-property-table-internal to
18015 load a file. Call get-unicode-property-internal where necessary.
18016 (put-char-code-property): Call unicode-property-table-internal to
18017 load a file. Call put-unicode-property-internal where necessary.
18018 put-unicode-property-internal where necessary.
18019 (char-code-property-description):
18020 Call unicode-property-table-internal to load a file.
18022 * international/charprop.el:
18023 * international/uni-bidi.el:
18024 * international/uni-category.el:
18025 * international/uni-combining.el:
18026 * international/uni-comment.el:
18027 * international/uni-decimal.el:
18028 * international/uni-decomposition.el:
18029 * international/uni-digit.el:
18030 * international/uni-lowercase.el:
18031 * international/uni-mirrored.el:
18032 * international/uni-name.el:
18033 * international/uni-numeric.el:
18034 * international/uni-old-name.el:
18035 * international/uni-titlecase.el:
18036 * international/uni-uppercase.el: Regenerate.
18038 * loadup.el: Load international/charprop.el before
18039 international/characters.
18041 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18043 * window.el (next-buffer, previous-buffer): Signal an error if
18044 called from a minibuffer window.
18046 * bindings.el: Revert 2011-07-04 change.
18048 2011-07-06 Richard Stallman <rms@gnu.org>
18050 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18051 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18052 Treat markers like ints.
18053 (rmail-mime-entity): Doc fix.
18055 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18057 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18058 defcustom again for backwards compatibility.
18060 * simple.el (shell-command-on-region): Fill.
18062 * dired-aux.el (dired-kill-line): Add a doc string.
18064 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18065 to "\\sw\\|\\s_" (bug#358).
18067 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18068 (dired-unmark-backward): Ditto.
18069 (dired-flag-backup-files): Ditto.
18071 * dired-x.el (dired-mark-sexp): Ditto.
18073 2011-07-06 Richard Stallman <rms@gnu.org>
18075 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18076 (rmail-mime-entity): New arg TRUNCATED.
18077 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18079 (rmail-mime-save): Warn if entity is truncated.
18080 (rmail-mime-toggle-hidden): Likewise, for showing.
18081 (rmail-mime-process-multipart): Record when an entity is truncated.
18083 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18084 if ENTITY is a string.
18086 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18088 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
18089 of faces when `M-C-x'-ing their definitions (bug#8378).
18090 Also clean up the code slightly.
18092 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
18093 because that makes the colors go away.
18095 * mail/sendmail.el (send-mail-function): Change the default to
18096 `sendmail-query-once'.
18097 (sendmail-query-once): Add an autoload cookie.
18099 * net/network-stream.el (network-stream-open-starttls): Try using
18100 a plain connection even if the server offered STARTTLS, and we
18101 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18102 capability. This should make smtpmail.el work in slightly more
18105 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
18107 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18109 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18111 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18113 * progmodes/sql.el: Version 3.0
18114 (sql-product-alist): Add product :completion-object,
18115 :completion-column, and :statement attributes.
18116 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
18117 (sql-mode-syntax-table): Mark all punctuation.
18118 (sql-font-lock-keywords-builder): Temporarily remove fallback on
18120 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
18121 (sql-mode-oracle-font-lock-keywords): Improve.
18122 (sql-oracle-show-reserved-words): New function for development.
18123 (sql-product-font-lock): Simplify for source code buffers.
18124 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18126 (sql-highlight-product): Set product specific syntax table.
18127 (sql-mode-map): Add statement movement functions.
18128 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18130 (sql-statement-regexp, sql-beginning-of-statement)
18131 (sql-end-of-statement, sql-signum): New functions.
18132 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
18133 (sql-show-sqli-buffer): Bug fix.
18134 (sql-interactive-mode): Store connection data as buffer local.
18135 (sql-connect): Add NEW-NAME parameter. Redesign interaction
18136 with sql-interactive-mode.
18137 (sql-save-connection): Save buffer local settings.
18138 (sql-connection-menu-filter): Change menu entry name.
18139 (sql-product-interactive): Bug fix.
18140 (sql-preoutput-hold): New variable.
18141 (sql-interactive-remove-continuation-prompt): Bug fixes.
18142 (sql-debug-redirect): New variable.
18143 (sql-str-literal): New function.
18144 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
18146 (sql-oracle-save-settings, sql-oracle-restore-settings)
18147 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18148 (sql-completion-object, sql-completion-column)
18149 (sql-completion-sqlbuf): New variables.
18150 (sql-build-completions-1, sql-build-completions)
18151 (sql-try-completion): New functions.
18152 (sql-read-table-name): Use them.
18153 (sql-contains-names): New buffer local variable.
18154 (sql-list-all, sql-list-table): Use it.
18155 (sql-oracle-completion-types): New variable.
18156 (sql-oracle-completion-object, sql-sqlite-completion-object)
18157 (sql-postgres-completion-object): New functions.
18159 2011-07-06 Glenn Morris <rgm@gnu.org>
18161 * window.el (pop-to-buffer): Doc fix.
18163 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
18165 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18167 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
18169 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
18171 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
18173 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
18175 * button.el (button): Inherit from link face. Suggested by Dan
18178 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18180 * progmodes/gdb-mi.el: Fit in 80 columns.
18181 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18184 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18185 if imenu is simply not configured (bug#8941).
18187 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18189 * allout.el (allout-post-undo-hook): New allout outline-change
18190 event hook to signal undo activity.
18191 (allout-post-command-business): Run allout-post-undo-hook if an
18192 undo just occurred.
18193 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18194 * allout-widgets.el (allout-widgets-after-undo-function):
18195 Ensure the integrity of the current item's decoration after it has been
18196 in the vicinity of an undo.
18197 (allout-widgets-mode): Include allout-widgets-after-undo-function
18198 on the new allout-post-undo-hook.
18200 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18202 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18203 Let define-derived-mode define it.
18204 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18205 cycles of abbrev-table inheritance (bug#8998).
18207 2011-07-05 Roland Winkler <winkler@gnu.org>
18209 * textmodes/bibtex.el: Add support for biblatex.
18210 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18211 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18212 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18213 (bibtex-entry-alist, bibtex-field-alist): New variables.
18214 (bibtex-entry-field-alist): Obsolete alias for
18215 bibtex-BibTeX-entry-alist.
18216 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18217 (bibtex-set-dialect): New command.
18218 (bibtex-entry-type, bibtex-entry-head)
18219 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18220 Bind via bibtex-set-dialect.
18221 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18222 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18223 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18224 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18225 Define via bibtex-set-dialect.
18226 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18227 Obey bibtex-no-opt-remove-re.
18228 (bibtex-vec-push, bibtex-vec-incr): New functions.
18229 (bibtex-format-entry, bibtex-field-list)
18230 (bibtex-print-help-message, bibtex-validate)
18231 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18233 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18235 * progmodes/compile.el (compilation-goto-locus):
18236 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18237 * bs.el (bs-cycle-next, bs-cycle-previous):
18238 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18239 * bindings.el (mode-line-other-buffer):
18240 * autoinsert.el (auto-insert):
18241 * arc-mode.el (archive-extract):
18242 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18244 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18246 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18247 Fix check of `emacs-lock-unlockable-modes'.
18248 Coerce true values of `emacs-lock--try-unlocking' to t.
18250 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18252 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18253 * emacs-lock.el: New file.
18255 2011-07-05 Julien Danjou <julien@danjou.info>
18257 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18258 than `boundp' to check if face is set.
18260 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18262 * register.el (registerv-make):
18263 * window.el (window-min-height): Fix typos in docstrings.
18265 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18267 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
18270 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18272 * server.el (server-execute): Catch quit and call
18273 `server-return-error' to pass the error back to emacsclient and
18274 close the connection (bug#8942).
18276 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18278 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18279 insecure exception for current topic. Also note that auto-saves
18280 are handled differently.
18282 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
18283 State variables for tracking auto-save inhibition situation.
18285 (allout-write-contents-hook-handler): Rename from
18286 'allout-write-file-hook-handler', and describe how it depends on
18287 write-contents-functions sensitivity to non-nil value to prevent
18290 (allout-auto-save-hook-handler): Remove. auto-save does not check
18291 this in individual buffers, only in the starting buffer, so this
18292 is not the right way for us to inhibit auto-save in a buffer
18293 according to its condition.
18295 (allout-mode): Use new allout-write-contents-hook-handler, and
18296 only with write-contents-functions. Remove auto-save provisions -
18297 they're implemented elsewhere.
18299 (allout-before-change-handler): If undo is in progress, note that
18300 for attention of allout-post-command-business.
18302 (allout-post-command-business): If the command we're following was
18303 an undo, check for change in the status of encrypted items and
18304 adjust auto-save inhibitions accordingly.
18306 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18307 according to whether there are or aren't any plain-text topics
18308 pending encryption.
18310 (allout-inhibit-auto-save-info-for-decryption):
18311 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18312 if there are plain-text topics pending encryption.
18314 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18315 buffer-saved-size and some allout state to not inhibit auto-saves
18316 if there are no longer any plain-text topics pending encryption.
18318 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18319 No longer provide for exemption of the current topic.
18321 2011-07-04 Juri Linkov <juri@jurta.org>
18323 Add 7z operations to delete and save changed members (bug#8968).
18324 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18326 (archive-7z-write-file-member): New function.
18327 (archive-7z-summarize): Fix the number of dashes in the
18330 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18332 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18335 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
18337 * bindings.el: Ignore next-buffer and previous-buffer in
18338 minibuffer-local-map.
18340 * font-lock.el (font-lock-builtin-face): Change light background
18341 color to dark slate blue (Bug#6693).
18343 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18345 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18347 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18349 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18350 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18351 Add switch-to-buffer.
18353 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18355 * isearch.el (isearch-search-fun-function): Clarify further the
18356 meaning of the function returned.
18358 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
18360 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18362 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18363 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18365 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18366 `tramp-default-remote-path' does not exist.
18367 (tramp-send-command-and-read): New optional argument NOERROR.
18368 (tramp-open-connection-setup-interactive-shell)
18369 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18370 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18371 (tramp-process-sentinel): Flush also process' connection property.
18372 (tramp-sh-handle-start-file-process): Do not set process
18373 sentinel. It is done now ...
18374 (tramp-maybe-open-connection): ... here. (Bug#8929)
18376 2011-07-04 MON KEY <monkey@sandpframing.com>
18378 * play/animate.el (animate-string): Doc fixes and allow changing
18379 the buffer name (bug#5417).
18381 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18383 * play/animate.el (animation-buffer-name): Rename from *animate*.
18385 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18387 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18388 This is simpler and helps future-proof the code.
18389 (timer-until): Use time-subtract and float-time.
18390 (timer--time-less-p): Use time-less-p.
18392 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18394 * type-break.el (timep): Use the value of `float-time' to avoid a
18395 byte-compiler warning.
18397 * server.el (server-eval-and-print): Return any result, even nil.
18399 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18401 * type-break.el: Accept time formats that the builtins accept.
18402 (timep, type-break-time-difference): Accept any format that
18403 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18404 This is simpler and helps future-proof the code.
18405 (type-break-time-difference): Round rather than ignoring
18406 subseconds components.
18408 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18410 * info.el (Info-apropos-matches): Make non-interactive, since it
18411 doesn't seem to do anything useful as a command (bug#8829).
18413 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
18415 * frame.el (frame-background-mode, frame-set-background-mode):
18416 Move from faces.el.
18417 (frame-default-terminal-background): New function.
18419 * custom.el (custom-push-theme): Don't record faces in `changed'
18420 theme; this doesn't work correctly for per-frame face settings.
18421 (disable-theme): Use face-set-after-frame-default to reset faces.
18422 (custom--frame-color-default): New function.
18424 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18426 * dired.el (dired-flagging-regexp): Remove unused variable
18429 2011-03-29 Kevin Ryde <user42@zip.com.au>
18431 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18432 `perl-Test2' extend to match possible "fail #N" rep count
18435 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18437 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18438 `smtpmail-via-smtp' now returns the error instead of nil.
18440 * isearch.el (isearch-search-fun-function): Clarify the doc string
18443 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
18445 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18446 unnecessary spaces (bug#8987).
18448 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18450 * net/network-stream.el (open-network-stream): Use the
18451 :end-of-capability command thoughout.
18453 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18455 * net/network-stream.el (open-network-stream): Add the
18456 :end-of-capability command parameter, used by pop3.el.
18458 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18460 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18462 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18463 for list)" (bug#6475).
18465 * files.el (file-expand-wildcards): Ignore non-readable
18466 sub-directories while trying to find matches instead of signaling
18467 an error (bug#6297).
18469 * man.el (Man-reference-regexp): Allow matching possible
18470 word-wrapped references (bug#6289).
18472 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18473 for consistency with the other vc buffers (bug#6197).
18474 (vc-checkin): Ditto.
18476 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18478 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18480 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18482 * custom.el (defcustom): Clarify that :set is only used in the
18483 Customize user interface (bug#6089).
18485 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18486 associated with a file, refuse to run instead of erroring out
18489 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18490 the doc string, since it appears that using `fill-column' always
18491 controls the width (bug#7845).
18493 * simple.el (shell-command-on-region): Say where the error output
18494 went if `shell-command-default-error-buffer' is set (bug#6857).
18496 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18498 * allout.el (allout-yank-processing): Adjust cursor position for
18499 backwards-deleted space.
18501 (allout-rebullet-heading): Register changes with
18502 allout-exposure-changed-hook, so the modified topic is properly
18505 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18507 * minibuffer.el (completion-in-region): Document PREDICATE
18510 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18511 of keyword/argument pairs (bug#6904).
18513 * replace.el (multi-occur):
18514 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
18516 2011-07-02 Drew Adams <drew.adams@oracle.com>
18518 * dired.el (dired-mark-if): Make the message about whether it's
18519 marking or unmarking clearer (bug#8523).
18521 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18523 * disp-table.el (display-table-print-array): New function.
18524 (describe-display-table): Use it to print the vectors more pretty
18527 2011-07-02 Martin Rudalics <rudalics@gmx.at>
18529 * window.el (window-state-get-1): Don't assign clone numbers.
18530 Add clone-of item to list of window parameters.
18531 (window-state-put-2): Don't process clone numbers.
18532 (display-buffer-alist): Fix doc-string.
18534 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18536 * subr.el (remq): Don't allocate if it's not needed.
18537 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18538 (keymap--merge-bindings): New functions.
18539 (keymap-canonicalize): Use them to refine the canonicalization.
18540 * minibuffer.el (minibuffer-local-completion-map)
18541 (minibuffer-local-must-match-map): Move initialization from C.
18542 (minibuffer-local-filename-completion-map): Move initialization from C;
18543 don't inherit from anything here.
18544 (minibuffer-local-filename-must-match-map): Make obsolete.
18545 (completing-read-default): Use make-composed-keymap to combine
18546 minibuffer-local-filename-completion-map with either
18547 minibuffer-local-must-match-map or
18548 minibuffer-local-filename-completion-map.
18550 2011-07-01 Glenn Morris <rgm@gnu.org>
18552 * type-break.el (type-break-time-sum): Use dolist.
18554 * textmodes/flyspell.el (flyspell-word-search-backward):
18555 Replace CL function.
18557 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18559 * mouse.el (mouse--strip-first-event): New function.
18560 (function-key-map): Use it to map fringe clicks to normal clicks
18563 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18564 (vc-bzr-revision-completion-table): Add support for annotate and date.
18566 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18567 inherit from parent.
18569 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18571 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
18572 (dired-show-file-type): Doc fixup (bug#8818).
18574 * dired.el (dired-mode): Fix up the doc string as suggested by
18575 Drew Adams (bug#8817).
18577 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18578 cookie, since the manual says that it should be possible to add
18579 this function to `find-file-hook' (bug#8709).
18581 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18583 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18584 here. Noted Ted Zlatanov as the maintainer.
18585 (cfengine-common-settings, cfengine-common-syntax): New functions
18586 to set up common things between `cfengine-mode' and
18588 (cfengine3-mode): New mode.
18589 (cfengine3-defuns cfengine3-defuns-regex
18590 (cfengine3-class-selector-regex cfengine3-category-regex)
18591 (cfengine3-vartypes cfengine3-font-lock-keywords)
18592 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
18593 (cfengine3-indent-line): Add from cfengine3.el.
18595 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
18597 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18599 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18601 2011-07-01 Martin Rudalics <rudalics@gmx.at>
18603 * window.el (same-window-buffer-names, same-window-regexps)
18604 (same-window-p, special-display-frame-alist)
18605 (special-display-popup-frame, special-display-function)
18606 (special-display-buffer-names, special-display-regexps)
18607 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18608 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18609 (split-window-preferred-function, split-height-threshold)
18610 (split-width-threshold, even-window-heights)
18611 (display-buffer-mark-dedicated, window-splittable-p)
18612 (split-window-sensibly, window-safely-shrinkable-p):
18614 (display-buffer): Don't spread args with function specifier
18615 because special-display-popup-frame won't like it.
18617 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18619 Time-stamp simplifications and fixes.
18620 These improve accuracy slightly, and future-proof the code
18621 against some potential changes to current-time format.
18623 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18624 by using time-since and float-time.
18626 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18627 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18628 + NNN microseconds".
18630 * type-break.el (type-break-time-sum): Rewrite using time-add.
18632 * play/hanoi.el (hanoi-current-time-float): Remove.
18633 All uses replaced by float-time.
18635 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18636 This yields a more-accurate answer.
18637 (rng-time-to-float): Remove; no longer needed.
18639 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18641 * calendar/timeclock.el (timeclock-seconds-to-time):
18642 Defalias to seconds-to-time, since they're the same thing.
18644 * emacs-lisp/elp.el (elp-elapsed-time):
18645 * emacs-lisp/benchmark.el (benchmark-elapse):
18646 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18648 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18650 * window.el (bury-buffer): Don't iconify the only frame.
18651 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18652 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18654 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
18656 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18657 Add mouse-yank-primary.
18659 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18661 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18663 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18665 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18666 (find-library-name): Use it to find relative load names when provided
18667 absolute file name (bug#8803).
18669 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18671 * textmodes/flyspell.el (flyspell-word): Consider words that
18672 differ only in case as potential doublons (bug#5687).
18674 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18675 Remove two rather uninteresting debugging-like messages to make
18676 debbugs.el more silent.
18678 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18679 a password-like phrase.
18681 2011-06-30 Masatake YAMATO <yamato@redhat.com>
18683 * progmodes/cc-guess.el: New file.
18685 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
18687 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18688 derived from `c-basic-common-init'.
18690 * progmodes/cc-mode.el (top-level): Require cc-guess.
18691 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18693 2011-06-30 Lawrence Mitchell <wence@gmx.li>
18695 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18697 2011-06-30 Alan Mackenzie <acm@muc.de>
18699 * progmodes/cc-engine.el (c-guess-continued-construct):
18700 Correct the handling of template-args-cont, particularly for when font
18701 lock is disabled. Name this case as "CASE G".
18703 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18705 * allout.el (allout-yank-processing): Fix injection of extra space
18706 between bullet and non-whitespace character in first topic when
18707 pasting, ensuring that the actual spacing in the pasted topic
18708 following the bullet char is preserved. This extra space was
18709 causing pasted encrypted topics to get a decrypted status even
18710 when the content was actually still encrypted. Now the decryption
18711 status from before the paste is preserved.
18713 (allout-flag-region): Set all allout overlays so they evaporate
18714 when reduced to zero length (evanescent), to prevent overlay
18717 2011-06-30 Glenn Morris <rgm@gnu.org>
18719 * w32-fns.el (w32-charset-info-alist): Declare.
18721 * find-dired.el (find-grep-options): Simplify.
18723 * term/ns-win.el (ns-set-resource): Declare.
18725 * ses.el (row, col): Declare dynamic variables honestly.
18727 * textmodes/reftex-parse.el (index-tags): Declare.
18729 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
18731 * cus-edit.el (customize-push-and-save): New function.
18733 * files.el (hack-local-variables-confirm): Use it.
18735 * custom.el (load-theme): New arg NO-CONFIRM.
18736 Use customize-push-and-save (Bug#8720).
18737 (custom-enabled-themes): Doc fix.
18739 * cus-theme.el (customize-create-theme)
18740 (custom-theme-merge-theme): Callers to load-theme changed.
18742 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18744 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18745 short URLs have at least one dot in them (bug #7614).
18747 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18748 nil, because using a pty is apparently too slow (bug #895).
18750 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18752 * mail/sendmail.el (sendmail-query-once): New function.
18753 (sendmail-query-once-function): New variable.
18755 2011-06-29 Glenn Morris <rgm@gnu.org>
18757 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18759 * ses.el (top-level): Require cl when compiling.
18760 (ses-set-localvars): Fix error statement.
18761 Call it at compile time to silence a storm of warnings.
18763 2011-06-29 Martin Rudalics <rudalics@gmx.at>
18765 * window.el (normalize-live-buffer): Rename to
18766 window-normalize-buffer.
18767 (normalize-live-frame): Rename to window-normalize-frame.
18768 (normalize-any-window): Rename to window-normalize-any-window.
18769 (normalize-live-window): Rename to window-normalize-live-window.
18770 (make-window-atom): Rename to window-make-atom.
18771 (window-resize-reset): Rename to window--resize-reset.
18772 (window-resize-reset-1): Rename to window--resize-reset-1.
18773 (resize-mini-window): Rename to window--resize-mini-window.
18774 (resize-subwindows-skip-p): Rename to
18775 window--resize-subwindows-skip-p.
18776 (resize-subwindows-normal): Rename to
18777 window--resize-subwindows-normal.
18778 (resize-subwindows): Rename to window--resize-subwindows.
18779 (resize-other-windows): Rename to window--resize-siblings.
18780 (resize-this-window): Rename to window--resize-this-window.
18781 (resize-root-window): Rename to window--resize-root-window.
18782 (resize-root-window-vertically): Rename to
18783 window--resize-root-window-vertically.
18784 (normalize-buffer-to-display): Rename to
18785 window-normalize-buffer-to-display.
18786 (normalize-buffer-to-switch-to): Rename to
18787 window-normalize-buffer-to-switch-to.
18788 Correspondingly update all callers of the functions listed
18790 (display-buffer-alist, display-buffer-normalize-arguments)
18791 (display-buffer-normalize-options, display-buffer)
18792 (display-buffer-alist-set): Use "function" instead of
18795 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
18797 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18798 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18799 debbugs.gnu.org. Mention acknowledgment email.
18801 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18803 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18804 buffer multibyteness, since it shouldn't matter.
18806 2011-06-28 Martin Rudalics <rudalics@gmx.at>
18808 * window.el (display-buffer-in-side-window): Handle dedicated
18809 windows as in display-buffer-reuse-window.
18810 (display-buffer-normalize-alist): Use value of override
18812 (display-buffer-normalize-specifiers): Use value of
18813 other-window-means-other-frame specifier.
18814 (display-buffer-alist): Rewrite some texts in widgets.
18815 (display-buffer): Spread arguments when calling function
18816 specified by fun-with-args.
18818 2011-06-28 Deniz Dogan <deniz@dogan.se>
18820 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18823 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18824 selectors (Bug#5732).
18825 (css-proprietary-nmstart-re): Use `regexp-opt'.
18827 2011-06-27 Jari Aalto <jari.aalto@cante.net>
18829 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18830 (eshell-ls-date-format): New defcustom.
18831 (eshell-ls-file): Use it.
18833 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18835 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18837 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18839 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18840 (ange-ftp-make-tmp-name): New arg.
18841 (ange-ftp-file-local-copy): Use it.
18843 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
18845 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18846 no-conversion (Bug#8870).
18848 2011-06-27 Martin Rudalics <rudalics@gmx.at>
18850 * window.el (window-right, window-left, window-child)
18851 (window-child-count, window-last-child)
18852 (window-iso-combination-p, walk-window-tree-1)
18853 (window-atom-check-1, window-tree-1, delete-window)
18854 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18855 new naming conventions - window-vchild, window-hchild,
18856 window-next and window-prev are now called window-top-child,
18857 window-left-child, window-next-sibling and window-prev-sibling
18859 (resize-window-reset): Rename to window-resize-reset.
18860 (resize-window-reset-1): Rename to window-resize-reset-1.
18861 (resize-window): Rename to window-resize.
18862 (window-min-height, window-min-width)
18863 (resize-mini-window, resize-this-window, resize-root-window)
18864 (resize-root-window-vertically, adjust-window-trailing-edge)
18865 (enlarge-window, shrink-window, maximize-window)
18866 (minimize-window, delete-window, quit-restore-window)
18867 (split-window, balance-windows, balance-windows-area-adjust)
18868 (balance-windows-area, window-state-put-2)
18869 (display-buffer-even-window-sizes, display-buffer-set-height)
18870 (display-buffer-set-width, set-window-text-height)
18871 (fit-window-to-buffer): Rename all "resize-window" prefixed
18872 calls to use the "window-resize" prefix convention.
18873 (display-buffer-alist): Fix symbol for label specifier.
18874 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18875 corresponding specifier.
18876 Reported by Juanma Barranquero <lekktu@gmail.com>.
18878 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18880 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18882 (ses-call-printer): Does not pass an empty string to formatter when the
18883 cell is empty to keep from barking printer Calc math-format-value.
18885 2011-06-27 Richard Stallman <rms@gnu.org>
18887 * battery.el (battery-mode-line-limit): New variable.
18888 (battery-update): Handle it.
18890 * mail/rmailmm.el (rmail-mime-process-multipart):
18891 Handle truncated messages.
18893 2011-06-27 Glenn Morris <rgm@gnu.org>
18895 * progmodes/flymake.el (flymake-err-line-patterns):
18896 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18898 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18900 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18901 (ses--clean-!, ses--clean-_): New functions.
18902 (ses-range): Add configurability of readout order, and conversion
18905 * ses.el (ses-repair-cell-reference-all): New function.
18906 (ses-cell-symbol): Set macro as safe, so that it can be used in
18909 * ses.el: Update cycle detection algorithm.
18910 (ses-localvars): Add ses--Dijkstra-attempt-nb and
18911 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18912 (ses-set-localvars): New function.
18913 (ses-make-cell): Add property-list as a cell element.
18914 (ses-cell-property-get-fun, ses-cell-property-get)
18915 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18916 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18918 (ses-cell-property-set, ses-cell-property-pop)
18919 (ses-cell-property-get-handle): New macro.
18920 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18921 New aliases, used for code readability.
18922 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18924 (ses-self-reference-early-detection): New defcustom.
18925 (ses-formula-references): Robustify against self-referring cells.
18926 (ses-mode): Use ses-set-localvars.
18927 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18928 before lauching the update processing.
18929 (ses-initialize-Dijkstra-attempt): New function.
18930 (ses-recalculate-cell): Update for cycle detection based on
18931 Dijkstra algorithm.
18933 * ses.el: Fix commenting and indenting convention.
18935 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18937 * bs.el (bs-cycle-next): Complete last change.
18939 2011-06-27 Drew Adams <drew.adams@oracle.com>
18941 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18943 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18945 * net/network-stream.el (network-stream-open-starttls):
18946 Don't re-get capabilities unless we've reestablished connection.
18947 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18949 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18950 to binary to possibly avoid line encoding issues on Windows (among
18953 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18955 * net/network-stream.el (open-network-stream): Return an :error
18956 saying what the problem was, if possible.
18958 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18961 * net/network-stream.el (network-stream-open-starttls): If we
18962 wanted to use STARTTLS, and the server offered it, but we weren't
18963 able to because we had no STARTTLS support, then close the connection.
18964 (open-network-stream): Return an :error element, if present.
18966 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18968 * hl-line.el (hl-line-sticky-flag): Doc fix.
18969 (global-hl-line-sticky-flag): New option (Bug#8323).
18970 (global-hl-line-highlight): Obey it.
18972 * vc/vc.el (vc-revert-show-diff): Default to t.
18974 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18976 * allout-widgets.el (allout-widgets-post-command-business):
18977 Stop decorating intermediate isearch matches. They're not being
18978 undecorated when an isearch is continued past, and isearch
18979 automatically collapses them. This leads to "widget leaks", where
18980 decorated items accumulate in collapsed areas. Lines with lots of
18981 hidden widgets can slow down cursor travel, substantially.
18982 Too much complicated machinery would be needed to ensure undecoration,
18983 so we're doing without this nicety.
18985 (allout-widgets-tally-string): Don't try to do a hash-table-count
18986 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18987 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18988 *Messages* when allout-widgets-maintain-tally is t.
18990 2011-06-26 Martin Rudalics <rudalics@gmx.at>
18992 * window.el (display-buffer-normalize-argument): Rename to
18993 display-buffer-normalize-arguments. Handle special meaning of
18994 LABEL argument. Respect special-display-function when popping up
18995 a new frame. Fix code searching for a window showing the buffer
18997 (display-buffer-normalize-specifiers):
18998 Call display-buffer-normalize-arguments.
18999 (display-buffer-in-window): Don't undedicate the window if its
19000 buffer remains the same.
19001 Reported by Drew Adams <drew.adams@oracle.com>.
19002 (display-buffer-alist): Add choice for same-window macro
19004 (display-buffer): Mention special meaning of LABEL argument in
19005 doc-string. Fix quoting. Don't pop up a new frame even as
19008 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
19010 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19011 avoid deleting the current window in some cases (bug#8911).
19013 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19015 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19018 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19020 * net/network-stream.el (network-stream-open-starttls):
19021 Use built-in TLS support if `gnutls-available-p' is true.
19022 (network-stream-open-tls): Ditto.
19024 2011-06-26 Leo Liu <sdl.web@gmail.com>
19026 * register.el (registerv): New struct.
19027 (registerv-make): New function.
19028 (jump-to-register, describe-register-1, insert-register):
19029 Support the jump-func, print-func and insert-func slot of a registerv
19032 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19034 * vc/vc.el (vc-revert-show-diff): New defcustom.
19035 (vc-diff-internal): New arg specifying diff buffer.
19036 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19037 reuse an existing *vc-diff* buffer (Bug#8927).
19039 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19041 2011-06-26 Glenn Morris <rgm@gnu.org>
19043 * progmodes/f90.el (f90-critical-indent): New option.
19044 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19045 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19046 (f90-mode): Doc fix.
19047 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19048 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19049 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19050 (f90-match-end): Handle block, critical.
19052 2011-06-25 Glenn Morris <rgm@gnu.org>
19054 * calendar/diary-lib.el (diary-included-files): Doc fix.
19055 (diary-include-files): New function, extracted from
19056 diary-include-other-diary-files and diary-mark-included-diary-files.
19057 (diary-include-other-diary-files, diary-mark-included-diary-files):
19058 Just call diary-include-files.
19059 (diary-mark-entries): Reset diary-included-files on first call.
19061 * calendar/diary-lib.el (diary-mark-entries)
19062 (diary-mark-included-diary-files):
19063 Visit included diary-files in temp buffers.
19065 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19066 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19067 (f90-start-block-re, f90-imenu-generic-expression)
19068 (f90-looking-at-program-block-start, f90-no-block-limit):
19069 Add support for submodules.
19071 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19072 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
19074 2011-06-25 Eli Zaretskii <eliz@gnu.org>
19076 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19077 buffer-file-type before setting its value, to avoid disastrous
19078 global effects on decoding files for DOS/Windows systems. (Bug#8780)
19080 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
19082 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19084 * ses.el (ses-unload-function):
19085 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19087 * proced.el (proced-unload-function):
19088 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19090 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19092 * server.el (server-create-window-system-frame): Add parameters arg.
19093 (server-process-filter): Doc fix. Handle frame-parameters.
19095 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
19097 Fix bug#8730, bug#8781.
19099 * loadhist.el (unload--set-major-mode): New function.
19100 (unload-feature): Use it.
19102 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19103 (python-unload-function): New function.
19105 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19107 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19109 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19111 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19112 the candidates list.
19114 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
19116 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19118 2011-06-23 Richard Stallman <rms@gnu.org>
19120 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19121 (rmail-variables): Set next-error-move-function.
19122 (rmail-what-message): Take argument POS.
19123 (rmail-next-error-move): New function.
19125 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19127 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19128 messages for adjacent non-terminals.
19130 2011-06-23 Richard Stallman <rms@gnu.org>
19132 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
19133 (rmail-show-message-1): Preserve buffer modified flag.
19134 (rmail-start-mail): Don't specify use of rmail-mail-return;
19135 that's done by mail-bury now.
19136 (rmail-mail-return): Handle arg NEWBUF.
19138 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
19140 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19143 2011-06-23 Martin Rudalics <rudalics@gmx.at>
19145 * window.el (get-lru-window, get-mru-window)
19146 (get-largest-window): Never return a minibuffer window.
19147 (display-buffer-pop-up-window): Fix a bug that could lead to
19148 reusing the minibuffer window.
19149 (display-buffer): Pass original specifier argument to
19150 display-buffer-function instead of the normalized one.
19151 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19153 2011-06-22 Leo Liu <sdl.web@gmail.com>
19155 * minibuffer.el (completing-read-function)
19156 (completing-read-default): Move from minibuf.c.
19158 2011-06-22 Richard Stallman <rms@gnu.org>
19160 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19161 to Rmail even if not started by a special Rmail command.
19163 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19164 Copy the buffer currently showing just one message.
19166 2011-06-22 Roland Winkler <winkler@gnu.org>
19168 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19169 (bibtex-clean-entry): First delete the old key so that a
19170 customized algorithm for generating the new key does not get
19171 confused by the old key.
19172 (bibtex-url): Obey regexp of first step.
19173 (bibtex-search-entries): Do not use add-to-list with local
19176 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19178 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19179 stored a user name, then query for the password first, instead of
19180 waiting for SMTP to give an error message and the trying again.
19182 2011-06-22 Lawrence Mitchell <wence@gmx.li>
19184 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19185 BUFFER in call-process.
19187 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19189 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19191 (smtpmail-try-auth-methods): Require user name and password from
19194 2011-06-22 Martin Rudalics <rudalics@gmx.at>
19196 * window.el (display-buffer-default-specifiers)
19197 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19198 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
19199 (split-window): Normalize SIDE argument (Bug#8916).
19201 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19202 (special-display-frame-alist, special-display-popup-frame):
19203 Remove duplicate declarations. These are now in window.el.
19205 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19207 * mail/smtpmail.el (smtpmail-via-smtp):
19208 Set :use-starttls-if-possible so that we always use STARTTLS if the
19209 server supports it. SMTP servers that support STARTTLS commonly
19212 * net/network-stream.el (network-stream-open-starttls): Support
19213 upgrading to STARTTLS always, even if we don't have built-in support.
19214 (open-network-stream): Add the :always-query-capabilities keyword.
19216 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19217 upgrades with `open-network-stream', and rely solely on
19218 auth-source for all credentials. Big changes throughout the file,
19220 (smtpmail-auth-credentials): Remove.
19221 (smtpmail-starttls-credentials): Remove.
19222 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19225 * net/network-stream.el (network-stream-open-starttls):
19226 Provide support for client certificates both for external and built-in
19228 (auth-source): Require.
19229 (open-network-stream): Document the :client-certificate keyword.
19230 (network-stream-certificate): Change cert-cert to cert and
19233 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
19235 * net/tramp-cache.el (top): Don't load the persistency file when
19236 "emacs -Q" has been called.
19238 2011-06-21 Tim Harper <timcharper@gmail.com>
19240 * term/ns-win.el (ns-initialize-window-system):
19241 Set application-specific `ApplePressAndHoldEnabled' system
19242 resource to NO as it is not yet supported by the NS port.
19244 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
19246 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19247 (list-dynamic-libraries): ...not here.
19249 2011-06-21 Leo Liu <sdl.web@gmail.com>
19251 * subr.el (sha1): Implement sha1 using secure-hash.
19253 2011-06-21 Martin Rudalics <rudalics@gmx.at>
19255 * window.el (display-buffer-alist): In default value do not
19256 enforce searching a window on any but the selected frame.
19257 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19258 (display-buffer-select-window): Remove function.
19259 (display-buffer-in-window): When a window on another frame gets
19260 reused, do not select it any more but just raise its frame if
19261 necessary (Bug#8851) and (Bug#8856).
19262 (display-buffer-normalize-options): Handle pop-up-frames related
19263 options more faithfully.
19264 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19265 window if it is on another frame.
19266 (display-buffer-alist, display-buffer-default-specifiers):
19267 Don't make new frame unsplittable by default.
19268 (display-buffer-normalize-argument): Fix doc-string typo and use
19269 'same-frame-other-window instead of 'other-window when associating
19270 with display-buffer-macro-specifiers.
19272 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19274 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19276 (5x5-mode-map, 5x5-mode-menu): Bind them.
19277 (5x5-draw-grid): Tweak the solver's rendering.
19279 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19281 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19282 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19284 2011-06-21 Drew Adams <drew.adams@oracle.com>
19286 * menu-bar.el: Use function variable instead of switch-to-buffer.
19287 (menu-bar-select-buffer-function): New variable.
19288 (menu-bar-update-buffers): Use it (bug#8876).
19290 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19292 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19295 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19297 * x-dnd.el (x-dnd-version-from-flags)
19298 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19299 and long as number (Bug#8899).
19300 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19302 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19304 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
19305 (completion-try-completion, completion-all-completions): Compute the
19306 metadata argument if it's missing; make it optional (bug#8795).
19308 * wid-edit.el: Use lex-bind and move towards completion-at-point.
19309 (widget-complete): Use new :completion-function property.
19310 (widget-completions-at-point): New function.
19311 (default): Use :completion-function instead of :complete.
19312 (widget-default-completions): Rename from widget-default-complete;
19314 (widget-string-complete, widget-file-complete, widget-color-complete):
19316 (file, symbol, function, variable, coding-system, color):
19317 * international/mule-cmds.el (default-input-method, charset)
19318 (language-info-custom-alist):
19319 * cus-edit.el (face): Use new property :completions.
19321 * progmodes/pascal.el (pascal-completions-at-point): New function.
19322 (pascal-mode): Use it.
19323 (pascal-mode-map): Use completion-at-point.
19324 (pascal-toggle-completions): Make obsolete.
19325 (pascal-complete-word, pascal-show-completions):
19326 * progmodes/octave-mod.el (octave-complete-symbol):
19327 Redefine as obsolete alias.
19328 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19329 Signal absence of completion info for old Octave,
19330 (inferior-octave-complete): Redefine as obsolete alias.
19331 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19332 (meta-completions-at-point): Rename from meta-complete-symbol and
19333 adapt it for use on completion-at-point-functions.
19334 (meta-common-mode): Use it.
19335 (meta-looking-at-backward, meta-match-buffer): Remove.
19336 (meta-complete-symbol): Redefine as obsolete alias.
19337 (meta-common-mode-map): Use completion-at-point.
19338 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19339 (makefile-mode-map): Use completion-at-point.
19340 (makefile-completions-at-point): Rename from makefile-complete and
19341 adapt it for use on completion-at-point-functions.
19342 (makefile-mode): Use it.
19343 (makefile-complete): Redefine as obsolete alias.
19345 2011-06-20 Deniz Dogan <deniz@dogan.se>
19347 * net/rcirc.el: Delete trailing whitespaces once and for all.
19349 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19351 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19353 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
19355 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19357 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19359 2011-06-19 Martin Rudalics <rudalics@gmx.at>
19361 * window.el (display-buffer-other-window-means-other-frame):
19362 Call display-buffer-normalize-alist.
19363 (display-buffer-normalize-specifiers-1): Rename to
19364 display-buffer-normalize-argument. New argument other-frame.
19366 (display-buffer-normalize-specifiers-2): Rename to
19367 display-buffer-normalize-options.
19368 (display-buffer-normalize-alist-1): New function.
19369 (display-buffer-normalize-specifiers-3): Rename to
19370 display-buffer-normalize-alist.
19371 Call display-buffer-normalize-alist-1.
19372 (display-buffer-normalize-options-inhibit): New variable.
19373 (display-buffer-normalize-specifiers): Rewrite calling
19374 display-buffer-normalize-alist,
19375 display-buffer-normalize-argument, and
19376 display-buffer-normalize-options. Don't call the latter if
19377 display-buffer-normalize-options-inhibit is non-nil.
19378 (frame-auto-delete): New option.
19379 (window-deletable-p): Use frame-auto-delete.
19380 (window-list-no-nils, window-state-ignored-parameters)
19381 (window-state-get-1, window-state-get, window-state-put-list)
19382 (window-state-put-1, window-state-put-2, window-state-put):
19384 (display-buffer-normalize-options): Move special-display-p group
19385 after pop-up-frame group (Bug#8851) and (Bug#8856).
19387 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
19389 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19391 (rx-submatch-n): New function.
19394 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19397 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19399 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19401 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19402 anytime existing face settings are present (Bug#8889).
19404 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19405 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19406 Remove unused argument.
19408 2011-06-18 Martin Rudalics <rudalics@gmx.at>
19410 * window.el (display-buffer-default-specifiers):
19411 Remove pop-up-frame. Add pop-up-window-min-height,
19412 pop-up-window-min-width, and another reuse-window specifier
19413 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
19414 (display-buffer-normalize-specifiers-2):
19415 Handle split-height-threshold and split-width-threshold also when
19416 pop-up-windows is unset. Add a reuse-window specifier for the
19417 case popping up a new window fails.
19418 (special-display-popup-frame): Remove double quoting.
19419 (display-buffer-normalize-specifiers-1): Fix thinko.
19421 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19423 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19424 according to comint-completion-addsuffix.
19426 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19427 (pcomplete-suffix-list): Mark as obsolete.
19428 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19429 pcomplete-seen in the closure.
19430 (pcomplete-comint-setup): Setup completion-at-point as well.
19431 (pcomplete--entries): New function.
19432 (pcomplete--env-regexp): New var.
19433 (pcomplete-entries): Rewrite to work with partial-completion and
19434 without relying on pcomplete-suffix-list.
19435 (pcomplete-pare-list): Remove, unused.
19437 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19439 * window.el (display-buffer-alist): Set pop-up-window-min-height
19440 and pop-up-window-min-width in default value. Reported by
19441 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19442 other-window-means-other-frame.
19443 (display-buffer-macro-specifiers): Comment out entry for
19444 other-window specifier.
19445 (display-buffer-other-window-means-other-frame): New function.
19446 (display-buffer-normalize-specifiers-1): New arguments
19447 buffer-name and label. Treat other-window case specially.
19448 (display-buffer-normalize-specifiers-2): Treat other-window case
19450 (display-buffer-normalize-specifiers-3): New function.
19451 (display-buffer-normalize-specifiers):
19452 Call display-buffer-normalize-specifiers-3.
19454 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19456 * window.el (same-window-p): Fix two typos introduced when
19457 adding with-no-warnings.
19458 (display-buffer-normalize-specifiers-1): Don't check
19459 pop-up-frames for 'unset initialization.
19460 (display-buffer-normalize-specifiers-2): Major rewrite using
19461 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19462 (pop-up-frames, display-buffer-reuse-frames)
19463 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19464 Suggested by David Engster <deng@randomsample.de>.
19465 (even-window-heights): Initialize to 'unset.
19466 (display-buffer-alist-set): Handle new 'unset initializations.
19467 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19470 2011-06-16 Martin Rudalics <rudalics@gmx.at>
19472 * window.el (display-buffer-normalize-specifiers-1):
19473 Respect current value of pop-up-frames for most reasonable values of
19474 second argument of display-buffer (Bug#8865).
19475 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19476 (switch-to-buffer-other-window-same-frame)
19477 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19479 (display-buffer): Don't check noninteractive when calling
19480 display-buffer-pop-up-frame.
19481 (display-buffer-pop-up-frame): Never pop up a frame in
19482 noninteractive mode (Bug#8857).
19483 (enlarge-window, shrink-window): Don't report an error when the
19484 window can't be resized as requested (Bug#8862).
19486 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19488 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19490 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19492 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19494 2011-06-15 Alan Mackenzie <acm@muc.de>
19496 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19497 for declarators, disable knr checking to speed up for normal files.
19498 2: Refactor, replacing a sequence of nested if forms by a cond form.
19500 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19502 * net/network-stream.el (open-network-stream): Add the keyword
19503 :always-query-capabilities for the case where you want to force a
19504 `plain' network connection, but the protocol still requires the
19505 capabilitiy command (i.e., SMTP and EHLO).
19507 * subr.el (process-live-p): Rename from `process-alive-p' for
19508 consistency with other `-live-p' functions.
19510 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19512 * window.el (same-window-buffer-names, same-window-regexps)
19513 (special-display-frame-alist, special-display-popup-frame)
19514 (special-display-function, special-display-buffer-names)
19515 (special-display-regexps, pop-up-frame-alist)
19516 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19517 (pop-up-windows, split-window-preferred-function)
19518 (split-height-threshold, split-width-threshold, even-window-heights)
19519 (display-buffer-mark-dedicated): Don't encourage the use of
19520 display-buffer-alist from Elisp code.
19522 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19524 * progmodes/python.el (python-mode): Derive from prog-mode.
19525 * progmodes/ps-mode.el (ps-mode):
19526 * progmodes/mixal-mode.el (mixal-mode):
19527 * progmodes/cfengine.el (cfengine-mode):
19528 * progmodes/ld-script.el (ld-script-mode): Likewise.
19530 2011-06-15 Martin Rudalics <rudalics@gmx.at>
19532 * window.el (display-buffer-alist): Trim default value to avoid
19533 popping up a new frame (Bug#8857) or reusing an arbitrary window
19535 (display-buffer): Do not fall back on popping up a new frame in
19536 batch mode (Bug#8857).
19538 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
19540 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19541 (custom-theme-summary): New function.
19542 (customize-themes): Use it.
19544 2011-06-13 Glenn Morris <rgm@gnu.org>
19546 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19548 2011-06-13 Martin Rudalics <rudalics@gmx.at>
19550 * help.el (help-window): Remove variable.
19551 (help-window-point-marker, temp-buffer-max-height)
19552 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19553 (help-print-return-message): Don't set help-window.
19554 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19555 (help-window-setup-finish): Remove.
19556 (help-window-display-message, help-window-setup)
19557 (with-help-window): Major rewrite based on new
19558 display-buffer-window variable.
19560 * help-mode.el (help-mode-finish): Remove help-window related
19563 * view.el (view-exits-all-viewing-windows): Remove reference to
19564 view-return-to-alist in doc-string.
19565 (view-return-to-alist): Make obsolete.
19566 (view-buffer): Call pop-to-buffer-same-window and remove
19568 (view-buffer-other-window): Call pop-to-buffer-other-window and
19569 simplify code. Ignore second argument.
19570 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19571 simplify code. Ignore second argument.
19572 (view-return-to-alist-update): Make obsolete.
19573 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19574 Rewrite using quit-restore window parameters.
19575 (view-mode-exit): Rename second argument to EXIT-ONLY.
19576 Rewrite using quit-restore-window.
19577 (View-exit, View-exit-and-edit, View-leave, View-quit)
19578 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19579 appropriate arguments.
19580 (view-end-message): Use quit-restore window parameter.
19582 * window.el (display-buffer-function): Rewrite doc-string.
19583 (display-buffer-window, display-buffer-alist): New variables.
19584 (display-buffer-split-specifiers)
19585 (display-buffer-side-specifiers)
19586 (display-buffer-macro-specifiers): New constants.
19587 (display-buffer-even-window-sizes, display-buffer-set-height)
19588 (display-buffer-set-width, display-buffer-select-window)
19589 (display-buffer-in-window, display-buffer-reuse-window)
19590 (display-buffer-split-window-1, display-buffer-split-window)
19591 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19592 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19593 (display-buffer-in-side-window, normalize-buffer-to-display)
19594 (display-buffer-normalize-specifiers-1)
19595 (display-buffer-normalize-specifiers-2)
19596 (display-buffer-normalize-specifiers, display-buffer-frame):
19598 (display-buffer): Major rewrite.
19599 (display-buffer-other-window, display-buffer-other-frame)
19600 (pop-to-buffer, switch-to-buffer-other-window)
19601 (switch-to-buffer-other-frame): Rewrite.
19602 (display-buffer-same-window, display-buffer-same-frame)
19603 (display-buffer-same-frame-other-window)
19604 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19605 (pop-to-buffer-other-window)
19606 (pop-to-buffer-same-frame-other-window)
19607 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19608 (switch-to-buffer-other-window-same-frame): New functions.
19609 (same-window-p, special-display-p): Rewrite disabling warnings.
19611 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19612 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19614 (same-window-buffer-names, same-window-regexps)
19615 (special-display-frame-alist, special-display-popup-frame)
19616 (special-display-function, special-display-buffer-names)
19617 (special-display-regexps, pop-up-frame-alist)
19618 (pop-up-frame-function, split-window-preferred-function)
19619 (split-height-threshold, split-width-threshold)
19620 (even-window-heights): Make obsolete.
19622 2011-06-12 Glenn Morris <rgm@gnu.org>
19624 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
19625 Misc simplifications.
19627 2011-06-12 Martin Rudalics <rudalics@gmx.at>
19629 * window.el (window-safely-shrinkable-p): Restore function which
19630 was inadvertently removed in change from 2011-06-11. Declare as
19633 * calendar/calendar.el (calendar-generate-window):
19634 Use window-iso-combined-p instead of combination of one-window-p and
19635 window-safely-shrinkable-p.
19637 2011-06-12 Glenn Morris <rgm@gnu.org>
19639 * progmodes/fortran.el (fortran-mode-syntax-table):
19640 * progmodes/f90.el (f90-mode-syntax-table):
19641 Set % to punctuation. (Bug#8820)
19642 (f90-find-tag-default): Remove, no longer needed.
19644 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19646 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19648 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
19650 * image.el (image-animated-p): Return animation delay in seconds.
19651 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19652 (image-animate-timeout): Remove DELAY argument. Don't assume
19653 every subimage has the same delay; get it from image-animated-p.
19654 (image-animate): Caller changed.
19656 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
19658 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19659 to ignored backtrace functions.
19661 2011-06-11 Glenn Morris <rgm@gnu.org>
19663 * calendar/appt.el (appt-disp-window-function): Doc fix.
19664 (appt-check): Handle overlapping appointments. (Bug#8337)
19666 2011-06-11 Martin Rudalics <rudalics@gmx.at>
19668 * window.el (window-tree-1, window-tree): New functions, moving
19669 the latter to window.el.
19670 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19671 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19672 (bw-refresh-edges): Remove.
19673 (balance-windows-1, balance-windows-2): New functions.
19674 (balance-windows): Rewrite in terms of window tree functions,
19675 balance-windows-1 and balance-windows-2.
19676 (bw-adjust-window): Remove.
19677 (balance-windows-area-adjust): New function with functionality of
19678 bw-adjust-window but using resize-window.
19679 (set-window-text-height): Rewrite doc-string.
19680 Use normalize-live-window and resize-window.
19681 (enlarge-window-horizontally, shrink-window-horizontally):
19682 Rename argument to DELTA.
19683 (window-buffer-height): New function.
19684 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19685 Rewrite using new window resize routines.
19686 (kill-buffer-and-window, mouse-autoselect-window-select):
19687 Use ignore-errors instead of condition-case.
19688 (quit-window): Call delete-frame instead of delete-windows-on
19689 for the only buffer on frame.
19691 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19693 * loadup.el (top-level): Load window before files for the sake
19694 of replace-buffer-in-windows.
19696 * files.el (read-buffer-to-switch)
19697 (switch-to-buffer-other-window)
19698 (switch-to-buffer-other-frame, display-buffer-other-frame):
19701 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19702 (previous-buffer): Move to window.el.
19704 * bindings.el (unbury-buffer): Move to window.el.
19706 * window.el (delete-other-windows-vertically): Move after
19707 definition of delete-other-windows.
19708 (other-window, delete-windows-on, replace-buffer-in-windows):
19709 Move here from window.c.
19710 (record-window-buffer, unrecord-window-buffer)
19711 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19712 (switch-to-next-buffer): New functions.
19713 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19714 from simple.el. Call switch-to-next-buffer.
19715 (previous-buffer): Move here from simple.el.
19716 Call switch-to-prev-buffer.
19717 (bury-buffer): Move here from buffer.c. Switch to previous
19718 buffer when window cannot be deleted.
19719 (unbury-buffer): Move here from bindings.el.
19720 (ctl-x-map): Move binding for other-window from window.c to
19722 (read-buffer-to-switch, switch-to-buffer-other-window)
19723 (switch-to-buffer-other-frame): Move here from files.el.
19724 (normalize-buffer-to-switch-to): New functions.
19725 (switch-to-buffer): Move here from buffer.c.
19726 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
19728 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19730 * window.el (window-min-height, window-min-width): Move here
19731 from window.c. Add defcustoms and rewrite doc-strings.
19732 (resize-mini-window, resize-window): New functions.
19733 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19734 Move here from window.c.
19735 (maximize-window, minimize-window): New functions.
19736 (delete-window, delete-other-windows, split-window): Move here
19738 (window-split-min-size): New function.
19739 (split-window-keep-point): Mention split-window-above-each-other
19740 instead of split-window-vertically.
19741 (split-window-above-each-other, split-window-vertically):
19742 Rename split-window-vertically to split-window-above-each-other
19743 and provide defalias for old definition.
19744 (split-window-side-by-side, split-window-horizontally):
19745 Rename split-window-horizontally to split-window-side-by-side
19746 and provide defalias for the old definition.
19747 (ctl-x-map): Move bindings for delete-window,
19748 delete-other-windows and enlarge-window here from window.c.
19749 Replace bindings for split-window-vertically and
19750 split-window-horizontally by bindings for
19751 split-window-above-each-other and split-window-side-by-side.
19753 * cus-start.el (all): Remove entries for window-min-height and
19754 window-min-width. Add entries for window-splits and
19757 2011-06-09 Glenn Morris <rgm@gnu.org>
19759 * calendar/appt.el (appt-mode-line): New function.
19760 (appt-check, appt-disp-window): Use it.
19762 * files.el (hack-one-local-variable-eval-safep):
19763 Allow minor-modes with explicit +/-1 arguments.
19765 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19767 * term/xterm.el (xterm): Add defgroup.
19768 (xterm-extra-capabilities): Add defcustom to supply known xterm
19769 capabilities, skip querying them, or query them (default).
19770 (terminal-init-xterm): Use it.
19771 (terminal-init-xterm-modify-other-keys): New function to set up
19772 modifyOtherKeys support to simplify `terminal-init-xterm'.
19774 2011-06-09 Martin Rudalics <rudalics@gmx.at>
19776 * window.el (resize-window-reset, resize-window-reset-1)
19777 (resize-subwindows-skip-p, resize-subwindows-normal)
19778 (resize-subwindows, resize-other-windows, resize-this-window)
19779 (resize-root-window, resize-root-window-vertically)
19780 (window-deletable-p, window-or-subwindow-p)
19781 (frame-root-window-p): New functions.
19783 2011-06-09 Glenn Morris <rgm@gnu.org>
19785 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19786 (ange-ftp-get-files): Use it.
19788 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19790 * mail/sendmail.el (mail-recover-1, mail-recover):
19791 * files.el (recover-file, recover-session):
19792 Handle dired-listing-switches not being just a single short option.
19794 2011-06-09 Glenn Morris <rgm@gnu.org>
19796 * calendar/appt.el (appt-display-message, appt-disp-window):
19797 Handle lists of appointments.
19799 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19801 * window.el (one-window-p): Move down in code.
19802 Rewrite doc-string.
19803 (window-current-scroll-bars): Rewrite doc-string.
19804 Normalize live window argument.
19805 (walk-windows, get-window-with-predicate, count-windows):
19806 Rewrite doc-string. Use window-list-1.
19807 (window-in-direction-2, window-in-direction, get-mru-window):
19810 2011-06-08 Reuben Thomas <rrt@sc3d.org>
19812 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19813 Doc fix (Bug#8713).
19815 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
19817 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19819 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
19821 * loadhist.el (unload-feature-special-hooks):
19822 Add `comint-output-filter-functions'.
19824 2011-06-08 Ivan Kanis <gnu@kanis.fr>
19826 * calendar/appt.el (appt-check): Move some initializations into the let.
19828 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19830 * window.el (window-height): Defalias to window-total-height.
19831 (window-width): Defalias to window-body-width.
19833 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
19835 * image-mode.el (image-toggle-animation): New command.
19836 (image-mode-map): Bind it to RET.
19837 (image-mode): Update message.
19838 (image-toggle-display-image): Avoid a spurious cache flush.
19839 (image-transform-rotation): Doc fix.
19840 (image-transform-properties): Return quickly in the normal case.
19841 (image-animate-loop): Rename from image-animate-max-time.
19843 * image.el (image-animate-max-time): Move to image-mode.el.
19844 (create-animated-image): Remove unnecessary function.
19845 (image-animate): Rename from image-animate-start. New arg.
19846 (image-animate-stop): Remove; just use image-animate-timer.
19847 (image-animate-timer): Use car-safe.
19848 (image-animate-timeout): Rename argument.
19850 2011-06-07 Martin Rudalics <rudalics@gmx.at>
19852 * window.el (get-lru-window, get-largest-window): Move here from
19853 window.c. Rename first argument to ALL-FRAMES.
19854 Rephrase doc-strings.
19855 (get-buffer-window-list): Rewrite using window-list-1.
19856 Rephrase doc-string.
19857 (window-safe-min-height, window-safe-min-width): New constants.
19858 (window-size-ignore, window-min-size, window-min-size-1)
19859 (window-sizable, window-sizable-p, window-size-fixed-1)
19860 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19861 (window-max-delta-1, window-max-delta, window-resizable)
19862 (window-resizable-p, window-total-height, window-total-width)
19863 (window-body-width): New functions.
19864 (window-full-height-p, window-full-width-p): Rewrite using
19866 (window-body-height): Rewrite using window-body-size.
19868 2011-06-06 Martin Rudalics <rudalics@gmx.at>
19870 * window.el (window-right, window-left, window-child)
19871 (window-child-count, window-last-child, window-any-p)
19872 (normalize-live-buffer, normalize-live-frame)
19873 (normalize-any-window, normalize-live-window)
19874 (window-iso-combination-p, window-iso-combined-p)
19875 (window-iso-combinations)
19876 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19877 (windows-with-parameter, window-with-parameter)
19878 (window-atom-root, make-window-atom, window-atom-check-1)
19879 (window-atom-check, window-side-check, window-check):
19881 (ignore-window-parameters, window-sides, window-sides-vertical)
19882 (window-sides-slots): New variables.
19883 (window-size-fixed): Move down in code. Minor doc-string fix.
19885 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19887 * comint.el (comint-dynamic-complete-as-filename)
19888 (comint-dynamic-complete-filename): Correctly call
19889 completion-in-region.
19891 2011-06-05 Deniz Dogan <deniz@dogan.se>
19893 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19896 2011-06-05 Deniz Dogan <deniz@dogan.se>
19898 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19899 (rcirc): Use it to prompt for encryption.
19901 2011-06-05 Roland Winkler <winkler@gnu.org>
19903 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19904 (bibtex-search-entries): New command bound to C-c C-a.
19905 (bibtex-display-entries): New function.
19907 2011-06-05 Roland Winkler <winkler@gnu.org>
19909 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19910 (bibtex-insert-kill): After yanking insert newline if necessary.
19911 (bibtex-initialize): Call bibtex-string-files-init only once.
19912 (bibtex-mode): Do not call easy-menu-add.
19913 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19914 (bibtex-yank): Set arg properly if nil.
19916 2011-06-05 Roland Winkler <winkler@gnu.org>
19918 * textmodes/bibtex.el (bibtex-search-entry-globally):
19920 (bibtex-search-entry): Use it.
19922 2011-06-05 Roland Winkler <winkler@gnu.org>
19924 * textmodes/bibtex.el (bibtex-entry-format): New option
19926 (bibtex-format-entry, bibtex-reformat): Honor this option.
19927 (bibtex-parse-entry): Return fields in proper order.
19929 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
19931 * doc-view.el (doc-view-remove-if): Move computation of result out
19932 of `dolist' to silence misleading lexical-binding warning.
19934 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
19936 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19937 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19939 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19941 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19944 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19946 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19947 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19948 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19949 (tramp-parse-putty):
19950 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19951 (tramp-completion-function-alist-ssh)
19952 (tramp-completion-function-alist-telnet)
19953 (tramp-completion-function-alist-su)
19954 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19957 * net/tramp-ftp.el:
19959 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19960 load "tramp.el" `tramp-set-completion-function'.
19962 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19964 * shell.el: Require and use pcomplete.
19965 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19966 (shell-completion-vars): Set pcomplete-default-completion-function.
19968 2011-06-04 Deniz Dogan <deniz@dogan.se>
19970 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19973 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19975 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19977 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
19979 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19980 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19981 * vc/log-view.el (log-view-beginning-of-defun):
19982 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19983 (smerge-refine-forward, smerge-refine-chopup-region):
19984 Silence warning for unused `dotimes' counter variables.
19986 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19988 * net/tramp.el (tramp-with-progress-reporter): Rename from
19989 with-progress-reporter. Use `declare'.
19990 * net/tramp-smb.el:
19992 * net/tramp-gvfs.el: Update all uses.
19994 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19996 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19997 buffer isn't killed before making it current.
19999 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20001 Silence various byte-compiler warnings.
20002 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20003 `access-type' and new obsolescence format.
20004 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20006 (byte-compile-check-variable): New `access-type' argument.
20007 Only warn if the access-type is obsolete.
20008 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20009 (byte-compile-variable-set): Adjust callers.
20010 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20011 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20012 setting it as obsolete.
20013 * simple.el (minibuffer-completing-symbol):
20014 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20015 access as obsolete.
20016 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20018 * international/quail.el (quail-mouse-choose-completion): Remove unused
20019 code referring to obsolete var.
20020 (quail-choose-completion-string): Remove.
20021 * server.el (server-clients-with, server-kill-buffer-query-function)
20022 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20023 * proced.el (proced-send-signal):
20024 * emacs-lisp/lisp.el (lisp-complete-symbol):
20025 Replace completion-annotate-function with completion-extra-properties.
20027 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20029 * simple.el (goto-line): Use read-number.
20030 (overriding-map-is-bound): Remove.
20031 (saved-overriding-map): Change default.
20032 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20033 Take the map as argument.
20034 (universal-argument, negative-argument, digit-argument): Use it.
20035 (restore-overriding-map): Adjust.
20036 (do-auto-fill): Use fill-forward-paragraph.
20037 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20039 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20040 (minibuffer-inactive-mode): New major mode.
20041 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20042 the *Messages* buffer" hack.
20043 (mouse-popup-menubar): Don't burp if the event is a normal key.
20045 Miscellaneous tweaks.
20046 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20047 lexical scoping as in subr.el's dolist and dotimes.
20048 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20049 Silence compiler warning.
20050 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20051 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20052 * international/ccl.el (ccl-compile): Trivial simplification.
20053 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20054 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20055 `printflag' argument.
20056 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20057 Purecopy the whole obsolescence data.
20059 2011-06-01 Leo Liu <sdl.web@gmail.com>
20061 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20062 improve doc-string as suggested by Marco Pessotto
20063 <melmothx@gmail.com>.
20064 (rcirc-print): Fix last change.
20066 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20068 * minibuffer.el (complete-with-action): Return nil for the metadata and
20069 boundaries of non-functional tables.
20070 (completion-table-dynamic): Return nil for the metadata.
20071 (completion-table-with-terminator): Add default case, using
20072 complete-with-action.
20073 (completion--metadata): New function.
20074 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20075 to try and avoid pathological performance problems.
20076 (completion--embedded-envvar-table): Return `category' metadata.
20078 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20080 * subr.el (process-alive-p): New tiny convenience function.
20082 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20084 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20085 content but also its previous major mode.
20087 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
20089 * emacs-lisp/debug.el (debug): Restore the previous content of the
20090 *Backtrace* buffer when we exit with C-M-c.
20092 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20094 * minibuffer.el: Add metadata method to completion tables.
20095 (completion-category-overrides): New defcustom.
20096 (completion-metadata, completion--field-metadata)
20097 (completion-metadata-get, completion--styles)
20098 (completion--cycle-threshold): New functions.
20099 (completion-try-completion, completion-all-completions):
20100 Add `metadata' argument to choose completion-styles.
20101 (completion--do-completion): Use metadata to choose cycling.
20102 (completion-all-sorted-completions): Use metadata for sorting.
20103 Remove :completion-cycle-penalty which is not needed any more.
20104 (completion--try-word-completion): Add `metadata' argument.
20105 (minibuffer-completion-help): Check metadata for annotation function
20107 (completion-file-name-table): Return `category' metadata.
20108 (minibuffer-completing-file-name): Make obsolete.
20109 * simple.el (minibuffer-completing-symbol): Make obsolete.
20110 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20111 completion-try-completion.
20113 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20115 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20117 2011-05-30 Leo Liu <sdl.web@gmail.com>
20119 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
20120 (rcirc-print): Decode all incoming messages (bug#8744).
20121 (rcirc-decode-coding-system): Allow value nil for automatic coding
20124 2011-06-01 Glenn Morris <rgm@gnu.org>
20126 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20128 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20130 * image.el (image-animate-max-time): Allow nil and t values.
20132 (create-animated-image): Doc fix.
20133 (image-animate-start): Remove second arg; just use
20134 image-animate-max-time.
20135 (image-animate-timeout): Doc fix. Args changed.
20137 * image-mode.el (image-toggle-display-image): Ensure that the
20138 image spec passed to the animate timer is the same object as in
20139 the buffer's display property (Bug#6981).
20140 (image-transform-properties): Doc fix.
20142 * image.el (image-animate-max-time): Default to nil.
20144 2011-05-29 Martin Rudalics <rudalics@gmx.at>
20146 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20147 entire buffer list (Bug#8184).
20149 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20151 * image.el (imagemagick-types-inhibit)
20152 (imagemagick-register-types): Doc fix.
20154 2011-05-29 Deniz Dogan <deniz@dogan.se>
20156 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20159 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20161 * select.el: Don't perform clipboard-manager saving in hooks;
20162 leave the hooks empty.
20164 2011-05-28 Leo Liu <sdl.web@gmail.com>
20166 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20167 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20168 (occur-edit-mode): New major mode (Bug#8463).
20169 (occur-after-change-function): New function.
20170 (occur-engine): Give Occur tags a read-only property.
20172 2011-05-28 Kevin Ryde <user42@zip.com.au>
20174 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20176 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20178 * bindings.el (help-echo): Make the initial non-indicator dash
20179 empty on graphical terminals (Bug#7295).
20181 * files.el (auto-mode-alist): Move config rule after the
20182 in-stripping one (Bug#8547).
20184 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20186 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20187 setting (Bug#8740).
20189 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20191 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20192 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20195 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20197 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20199 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20201 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20202 (hs-hide-block-at-point, hs-find-block-beginning)
20203 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20206 2011-05-28 Glenn Morris <rgm@gnu.org>
20208 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20210 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20212 * help-fns.el (describe-function-1): If the function is a derived
20213 major mode, print the parent mode.
20215 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20216 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20218 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20220 * minibuffer.el (completion--capf-wrapper): Check applicability before
20221 returning non-nil for non-exclusive completion data.
20222 * progmodes/etags.el (tags-completion-at-point-function):
20223 * info-look.el (info-lookup-completions-at-point): Mark as
20225 (info-complete): Adjust accordingly.
20227 * info-look.el: Convert to lexical-binding and completion-at-point.
20228 (info-lookup-completions-at-point): New function.
20229 (info-complete): Use it and completion-in-region.
20231 2011-05-28 Drew Adams <drew.adams@oracle.com>
20233 * isearch.el: Let M-e start with point at the first mismatched char.
20234 (isearch-fail-pos): New function.
20235 (isearch-edit-string): Use it.
20237 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20239 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20241 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
20243 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20244 traversal functions for avl-trees.
20245 (avl-tree--stack): New struct.
20246 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20247 (avl-tree-enter): Add optional `updatefun' arg.
20248 (avl-tree--do-enter): Add optional `updatefun' arg.
20249 Change return value.
20250 (avl-tree-delete): Add optional `test' and `nilflag' args.
20251 (avl-tree--do-delete): Add `test' and `nilflag' args.
20252 Change return value.
20253 (avl-tree-member): Add optional `nilflag'
20254 (avl-tree-member-p): New function.
20255 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20256 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20257 (avl-tree-stack-empty-p): New functions.
20259 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20260 avl-tree--del-balance1 and make it work both ways.
20261 (avl-tree--del-balance2): Remove.
20262 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20263 make it work both ways.
20264 (avl-tree--enter-balance2): Remove.
20265 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20267 (avl-tree--mapc, avl-tree-map): Add direction argument.
20269 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
20271 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20273 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
20275 * select.el: Support clipboard managers with built-in function
20276 x-clipboard-manager-save, via delete-frame-functions and
20278 (xselect-convert-to-targets): Add MULTIPLE target to list.
20279 (xselect-convert-to-save-targets): New function.
20281 2011-05-27 Kenichi Handa <handa@m17n.org>
20283 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20284 let-binding rfc2047-encode-encoded-words to nil.
20286 2011-05-27 Glenn Morris <rgm@gnu.org>
20288 * mail/emacsbug.el: Don't require url-util.
20290 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20292 * files.el (set-auto-mode):
20293 Also respect mode: entries at the end of the file. (Bug#8586)
20295 2011-05-26 Glenn Morris <rgm@gnu.org>
20297 * files.el (hack-local-variables-prop-line, hack-local-variables):
20298 Downcase mode names, as seems to be traditional.
20299 (hack-local-variables, hack-local-variables-apply): Doc fixes.
20301 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20302 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20304 2011-05-25 Julien Danjou <julien@danjou.info>
20306 * textmodes/rst.el (rst-define-level-faces): Do not define face
20307 symbol if it is already defined.
20309 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20311 * play/5x5.el (5x5-new-game, 5x5-randomize):
20312 Reset 5x5-solver-output to nil when a new grid is cast.
20313 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20314 these debugging traces, as defmacro breaks the compiled code.
20316 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20318 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20320 2011-05-24 Leo Liu <sdl.web@gmail.com>
20322 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20323 (vc-bzr-sha1): Adapt.
20325 * sha1.el: Remove. Function `sha1' is now builtin.
20327 * bindings.el: Provide sha1 feature.
20329 2011-05-24 Kenichi Handa <handa@m17n.org>
20331 * mail/sendmail.el: Require `rfc2047'.
20332 (mail-insert-from-field): Do not perform RFC2047 encoding.
20333 (mail-encode-header): New function.
20334 (sendmail-send-it): Set buffer-file-coding-system of the work
20335 buffer to the return value of select-message-coding-system.
20336 Call mail-encode-header.
20338 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20340 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
20342 * mail/supercite.el (sc-default-cite-frame):
20343 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
20345 2011-05-24 Glenn Morris <rgm@gnu.org>
20347 * progmodes/python.el (brm-menu): Declare.
20349 * emulation/viper.el (viper-set-hooks): Declare.
20351 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20352 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20353 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20354 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20355 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20356 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20358 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20360 Add an :exit-function for completion-at-point.
20362 * minibuffer.el (completion--done): New fun.
20363 (completion--do-completion): Use it. New arg `expect-exact'.
20364 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20365 since completion--do-completion does it for us now.
20366 (minibuffer-force-complete): Use completion--done and
20367 completion--replace. Handle sole-completion case with more care.
20368 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20369 (completion-extra-properties): New var.
20370 (completion-annotate-function): Make obsolete.
20371 (minibuffer-completion-help): Adjust accordingly.
20372 Use completion-list-insert-choice-function.
20373 (completion-at-point, completion-help-at-point):
20374 Bind completion-extra-properties.
20375 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20376 * simple.el (completion-list-insert-choice-function): New var.
20377 (completion-setup-function): Preserve it.
20378 (choose-completion): Pay attention to it, shuffle the code a bit.
20379 (choose-completion-string): New arg `insert-function'.
20381 * textmodes/bibtex.el: Convert to lexical binding.
20382 (bibtex-mode-map): Use completion-at-point.
20383 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20384 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20385 (bibtex-complete): Define as obsolete alias.
20386 (bibtex-complete-internal): Remove.
20387 (bibtex-format-entry): Remove unused sub-group in regexp.
20388 * shell.el (shell--command-completion-data)
20389 (shell-environment-variable-completion):
20390 * pcomplete.el (pcomplete-completions-at-point):
20391 * comint.el (comint--complete-file-name-data): Use :exit-function
20392 instead of completion-table-with-terminator so it also works for
20395 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20397 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20399 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20402 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20404 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20406 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20407 customization variable and implement: If non-nil, auto-fill will
20408 be inhibited while on topic's header line.
20410 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20412 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
20413 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
20414 always have a solution in grid size = 5 cases.
20415 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20416 (5x5-solver-output, 5x5-log-buffer): New vars.
20417 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20418 Make these variables buffer local to achieve 5x5 multi-session-ness.
20419 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20420 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20421 (5x5-solve-suggest): New funs.
20422 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20423 randomize a grid so that we ensure that there is always a solution.
20424 (5x5-make-random-grid): Allow other movement than flipping.
20426 2011-05-23 Kevin Ryde <user42@zip.com.au>
20428 * emacs-lisp/advice.el (ad-read-advised-function):
20429 Use `function-called-at-point' as the default, if it has
20430 advice and passes PREDICATE.
20432 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20434 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20435 byte-compile-lambda if it's actually a lambda.
20437 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20438 Fix function quoting. Use backquote better.
20440 2011-05-22 Yuanle Song <sylecn@gmail.com>
20442 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20443 matching (Bug#8516).
20445 2011-01-22 Jari Aalto <jari.aalto@cante.net>
20447 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20448 different face (Bug#8178).
20450 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
20452 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20453 defface (Bug#8144).
20455 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20457 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20458 funcall as well (bug#8712). Warn when performing those conversions.
20459 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20461 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20463 2011-05-22 Glenn Morris <rgm@gnu.org>
20465 * files.el (hack-local-variables-prop-line): Small simplifications.
20466 (hack-local-variables, hack-local-variables-prop-line):
20467 If MODE-ONLY, return the mode, rather than just `t'.
20469 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20471 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20473 2011-05-21 Glenn Morris <rgm@gnu.org>
20475 * files.el (hack-local-variables-prop-line, hack-local-variables):
20476 If only interested in the mode, don't bother doing the other stuff.
20478 * image-mode.el (image-after-revert-hook):
20479 Redraw all frames on which the image is visible. (Bug#8567)
20481 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20483 * wid-edit.el (widget-checklist-match-inline):
20484 Fix 2011-04-19 change. (Bug#8649)
20486 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20488 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20489 Also allow singlespace after single-letter capitals followed by a dot.
20491 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20492 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20494 2011-05-20 Nix <nix@esperi.org.uk>
20496 * files.el (basic-save-buffer-2):
20497 Fix handling of break-hardlink-on-save with non-existent files.
20499 2011-05-19 Deniz Dogan <deniz@dogan.se>
20501 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
20502 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
20504 2011-05-19 Glenn Morris <rgm@gnu.org>
20506 * progmodes/f90.el (f90-type-def-re):
20507 Handle "type, bind(c)". (Bug#8691)
20509 * emacs-lisp/autoload.el (batch-update-autoloads):
20510 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20512 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
20514 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20515 property for the correct connection in case of multihops.
20517 2011-05-18 Glenn Morris <rgm@gnu.org>
20519 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
20520 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20522 Rationalize calendar handling of day and month abbrev-arrays.
20523 * calendar/calendar.el (calendar-customized-p): New function.
20524 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20525 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20527 (calendar-abbrev-length, calendar-day-abbrev-array)
20528 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20529 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20530 Elements may no longer be nil.
20531 (calendar-day-name, calendar-month-name):
20532 Update for changed nature of abbrev arrays.
20533 * calendar/diary-lib.el (diary-name-pattern):
20534 Update for changed nature of abbrev arrays.
20535 (diary-mark-entries-1): Update calendar-make-alist calls.
20536 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20537 * calendar/cal-html.el (cal-html-day-abbrev-array):
20538 Simply inherit from calendar-day-abbrev-array.
20540 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20542 * progmodes/grep.el (grep-mode): Disable default
20543 compilation-directory-matcher setting (bug#8684).
20545 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
20547 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20548 instead of "head" and "tail". There were problems with SunOS 5.9,
20549 and it performs better.
20551 2011-05-17 Glenn Morris <rgm@gnu.org>
20553 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20555 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20556 Replace obsolete function.
20558 * shell.el (pcomplete-parse-arguments-function): Declare.
20560 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20561 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20562 (appt-check): Doc fixes.
20563 (appt-disp-window-function, appt-delete-window-function):
20564 Remove needless special case in custom :type.
20565 (appt-display-count): Default to 0, not nil.
20566 (appt-check): Reset appt-display-count to 0, not nil.
20568 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
20570 * progmodes/python.el (python-font-lock-keywords):
20571 Add the Python 3.X keyword "nonlocal" (bug#8639).
20573 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20575 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20577 2011-05-16 Kevin Ryde <user42@zip.com.au>
20579 * info-look.el (makefile-automake-mode): New setups, looking in
20580 automake manual, then makefile-mode.
20581 (makefile-mode): Remove automake manual, have it just in
20582 makefile-automake-mode since there's various things different or
20583 not relevant to plain make.
20584 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20585 believe a hypothetical automake-mode would go to makefile-mode,
20586 not the other way around.
20588 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
20590 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20591 hunk-end tags (Bug#8672).
20593 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20594 vc-annotate-show-diff-revision-at-line (Bug#8671).
20596 2011-05-14 Glenn Morris <rgm@gnu.org>
20598 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20599 in the middle of an existing one with multiple authors. (Bug#8645)
20600 (change-log-font-lock-keywords): Also handle multiple author lines
20601 with leading tabs. (Bug#8644)
20603 * calendar/appt.el (appt-check): Rename some local variables.
20604 Some simplification/reordering.
20606 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20607 (feedmail-sendmail-f-doesnt-sell-me-out)
20608 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20609 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20610 (feedmail-queue-runner-message-sender): Set :version.
20611 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20612 (bbdb-dwim-net-address, vm-mail): Declare.
20613 (feedmail-binmail-gnulinuxish-template):
20614 Rename from feedmail-binmail-linuxish-template.
20615 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20616 Use insert-buffer-substring.
20618 2011-05-14 Bill Carpenter <bill@carpenter.org>
20620 * mail/feedmail.el (feedmail-patch-level): Increase.
20621 (feedmail-debug): New custom group.
20622 (feedmail-confirm-outgoing-timeout)
20623 (feedmail-sendmail-f-doesnt-sell-me-out)
20624 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20625 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20626 (feedmail-sender-line, feedmail-from-line)
20627 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
20628 (feedmail-spray-this-address)
20629 (feedmail-spray-address-fiddle-plex-list)
20630 (feedmail-queue-use-send-time-for-date)
20631 (feedmail-queue-use-send-time-for-message-id)
20632 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20633 (feedmail-buffer-eating-function):
20635 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20636 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20637 (feedmail-message-action-scroll-down): New functions.
20638 (feedmail-queue-directory, feedmail-queue-draft-directory):
20639 Use expand-file-name.
20640 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20641 Remove C-v help entry.
20642 (feedmail-queue-buffer-file-name): New variable.
20643 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20644 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20645 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20646 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20647 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20648 (feedmail-message-action-toggle-spray)
20649 (feedmail-run-the-queue-no-prompts)
20650 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20651 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20652 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20653 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20654 (feedmail-envelope-deducer, feedmail-fiddle-from)
20655 (feedmail-fiddle-sender, feedmail-default-date-generator)
20656 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20657 (feedmail-fiddle-spray-address)
20658 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20659 (feedmail-fiddle-list-of-fiddle-plexes)
20660 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20661 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20662 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20663 Change default. Doc fix.
20664 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20665 (feedmail-binmail-linuxish-template): New constant.
20666 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20667 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20668 (feedmail-send-it): Add debug call.
20669 Use feedmail-queue-buffer-file-name, and
20670 feedmail-send-it-immediately-wrapper.
20671 (feedmail-message-action-send): Add debug call.
20672 Use feedmail-send-it-immediately-wrapper.
20673 (feedmail-queue-express-to-queue): Add debug call.
20674 Run feedmail-queue-express-hook.
20675 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20676 (feedmail-message-action-help-blat):
20677 Rename from feedmail-queue-send-edit-prompt-help-first.
20678 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20679 Check line-endings. Handle errors better.
20680 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20681 Doc fix. Add debug call.
20682 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20683 Use feedmail-queue-send-edit-prompt-inner.
20684 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20685 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20686 from feedmail-queue-send-edit-prompt.
20687 (feedmail-queue-send-edit-prompt-help)
20688 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20689 (feedmail-tidy-up-slug): Add debug call.
20690 Respect feedmail-queue-slug-suspect-regexp.
20691 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20692 (feedmail-dump-message-to-queue): Add debug call.
20693 Expand queue-directory.
20694 (feedmail-dump-message-to-queue): Change message slightly.
20695 Use feedmail-say-chatter.
20696 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20697 (feedmail-send-it-immediately-wrapper): New function.
20698 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20699 Insert empty string rather than newline. Handle full-frame case.
20700 Use catch/throw. Use feedmail-say-chatter.
20701 (feedmail-fiddle-from): Try mail-host-address.
20702 (feedmail-default-message-id-generator): Doc fix.
20703 Bind system-time-locale. Handle missing end.
20704 (feedmail-fiddle-x-mailer): Add debug call.
20705 Handle feedmail-x-mailer-line being nil.
20706 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20707 Add debug call. Use buffer-substring-no-properties.
20708 (feedmail-say-debug, feedmail-say-chatter): New functions.
20709 (feedmail-find-eoh): Give an explicit error.
20711 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
20713 * net/newst-treeview.el (newsticker-treeview-face): Change default
20714 family from helvetica to sans.
20715 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
20716 etc/images/newsticker.
20718 * net/newst-reader.el (newsticker-feed-face): Change default
20719 family from helvetica to sans.
20721 * net/newst-plainview.el (newsticker-new-item-face)
20722 (newsticker-old-item-face, newsticker-immortal-item-face)
20723 (newsticker-obsolete-item-face, newsticker-date-face)
20724 (newsticker-statistics-face): Change default family from
20726 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
20727 etc/images/newsticker.
20729 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20730 (newsticker--process-auto-mark-filter-match): Tell user about
20733 2011-05-13 Didier Verna <didier@xemacs.org>
20735 Common Lisp indentation improvements on defmethod and lambda-lists.
20736 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20738 (lisp-lambda-list-keyword-parameter-indentation)
20739 (lisp-lambda-list-keyword-parameter-alignment)
20740 (lisp-lambda-list-keyword-alignment): New customizable user options.
20741 (lisp-indent-defun-method): Improve docstring.
20742 (extended-loop-p): Fix comment.
20743 (lisp-indent-lambda-list-keywords-regexp): New variable.
20744 (lisp-indent-lambda-list): New function.
20745 (lisp-indent-259): Use it.
20746 (lisp-indent-defmethod): Support for more than one
20747 method qualifier and properly indent methods lambda-lists.
20748 (defgeneric): Provide a missing common-lisp-indent-function property.
20750 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20752 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20753 bounds for the empty string (bug#8667).
20755 2011-05-13 Glenn Morris <rgm@gnu.org>
20757 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20759 * mail/sendmail.el (sendmail-program): Try executable-find first.
20760 (sendmail-send-it): `sendmail-program' cannot be unbound.
20762 * calendar/appt.el (appt-make-list): Simplify.
20763 (appt-time-msg-list): Doc fix.
20764 (appt-check): Change mode-line message at the time of the appointment.
20766 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20768 * progmodes/ld-script.el (ld-script-keywords)
20769 (ld-script-builtins): Update keywords list.
20771 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20773 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20775 * shell.el (shell-completion-vars): New function.
20777 * simple.el (read-shell-command): Use it.
20778 (blink-matching-open): No need for " [...]" in minibuffer-message.
20780 2011-05-12 Glenn Morris <rgm@gnu.org>
20782 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20783 (appt-check): Simplify.
20785 2011-05-12 Eli Zaretskii <eliz@gnu.org>
20787 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
20788 literal "/dev/null".
20790 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20792 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20795 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
20797 * progmodes/which-func.el (which-function):
20798 Use add-log-current-defun instead of add-log-current-defun-function,
20799 which might not be defined (Bug#8260).
20801 2011-05-12 Glenn Morris <rgm@gnu.org>
20803 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20804 Let byte-compile-initial-macro-environment always take precedence.
20806 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20808 * net/rcirc.el: Add support for SSL/TLS connections.
20809 (rcirc-server-alist): New field `encryption'.
20810 (rcirc): Check `encryption' settings.
20811 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20812 Merge make-local-variable into `set'.
20813 (rcirc--connection-open-p): New function.
20814 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20815 the process is not a network process (e.g. running gnutls-cli).
20816 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20817 Make rcirc-(en|de)code-coding-system local here.
20818 (rcirc-mode): Merge make-local-variable into `set'.
20819 (rcirc-parent-buffer): Make permanent buffer-local.
20820 (rcirc-multiline-minor-mode): Don't do it here.
20821 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20822 there's no server buffer.
20824 2011-05-11 Glenn Morris <rgm@gnu.org>
20826 * newcomment.el (comment-kill): Prefix "unused" local.
20828 * term/w32console.el (get-screen-color): Declare.
20830 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20831 Handle symbol elements of byte-compile-initial-macro-environment.
20833 2011-05-10 Leo Liu <sdl.web@gmail.com>
20835 * bookmark.el (bookmark-bmenu-mode-map):
20836 Bind bookmark-bmenu-search to `/'.
20838 * mail/footnote.el: Convert to utf-8 encoding.
20839 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20840 (Footnote-unicode): New function.
20841 (footnote-style-alist): Add unicode style to the list.
20842 (footnote-style): Doc fix.
20844 2011-05-10 Jim Meyering <meyering@redhat.com>
20846 Fix doubled-word typos.
20847 * international/quail.el (quail-insert-kbd-layout): and and -> and
20848 * kermit.el: and and -> and
20849 * net/ldap.el (ldap-search-internal): to to -> to
20850 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20851 * progmodes/js.el (js-mode): and and -> and
20852 * textmodes/artist.el (artist-move-to-xy): at at -> at
20853 (artist-draw-region-trim-line-endings): if if -> if
20854 And Safetyc -> Safety.
20855 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20857 2011-05-10 Glenn Morris <rgm@gnu.org>
20858 Stefan Monnier <monnier@iro.umontreal.ca>
20860 * files.el (hack-one-local-variable-eval-safep):
20861 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20863 2011-05-10 Glenn Morris <rgm@gnu.org>
20865 * calendar/diary-lib.el (diary-list-entries-hook)
20866 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20867 (diary-nongregorian-marking-hook, diary-list-entries)
20868 (diary-include-other-diary-files, diary-mark-entries)
20869 (diary-mark-included-diary-files): Doc fixes.
20871 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20873 * misc.el: Require tabulated-list.el during compilation.
20875 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20877 * progmodes/compile.el (compilation-start):
20878 Run compilation-filter-hook for the async case too.
20879 (compilation-filter-hook): Doc fix.
20881 2011-05-09 Deniz Dogan <deniz@dogan.se>
20883 * wdired.el: Remove outdated installation comment. Fix usage
20886 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20888 * misc.el: Implement new command `list-dynamic-libraries'.
20889 (list-dynamic-libraries--loaded-only-p): New variable.
20890 (list-dynamic-libraries--refresh): New function.
20891 (list-dynamic-libraries): New command.
20893 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20895 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20896 Fix the ant regexp to handle end-line and end-column info from jikes.
20897 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20898 higher priority to avoid clobbering by gnu.
20900 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20902 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20903 if the face has existing theme settings (Bug#8454).
20905 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20907 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20908 Only match variables declared via `my' or `our' (Bug#8261).
20910 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20911 special file names `.' and `..' (Bug#8259).
20913 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20915 * progmodes/grep.el (grep-mode-font-lock-keywords):
20916 Remove buffer-changing entries.
20917 (grep-filter): New function.
20918 (grep-mode): Add it to compilation-filter-hook.
20920 * progmodes/compile.el (compilation-filter-hook)
20921 (compilation-filter-start): New defvars.
20922 (compilation-filter): Call compilation-filter-hook prior to
20923 updating the process mark.
20925 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20927 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20929 2011-05-07 Eli Zaretskii <eliz@gnu.org>
20931 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20932 mailclient-send-it even if window-system is nil. (Bug#8595)
20934 * term/w32console.el (terminal-init-w32console):
20935 Call get-screen-color and use its output to set the frame
20936 background-mode. (Bug#8597)
20938 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20940 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20941 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20943 (defgeneric, eieio--defmethod): Use them.
20944 (eieio-defgeneric): Remove.
20945 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20947 2011-05-07 Glenn Morris <rgm@gnu.org>
20949 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20950 Use let rather than let*.
20951 (timeclock-find-discrep): Remove unused local.
20953 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20955 * calendar/appt.el (appt-time-msg-list): Doc fix.
20957 2011-05-06 Noah Friedman <friedman@splode.com>
20959 * apropos.el (apropos-print-doc): Only use
20960 emacs-lisp-docstring-fill-column when it is bound to an integer,
20961 per that variable's documentation.
20963 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20965 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20966 and warnings are not silently discarded (e.g. use -d instead of -P).
20968 2011-05-06 Glenn Morris <rgm@gnu.org>
20970 * calendar/appt.el (appt-message-warning-time): Doc fix.
20971 (appt-warning-time-regexp): New option.
20972 (appt-make-list): Respect appt-message-warning-time.
20974 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20976 (diary-add-to-list): Strip comments from the displayed string.
20977 (diary-mode): Set comment-start and comment-end.
20979 * vc/diff-mode.el (smerge-refine-subst): Declare.
20980 (diff-refine-hunk): Don't require smerge-mode when compiling.
20982 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
20984 * simple.el (list-processes): Return nil as the docstring says.
20986 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20988 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20990 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20991 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20992 determining of binary transfer. (Bug#7383)
20994 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20996 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20997 Fix port computation bug. (Bug#8618)
20999 2011-05-05 Glenn Morris <rgm@gnu.org>
21001 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21003 * simple.el (shell-dynamic-complete-functions)
21004 (comint-dynamic-complete-functions): Declare.
21006 * net/network-stream.el (gnutls-negotiate):
21007 * simple.el (tabulated-list-print): Fix declarations.
21009 * progmodes/gud.el (syntax-symbol, syntax-point):
21010 Remove unnecessary and incorrect declarations.
21012 * emacs-lisp/check-declare.el (check-declare-scan):
21013 Handle byte-compile-initial-macro-environment in bytecomp.el.
21015 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21017 Fix earlier half-done eieio-defmethod change (bug#8338).
21018 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21019 Streamline and change calling convention.
21020 (defmethod): Adjust accordingly and simplify.
21021 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21022 new eieio--defmethod.
21023 (slot-boundp): Minor CSE simplification.
21025 2011-05-05 Milan Zamazal <pdm@zamazal.org>
21027 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21028 (glasses-make-readable): Use glasses-separate-capital-groups.
21030 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
21032 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21033 (warning-series): Doc fix.
21034 (display-warning): Don't try to create the buffer if we just found it.
21036 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
21038 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21039 (autoload-find-generated-file): New function.
21040 (generate-file-autoloads): Bind generated-autoload-file to
21042 (update-file-autoloads, update-directory-autoloads):
21043 Use autoload-find-generated-file. If called interactively, prompt for
21044 output file (Bug#7989).
21045 (batch-update-autoloads): Doc fix.
21047 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
21049 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21051 2011-05-04 Glenn Morris <rgm@gnu.org>
21053 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21054 function, so it follows changes in calendar-date-style.
21055 (diary-fancy-date-matcher): New function.
21056 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21057 (diary-fancy-font-lock-fontify-region-function):
21058 Use diary-fancy-date-pattern as a function.
21060 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21061 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21063 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21065 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21066 instead of positional arguments. Allow :keylist and :crlfiles
21068 (open-gnutls-stream): Call it.
21070 * net/network-stream.el (network-stream-open-starttls): Adjust to
21071 call `gnutls-negotiate' with :process and :hostname arguments.
21073 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21075 * minibuffer.el (completion--message): New function.
21076 (completion--do-completion, minibuffer-complete)
21077 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21078 (completion--do-completion): Don't ignore completion-auto-help when in
21081 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21082 internal encoding (e.g. tibetan zero is not whitespace).
21083 (global-whitespace-mode): Prefer save-current-buffer.
21084 (whitespace-trailing-regexp): Remove useless save-match-data.
21085 (whitespace-empty-at-bob-regexp): Minor simplification.
21087 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
21089 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21091 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21093 * textmodes/ispell.el (ispell-add-per-file-word-list):
21094 Use `concat' to create string for insertion.
21096 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21098 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21099 Avoid open-line which runs post-self-insert-hook.
21100 (bibtex-fill-entry): Remove unused `end' var.
21102 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21104 * textmodes/ispell.el (ispell-add-per-file-word-list):
21105 Protect against `nil' value of `comment-start' (Bug#8579).
21107 2011-05-03 Leo Liu <sdl.web@gmail.com>
21109 * isearch.el (isearch-yank-pop): New command.
21110 (isearch-mode-map): Bind it to `M-y'.
21111 (isearch-forward): Mention it.
21113 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21115 * simple.el (minibuffer-complete-shell-command): Remove.
21116 (minibuffer-local-shell-command-map): Use completion-at-point.
21117 (read-shell-command): Setup completion vars here instead.
21118 (read-expression-map): Bind TAB to symbol completion.
21120 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21121 error directly rather via storing it into `results'.
21123 2011-05-02 Leo Liu <sdl.web@gmail.com>
21125 * vc/diff.el: Fix description.
21127 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21129 * server.el (server-eval-at): New function.
21131 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21133 * net/network-stream.el (open-network-stream): Take a :nowait
21134 parameter and pass it on to `make-network-process'.
21135 (network-stream-open-plain): Ditto.
21137 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21139 * faces.el (face-spec-set-match-display): Don't match toolkit
21140 options on terminal frames.
21142 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21144 * progmodes/pascal.el: Use lexical binding.
21145 (pascal-mode-map): Remove author preferences.
21147 * pcomplete.el (pcomplete-std-complete): Don't abuse
21148 completion-at-point.
21150 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21152 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21153 removing code that has been dead since 1991 or so.
21155 * startup.el (command-line): When warning about "_emacs", use a
21156 delayed warning to allow the user to filter it out.
21158 2011-04-28 Deniz Dogan <deniz@dogan.se>
21160 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21161 user has not joined.
21163 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21165 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21166 aren't any completions at point.
21168 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21170 * subr.el (display-delayed-warnings): New function.
21171 (delayed-warnings-hook): New variable.
21173 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21175 * minibuffer.el (completion-at-point, completion-help-at-point):
21176 Don't presume that a given completion-at-point-function will always
21177 use the same calling convention.
21179 * pcomplete.el (pcomplete-completions-at-point):
21180 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21181 pcomplete-seen is non-nil.
21182 (pcomplete-comint-setup): Also recognize the new comint/shell
21183 completion functions.
21184 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21185 pcomplete-seen is non-nil.
21187 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
21189 * calendar/icalendar.el (diary-lib): Add require statement.
21190 (icalendar--create-uid): Read out a uid from a text-property on
21191 the first character in the entry. This allows for code to add its
21192 own uid to the entry.
21193 (icalendar--convert-float-to-ical): Add export of
21194 `diary-float'-entries save for those with the optional DAY
21197 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21199 * subr.el (shell-quote-argument): Use alternate escaping strategy
21200 when we spot a variable reference in a string.
21202 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21204 * cus-start.el (all): Define customization for debug-on-event.
21206 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21208 * subr.el (shell-quote-argument): Escape correctly under Windows.
21210 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21212 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21214 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
21216 * net/tramp.el (tramp-process-actions): Add POS argument.
21217 Delete region between POS and (pos).
21219 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21220 Use `nil' position in `tramp-process-actions' call.
21221 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21223 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21224 position in `tramp-process-actions' call.
21226 * net/trampver.el: Update release number.
21228 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21230 * custom.el (defcustom): Obey lexical-binding.
21232 Fix octave-inf completion problems reported by Alexander Klimov.
21233 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21234 Inherit from octave-mode-syntax-table.
21235 (inferior-octave-mode): Set info-lookup-mode.
21236 (inferior-octave-completion-at-point): New function.
21237 (inferior-octave-complete): Use it and completion-in-region.
21238 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21239 comint-filename-completion.
21240 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21241 symbol elements which shouldn't be word elements.
21242 (octave-font-lock-keywords, octave-beginning-of-defun)
21243 (octave-function-header-regexp): Adjust regexps accordingly.
21244 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21246 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
21248 * net/gnutls.el (gnutls-errorp): Declare before first use.
21250 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21252 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21253 verify-error, and verify-hostname-error parameters. Check whether
21254 default trustfile exists before going to use it. Add missing
21255 argument to gnutls-message-maybe call. Return value.
21256 Reported by Claudio Bley <claudio.bley@gmail.com>.
21257 (open-gnutls-stream): Add usage example.
21259 * net/network-stream.el (network-stream-open-starttls): Give host
21260 parameter to `gnutls-negotiate'.
21261 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
21262 * subr.el (shell-quote-argument): Escape correctly under Windows.
21264 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
21266 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21267 Use correct match group (bug#8438).
21269 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21271 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21272 (package-menu--generate): New arg specifying packages to show.
21273 (package-menu-refresh, package-menu-execute, list-packages):
21275 (package-show-package-list): New function, replacing deleted
21276 package--list-packages (renamed because it is non-internal).
21278 * finder.el (finder-list-matches): Use package-show-package-list
21279 instead of deleted package--list-packages.
21281 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21282 Based on a previous implementation by Juanma Barranquero (Bug#8366).
21283 (vc-annotate-mode-map): Bind it to RET.
21285 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21287 * progmodes/etags.el (next-file): Don't use set-buffer to change
21288 buffers (Bug#8478).
21290 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21292 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21294 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21295 (apropos-accumulator): Doc fix.
21296 (apropos-function, apropos-macro, apropos-command)
21297 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21298 (apropos-plist): Add face property.
21299 (apropos-symbols-internal): Fix indentation.
21300 (apropos-print): Simplify help, and recognize apropos-multi-type.
21301 (apropos-print-doc): Use button-type-get to extract the button's
21302 face property. Fill docstring (Bug#8352).
21304 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
21306 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21308 * play/mpuz.el (mpuz-silent): Doc fix.
21309 (mpuz-mode-map): Use mapc.
21310 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21311 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21312 Fix typos in docstrings.
21314 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21315 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21317 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21319 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
21321 * minibuffer.el (completion--do-completion): Avoid the "Next char
21322 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21324 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21325 mouse-2 into unread-command-events, it is interpreted correctly.
21327 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
21328 (image-toggle-display): Doc fix.
21330 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
21332 * textmodes/page.el (what-page): Use line-number-at-pos to
21333 calculate line number (Bug#6825).
21335 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21337 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21338 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21339 Pass argument NO-DEFAULT to `find-tag-interactive'.
21341 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21343 Lexical-binding cleanup.
21345 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21346 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21347 * progmodes/ada-prj.el (ada-prj-initialize-values)
21348 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21349 (ada-prj-show-value):
21350 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21351 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21352 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21353 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21354 * progmodes/bug-reference.el (bug-reference-push-button):
21355 * progmodes/fortran.el (fortran-line-length):
21356 * progmodes/glasses.el (glasses-change):
21357 * progmodes/octave-mod.el (octave-fill-paragraph):
21358 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21359 (python-pdbtrack-grub-for-buffer, python-sentinel):
21360 * progmodes/sql.el (sql-save-connection):
21361 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21362 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21363 Mark unused parameters.
21365 * progmodes/compile.el (compilation--flush-directory-cache)
21366 (compilation--flush-parse, compile-internal): Mark unused parameters.
21367 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21368 (compilation-next-error-function): Remove unused variable `timestamp'.
21370 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21371 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21373 * progmodes/dcl-mode.el (dcl-end-of-command):
21374 Remove unused variable `start'.
21375 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21376 (dcl-option-value-basic, dcl-option-value-offset)
21377 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21378 Mark unused parameters.
21379 (dcl-save-local-variable): Remove unused variable `val'.
21382 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21383 Mark unused parameters.
21384 (delphi-ignore-changes): Move before first use.
21385 (delphi-charset-token-at): Remove unused variable `start'.
21386 (delphi-else-start): Remove unused variable `if-count'.
21387 (delphi-comment-block-start, delphi-comment-block-end):
21388 Remove unused variable `kind'.
21389 (delphi-indent-line): Remove unused variable `new-point'.
21391 * progmodes/ebrowse.el (ebrowse-files-list)
21392 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21393 Mark unused parameters. Don't quote `lambda'.
21394 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21395 Don't quote `lambda'.
21396 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21397 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21398 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21399 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21400 Use `ignore-errors'.
21401 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21402 (ebrowse-view/find-file-and-search-pattern)
21403 (ebrowse-view/find-member-declaration/definition):
21404 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21405 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21406 Rename parameter PREFIX-ARG to PREFIX.
21407 (ebrowse-tags-read-name): Remove unused variables `start' and
21409 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21412 * progmodes/etags.el (local-find-tag-hook): Declare.
21413 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21414 Mark unused parameters.
21416 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21417 (executable-interpret): Mark unused parameter.
21419 * progmodes/flymake.el (flymake-process-sentinel)
21420 (flymake-after-change-function)
21421 (flymake-create-temp-with-folder-structure)
21422 (flymake-get-include-dirs-dot): Mark unused parameters.
21423 (flymake-safe-delete-directory): Remove unused variable `err'.
21425 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21426 (speedbar-timer-fn, speedbar-line-text)
21427 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21428 (speedbar-center-buffer-smartly): Declare functions.
21429 (gdb-find-watch-expression): Remove unused variable `array'.
21430 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21431 (gdb-starting): Mark unused parameters.
21432 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21433 (gdb-table-string): Remove unused variable `res'.
21434 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21435 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21436 (gdb-display-buffer): Remove unused variable `cur-size'.
21438 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21439 allow lexical-binding compilation.
21440 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21441 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21442 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21443 Mark unused parameters.
21444 (gud-gdb-marker-filter): Remove unused variable `match'.
21445 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21446 lambda expressions and funcall them, instead of using `fset'.
21448 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21449 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21451 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21452 variable `header-beg'; use `let'.
21454 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21455 `restart', `last-sexp' and `at-do'.
21457 * progmodes/js.el (js--debug): Mark unused parameter.
21458 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21459 (js--splice-into-items): Remove unused variable `item'.
21460 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21462 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21463 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21464 (makefile-complete): Remove unused variable `try'.
21465 (makefile-fill-paragraph, makefile-match-function-end):
21466 Mark unused parameters.
21468 * progmodes/octave-inf.el (inferior-octave-complete):
21469 Remove unused variable `proc'.
21470 (inferior-octave-output-digest): Mark unused parameter.
21472 * progmodes/perl-mode.el (perl-calculate-indent):
21473 Remove unused variable `err'.
21475 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21476 (prolog-indent-line): Mark unused parameters.
21477 (prolog-indent-line): Remove unused variable `beg'.
21479 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21480 (reporter-dont-compact-list): Declare.
21482 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21483 Remove unused variable `char'.
21484 (sh-debug): Mark unused parameter.
21485 (sh-get-indent-info): Remove unused variable `start'.
21486 (sh-calculate-indent): Remove unused variable `var'.
21488 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21489 (simula-electric-keyword): Remove unused variable `null'.
21490 (simula-search-backward, simula-search-forward): Remove unused
21491 variables `begin' and `end'.
21493 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21494 Remove unused variable `pos'.
21495 (vera-electric-tab, vera-comment-uncomment-region):
21496 Mark unused parameters.
21497 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21499 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
21501 * emacs-lisp/package.el (package--builtins, package-alist)
21502 (package-load-descriptor, package-built-in-p, package-activate)
21503 (define-package, package-installed-p)
21504 (package-compute-transaction, package-buffer-info)
21505 (package--push): Doc fix. Distinguish more clearly between
21506 version strings and version lists.
21508 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
21510 Lexical-binding cleanup.
21512 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21513 (5x5-make-mutate-best):
21514 * play/fortune.el (fortune-in-buffer):
21515 * play/gomoku.el (gomoku-init-display):
21516 * play/solitaire.el (solitaire, solitaire-do-check):
21517 * play/tetris.el (tetris-default-update-speed-function):
21518 Mark unused parameters.
21520 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21521 (bubbles--shift): Remove unused variable `char-org'.
21522 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21523 (bubbles--show-images): Remove unused variable `char'.
21525 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21526 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21527 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21528 (decipher-analyze-buffer): Use ?\s.
21529 (decipher-make-checkpoint): Remove unused variable `mapping'.
21531 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21533 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21534 Remove unused variable `result'; use `let'.
21536 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21537 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21538 (gametree-children-shown-p, gametree-compute-reduced-score):
21539 Use `ignore-errors'.
21541 * play/handwrite.el (ps-lpr-switches): Declare.
21542 (handwrite): Remove unused variables `pmin' and `lastp'.
21544 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21546 * play/landmark.el (landmark-init-display)
21547 (landmark-update-naught-weights): Mark unused parameters.
21548 (landmark-y): Remove unused variable `noise'. Simplify.
21549 (landmark-human-plays): Remove unused variable `score'.
21551 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21552 (mpuz-try-proposal): Remove unused variable `game'.
21554 * play/zone.el (life-patterns): Declare.
21556 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
21558 * vc/vc.el (ediff-vc-internal): Declare function.
21560 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21562 * shell.el: Use lexical-binding and std completion UI.
21563 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21564 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21565 comint-preoutput-filter-functions rather than on
21566 comint-output-filter-functions.
21567 (shell-command-completion, shell--command-completion-data)
21568 (shell-filename-completion, shell-environment-variable-completion)
21569 (shell-c-a-p-replace-by-expanded-directory): New functions.
21570 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21571 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21572 (shell-dynamic-complete-environment-variable): Use them.
21573 (shell-dynamic-complete-as-environment-variable)
21574 (shell-dynamic-complete-as-command): Remove.
21575 (shell-match-partial-variable): Match past point.
21576 * comint.el: Clean up use of completion-at-point-functions.
21577 (comint-completion-at-point): New function.
21578 (comint-mode): Use it completion-at-point-functions.
21579 (comint-dynamic-complete): Make it obsolete.
21580 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21581 (comint-c-a-p-replace-by-expanded-history): New function.
21582 (comint-dynamic-complete-functions)
21583 (comint-replace-by-expanded-history): Use it.
21584 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21585 termination strings. Try harder to avoid second try-completion.
21586 (completion-in-region-mode-map): Disable bindings that don't work yet.
21588 * comint.el: Use lexical-binding. Require CL.
21589 (comint-dynamic-complete-functions): Use comint-filename-completion.
21590 (comint-completion-addsuffix): Tweak custom type.
21591 (comint-filename-completion, comint--common-suffix)
21592 (comint--common-quoted-suffix, comint--table-subvert)
21593 (comint--complete-file-name-data): New functions.
21594 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21595 (comint-dynamic-list-filename-completions): Use them.
21596 (comint-dynamic-simple-complete): Make obsolete.
21598 * minibuffer.el (completion-in-region-mode):
21599 Keep completion-in-region-mode--predicate global.
21600 (completion-in-region--postch):
21601 Assume completion-in-region-mode--predicate is not null.
21603 * progmodes/flymake.el (flymake-start-syntax-check-process):
21604 Obey `dir'. Simplify.
21606 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21607 we're in VC after all.
21609 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21611 * vc/vc.el (vc-diff-build-argument-list-internal)
21612 (vc-version-ediff, vc-ediff): New commands.
21613 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21615 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21617 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21620 * obsolete/erc-hecomplete.el: Make obsolete.
21621 * obsolete/: Standardize obsolescence info in the header.
21623 2011-04-20 Glenn Morris <rgm@gnu.org>
21625 * calendar/solar.el (solar-horizontal-coordinates):
21626 Use the longitude argument rather than `calendar-longitude'.
21627 (solar-date-next-longitude): Remove unused locals.
21629 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21631 * whitespace.el: New version 13.2.1.
21633 2011-04-20 felix <EmacsWiki> (tiny change)
21635 * whitespace.el (global-whitespace-mode): Keep highlight when
21636 switching between major modes on a file.
21638 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21640 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21641 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21642 multi-line comments as well.
21644 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
21646 Lexical-binding cleanup.
21648 * arc-mode.el (archive-mode-revert):
21649 * cmuscheme.el (scheme-interactively-start-process):
21650 * custom.el (custom-initialize-delay):
21651 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21652 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21653 * emacs-lock.el (emacs-lock-clear-sentinel):
21654 * ezimage.el (defezimage):
21655 * follow.el (follow-avoid-tail-recenter):
21656 * fringe.el (set-fringe-mode-1):
21657 * generic-x.el (bat-generic-mode-compile):
21658 * help-mode.el (help-info-variable, help-do-xref)
21659 (help-mode-revert-buffer):
21660 * help.el (view-emacs-todo):
21661 * iswitchb.el (iswitchb-completion-help):
21662 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21663 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21664 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21665 * locate.el (locate-update):
21666 * longlines.el (longlines-encode-region)
21667 (longlines-after-change-function):
21668 * outline.el (outline-isearch-open-invisible):
21669 * ps-def.el (declare-function, charset-dimension, char-width)
21671 * ps-mule.el (ps-mule-plot-string):
21672 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21673 (recentf-edit-list-select, recentf-edit-list-validate)
21674 (recentf-open-files-action):
21675 * rect.el (delete-whitespace-rectangle-line)
21676 (rectangle-number-line-callback):
21677 * register.el (window-configuration-to-register)
21678 (frame-configuration-to-register):
21679 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21680 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21681 (xselect-convert-to-targets, xselect-convert-to-delete)
21682 (xselect-convert-to-filename, xselect-convert-to-charpos)
21683 (xselect-convert-to-lineno, xselect-convert-to-colno)
21684 (xselect-convert-to-os, xselect-convert-to-host)
21685 (xselect-convert-to-user, xselect-convert-to-class)
21686 (xselect-convert-to-name, xselect-convert-to-integer)
21687 (xselect-convert-to-atom, xselect-convert-to-identity):
21688 * subr.el (declare, ignore, process-kill-without-query)
21689 (text-clone-maintain):
21690 * terminal.el (te-get-char, te-tic-sentinel):
21691 * tool-bar.el (tool-bar-make-keymap):
21692 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21693 * type-break.el (type-break-mode, type-break-noninteractive-query):
21694 * view.el (View-back-to-mark):
21695 * wid-browse.el (widget-browse-action, widget-browse-widget)
21696 (widget-browse-widgets, widget-browse-sexp):
21697 * widget.el (define-widget-keywords):
21698 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21699 Mark unused parameters.
21701 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21702 (align-areas): Remove unused variable `look'.
21703 (align-region): Remove unused variables `real-end' and `pos-list'.
21705 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21707 * bindings.el (mode-line-modified, mode-line-remote):
21708 Mark unused parameters.
21709 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21711 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21712 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21714 * comint.el (comint-history-isearch-pop-state)
21715 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21716 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21717 (comint-substitute-in-file-name): Doc fix.
21719 * completion.el (cmpl-statistics-block): Mark unused parameter.
21720 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21721 (save-completions-to-file, load-completions-from-file):
21722 Remove unused local variable `e'.
21724 * composite.el (compose-chars): Remove unused variable `len'.
21725 (lgstring-insert-glyph): Remove unused variable `g'.
21726 (compose-glyph-string): Remove unused variables `ascent',
21727 `descent', `lbearing' and `rbearing'.
21728 (compose-glyph-string-relative): Remove unused variables
21729 `lbearing', `rbearing' and `wadjust'.
21730 (compose-gstring-for-graphic): Remove unused variables `header',
21731 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21732 (compose-gstring-for-terminal): Remove unused variables `header'
21733 and `nchars'. Use `let', not `let*'.
21735 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21736 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21737 (Custom-buffer-done, custom-buffer-create-internal)
21738 (custom-browse-visibility-action, custom-browse-group-tag-action)
21739 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21740 (widget-magic-mouse-down-action, custom-toggle-parent)
21741 (custom-add-parent-links, custom-toggle-hide-variable)
21742 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21743 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21744 (custom-face-menu-create, custom-variable-menu-create, get)
21745 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21746 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21747 (customize-apropos): Remove unused variable `tests'.
21748 (custom-group-value-create): Remove unused variable `hidden-p'.
21749 (sort-fold-case): Declare.
21751 * cus-theme.el (custom-reset-standard-faces-list)
21752 (custom-reset-standard-variables-list): Declare.
21753 (customize-create-theme, custom-theme-revert, custom-theme-write)
21754 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21755 Mark unused parameters.
21757 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21759 * delim-col.el (delimit-columns-max): Move defvar before first use.
21761 * descr-text.el (describe-char-categories): Don't quote `lambda'.
21762 (describe-char): Don't quote `lambda'. Mark unused parameter.
21764 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21765 (auto-insert): Declare.
21766 (desktop-restore-file-buffer): Rename desktop-* parameters;
21768 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21769 (desktop-buffer): Rename desktop-* parameters.
21771 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21772 (dframe-reposition-frame-xemacs, dframe-help-echo)
21773 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21774 Mark unused parameters.
21776 * dired-aux.el (backup-extract-version-start, overwrite-query)
21777 (overwrite-backup-query, rename-regexp-query)
21778 (rename-non-directory-query): Declare.
21779 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21780 (dired-add-entry): Remove unused variable `orig-file-name'.
21781 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21782 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21783 `dired-copy-preserve-time' directly.
21784 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21785 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21787 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21788 (dired-virtual-revert, dired-make-relative-symlink):
21789 Mark unused parameters.
21790 (manual-program): Declare.
21791 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21792 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21793 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21795 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21797 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21799 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21802 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21804 * electric.el (Electric-command-loop): Rename parameter
21805 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21807 * expand.el (expand-in-literal): Remove unused variable `here'.
21809 * facemenu.el (facemenu-add-new-color):
21810 Remove unused variable `docstring'.
21812 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21813 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21814 (face-attr-construct): Mark unused parameter. Doc fix.
21815 (read-color): Remove unused variable `hex-string'.
21817 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21818 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21819 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21820 (display-buffer-other-frame): Remove unused variable `old-window'.
21821 (kill-buffer-hook): Declare.
21822 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21823 Mark unused parameters.
21824 (after-find-file): Pass 1 to `auto-save-mode', not t.
21826 * files-x.el (auto-insert): Declare.
21827 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21829 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21830 variable `buf'. Mark unused parameter.
21831 (find-lisp-insert-directory): Mark unused parameter.
21833 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21834 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21835 (format-common-tail): Remove, unused.
21836 (format-deannotate-region): Remove unused variable `loc'.
21837 (format-annotate-region): Remove unused variable `p'.
21838 (format-annotate-single-property-change): Remove unused variables
21839 `default' and `tail'.
21841 * forms.el (read-file-filter): Declare.
21842 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21844 * frame.el (frame-creation-function-alist): Mark unused parameter.
21845 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21847 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21848 Remove unused parameters.
21849 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21850 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21852 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21853 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21854 (hfy-prepare-tag-map): Mark unused parameters.
21855 (htmlfontify-buffer): Use `called-interactively-p'.
21857 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21858 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21859 (ibuffer-do-occur): Mark unused parameters.
21860 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21861 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21863 * ibuffer.el: Don't quote `lambda'.
21864 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21865 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21866 Mark unused parameters.
21868 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21869 (ido-completing-read): Mark unused parameters.
21870 (ido-copy-current-word): Mark unused parameters;
21871 remove unused variable `name'.
21872 (ido-sort-merged-list): Remove unused parameter `dirs'.
21874 * ielm.el (ielm-input-sender): Mark unused parameter.
21875 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21876 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21877 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21878 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21879 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21881 * image-dired.el (image-dired-display-thumbs): Remove unused
21882 variables `curr-file' and `count'.
21883 (image-dired-remove-tag): Remove unused variable `start'.
21884 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21885 variable `curr-file'
21886 (image-dired-rotate-original): Remove unused variable `temp-file'.
21887 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21888 Remove unused variable `file'.
21889 (image-dired-gallery-generate): Remove unused variable `curr'.
21890 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21892 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21894 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21896 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21898 * isearch.el (minibuffer-history-symbol): Declare.
21899 (isearch-edit-string): Remove unused variable `err'.
21900 (isearch-message-prefix, isearch-message-suffix):
21901 Mark unused parameters.
21903 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21905 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21907 * makesum.el (double-column): Remove unused variable `cnt'.
21909 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21910 (ido-ignore-item-temp-list): Declare.
21912 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21913 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21914 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21915 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21918 * mouse-sel.el (mouse-extend-internal):
21919 Remove unused variable `orig-window-frame'.
21921 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21922 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21923 Move declarations before first use.
21924 (pcomplete-opt): Mark unused parameters; doc fix.
21926 * proced.el (proced-revert): Mark unused parameter.
21927 (proced-send-signal): Remove unused variable `err'.
21929 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21930 Rename parameter PREFIX-ARG to ARG.
21931 (ps-basic-plot-string, ps-basic-plot-whitespace):
21932 Mark unused parameters.
21934 * replace.el (replace-count): Define.
21935 (occur-revert-function): Mark unused parameters.
21936 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21937 (isearch-case-fold-search, isearch-string): Declare.
21938 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21939 bind `case-fold-search'. Remove unused variables `beg' and `end',
21941 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21942 COUNT and bind `replace-count'.
21943 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21946 * savehist.el (print-readably, print-string-length): Declare.
21948 * shadowfile.el (shadow-expand-cluster-in-file-name):
21949 Remove unused variable `cluster'.
21950 (shadow-copy-file): Remove unused variable `i'.
21951 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21952 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21953 (shadow-define-literal-group, shadow-define-regexp-group)
21954 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21956 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21957 (shell): Use `called-interactively-p'.
21958 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21960 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21961 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21962 (delete-backward-char): Remove unused variable `ocol'.
21963 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21964 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21965 (event-apply-hyper-modifier, event-apply-shift-modifier)
21966 (event-apply-control-modifier, event-apply-meta-modifier):
21967 Mark unused parameters.
21968 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21969 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21971 * speedbar.el (speedbar-ignored-directory-expressions)
21972 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21973 (speedbar-find-file, speedbar-dir-follow)
21974 (speedbar-directory-buttons-follow, speedbar-tag-find)
21975 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21976 (speedbar-buffers-line-directory, speedbar-buffer-click):
21977 Mark unused parameters.
21978 (speedbar-tag-file): Remove unused variable `mode'.
21979 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21981 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21983 * talk.el (talk): Remove unused variable `display'.
21985 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21986 (tar-write-region-annotate): Mark unused parameter.
21988 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21989 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21990 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21991 warning by another.
21993 * time-stamp.el (time-stamp-string-preprocess):
21994 Remove unused variable `require-padding'.
21996 * tree-widget.el (widget-glyph-enable): Declare.
21997 (tree-widget-action): Mark unused parameter.
21999 * w32-fns.el (x-get-selection): Mark unused parameter.
22000 (autoload-make-program, generated-autoload-file): Declare.
22002 * wdired.el (wdired-revert): Mark unused parameters.
22003 (wdired-xcase-word): Remove unused variable `err'.
22005 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22006 (whitespace-help-scroll): Remove unused variable `data-help'.
22008 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22009 (widget-image-insert, widget-after-change, default)
22010 (widget-default-format-handler, widget-default-notify)
22011 (widget-default-prompt-value, widget-info-link-action)
22012 (widget-url-link-action, widget-function-link-action)
22013 (widget-variable-link-action, widget-file-link-action)
22014 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22015 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22016 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22017 (widget-insert-button-action, widget-delete-button-action, visibility)
22018 (widget-documentation-link-action, widget-documentation-string-action)
22019 (widget-const-prompt-value, widget-regexp-match, symbol)
22020 (widget-coding-system-prompt-value)
22021 (widget-key-sequence-value-to-external, sexp)
22022 (widget-sexp-value-to-internal, character, vector, cons)
22023 (widget-choice-prompt-value, widget-boolean-prompt-value)
22024 (widget-color--choose-action): Mark unused parameters.
22025 (widget-item-match-inline, widget-choice-match-inline)
22026 (widget-checklist-match, widget-checklist-match-inline)
22027 (widget-group-match): Rename parameter VALUES to VALS.
22028 (widget-field-value-set): Remove unused variable `size'.
22029 (widget-color-action): Remove unused variables `value' and `start'.
22031 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
22032 variable `dir'. Doc fix.
22033 (windmove-find-other-window): Don't pass it.
22035 * window.el (count-windows): Mark unused parameter.
22036 (bw-adjust-window): Remove unused variable `err'.
22038 * woman.el (woman-file-name): Remove unused variable `default'.
22039 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22040 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22041 (global-font-lock-mode): Declare.
22042 (woman-decode-region): Mark unused parameter.
22043 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22045 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22046 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22047 (x-dnd-handle-moz-url): Remove unused variable `title'.
22048 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22050 * xml.el (xml-parse-tag, xml-parse-attlist):
22051 Remove unused variable `pos'.
22053 2011-04-19 Glenn Morris <rgm@gnu.org>
22055 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22056 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22057 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22058 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22059 * calendar/cal-html.el (cal-html-insert-minical):
22060 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22061 (calendar-mark-date-pattern):
22062 Prefix "unused" locals.
22064 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22065 optional argument `style'.
22067 * calendar/appt.el (appt-make-list):
22068 * calendar/cal-china.el (calendar-chinese-date-string):
22069 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22070 (diary-hebrew-yahrzeit):
22071 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22072 * calendar/calendar.el (calendar-generate-window):
22073 * calendar/time-date.el (time-to-days):
22074 Remove unused local variables.
22076 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
22078 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22079 glyphless-char-display table.
22080 (tabulated-list-glyphless-char-display): New var.
22082 2011-04-18 Sam Steingold <sds@gnu.org>
22084 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22085 to acknowledgments.
22087 2011-04-17 Glenn Morris <rgm@gnu.org>
22089 * calendar/diary-lib.el (diary-sexp-entry):
22090 * calendar/holidays.el (holiday-sexp):
22091 Set debug-on-error rather than the removed stack-trace-on-error.
22093 2011-04-16 Glenn Morris <rgm@gnu.org>
22095 * progmodes/f90.el: Use lexical-binding.
22096 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22098 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22100 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22101 (mail-mode): Setup mailalias completion here instead.
22102 * mail/mailalias.el: Use lexical-binding.
22103 (pattern, mailalias-done): Declare dynamic.
22104 (mail-completion-at-point-function): New function, from mail-complete.
22105 (mail-complete): Use it.
22106 (mail-completion-expand): New function.
22107 (mail-get-names): Use it.
22108 (mail-directory, mail-directory-process, mail-directory-stream):
22109 Don't use `pattern' for lexically bound arg.
22111 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22113 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22114 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22115 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22117 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22118 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22119 (byte-interactive-p): Define them again, for use when inlining
22122 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
22124 * loadup.el: Use `string-to-number', not `string-to-int'.
22126 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22128 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22129 gud-gdb-complete-command.
22130 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22131 (gud-gdb-completion-at-point): New function.
22132 (gud-gdb-completions): Remove.
22134 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
22136 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22137 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22138 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22139 whether `executable-find' is bound.
22141 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22143 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22145 * minibuffer.el (completion-in-region-mode-predicate)
22146 (completion-in-region-mode--predicate): New vars.
22147 (completion-in-region, completion-in-region--postch)
22148 (completion-in-region-mode): Use them.
22149 (completion--capf-wrapper): Also return the hook function.
22150 (completion-at-point, completion-help-at-point):
22151 Adjust and provide a predicate.
22153 Preserve arg names for advice of subr and lexical functions (bug#8457).
22154 * help-fns.el (help-function-arglist): Consolidate the subr and
22155 new-byte-code cases. Add argument `preserve-names' to extract names
22156 from the docstring when needed.
22157 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22158 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22159 (ad-arglist): Use help-function-arglist's new arg.
22160 (ad-definition-type): Use cond.
22162 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
22164 * autorevert.el (auto-revert-handler):
22165 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22166 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22167 Don't quote lambda.
22169 * image-mode.el (image-transform-set-scale):
22170 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22172 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22174 * net/network-stream.el (network-stream-open-starttls): Only do
22175 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
22176 Upgrades via gnutls-cli are too slow to be done opportunistically.
22178 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
22180 * dframe.el (dframe-current-frame): Remove spurious quote.
22182 2011-04-12 Glenn Morris <rgm@gnu.org>
22184 * calendar/cal-tex.el (cal-tex-end-document):
22185 Try to automatically use latin1 input if needed.
22187 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22188 Don't try to cons a mark onto an empty element.
22190 2011-04-11 Leo Liu <sdl.web@gmail.com>
22192 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22194 (ido-kill-buffer-at-head): Support killing virtual buffers.
22196 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
22198 * minibuffer.el (completion-show-inline-help): New var.
22199 (completion--do-completion, minibuffer-complete)
22200 (minibuffer-force-complete, minibuffer-complete-word):
22201 Inhibit minibuffer messages if completion-show-inline-help is nil.
22203 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22204 to avoid interference from inline help (Bug#5849).
22206 2011-04-10 Leo Liu <sdl.web@gmail.com>
22208 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22211 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
22213 * image-mode.el (image-toggle-display-image): Signal an error if
22215 (image-transform-mode, image-transform-resize)
22216 (image-transform-set-rotation): Doc fix.
22217 (image-transform-set-resize): Delete.
22218 (image-transform-set-scale, image-transform-fit-to-height)
22219 (image-transform-fit-to-width): Handle image-toggle-display-image
22220 and image-transform-resize directly.
22222 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
22224 * doc-view.el (doc-view-fit-width-to-window)
22225 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22226 New functions for fitting the shown image to the Emacs window size.
22227 (doc-view-mode-map): Add bindings for the new functions.
22229 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
22231 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
22232 Fix typo in docstring.
22234 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22236 * files.el (file-size-human-readable): Produce one digit after
22237 decimal, like "ls -lh" does.
22239 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22240 the file size representation.
22242 * simple.el (list-processes): If async subprocesses are not
22243 available, error out with a clear error message.
22245 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
22247 * help.el (help-form-show): New function, to be called from C.
22248 Put help-form output in a buffer named differently than *Help*.
22250 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22252 * files.el (file-size-human-readable): New function.
22254 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22255 computing the representation inline. Don't require `cl'.
22257 2011-04-08 Glenn Morris <rgm@gnu.org>
22259 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22261 * net/browse-url.el (browse-url-firefox):
22262 Test system-type, not system-configuration.
22264 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22265 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22266 Use log-edit-empty-buffer-p. (Bug#7598)
22268 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22269 (rlogin-mode-map): Initialize in the defvar.
22270 (rlogin): Use ignore-errors.
22272 * replace.el (occur-mode-map): Some fixes for menu items.
22274 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22276 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22278 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22280 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22281 issuing unused warnings.
22283 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22286 * simple.el: Lisp reimplement of list-processes. Based on an
22287 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22288 (process-menu-mode): New major mode.
22289 (list-processes--refresh, list-processes):
22290 (process-menu-visit-buffer): New functions.
22292 * files.el (save-buffers-kill-emacs): Don't assume any return
22293 value of list-processes, which is undocumented anyway.
22295 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22297 * emacs-lisp/tabulated-list.el: New file.
22299 * emacs-lisp/package.el: Use Tabulated List mode.
22300 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22301 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22302 table format using Tabulated List mode variables.
22303 (package--push): New macro, replacing package-list-maybe-add.
22304 (package-menu--generate): Use package--push. Renamed from
22305 package--generate-package-list.
22306 (package-menu-refresh, list-packages): Use it.
22307 (package-menu--print-info): Rename from package-print-package.
22308 Return insertion data instead of inserting it directly.
22309 (package-menu-describe-package, package-menu-execute):
22310 Use tabulated-list-get-id.
22311 (package-menu-mark-delete, package-menu-mark-install)
22312 (package-menu-mark-unmark, package-menu-backup-unmark)
22313 (package-menu-mark-obsolete-for-deletion):
22314 Use tabulated-list-put-tag.
22315 (package--list-packages, package-menu-revert)
22316 (package-menu-get-package, package-menu-get-version)
22317 (package-menu-sort-by-column): Functions deleted.
22318 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22319 (package-menu--status-predicate, package-menu--version-predicate)
22320 (package-menu--name-predicate)
22321 (package-menu--description-predicate): Handle arguments in the
22322 Tabulated List format.
22323 (package-list-packages-no-fetch): Call list-packages.
22325 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
22327 * files.el (after-find-file-from-revert-buffer): Remove variable.
22328 (after-find-file): Don't bind it.
22329 (revert-buffer-in-progress-p): New variable.
22330 (revert-buffer): Bind it.
22331 Pass nil for `after-find-file-from-revert-buffer'.
22333 * saveplace.el (save-place-find-file-hook): Use new variable
22334 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22336 2011-04-06 Glenn Morris <rgm@gnu.org>
22338 * Makefile.in (AUTOGEN_VCS): New variable.
22339 (autoloads): Use $AUTOGEN_VCS.
22341 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22342 * calendar/calendar.el (calendar-mode-map):
22343 Check for toolkit scroll bars. (Bug#8305)
22345 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22347 * minibuffer.el (completion-in-region--postch)
22348 (completion-in-region-mode): Remove unnecessary messages.
22350 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
22352 * font-lock.el (font-lock-refresh-defaults):
22353 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22354 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22356 * info.el (Info-directory-list, Info-read-node-name-2)
22357 (Info-split-parameter-string): Doc fixes.
22358 (Info-virtual-nodes): Reflow docstring.
22359 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22360 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22361 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22362 Fix typos in docstrings.
22363 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22364 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22365 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22366 (Info-restore-desktop-buffer): Mark unused parameters.
22367 (Info-directory-find-file, Info-directory-find-node)
22368 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22369 (Info-virtual-index-find-node, Info-apropos-find-file)
22370 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
22371 Mark unused parameters; fix typos in docstrings.
22372 (Info-virtual-index): Remove unused local variable `nodename'.
22374 2011-04-05 Deniz Dogan <deniz@dogan.se>
22376 * net/rcirc.el: Update my e-mail address.
22377 (rcirc-mode-map): Remove M-o binding.
22379 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22381 * startup.el (command-line): Save the cursor's theme-face
22382 directly, instead of using face-override-spec.
22384 * custom.el (load-theme): Minor optimization in assigning faces.
22386 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22388 * help-fns.el (describe-variable): Complete all variables having
22389 documentation, including keywords.
22390 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22392 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22394 Convert to lexical-binding.
22396 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22397 (bs--get-marked-string, bs--get-modified-string)
22398 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22399 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22400 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22402 * ehelp.el (electric-help-execute-extended)
22403 (electric-help-ctrl-x-prefix):
22404 * hexl.el (hexl-revert-buffer-function):
22405 * linum.el (linum-after-change, linum-after-scroll):
22406 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22408 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22410 2011-04-04 Daiki Ueno <ueno@unixuser.org>
22417 * epg.el: Use lexical binding.
22419 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
22421 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22423 * textmodes/flyspell.el (flyspell-word): Recognize default
22424 dictionary case for flyspell-mark-duplications-exceptions.
22425 Use regexp matching for languages.
22426 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22427 default dictionary (Bug#7926).
22429 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
22431 * emacs-lisp/package.el (package--with-work-buffer):
22432 Recognize https URLs.
22434 * net/network-stream.el: Move from gnus/proto-stream.el.
22435 Change prefix to network-stream throughout.
22436 (open-protocol-stream): Merge into open-network-stream, leaving
22437 open-protocol-stream as an alias. Handle nil BUFFER args.
22439 * subr.el (open-network-stream): Move to net/network-stream.el.
22441 2011-04-02 Glenn Morris <rgm@gnu.org>
22443 * find-dired.el (find-exec-terminator): New option.
22444 (find-ls-option): Test for -ls support.
22445 (find-ls-subdir-switches): Test for -b in find-ls-option.
22446 (find-dired, find-grep-dired): Doc fixes.
22447 (find-dired): Use find-exec-terminator.
22449 * find-dired.el (find-ls-option, find-ls-subdir-switches)
22450 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22451 (find-name-arg): Remove purecopy.
22453 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22454 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22455 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22456 accordingly. Don't add the null-device if not needed.
22458 * files.el (save-some-buffers): Doc fix.
22460 2011-04-02 Eli Zaretskii <eliz@gnu.org>
22462 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22464 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
22466 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22467 Use `dolist' rather than `mapcar'.
22469 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22471 Add lexical binding.
22473 * subr.el (apply-partially): Use new closures rather than CL.
22474 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22475 (dolist, dotimes): Use slightly different expansion for lexical code.
22476 (functionp): Move to C.
22477 (letrec): New macro.
22478 (with-wrapper-hook): Use it and apply-partially instead of CL.
22479 (eval-after-load): Preserve lexical-binding.
22480 (save-window-excursion, with-output-to-temp-buffer): Turn them
22483 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22485 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22487 (help-add-fundoc-usage): Don't add `Not documented'.
22488 (help-function-arglist): Handle closures, subroutines, and new
22489 byte-code-functions.
22490 (help-make-usage): Remove leading underscores.
22491 (describe-function-1): Handle closures.
22492 (describe-variable): Use special-variable-p for completion.
22494 * files.el (lexical-binding): Declare safe.
22496 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22497 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22498 (pcase): Add `let' pattern.
22499 Change memoization so it actually works.
22500 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22501 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22504 * emacs-lisp/macroexp.el: Use lexical binding.
22505 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22506 Don't convert ' to #' without checking that it's indeed quoting
22509 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
22510 Use eval-sexp-add-defvars.
22511 (eval-sexp-add-defvars): New fun.
22513 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22515 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22517 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22518 than the internal `byte-compile-lambda'.
22519 (defmethod): Don't hide code under quotes.
22520 (eieio-defmethod): New `code' argument.
22522 * emacs-lisp/eieio-comp.el: Remove.
22524 * emacs-lisp/edebug.el (edebug-eval-defun)
22525 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22526 (edebug-toggle): Avoid `eval'.
22528 * emacs-lisp/disass.el (disassemble-internal): Handle new
22530 (disassemble-1): Handle new byte codes.
22532 * emacs-lisp/cl.el (pushnew): Silence warning.
22534 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22535 (cl-byte-compile-throw): Remove.
22536 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22538 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22541 * emacs-lisp/cconv.el: New file.
22543 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22544 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22545 (byte-compile-initial-macro-environment):
22546 Handle declare-function here.
22547 (byte-compile--lexical-environment): New var.
22548 (byte-stack-ref, byte-stack-set, byte-discardN)
22549 (byte-discardN-preserve-tos): New lap codes.
22550 (byte-interactive-p): Don't use any more.
22551 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22553 (byte-compile-lapcode): Use them and handle new lap codes.
22554 (byte-compile-obsolete): Remove.
22555 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22556 (byte-compile-arglist-warn): Check late def of inlinable funs.
22557 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22558 since they should have been expanded by now.
22559 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22560 (byte-compile-from-buffer): Remove unused second arg.
22561 (byte-compile-preprocess): New function.
22562 (byte-compile-toplevel-file-form): New function to distinguish
22563 file-form calls from outside from file-form calls from hunk-handlers.
22564 (byte-compile-file-form): Simplify.
22565 (byte-compile-file-form-defsubst): Remove.
22566 (byte-compile-file-form-defmumble): Simplify now that
22567 byte-compile-lambda always returns a byte-code-function.
22568 (byte-compile): Preprocess.
22569 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22570 Remove, not used any more.
22571 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22572 (byte-compile-make-args-desc): New funs.
22573 (byte-compile-lambda): Handle lexical functions. Always return
22574 a byte-code-function.
22575 (byte-compile-reserved-constants): New var, to make up room for
22576 closed-over variables.
22577 (byte-compile-constants-vector): Obey it.
22578 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22579 (byte-compile-macroexpand-declare-function): New function.
22580 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22581 byte-code-functions.
22582 (byte-compile-form): Check obsolescence here.
22583 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22584 (byte-compile-variable-ref): Remove.
22585 (byte-compile-dynamic-variable-op): New fun.
22586 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22587 (byte-compile-variable-set): New funs.
22588 (byte-compile-discard): Add 2 args.
22589 (byte-compile-stack-ref, byte-compile-stack-set)
22590 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22591 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22592 macroexpand-all instead.
22593 (byte-compile-quote-form): Remove.
22594 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22595 (byte-compile-bind, byte-compile-unbind): New funs.
22596 (byte-compile-let): Handle let* and lexical binding.
22597 (byte-compile-let*): Remove.
22598 (byte-compile-catch, byte-compile-unwind-protect)
22599 (byte-compile-track-mouse, byte-compile-condition-case):
22600 Handle a new :fun-body form, used for lexical scoping.
22601 (byte-compile-save-window-excursion)
22602 (byte-compile-with-output-to-temp-buffer): Remove.
22603 (byte-compile-defun): Simplify.
22604 (byte-compile-stack-adjustment): New fun.
22605 (byte-compile-out): Use it.
22606 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22608 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22611 * emacs-lisp/byte-opt.el: Use lexical binding.
22612 (byte-inline-lapcode): Remove (to bytecomp).
22613 (byte-compile-inline-expand): Pay attention to inlining to/from
22614 lexically bound code.
22615 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22617 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22618 any more and don't call compiler-macros.
22619 (byte-compile-splice-in-already-compiled-code): Remove.
22620 (byte-code): Don't inline any more.
22621 (disassemble-offset): Receive `bytes' as argument rather than via
22623 (byte-compile-tag-number): Declare before first use.
22624 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22625 `return' even if make-spliceable.
22626 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22627 obsolete interactive-p.
22628 (byte-optimize-lapcode): Optimize new lap-codes.
22629 Don't trip up on new form of `byte-constant' lap code.
22631 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22633 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22635 * custom.el (custom-initialize-default, custom-declare-variable):
22638 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22640 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22641 (COMPILE_FIRST): Add macroexp and cconv.
22642 * makefile.w32-in: Mirror changes in Makefile.in.
22644 * vc/cvs-status.el:
22648 * vc/smerge-mode.el:
22649 * textmodes/bibtex-style.el:
22650 * textmodes/css-mode.el:
22658 * emacs-lisp/smie.el:
22661 * abbrev.el: Use lexical binding.
22663 2011-04-01 Eli Zaretskii <eliz@gnu.org>
22665 * info.el (info-display-manual): New function.
22667 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22669 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22671 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22673 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
22674 an entry for that server in rcirc-authinfo. (Bug#8385)
22676 2011-03-31 Glenn Morris <rgm@gnu.org>
22678 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22680 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22682 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22684 * progmodes/python.el (python-default-interpreter)
22685 (python-python-command-args, python-jython-command-args)
22686 (python-which-shell, python-which-args, python-which-bufname)
22687 (python-file-queue, python-comint-output-filter-function)
22688 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22689 variables and functions.
22691 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22693 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22694 (completion-in-region-mode): New minor mode.
22695 (completion-in-region): Use it.
22696 (completion-in-region--data, completion-in-region-mode-map): New vars.
22697 (completion-in-region--postch): New function.
22698 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22700 (completion--capf-wrapper): New function.
22701 (completion-at-point): Use it to track well-behavedness of
22703 (completion-help-at-point): New command.
22705 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22707 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22708 syntax class to search for whitespace on a single line
22709 (Message-ID: <4D938140.4030905@redhat.com>).
22711 2011-03-30 Leo Liu <sdl.web@gmail.com>
22713 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22715 (edit-abbrevs-map): Bind them here.
22716 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22718 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22720 * allout.el (allout-hide-by-annotation, allout-flag-region):
22721 Reduce possibility of overlay leakage by making them volatile.
22723 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22724 hash is not shared between buffers. Mode initialization is
22725 responsible for giving it a useful starting value.
22726 (allout-item-span): Reduce possibility of overlay leakage by
22727 making them volatile.
22728 (allout-widgets-count-buttons-in-region): Add diagnostic function
22729 for tracking down button overlay leaks.
22731 2011-03-29 Leo Liu <sdl.web@gmail.com>
22733 * ido.el (ido-read-internal): Use the default history var
22734 minibuffer-history if no HISTORY is specified.
22736 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22738 * net/imap.el (imap-shell-open, imap-process-connection-type):
22739 Use imap-process-connection-type for 'shell' streams as well as
22740 Kerberos, SSL, other subprocesses.
22742 2011-03-28 Leo Liu <sdl.web@gmail.com>
22744 * abbrev.el (abbrev-table-empty-p): New function.
22745 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22746 nonempty ones. (Bug#5937)
22748 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22750 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22752 2011-03-27 Leo Liu <sdl.web@gmail.com>
22754 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22755 for foreground and background colors.
22756 (ansi-color-make-color-map): Adapt.
22758 2011-03-25 Leo Liu <sdl.web@gmail.com>
22760 * midnight.el (midnight-time-float): Remove. Note it calculates
22761 the microsecond component incorrectly and seconds-to-time does the
22763 Remove redundant (require 'timer).
22765 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22766 (ido-completions): Remove unused arguments. (Bug#8329)
22768 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22770 * minibuffer.el (completion--flush-all-sorted-completions):
22771 Remove itself from hook.
22772 (completion-at-point): Let the functions perform the completion
22773 immediately and return nil or t.
22774 * comint.el (comint-dynamic-complete-functions): Now identical to
22775 completion-at-point-functions.
22776 (comint-dynamic-list-input-ring): Remove unused var `index'.
22777 (comint--match-partial-filename, comint--unquote&expand-filename):
22778 New funs, split from comint-match-partial-filename.
22779 (comint-dynamic-complete): Use completion-at-point.
22780 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22782 2011-03-24 Drew Adams <drew.adams@oracle.com>
22784 * thingatpt.el: Support `defun'.
22786 2011-03-23 Leo Liu <sdl.web@gmail.com>
22788 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22790 * help-mode.el (help-mode-finish): Tweak regexp.
22792 2011-03-23 Glenn Morris <rgm@gnu.org>
22794 * eshell/esh-opt.el (eshell-eval-using-options):
22795 Do not bind unused local variable `eshell-option-stub'.
22797 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22799 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22801 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22802 keymap variable in `with-no-warnings' to avoid a warning when the
22803 keymap has been already `defconst'ed.
22805 2011-03-22 Leo Liu <sdl.web@gmail.com>
22807 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22808 encode all chars in abbrevs; otherwise use emacs-mule or
22809 utf-8-emacs. (Bug#8308)
22811 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22813 * simple.el (backward-delete-char-untabify):
22814 Avoid warning about using `delete-backward-char'.
22816 * image.el (image-type-file-name-regexps): Make it variable.
22817 `imagemagick-register-types' modifies it, and the user may want
22818 to add new extensions for known image types.
22819 (imagemagick-register-types): Throw error if not using ImageMagick.
22821 2011-03-22 Leo Liu <sdl.web@gmail.com>
22823 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22824 located before rcirc-prompt-end-marker.
22825 (rcirc-complete): Error if point is not after rcirc prompt.
22826 Handle the case when table is nil.
22827 (rcirc-user-authenticated): Define to fix compiler warning.
22829 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
22831 * custom.el (custom--inhibit-theme-enable): Make it affect only
22832 custom-theme-set-variables and custom-theme-set-faces.
22833 (provide-theme): Ignore custom--inhibit-theme-enable.
22834 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22835 (custom-enabling-themes): Delete variable.
22836 (enable-theme): Accept only loaded themes as arguments.
22837 Ignore the special custom-enabled-themes variable.
22838 (custom-enabled-themes): Forbid themes from setting this.
22839 Eliminate use of custom-enabling-themes.
22840 (custom-push-theme): Quote "changed" custom var entry.
22842 2011-03-21 Leo Liu <sdl.web@gmail.com>
22844 * ido.el (ido-read-internal): Add ido-selected to history instead
22847 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22849 * subr.el (deferred-action-list, deferred-action-function):
22852 2011-03-21 Leo Liu <sdl.web@gmail.com>
22854 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22855 change on 2011-02-13 (bug#8309).
22857 * minibuffer.el (read-file-name-function): Change default value.
22858 (read-file-name--defaults): Rename from read-file-name-defaults.
22859 (read-file-name-default): Rename from read-file-name.
22860 (read-file-name): Call read-file-name-function.
22862 2011-03-21 Glenn Morris <rgm@gnu.org>
22864 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22867 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
22869 * cus-theme.el: Add missing provide statement.
22870 (customize-create-theme): Extract theme value correctly.
22871 (custom-theme-visit-theme): Autoload.
22872 (customize-create-theme): Prompt before inserting default faces.
22874 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22876 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22877 units and musical notes.
22879 2011-03-20 Leo Liu <sdl.web@gmail.com>
22881 * ido.el (ido-read-internal): Use completing-read-default.
22882 (ido-completing-read): Fix compatibility with completing-read.
22884 2011-03-20 Christian Ohler <ohler@gnu.org>
22886 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22887 (ert-delete-all-tests): Use `called-interactively-p' rather than
22889 (ert--make-xrefs-region): Respect END.
22891 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22893 * dired-aux.el (dired-create-directory): Signal an error if the
22894 directory already exists (Bug#8246).
22896 * facemenu.el (list-colors-display): Call list-faces-display
22897 inside with-help-window.
22898 (list-colors-print): Use display property to align the final
22899 column, instead of checking window-width.
22901 2011-03-19 Eli Zaretskii <eliz@gnu.org>
22903 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22904 windows-nt systems.
22905 (emerge-protect-metachars): Quote correctly for ms-dos and
22906 windows-nt systems.
22908 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
22910 * info.el (info-initialize): Replace all uses of `:' with
22911 path-separator for compatibility with non-Unix systems.
22912 Cache quoting of path-separator. (Bug#8258)
22914 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
22916 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22917 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22918 (mouse-avoidance-mode): Fix typos in docstrings.
22920 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22922 * startup.el (package-subdirectory-regexp): Move from package.el.
22923 Omit \\` and \\', and let callers add them.
22925 * emacs-lisp/package.el (package-strip-version)
22926 (package-load-all-descriptors): Add \\` and \\' to
22927 package-subdirectory-regexp before using it.
22928 (package-untar-buffer): New arg DIR; ensure that file untars only
22929 into this expected directory. Remove superfluous delete-region.
22930 (package-unpack): Caller changed.
22931 (package-tar-file-info): Use package-subdirectory-regexp.
22933 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22935 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22936 diff-mode-shared-map (bug#8284).
22937 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22939 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22941 * calendar/time-date.el (format-seconds): Use assoc instead of
22942 assoc-string, since assoc-string doesn't exist in XEmacs.
22944 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
22946 * custom.el (custom-known-themes): Reflow docstring.
22947 (custom-theme-load-path): Fix typo in docstring.
22948 (load-theme): Fix typo in error message.
22949 (custom-available-themes, custom-variable-theme-value):
22950 Use `let', not `let*'.
22952 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22954 * calc/README: Mention inclusion of musical notes.
22956 * calc/calc-units.el (calc-lu-quant): Rename from
22957 `calc-logunits-quantity'.
22958 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22959 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22960 (calc-db): Rename from `calc-dblevel'.
22961 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22962 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22963 (calc-np): Rename from `calc-nplevel'.
22964 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22965 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22966 (calc-lu-plus): Rename from `calc-logunits-add'.
22967 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22968 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22969 (calc-lu-minus): Rename from `calc-logunits-sub'.
22970 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22971 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22972 (calc-lu-times): Rename from `calc-logunits-mul'.
22973 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22974 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22975 (calc-lu-divide): Rename from `calc-logunits-div'.
22976 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22977 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22979 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22980 functions being autoloaded.
22982 * calc/calc.el (calc-lu-power-reference): Rename from
22983 `calc-logunits-power-reference'.
22984 (calc-lu-field-reference): Rename from
22985 `calc-logunits-field-reference'.
22987 * calc/calc-help.el (calc-l-prefix-help):
22988 Mention musical note functions.
22990 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22992 * minibuffer.el (completion-all-sorted-completions):
22993 Use :completion-cycle-penalty text property if present.
22995 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22997 * allout.el (allout-yank-processing): Adjust for new rebulleting
22998 regime so bullet being yanked is used without prompting the user
23001 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
23003 * startup.el (command-line): Warn the user that _emacs is deprecated.
23005 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
23007 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23008 (delphi-verbose, delphi-comment-face, delphi-string-face)
23009 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23010 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23011 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23012 (delphi-new-comment-line, delphi-font-lock-defaults)
23013 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23014 Fix typos in docstrings.
23016 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23018 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
23019 Invert the roles of character and string values for INSTEAD, so a
23020 string is used for the more common case of a defaulting prompt.
23022 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23024 * progmodes/ruby-mode.el (ruby-backward-sexp):
23025 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23026 * play/gamegrid.el (gamegrid-make-face):
23027 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23028 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23029 * notifications.el (notifications-notify):
23030 * net/xesam.el (xesam-search-engines):
23031 * net/quickurl.el (quickurl-list-insert):
23032 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23034 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
23036 * startup.el (command-line): Update package subdirectory regexp.
23038 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23040 * allout.el (allout-abbreviate-flattened-numbering)
23041 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23043 * subr.el (read-char-choice): Only show the cursor after the prompt,
23044 not after the answer.
23046 2011-03-15 Kevin Ryde <user42@zip.com.au>
23048 * help-fns.el (variable-at-point): Skip leading quotes, if any
23051 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23053 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23056 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
23058 * shell.el (shell): When called interactively, offer to change the
23059 shell file name on remote hosts.
23061 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23063 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23064 integration for LDAP parameters. The host, base, user or binddn,
23065 and secret tokens can be specified in a netrc file, for instance.
23066 This is optional because an `auth-source' parameter must be
23067 specified in the search attributes.
23069 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
23071 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23073 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23075 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23076 into declaration. Remove redundant and harmful binding.
23078 2011-03-12 Eli Zaretskii <eliz@gnu.org>
23080 * files.el (file-ownership-preserved-p): Pass `integer' as an
23081 explicit 2nd argument to `file-attributes'. If the file's owner
23082 is the Administrators group on Windows, and the current user is
23083 Administrator, consider that a match.
23085 * server.el (server-ensure-safe-dir): Consider server directory
23086 safe on MS-Windows if its owner is the Administrators group while
23087 the current Emacs user is Administrator. Use `=' to compare
23088 numerical UIDs, since they could be integers or floats.
23090 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
23092 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23094 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
23096 Sync with Tramp 2.2.1.
23098 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23100 * net/trampver.el: Update release number.
23102 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23104 * progmodes/compile.el (compilation--previous-directory): Fix up
23105 various nil/dead-marker mismatches (bug#8014).
23106 (compilation-directory-properties, compilation-error-properties):
23107 Don't call it at a position past the one we're about to change.
23109 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23110 Disable obsolescence warnings in the file that declares it.
23112 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23114 * allout-widgets.el (allout-widgets-tally):
23115 Initialize allout-widgets-tally as a hash table rather than nil to
23116 prevent mode-line redisplay warnings. Also, clarify the module
23117 description and fix a comment typo.
23119 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
23121 * help-fns.el (describe-variable): Don't complete keywords.
23122 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23124 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
23126 * emacs-lisp/package.el (package-version-join): Impose a standard
23127 string representation for pre/alpha/beta version lists.
23128 (package-unpack-single): Standardize the directory name by passing
23129 it through package-version-join.
23130 (package-strip-rcs-id): Accept any version string that does not
23131 signal an error in version-to-list.
23133 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
23135 * simple.el (delete-trailing-whitespace): Return nil for the
23136 benefit of `write-file-functions'.
23138 2011-03-10 Glenn Morris <rgm@gnu.org>
23140 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23142 * vc/vc-git.el (vc-git-program): New option.
23143 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23144 (vc-git--call): Use it.
23146 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23148 * cus-edit.el (Custom-newline): If no button at point, look
23149 for a subgroup button at start-of-line. (Bug#2298)
23151 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23153 2011-03-10 Julien Danjou <julien@danjou.info>
23155 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23156 `cursor-type' is nil.
23158 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23160 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23162 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23164 * allout.el: Change so yank of distinctive-bullet items
23165 preserves the existing header prefix, rebulleting it if necessary,
23166 rather than replacing it. This is necessary for proper operation
23167 of cooperative addons like allout-widgets.
23168 (allout-make-topic-prefix, allout-rebullet-heading):
23169 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23170 value as alternate bullet to be used, instead of prompting the user
23171 for a bullet character.
23173 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
23175 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23176 Do not use `tramp-file-name-port', because this returns also
23177 `tramp-default-port'.
23179 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23181 * net/rcirc.el (rcirc-handler-001): Remove useless
23182 with-rcirc-process-buffer.
23183 (rcirc-check-auth-status): Swap arguments to string-match.
23185 2011-03-09 Glenn Morris <rgm@gnu.org>
23187 * shell.el (shell-mode):
23188 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23190 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23191 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23193 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23195 * emacs-lisp/package.el (package-refresh-contents)
23196 (package-menu-execute): Use condition-case-no-debug.
23198 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
23200 * simple.el (shell-command-to-string): Use `process-file'.
23202 * emacs-lisp/package.el (package-tar-file-info): Handle also
23205 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23206 Use `equal' for upload base check.
23208 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23210 * textmodes/texinfo.el (texinfo-environments):
23211 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23213 2011-03-08 Glenn Morris <rgm@gnu.org>
23215 * cus-start.el (cursor-in-non-selected-windows):
23216 Fix :set quoting oddness. (Bug#8192)
23218 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23219 in some setf expressions. (Bug#2159)
23221 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23223 * custom.el (custom-available-themes): Return themes in
23224 alphabetical order.
23226 See ChangeLog.15 for earlier changes.
23228 ;; Local Variables:
23232 Copyright (C) 2011-2013 Free Software Foundation, Inc.
23234 This file is part of GNU Emacs.
23236 GNU Emacs is free software: you can redistribute it and/or modify
23237 it under the terms of the GNU General Public License as published by
23238 the Free Software Foundation, either version 3 of the License, or
23239 (at your option) any later version.
23241 GNU Emacs is distributed in the hope that it will be useful,
23242 but WITHOUT ANY WARRANTY; without even the implied warranty of
23243 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23244 GNU General Public License for more details.
23246 You should have received a copy of the GNU General Public License
23247 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.