1 2013-02-11 Glenn Morris <rgm@gnu.org>
3 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
4 (vc-svn-global-switches): ... to here. (Bug#13513)
6 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
8 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps): Handle
9 "foo (bar, default: xxx): " prompts.
11 2013-02-10 Chong Yidong <cyd@gnu.org>
13 * files.el (basic-save-buffer-1): Do not set
14 buffer-file-coding-system-explicit (Bug#4533).
16 * mail/emacsbug.el (report-emacs-bug): Change binding of
17 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
19 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
21 * calc/calc.el (calc-allow-units-as-numbers): New variable.
22 * calc/calc-units.el (calc-convert-units): Use new variable.
24 2013-02-09 Eli Zaretskii <eliz@gnu.org>
26 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
28 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
31 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
32 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
33 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
34 coding-system-for-write instead.
36 * jka-compr.el (jka-compr-write-region): Don't bind
39 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
42 * files.el (file-name-buffer-file-type-alist): Remove defvar.
43 (insert-file-contents-literally): Remove reference to
44 file-name-buffer-file-type-alist.
46 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
48 (find-buffer-file-type-match, find-buffer-file-type): Remove.
49 (find-buffer-file-type-coding-system): Remove references to
50 find-buffer-file-type-match, find-buffer-file-type, and
52 Don't put find-buffer-file-type-coding-system into
53 file-coding-system-alist.
54 (find-file-binary, find-file-text): Bind coding-system-for-read
55 instead of file-name-buffer-file-type-alist.
57 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
59 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
60 converter (Bug#13622).
61 (doc-view-unoconv-program): Make obsolete alias.
62 (doc-view-odf->pdf-converter-program): New variable.
63 (doc-view-odf->pdf-converter-function): New variable.
64 (doc-view-mode-p): Use it.
65 (doc-view-odf->pdf-converter-unoconv):
66 Rename from `doc-view-odf->pdf-converter-unoconv'.
67 (doc-view-odf->pdf-converter-soffice): New function.
68 (doc-view-convert-current-doc):
69 Use `doc-view-odf->pdf-converter-function'.
71 2013-02-09 Chong Yidong <cyd@gnu.org>
73 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
74 view-echo-area-messages (Bug#13340).
76 * help.el (view-echo-area-messages): Use display-buffer.
78 * dired-x.el (dired-do-run-mail): Prompt for confirmation
81 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
83 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
84 Eval body right away, now that we do eager macroexpansion (bug#13605).
86 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
87 (fundamental-mode): Use run-mode-hooks.
89 * eshell/esh-proc.el (eshell/kill): Fix last change.
90 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
92 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
94 * eshell/esh-proc.el (eshell/kill): Rewrite.
96 * eshell/em-ls.el (show-almost-all): Declare.
97 (eshell-do-ls): Add support for -A argument.
99 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
101 * icomplete.el (icomplete-forward-completions)
102 (icomplete-backward-completions): Handle corner case (bug#13602).
104 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
106 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
107 be nil. Handle this. (Bug#13636)
109 2013-02-07 Richard Stallman <rms@gnu.org>
111 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
112 `save-buffer-coding-system'.
114 2013-02-07 Alan Mackenzie <acm@muc.de>
116 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
117 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
118 (c-parse-state-get-strategy): Don't return 'BOD any more.
119 (c-append-lower-brace-pair-to-state-cache):
120 Extra parameter HERE instead of narrowing.
121 Widen to top of buffer before searching backwards for a brace pair.
122 (c-state-push-any-brace-pair): Add HERE parameter to function call.
123 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
124 Narrow to parameter HERE, in place of being called narrowed.
125 (c-remove-stale-state-cache): Extra parameter HERE in place of
126 narrowing. Check there's an open brace in the cache before
127 searching for its match.
128 (c-invalidate-state-cache-1): Add HERE parameter to function call.
129 (c-parse-state-1): Don't narrow here for 'forward strategy,
130 instead passing extra parameter HERE to several functions.
131 Remove 'BOD strategy.
133 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
135 * emacs-lisp/package.el (describe-package-1): Tell what archive is
136 used to install the package.
138 2013-02-06 Glenn Morris <rgm@gnu.org>
140 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
141 if we can't get user input. (Bug#6567)
143 * startup.el (command-line): If simple.el is missing,
144 test and warn about for some possible causes.
146 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
148 * cus-start.el (all): Add ns-use-native-fullscreen.
150 2013-02-05 Glenn Morris <rgm@gnu.org>
152 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
154 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
155 Fix directory creation in fallback case.
157 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
159 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
160 (vc-update-change-log): Use dolist.
162 2013-02-04 Chong Yidong <cyd@gnu.org>
164 * thingatpt.el: Rewrite the URL detection routines, absorbing some
166 (thing-at-point-beginning-of-url-regexp): New var.
167 (thing-at-point-uri-schemes): Update list of URI schemes.
168 (thing-at-point-url-regexp): Variable deleted.
169 (thing-at-point-markedup-url-regexp): Disallow newlines.
170 (thing-at-point-newsgroup-regexp)
171 (thing-at-point-newsgroup-heads)
172 (thing-at-point-default-mail-uri-scheme): New variables.
173 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
174 method to find the possible bounds of the URI at point.
175 New optional argument to find ill-formed URIs.
176 (thing-at-point-url-at-point): Rewrite. New arguments for finding
177 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
178 the scheme-adding heuristics from ffap-url-at-point.
179 (thing-at-point--bounds-of-well-formed-url): New function.
180 Do parens matching to decide whether to include parens in the URI
183 * ffap.el: Require thingatpt.
184 (ffap-url-at-point): Delegate URI detection to thing-at-point.
185 All URI-valid characters are now recognized (Bug#5673).
186 (ffap-string-at-point): Use use-region-p.
187 (ffap-url-regexp): Extra character is handled by thing-at-point.
188 (ffap-string-at-point-mode-alist): Allow parentheses.
189 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
190 Convert to aliases; code moved to thingatpt.el.
191 (ffap-gnus-hook): Use setq-local.
193 2013-02-04 Glenn Morris <rgm@gnu.org>
195 * emacs-lisp/ert.el (ert--explain-format-atom):
196 Don't try to print non-characters as characters. (Bug#13543)
198 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
200 * net/tramp.el (tramp-debug-message): Extend function exclude list.
201 (tramp-backtrace): New defun.
202 (tramp-handle-insert-file-contents): Use `visit' when inserting
205 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
206 Use `remote-file-name-inhibit-cache'.
208 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
210 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
213 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
214 current-load-list (bug#13366).
216 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
218 * progmodes/compile.el (compilation-error-regexp-alist-alist):
219 Identify g++ template instantiation trace. (Bug#12287)
220 (compilation-mode-hook, compilation-start-hook)
221 (compilation-window-height): Simplify docstrings. (Bug#13379)
223 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
225 * mouse.el (mouse-drag-track): Always deactivate the mark before
226 running the final event's command since that command is in charge of
227 activating the mark if needed (bug#13523).
229 2013-02-02 Juri Linkov <juri@jurta.org>
231 * replace.el (perform-replace): Move let-bindings of isearch-*
232 variables deeper to the loop that searches for the next match.
233 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
234 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
237 * isearch.el (isearch-search-fun-default): Check for null
238 first element of isearch-cmds as a precaution when it's used
239 with inactive isearch.
241 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
243 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
244 error when buffer in question is narrowed so position 1 is out of
247 2013-02-02 Glenn Morris <rgm@gnu.org>
249 * textmodes/remember.el (remember-clipboard): Doc fix.
251 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
253 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
254 properties (bug#13179).
256 2013-02-02 Juri Linkov <juri@jurta.org>
258 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
259 instead of hard-coded default face `match'. (Bug#9438)
261 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
263 * vc/vc-arch.el (vc-arch-registered):
264 * vc/vc-bzr.el (vc-bzr-registered):
265 * vc/vc-cvs.el (vc-cvs-registered):
266 * vc/vc-git.el (vc-git-registered):
267 * vc/vc-hg.el (vc-hg-registered):
268 * vc/vc-mtn.el (vc-mtn-registered):
269 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
272 * info.el (Info-next-reference, Info-prev-reference): Add numeric
273 prefix argument. (Bug#11656)
275 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
277 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
279 2013-02-01 Glenn Morris <rgm@gnu.org>
281 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
282 if the backend is known not to support it.
284 * imenu.el (imenu-default-create-index-function):
285 Tweak infinite loop test to check for forward motion as well as none.
287 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
289 * net/soap-client.el (soap-invoke): Encode the string for
290 `url-request-data' as UTF-8.
291 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
293 2013-02-01 Glenn Morris <rgm@gnu.org>
295 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
297 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
299 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
301 * net/tramp.el (tramp-tramp-file-p): Comment check for
302 `string-as-unibyte'. The function does not exist on XEmacs, and
303 likely we need another approach.
305 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
306 `tramp-gw-*' variables are bound.
308 2013-01-31 Glenn Morris <rgm@gnu.org>
310 * files.el (basic-save-buffer-2): Choose coding system for
311 writing the file before backing it up, to reduce delay between
312 backing up and writing the new version. (Bug#13522)
314 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
316 * simple.el (cycle-spacing): New command.
317 (just-one-space): Use it.
319 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
321 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
322 (opascal-newline-always-indents): Remove custom.
323 (opascal-tab, opascal-newline): Remove commands.
324 (opascal-new-comment-line): Insert "\n" instead of calling newline.
325 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
326 (opascal-save-match-data): Remove, use save-match-data instead.
327 (opascal-save-state): Use with-silent-modifications.
329 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
332 2013-01-30 Juri Linkov <juri@jurta.org>
334 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
335 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
336 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
338 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
340 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
341 column if we're just deleting the backslashes.
342 (makefile-fill-paragraph): Use eolp.
344 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
346 * autorevert.el (auto-revert-use-notify): Fix docstring.
348 2013-01-30 Leo Liu <sdl.web@gmail.com>
350 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
352 2013-01-30 Glenn Morris <rgm@gnu.org>
354 * mouse.el (mouse-drag-line): Avoid pushing same event onto
355 unread-command-events twice in some cases. This tries to implement
356 the 2012-07-26 changes in a different way. (Bug#13560)
358 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
360 * progmodes/python.el
361 (python-pdbtrack-comint-output-filter-function): Enhancements on
362 stacktrace detection. (thanks @gnovak)
364 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
366 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
367 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
369 (jit-lock-register): Use setq-local.
371 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
373 * calc-units.el (math-default-units-table): Remove initial value.
374 (calc-convert-units): Treat expressions where all the units cancel as
375 if they didn't have units.
377 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
379 * net/tramp.el (tramp-process-connection-type): Fix docstring.
380 (tramp-completion-reread-directory-timeout): Fix type.
381 (tramp-connection-min-time-diff): New defcustom.
383 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
385 2013-01-30 Glenn Morris <rgm@gnu.org>
387 * imenu.el (imenu-default-create-index-function):
388 Put back a version of the infinite loop test removed 2013-01-23.
390 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
392 * progmodes/python.el (python-shell-parse-command):
393 Find python-shell-interpreter with modified environment.
395 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
397 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
399 2013-01-29 Alan Mackenzie <acm@muc.de>
401 Amend to fontify /regexp/s in actions correctly.
402 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
403 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
404 are no longer included.
405 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
406 What used to be these variables without "-line" in the name.
407 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
408 (c-awk-non-arith-op-bra-re): Now also matches {.
409 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
410 "return", and "case".
411 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
413 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
414 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
416 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
418 * autorevert.el (auto-revert-use-notify):
419 Use `custom-initialize-default' for initialization. (Bug#13583)
421 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
423 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
424 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
425 in `tramp-file-name-handler'.
426 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
428 (tramp-compute-multi-hops): Check, whether
429 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
431 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
433 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
436 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
438 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
439 checks made superfluous by the \_< operator.
440 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
441 temporarily) broken indentation.
442 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
443 Highlight nested constants, too. \_< broke that.
445 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
447 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
450 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
452 * autorevert.el (auto-revert-handler): Notifications which result
453 from a saved file shall not be taken into account. (Bug#13557)
455 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
457 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
458 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
459 (lisp-mode): Pass t for it. (Bug#13556)
461 2013-01-25 Alan Mackenzie <acm@muc.de>
463 AWK Mode: Fix indentation bug at top level. Bug #12274.
465 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
468 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
470 * net/socks.el (socks-nslookup-host): Use string-to-number.
472 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
474 * autorevert.el (auto-revert-remote-files)
475 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
476 (auto-revert-notify-enabled, auto-revert-use-notify)
477 (auto-revert-notify-watch-descriptor-hash-list)
478 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
479 (auto-revert-notify-event-descriptor)
480 (auto-revert-notify-event-action)
481 (auto-revert-notify-event-file-name): Doc fix.
482 (global-auto-revert-mode): Reorder checks.
483 (auto-revert-notify-rm-watch): Respect changed values of
484 `auto-revert-notify-watch-descriptor-hash-list'.
485 (auto-revert-notify-add-watch): Check for
486 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
487 `inotify-add-watch'. Watch `default-directory' instead of
488 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
489 has a changed meaning now. (Bug#13540)
490 (auto-revert-notify-handler): Change implementation wrt events
491 returning from a directory.
492 (auto-revert-handler): Reorder implementation for checks of remote
494 (auto-revert-buffers): Fix parentheses error.
496 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
498 * progmodes/python.el: Enhancements to header documentation about
499 skeletons. (Bug#5716)
501 * imenu.el (imenu-default-create-index-function): Remove useless
502 infinite loop check. (Bug#13438)
504 2013-01-25 Alan Mackenzie <acm@muc.de>
506 Fix a bug in the state cache mechanism. Refactor this a bit.
508 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
509 `cache-pos' element from the return value.
510 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
511 buffer to enable proper searching from beyond HERE. Amend the
512 test for detecting the sought brace pair. Amend the value written
513 to the "brace desert cache" when the brace isn't found.
514 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
515 and several other variables analogously.
516 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
517 parameter to a locally calculated variable.
518 (c-parse-state-1): Change the calling conventions to the two
519 defuns involving `cache-pos'.
521 2013-01-25 Chong Yidong <cyd@gnu.org>
523 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
525 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
527 * paren.el (show-paren-function): Make sure to set 'priority and
528 'face only if the overlay does exist.
530 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
532 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
534 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
536 (tramp-sh-handle-set-file-acl): Improve error checking.
538 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
540 * doc-view.el (doc-view-display): Force mode line update until all
541 document is converted. Suggested by Stefan Monnier (Bug#13164).
543 2013-01-23 Bastien Guerry <bzg@gnu.org>
545 * paren.el (show-paren-function): Make sure an overlay exists
546 before trying to delete it. Also use `pos' as a position only
547 when it is an integer.
549 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
551 * play/gametree.el (gametree-break-line-here): Use point-marker.
553 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
555 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
556 Mark descriptive parts with `display' property.
558 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
560 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
561 New variable to map standard dict names to hunspell ones.
562 (ispell-set-spellchecker-params): Make sure specific dict names
563 are used for standard dicts with hunspell.
565 2013-01-21 Tassilo Horn <tsdh@gnu.org>
567 * textmodes/reftex-cite.el (reftex-format-citation): Add format
568 chars for note (%N) and url (%U).
569 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
571 2013-01-21 Juri Linkov <juri@jurta.org>
573 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
574 in addition to existing separate binding `meta f10' in `global-map'.
577 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
579 Improve XEmacs compatibility.
581 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
583 * net/tramp-adb.el (top): Require `time-date'.
584 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
585 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
586 Use `tramp-file-name-handler'.
587 (tramp-adb-maybe-open-connection):
588 Use `tramp-compat-set-process-query-on-exit-flag'.
590 * net/tramp-sh.el (tramp-sh-handle-file-acl):
591 Use `tramp-compat-funcall'.
593 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
594 `tramp-compat-funcall'.
596 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
598 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
599 reimplementation using "adb shell command ..." instead of running
600 remote shell interactively.
602 2013-01-20 Glenn Morris <rgm@gnu.org>
604 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
605 Add native profiler menu entries.
607 * profiler.el (profiler-running-p): New function.
608 (profiler-cpu-profile): Use profiler-running-p.
609 (profiler-report-mode-map): Add some more menu entries.
611 2013-01-19 Glenn Morris <rgm@gnu.org>
613 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
614 fixes 2012-12-07 change. (Bug#13499)
616 2013-01-19 Leo Liu <sdl.web@gmail.com>
618 * dired.el (dired-get-marked-files): Prune erroneous values due to
619 last change. (Bug#13152)
621 2013-01-19 Glenn Morris <rgm@gnu.org>
623 * progmodes/etags.el (tags-table-check-computed-list):
624 Preserve point in tags buffer. (Bug#13412)
626 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
628 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
629 Chong Yidong <cyd@gnu.org>
631 * image-mode.el (image-next-file, image-previous-file):
632 New commands (Bug#8453).
633 (image-mode-map): Bind them to n and p.
634 (image-mode--images-in-directory): New helper function.
636 2013-01-19 Chong Yidong <cyd@gnu.org>
638 * image-mode.el (image-mode-fit-frame): Add a frame argument.
639 Suggested by Drew Adams (Bug#7730). Handle window decorations;
640 save and restore the old window configuration.
642 2013-01-18 Leo Liu <sdl.web@gmail.com>
644 * progmodes/js.el: Tweak autoload cookie for alias.
646 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
648 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
649 buffer local, again. This was lost with the fix on 2013-01-12.
651 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
653 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
654 order to support several eshell buffers in parallel.
656 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
658 * autorevert.el (auto-revert-use-notify): In the :set function, do
659 not modify `kill-buffer-hook'.
660 (auto-revert-notify-rm-watch):
661 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
662 (auto-revert-notify-add-watch): Do not call
663 `auto-revert-notify-rm-watch', but add it to a buffer local
666 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
668 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
669 call to `eval' rather than a backquoted lambda.
671 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
673 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
674 to return an explicit nil.
675 (advice--remove-function): Change accordingly.
677 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
678 the use of nadvice.el.
680 * progmodes/which-func.el (which-function): Silence imenu errors
683 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
685 * progmodes/sql.el: (sql-imenu-generic-expression):
686 (sql-mode-font-lock-object-name): Match schema qualified names.
687 (sql-connect): Use string keys.
688 (sql-product-interactive): Wait for interpreter prompt.
689 (sql-comint-oracle): Set process coding based on NLS_LANG.
691 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
693 * progmodes/sql.el (sql-output-to-send): Remove, unused.
694 (sql-interactive-remove-continuation-prompt):
695 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
697 2013-01-14 Leo Liu <sdl.web@gmail.com>
699 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
702 2013-01-14 Glenn Morris <rgm@gnu.org>
704 * progmodes/compile.el (compilation-error-regexp-alist-alist):
705 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
707 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
709 * progmodes/python.el (python-nav-end-of-statement):
710 Fix cornercase when handling multiline strings.
712 2013-01-13 Richard Stallman <rms@gnu.org>
714 * mail/sendmail.el (mail-position-on-field): Add doc string.
716 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
717 Get current message boundaries and pass them to
718 message-forward-make-body-mime. Minor style changes.
720 2013-01-13 Eli Zaretskii <eliz@gnu.org>
722 * cus-start.el (all): Avoid warnings about
723 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
725 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
727 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
729 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
731 * jit-lock.el (jit-lock-debug-mode): New minor mode.
732 (jit-lock--debug-fontifying): New var.
733 (jit-lock--debug-fontify): New function.
734 * subr.el (condition-case-unless-debug): Don't prevent catching the
735 error, just let the debbugger run.
736 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
737 timer code and don't drop errors silently.
739 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
741 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
742 `permanent-local' property.
743 (auto-revert-notify-handler): Use `file-equal-p'.
745 2013-01-12 Eli Zaretskii <eliz@gnu.org>
747 * autorevert.el (auto-revert-notify-handler): Fix filtering of
748 file notification by ACTION. For filtering by file name, compare
749 only the non-directory part of the file name.
751 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
753 * autorevert.el: Use cl-lib instead of cl.
755 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
756 (vc-bzr-checkin): Use it.
757 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
758 will preserve match-data.
760 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
762 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
763 (js--declaration-keyword-re): New var.
764 (js--multi-line-declaration-indentation): New function.
765 (js--proper-indentation): Use it.
767 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
769 * calc/calc.el (calc-highlight-selections-with-faces)
771 * comint.el (comint-history-isearch-message):
772 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
773 * ffap.el (ffap-string-at-point-region, ffap-next)
774 (ffap-string-at-point, ffap-string-around)
775 (ffap-copy-string-as-kill, ffap-highlight-overlay)
777 * font-lock.el (font-lock-keywords-alist)
778 (font-lock-removed-keywords-alist):
779 * help-mode.el (help-xref-symbol-regexp):
780 * info.el (Info-find-emacs-command-nodes):
781 * international/mule.el (add-to-coding-system-list):
782 * isearch.el (isearch-message-function, isearch-fail-pos):
783 * misearch.el (multi-isearch-next-buffer-function):
784 * newcomment.el (comment-box):
785 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
786 (pr-setting-database):
787 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
788 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
789 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
790 (pike-font-lock-keywords-3):
791 * progmodes/compile.el (compile):
792 * progmodes/etags.el (tags-table-files)
793 (tags-table-files-function, tags-included-tables-function):
794 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
795 (gdb-restore-windows):
796 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
797 (ps-n-up-filling-database):
798 * server.el (server-buffer, server-log):
799 * simple.el (newline, delete-backward-char, delete-forward-char)
800 (minibuffer-history-isearch-message, kill-line, track-eol)
801 (temporary-goal-column):
802 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
803 (flyspell-default-deplacement-commands):
804 * textmodes/ispell.el (ispell-accept-output):
805 * textmodes/sgml-mode.el (html-tag-help):
806 * vc/compare-w.el (compare-ignore-whitespace)
807 (compare-ignore-case, compare-windows-dehighlight):
809 * whitespace.el (whitespace-point)
810 (whitespace-font-lock-refontify, whitespace-bob-marker)
811 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
813 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
815 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
816 (auto-revert-notify-rm-watch): Ignore errors.
817 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
818 inotify, and '(size last-write-time) for w32notify.
819 Set buffer-local `auto-revert-use-notify' to nil when adding a file
820 watch fails - this is a fallback to the file modification check.
821 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
822 (auto-revert-notify-event-action)
823 (auto-revert-notify-event-file-name): New defuns.
824 (auto-revert-notify-handler): Use them. Implement first
826 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
828 2013-01-11 Julien Danjou <julien@danjou.info>
830 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
831 max are almost equal. Also return the correct value for V which is
832 already between 0 and 1.
834 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
836 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
838 2013-01-11 Eli Zaretskii <eliz@gnu.org>
840 * autorevert.el (auto-revert-notify-rm-watch)
841 (auto-revert-notify-add-watch): Fix typos in w32notify function
844 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
846 * autorevert.el (auto-revert-notify-enabled): Move up.
847 (auto-revert-use-notify): New defcustom.
848 (auto-revert-mode, global-auto-revert-mode)
849 (auto-revert-notify-add-watch, auto-revert-handler)
850 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
851 `auto-revert-notify-enabled'.
853 2013-01-10 Elias Pipping <pipping@exherbo.org>
855 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
856 * doc-view.el (doc-view-document->bitmap):
857 Use doc-view-single-page-converter-function instead of
858 single-page-converter arg; adjust callers.
860 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
862 * progmodes/which-func.el (which-function): Understand Semantic's use
863 of overlays in imenu--index-alist.
865 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
867 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
868 (Man-man-k-use-anchor): New var.
869 (Man-parse-man-k): New function.
870 (Man-completion-table): Use it.
871 (man): Flush the completion cache between uses.
873 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
875 * autorevert.el: Add file watch support.
876 (auto-revert-notify-enabled): New defconst.
877 (auto-revert-notify-watch-descriptor-hash-list)
878 (auto-revert-notify-watch-descriptor)
879 (auto-revert-notify-modified-p): New defvars.
880 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
881 (auto-revert-notify-handler): New defuns.
882 (auto-revert-mode, global-auto-revert-mode): Remove file watches
883 when mode is disabled.
884 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
885 (auto-revert-buffers): Add file watches for active buffers.
887 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
889 * cus-start.el (toplevel): Only allow float values for
890 scroll-up-aggressively and scroll-down-aggressively.
891 Allow any number for line-spacing.
893 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
895 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
896 (doc-view-pdf->png-converter-function): Use mupdf if available.
897 (doc-view-djvu->png-converter-function)
898 (doc-view-ps->png-converter-function): Remove.
899 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
900 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
901 (doc-view-already-converted-p): Adjust accordingly.
902 (doc-view-mode-p): Simplify.
903 (doc-view-enlarge): Use setq-local.
904 (doc-view-pdf->png-converter-ghostscript)
905 (doc-view-djvu->png-converter-ddjvu)
906 (doc-view-pdf->png-converter-mupdf): Rework to call
907 doc-view-start-process directly.
908 (doc-view-pdf/ps->png): Simplify accordingly.
909 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
910 (doc-view-document->bitmap): Rename from doc-view-document->png.
911 (doc-view-convert-current-doc): Merge pdf and djvu cases.
912 (doc-view-set-slice-from-bounding-box): Fix completion table.
913 (doc-view-mode): Use add-hook for after-revert-hook.
915 2013-01-10 Glenn Morris <rgm@gnu.org>
917 * emacs-lisp/authors.el (authors-ignored-files)
918 (authors-valid-file-names, authors-renamed-files-alist):
919 Add some more entries.
921 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
923 * image-mode.el (image-mode-winprops): Don't throw away the fallback
924 `t' pseudo-window entry.
926 2013-01-10 Alan Mackenzie <acm@muc.de>
928 Fix bugs in the c-parse-state mechanism. Reuse some markers
929 instead of continually generating new ones.
931 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
932 (c-state-old-cpp-end-marker): New variables.
933 (c-append-lower-brace-pair-to-state-cache): Start a backward
934 search for "}" definitively outside CPP constructs.
935 (c-remove-stale-state-cache): Inform the caller of a need to
936 search back for a brace pair in certain circumstances.
937 (c-state-maybe-marker): New macro.
938 (c-parse-state): Reuse markers when appropriate.
940 2013-01-10 Glenn Morris <rgm@gnu.org>
942 * simple.el (execute-extended-command): Doc fix.
943 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
945 2013-01-10 Chong Yidong <cyd@gnu.org>
947 * faces.el (read-face-name): Doc fix.
949 2013-01-10 Roland Winkler <winkler@gnu.org>
951 * emacs-lisp/crm.el: Allow any regexp for separators.
952 (crm-default-separator): All spaces around the default comma separator.
953 (crm--completion-command): New macro.
954 (crm-completion-help, crm-complete, crm-complete-word): Use it.
955 (crm-complete-and-exit): Handle non-single-char separators.
957 2013-01-09 Elias Pipping <pipping@lavabit.com>
959 * doc-view.el: Add support for DjVu (bug#13164).
960 (doc-view-djvu->png-converter-function): New config var.
961 (doc-view-single-page-converter-function, doc-view--image-type)
962 (doc-view--image-file-extension): New vars.
963 (doc-view-mode): Initialize them.
964 (doc-view-goto-page): Use them.
965 (doc-view-mode-p): Add support for ddjvu.
966 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
967 (doc-view-set-up-single-converter): New funs.
968 (doc-view-pdf/ps->png): Extend for djvu.
969 (doc-view-document->png): Rename from doc-view-pdf->png.
970 (doc-view-convert-current-doc): Handle djvu.
971 (doc-view-insert-image, doc-view-display)
972 (doc-view-already-converted-p): Don't hardcode png.
973 (doc-view-set-doc-type): Recognize djvu docs.
975 2013-01-09 Elias Pipping <pipping@lavabit.com>
977 * doc-view.el: Add support for mupdf converter (bug#13164).
978 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
979 (doc-view-ps->png-converter-function): New config vars.
980 (doc-view-pdf->png-converter-ghostscript)
981 (doc-view-ps->png-converter-ghostscript)
982 (doc-view-pdf->png-converter-mupdf): New functions.
983 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
985 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
987 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
988 first in session cache: When `tramp-own-remote-path' is in
989 `tramp-remote-path', the remote path is only set in the session
992 2013-01-09 Glenn Morris <rgm@gnu.org>
994 * emacs-lisp/trace.el (trace-function-foreground)
995 (trace-function-background): Doc fix.
997 2013-01-09 Juri Linkov <juri@jurta.org>
999 * international/mule-cmds.el (read-char-by-name): Move let-binding
1000 of completion-ignore-case around completing-read to fix regression
1001 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1002 `string-match-p' using the nil value of `case-fold-search' and
1003 `completion-ignore-case' in `completion-pcm--all-completions'.
1006 2013-01-09 Glenn Morris <rgm@gnu.org>
1008 * progmodes/compile.el (compilation-parse-errors):
1009 Fix typo. (Bug#13369)
1011 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1013 * comint.el (comint-send-input): Check size of buffer before
1014 waiting for process output, in case already accepted. (Bug#13290)
1016 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1019 * net/tramp-adb.el (tramp-adb-get-toolbox):
1020 Fix misspelling of 'unknown'.
1022 2013-01-08 Juri Linkov <juri@jurta.org>
1024 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1025 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1026 Use underline style wave on terminals that support it. (Bug#13000)
1028 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1030 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1031 the predicate returns nil.
1033 * simple.el: Use lexical-binding.
1034 (primitive-undo): Use pcase.
1035 (minibuffer-history-isearch-push-state): Use a closure.
1037 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1039 * simple.el (primitive-undo): Move from undo.c.
1041 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1043 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1044 (cvs-mode-remove-handled): Use it (bug#13380).
1046 * emacs-lisp/nadvice.el (advice--tweak): New function.
1047 (advice--remove-function, advice--subst-main): Use it.
1049 * emacs-lisp/advice.el: Update commentary.
1051 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1053 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1054 Remove spurious entry.
1056 2013-01-08 Glenn Morris <rgm@gnu.org>
1058 * net/tramp.el (tramp-default-host-alist): Add :version.
1060 2013-01-08 Juri Linkov <juri@jurta.org>
1062 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1063 single completion. (Bug#12456)
1064 (info--manual-names): Expand node completions into an explicit list
1065 before appending it to another list. Filter out internal buffers
1066 with the leading space in the buffer name. (Bug#10771)
1068 2013-01-08 Juri Linkov <juri@jurta.org>
1070 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1071 that defaults to the Top node.
1072 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1073 the short format (FILENAME) goes to the Top node.
1074 (Info-build-node-completions): Rename arg `file' to `filename'.
1077 2013-01-07 Bastien Guerry <bzg@gnu.org>
1079 * menu-bar.el (menu-bar-search-documentation-menu):
1080 Use `apropos-user-option' and fix the help message.
1082 2013-01-07 Bastien Guerry <bzg@gnu.org>
1084 * apropos.el (apropos-do-all): Update docstring.
1085 (apropos-user-option-button): New face.
1086 (apropos-user-option): Rename from `apropos-variable' and update
1088 (apropos-variable): Rewrite, now show all variables by default.
1089 (apropos-print): Mention "User option" instead of "Variable" when
1090 printing doc for user options. (Bug#13276)
1092 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1094 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1095 Handle filename correctly, when parsing "source -> target" symlink
1097 (tramp-adb-handle-set-file-times): New defun.
1099 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1101 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1102 advice list when the interactive-spec of ad-Advice-* changes.
1104 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1106 * wid-edit.el (widget-default-get): Work for inlined elements.
1109 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1111 * net/tramp.el (tramp-default-host-alist): New defcustom.
1112 (tramp-find-host): Use it.
1113 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1114 `eshell-directory-change-hook'.
1116 * net/tramp-adb.el (top): Add adb specific entry in
1117 `tramp-default-host-alist'.
1118 (tramp-adb-file-name-host): Remove function.
1119 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1120 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1122 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1124 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1126 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1128 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1130 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1131 consist of more than one digit.
1132 (tramp-adb-file-name-handler-alist):
1133 Use `tramp-handle-file-exists-p' consistently.
1134 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1135 (tramp-adb-handle-file-exists-p): Remove function.
1136 (tramp-adb-file-name-host): New defun.
1137 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1139 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1141 2013-01-06 Chong Yidong <cyd@gnu.org>
1143 * vc/vc.el (vc-next-action): Detect buffer modifications
1144 conflicting with locking VCS operation (Bug#11490).
1146 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1148 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1150 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1151 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1153 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1155 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1156 parsing of ls output using regular expression (handle filenames
1157 with spaces). Use virtual device number.
1158 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1161 2013-01-04 Daiki Ueno <ueno@gnu.org>
1163 * epg.el: Silence byte-compiler warnings.
1164 (epg--start): Use delete-char instead of delete-backward-char.
1165 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1167 2013-01-04 Daiki Ueno <ueno@gnu.org>
1169 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1170 Suggested by Eli Zaretskii <eliz@gnu.org>.
1172 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1174 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1175 non-negative integers. Otherwise, the default values are used.
1176 (tramp-convert-file-attributes): Convert uid and gid to integers.
1178 2013-01-04 Glenn Morris <rgm@gnu.org>
1180 * term.el (term-handle-colors-array): Ensure face attributes
1181 are fully specified, not nil. (Bug#13337)
1183 * term.el (term-default-fg-color, term-default-bg-color):
1186 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1187 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1188 rather than 'jka-compr being loaded. (Bug#13338)
1190 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1192 * icomplete.el (icomplete-completions):
1193 Honor icomplete-prospects-height once more following
1194 2012-11-29 changes. (Bug#13224)
1196 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1198 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1199 of called-interactively-p as well (bug#13237).
1201 * view.el (view--enable, view--disable): Rename from view-mode-enable
1202 and view-mode-disable and assume it's called from view-mode.
1203 (view-mode-enable, view-mode-disable): Redefine as obsolete
1204 compatibility layer above view-mode.
1205 (view-mode-enter): Call `view-mode'.
1207 * files.el (after-find-file): Call `view-mode'.
1209 * doc-view.el (doc-view-scale-internally): New var.
1210 (doc-view-enlarge, doc-view-insert-image): Obey it.
1212 2013-01-03 Daiki Ueno <ueno@gnu.org>
1214 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1217 2013-01-03 Glenn Morris <rgm@gnu.org>
1219 * mail/rmail.el (rmail-set-header-1): Ignore case.
1220 Handle multi-line headers. (Bug#13330)
1222 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1223 Handle paragraph starting at beginning of buffer.
1225 * subr.el (eval-after-load): Don't purecopy the form, so that it
1226 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1228 * emacs-lisp/byte-run.el (defun): Place cl declarations
1229 after any interactive spec. (Bug#13265)
1231 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1233 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1234 defun. Don't check for DECL if DOCSTRING isn't a string.
1237 2013-01-02 Glenn Morris <rgm@gnu.org>
1239 * eshell/em-cmpl.el (eshell-pcomplete):
1240 More thoroughly imitate pcomplete. (Bug#13293)
1242 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1243 Return nil for empty path elements. (Bug#13296)
1245 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1247 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1248 order to improve efficiency (Based on Daniel Colascione's
1249 <dancol@dancol.org> patch). (Bug#13182)
1251 2013-01-02 Glenn Morris <rgm@gnu.org>
1253 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1255 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1257 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1258 neither DOCSTRING nor DECL was given. (Bug#13316)
1260 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1262 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1264 (tramp-do-copy-or-rename-file): Ignore errors when calling
1265 `set-file-extended-attributes'.
1267 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1268 Add handler for `file-acl'.
1269 (tramp-smb-handle-file-acl): New defun.
1271 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1273 * calc/README: Mention ISO 8601 week-numbering dates.
1275 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1277 * view.el (view-mode-enable): New argument run-view-mode-hook.
1278 Run view-mode-hook only when it's non-nil (Bug#13315).
1279 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1282 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1284 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1285 (No device connected, invalid device name). (Bug #13299)
1287 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1289 * window.el (window-resizable--p): Rename to window-resizable-p.
1290 (window-resize-no-error): New function.
1292 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1293 broken in fix from 2012-12-28.
1295 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1297 * subr.el (special-form-p): Don't signal errors on undef aliases.
1299 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1301 * calc/calc-forms.el (math-parse-date): Try using
1302 `math-parse-iso-date' when it looks like it might be needed.
1303 Allow times of 24:00.
1304 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1307 2012-12-30 Glenn Morris <rgm@gnu.org>
1309 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1310 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1311 (rmail-summary-displayed, rmail-summary): Declare.
1312 (mairix-rmail-display): Just require rmail.
1314 2012-12-30 Chong Yidong <cyd@gnu.org>
1316 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1317 check for the tarball contents.
1319 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1321 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1322 tarfile content listings (Bug#13136).
1324 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1326 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1327 Insert the undecoded text of the message being forwarded. (Bug#9521)
1329 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1331 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1332 integers, if they are real numbers. (Bug#13282)
1334 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1335 Return `t' on success.
1337 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1338 Add handler for `set-file-selinux-context'.
1340 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1342 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1343 (tramp-sh-handle-set-file-acl): Return `t' on success.
1345 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1347 * files.el (backup-buffer-copy, basic-save-buffer-2):
1348 If set-file-extended-attributes fails, fall back on set-file-modes
1349 instead of signaling an error. (Bug#13298)
1350 (basic-save-buffer): Likewise.
1352 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1354 * progmodes/python.el: Support other commands triggering
1355 python-indent-line so indentation cycling continues to work.
1356 (python-indent-trigger-commands): New defcustom.
1357 (python-indent-line): Use it.
1359 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1361 * progmodes/python.el (python-shell-send-region): Add blank lines
1362 for non sent code so backtraces remain correct.
1364 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1366 * progmodes/python.el: Remove cl dependency.
1367 (python-syntax-count-quotes): Replace incf call.
1368 (python-fill-string): Replace setf call.
1370 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1372 * info.el (info-other-window): New arg, for consistency with info.
1374 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1376 * mail/rmail.el (rmail-maybe-display-summary):
1377 Rewrite (Bug#13066).
1379 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1381 * epg.el (epg--start): Modify process-environment locally.
1383 2012-12-28 Daiki Ueno <ueno@gnu.org>
1385 * epg.el: Support pinentry-curses.
1386 Suggested by Werner Koch in
1387 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1388 (epg-agent-file, epg-agent-mtime): New variable.
1389 (epg--start): Record the modified time of gpg-agent socket file,
1390 to restore Emacs frame after pinentry-curses termination.
1391 (epg-wait-for-completion): Restore Emacs frame here.
1393 2012-12-27 Juri Linkov <juri@jurta.org>
1395 * info.el (Info-file-completions): New variable.
1396 (Info-read-node-name-1): Complete node names in the Info file
1397 when a file name is given. Call `Info-build-node-completions'
1399 (Info-build-node-completions): Add new arg `file'. When it is
1400 non-nil, visit it in a temporary buffer and cache its completions in
1401 `Info-current-file-completions'. Move most of the function body to
1402 `Info-build-node-completions-1'.
1403 (Info-build-node-completions-1): New function with the body from
1404 `Info-build-node-completions'. (Bug#12456)
1406 2012-12-27 Juri Linkov <juri@jurta.org>
1408 * frame.el (frame-maximization-style): Remove user option.
1409 (cycle-frame-maximized): Remove function.
1410 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1411 (toggle-frame-fullscreen): New command bound to <f11> instead of
1412 `toggle-frame-maximized'.
1413 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1415 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1417 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1419 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1420 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1421 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1422 for `file-accessible-directory-p'. (Bug#13275)
1424 2012-12-27 Sam Steingold <sds@gnu.org>
1426 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1427 continuations, see <http://stackoverflow.com/questions/3582436>.
1429 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1431 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1432 "module" and "def" to have indentation before them.
1433 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1435 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1437 2012-12-27 Alan Mackenzie <acm@muc.de>
1439 Speed up fontification where there's large brace blocks.
1440 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1441 to a call of c-beginning-of-decl-1.
1443 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1445 * comint.el (comint-adjust-window-point): New function.
1446 (comint-postoutput-scroll-to-bottom):
1447 Call comint-adjust-window-point (Bug#13248).
1449 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1451 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1453 (auto-mode-alist): Associate .gemspec files with ruby-mode
1454 (https://bugs.ruby-lang.org/issues/5453).
1456 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1458 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1459 Suppress coloring, if possible (required for BusyBox based systems like
1461 (tramp-adb-handle-file-attributes)
1462 (tramp-adb-handle-insert-directory)
1463 (tramp-adb-handle-file-name-all-completions): Use it.
1464 (tramp-adb-get-toolbox): New defun. Check for remote shell
1465 implementation (BusyBox or Toolbox).
1467 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1469 * startup.el (initial-buffer-choice): Allow function as value
1471 (command-line-1): Handle case where initial-buffer-choice
1472 specifies a function.
1473 * server.el (server-execute): Handle case where
1474 initial-buffer-choice specifies a function.
1476 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1478 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1480 (smtpmail-try-auth-methods): Forget the user name/password if the
1481 login is unsuccessful (bug#12424).
1483 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1485 * notifications.el (notifications-notify): Protect body with
1486 `with-demoted-errors'.
1488 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1489 Check properties of remote device. Restart connection, if there is a
1492 2012-12-21 Chong Yidong <cyd@gnu.org>
1494 * sort.el (sort-subr): Doc fix (Bug#13056).
1496 2012-12-21 Bastien Guerry <bzg@gnu.org>
1498 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1500 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1502 * simple.el (process-file): Overwrite stderr file, if exists.
1504 2012-12-21 Daiki Ueno <ueno@gnu.org>
1506 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1507 (epg-error): Set `error-message' property.
1509 2012-12-21 Chong Yidong <cyd@gnu.org>
1511 * international/mule-cmds.el (read-char-by-name): Signal an error
1512 if the user does not supply a valid character (Bug#13177).
1514 * simple.el (transpose-subr-1): Preserve marker positions by
1515 changing the insertion sequence (Bug#13122).
1517 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1519 * simple.el (kill-region): Deactivate mark even for empty regions
1522 2012-12-21 Chong Yidong <cyd@gnu.org>
1524 * help-fns.el (describe-variable): Make sure we get the right
1525 buffer name (Bug#13105). Suggested by Kelly Dean.
1527 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1529 * comint.el (comint-redirect-previous-input-string): New variable.
1530 (comint-redirect-setup, comint-redirect-cleanup)
1531 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1532 (comint-redirect-preoutput-filter): Fix verbose message.
1534 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1536 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1537 is too long for Tramp. See discussion in
1538 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1540 * progmodes/compile.el (compilation-start): Remove line escape
1543 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1545 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1548 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1550 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1551 following non-comment text (bug#13207).
1552 (lm-header-multiline): Continuation lines need to be indented more than
1554 (lm-homepage): New function.
1555 (lm-with-file): Don't be confused if narrowing is in effect.
1557 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1559 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1560 very beginning of a hunk (e.g. killing the first line).
1562 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1564 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1565 and text properties from returned ACL string.
1566 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1567 for "setfacl" command.
1569 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1571 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1572 `tramp-cleanup-this-connection', when the process has died.
1575 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1577 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1579 2012-12-17 Kevin Ryde <user42@zip.com.au>
1581 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1583 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1585 Add support for preserving ACL entries of files.
1587 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1588 `set-file-acl' handlers.
1590 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1591 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1593 * net/tramp-compat.el (tramp-compat-copy-file):
1594 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1596 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1597 Add `file-acl' and `set-file-acl' handlers.
1598 (tramp-gvfs-handle-copy-file):
1599 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1600 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1603 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1604 Add `file-acl' and `set-file-acl' handlers.
1605 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1606 (tramp-sh-handle-set-file-acl): New defuns.
1607 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1608 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1610 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1611 Add `file-acl' and `set-file-acl' handlers.
1612 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1614 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1616 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1617 use pop-to-buffer with NORECORD argument t. As buffer name, use
1618 *Metahelp* with a leading space (Bug#13190).
1620 2012-12-16 Romain Francoise <romain@orebokech.com>
1622 * files.el (file-extended-attributes)
1623 (set-file-extended-attributes): New functions.
1624 (backup-buffer): Use them to handle both SELinux context and ACL
1626 (backup-buffer-copy): Work with an alist of extended attributes,
1627 rather than an SELinux context.
1628 (basic-save-buffer-2): Ditto.
1630 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1632 * battery.el (battery-bsd-apm): New function.
1634 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1636 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1637 standard date formats.
1639 2012-12-15 Juri Linkov <juri@jurta.org>
1641 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1642 `isearch-insert-char-by-name'.
1643 (with-isearch-suspended): New defmacro with body mostly from
1644 `isearch-edit-string' except the part that sets
1645 `isearch-new-string' and `isearch-new-message'.
1646 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1647 body that sets `isearch-new-string' and `isearch-new-message'.
1648 (isearch-insert-char-by-name): New command.
1649 * international/mule-cmds.el (read-char-by-name): Let-bind
1650 `enable-recursive-minibuffers' to t.
1651 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1653 2012-12-15 Juri Linkov <juri@jurta.org>
1655 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1658 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1660 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1661 the prompt. (Bug#13045)
1663 2012-12-14 Glenn Morris <rgm@gnu.org>
1665 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1666 Try to include filename in non-bytecomp warning. (Bug#13132)
1668 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1670 Fix permissions bugs with setgid directories etc. (Bug#13125)
1671 * files.el (backup-buffer): Don't rely on 9th output of
1672 file-attributes, as it's now a placeholder. Instead, use the new
1673 optional arg of file-ownership-preserved-p.
1674 (file-ownership-preserved-p): New optional arg GROUP.
1675 Fix mishandling of setuid directories that would cause this
1676 function to return t when it should have returned nil.
1677 Document what happens if the file does not exist, and when
1678 it's not known whether the ownership will be preserved.
1679 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1681 (tramp-get-local-gid): Use group-gid for integer, as that's
1682 faster and more reliable.
1684 2012-12-14 Julien Danjou <julien@danjou.info>
1686 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1687 Update keywords list, data type and PL/pgSQL.
1689 2012-12-14 Dave Abrahams <dave@boostpro.com>
1691 * vc/ediff-util.el (ediff-buffer-type): New function.
1692 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1693 rather than taking it as as argument.
1694 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1696 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1698 * json.el: Add pretty-print option (bug#12634).
1699 (json-encoding-separator, json-encoding-default-indentation)
1700 (json--encoding-current-indentation, json-encoding-pretty-print)
1701 (json-encoding-lisp-style-closings): New vars.
1702 (json--with-indentation): New macro.
1703 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1704 (json-encode-array): Use it to obey json-encoding-pretty-print.
1705 (json-pretty-print-buffer, json-pretty-print): New commands.
1707 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1709 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1710 Extract `ruby-syntax-propertize-expansions'.
1711 (ruby-syntax-propertize-expansions): Only change syntax on
1712 certain string delimiters, to punctuation. This way the common
1713 functions like forward-word and thing-at-point still work.
1714 (ruby-match-expression-expansion): Improve readability.
1715 (ruby-block-contains-point): New function.
1716 (ruby-add-log-current-method): Handle several edge cases.
1718 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1720 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1721 unload-feature finishes even when aborting an ongoing edebug session.
1722 Also, do not worry about edebug-mode, unload-feature takes care of it.
1724 2012-12-13 Andreas Schwab <schwab@suse.de>
1726 * net/tls.el (tls-program): Update customize type.
1728 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1730 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1731 (edebug-setup-hook, cl-read-load-hooks): Use it.
1732 (edebug-unload-function): New function. (Bug#13163)
1734 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
1736 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1737 Otherwise, there could be errors in autoloading. (Bug#13151)
1739 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1741 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1744 2012-12-13 Alan Mackenzie <acm@muc.de>
1746 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1747 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1748 around `forward-comment' not recognizing ^M as whitespace.
1750 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
1752 * progmodes/python.el (python-skeleton-class)
1753 (python-skeleton-def): Do not add space after defun name.
1755 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1757 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1758 (cl--symbol-function): Remove (now that funbound is like nil).
1760 2012-12-12 Glenn Morris <rgm@gnu.org>
1762 * button.el (button--area-button-p): Fix typo.
1764 2012-12-12 Sam Steingold <sds@gnu.org>
1766 * frame.el (frame-maximization-style): New user option.
1767 (toggle-frame-maximized): Toggle frame maximization according to
1768 `frame-maximization-style', bound to <f11>.
1769 (cycle-frame-maximized): Cycle between all maximization styles and
1770 non-maximized frame, bound to shift-<f11>.
1772 2012-12-12 David Cadé <codename68@gmail.com>
1774 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1776 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1778 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1779 (eieio-override-prin1): Don't quote kewords and booleans.
1780 (object-write) <eieio-default-superclass>: Don't put closing parens
1781 on new line, avoid needless empty lines, align values that are objects
1782 with the slot keyword (instead of beginning on the same line).
1783 (eieio-list-prin1): Align value with slot keyword; increase
1784 eieio-print-depth before printing members of the list.
1786 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1788 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1789 a display text-property.
1790 (report-emacs-bug-hook): Don't bother deleting it any more.
1792 * hilit-chg.el (highlight-save-buffer-state): Delete.
1793 Use with-silent-modifications instead.
1794 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1796 * button.el: Handle buttons in display text-properties.
1797 (button--area-button-p, button--area-button-string):
1798 Use (STRING . STRING-POS) representation instead of just STRING.
1800 2012-12-11 Eli Zaretskii <eliz@gnu.org>
1802 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1803 subdirectory be skipped.
1805 2012-12-11 Glenn Morris <rgm@gnu.org>
1807 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1809 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1810 Treat preprocessor lines embedded in continuations like comments.
1811 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1813 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1815 * calc/calc.el (calc-standard-date-formats): Add more date
1817 * calc/calc-forms.el (math-parse-iso-date): New function.
1818 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1819 (math-parse-iso-date-validate): Add extra error checking.
1820 (calc-date-notation): Add ability to access new date formats.
1822 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1824 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1825 font-lock as well as when there's no text-property.
1827 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
1829 * hi-lock.el: Refine the choice of default face.
1830 (hi-lock-keyword->face): New function. Use it wherever we used
1832 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1833 (hi-lock--last-face): Remove var.
1834 (hi-lock--unused-faces): New var to replace it.
1835 (hi-lock-read-face-name): Use/maintain it.
1836 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1837 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1838 if it has another face.
1840 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1842 * subr.el (w32notify-handle-event): New function.
1843 (inotify-handle-event): Doc fix.
1845 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1847 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1849 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
1851 * simple.el (just-one-space): Doc fix.
1853 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1855 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
1857 2012-12-10 Le Wang <l26wang@gmail.com>
1859 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1860 narrowed buffer (bug#12361).
1862 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
1864 * vc/vc-hooks.el (vc-state): Doc fix.
1866 2012-12-10 Glenn Morris <rgm@gnu.org>
1868 * mail/rmail.el (rmail-maybe-display-summary):
1869 Preserve buffer, in case select-window changes it. (Bug#13066)
1871 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1873 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1874 cl-load-hook where they belong.
1876 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1878 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1880 2012-12-09 Eli Zaretskii <eliz@gnu.org>
1882 Parallelize byte compilation on MS-Windows.
1883 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
1884 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
1885 (WINS_BASIC): Define as concatenation of the above.
1886 (compile): Subdivide into 4 separate and independent jobs that can
1888 (compile0-CMD, compile0-SH): New targets for compiling
1889 COMPILE_FIRST files, which are prerequisites for the rest of the
1891 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1892 New targets for parallel compilation with cmd.exe.
1893 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1894 compiling under a Unixy shell.
1896 2012-12-09 Chong Yidong <cyd@gnu.org>
1898 * simple.el (set-mark-default-inactive): Delete this
1899 accidentally-introduced option.
1900 (set-mark-command, exchange-point-and-mark): Remove calls.
1902 2012-12-09 Glenn Morris <rgm@gnu.org>
1904 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1905 Respect a defcustom's :set function, if appropriate. (Bug#109)
1906 (eval-defun): Doc fix.
1908 2012-12-08 Juri Linkov <juri@jurta.org>
1910 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1911 (Info-fontify-node, Info-bookmark-make-record): Remove the
1912 file extension from Info-current-file (Bug#13016).
1914 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1916 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1917 point, still provide some default.
1918 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1919 names, since we don't use it right now. Actually return the list.
1920 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1922 2012-12-07 Chong Yidong <cyd@gnu.org>
1924 * novice.el (disabled-command-function): Remove a spurious help
1925 xref (Bug#13043). Suggested by Kelly Dean.
1927 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1928 syntax is specified (Bug#13025).
1930 * info.el (Info-set-mode-line): Remove the file extension from
1931 Info-current-file if there is one (Bug#13016).
1933 2012-12-07 Glenn Morris <rgm@gnu.org>
1935 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1936 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1937 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1938 and rmail-mime-decoded. (Bug#9841)
1940 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1941 (batch-unrmail, unrmail): Doc fixes.
1942 (unrmail): Respect unrmail-mbox-format.
1943 * mail/rmail.el (rmail-mbox-format): New option.
1944 (rmail-show-message-1): Respect rmail-mbox-format.
1946 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1948 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1950 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1952 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1953 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1954 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1955 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1956 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1957 (cl-progv): Don't rely on dynamic scoping to find the body.
1958 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1959 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1960 (cl-declaim): Use backquotes.
1961 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1962 Use "cl--" prefix for the object's tag.
1964 * ses.el: Use advice-add/remove.
1965 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1966 (copy-region-as-kill, yank): Use advice-add.
1967 (ses-unload-function): Use advice-remove.
1969 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1971 * button.el: Make them work in header-lines (bug#12817).
1972 (button-map): Add bindings for header-line and mode-line use.
1973 (button-get, button-put, button-label): `button' may now be a string.
1974 (button-activate): Don't make it a defsubst.
1975 (button--area-button-p, button--area-button-string): New functions.
1976 (make-text-button): Fix the return value when `beg' was a string.
1977 (push-button): Handle the mode-line case.
1979 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1981 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1982 (sql-signum): Remove. Use `cl-signum' instead.
1983 (sql-read-passwd): Remove; use read-passwd instread.
1984 (sql-get-login-ext): Use read-string.
1985 (sql-get-login): Use dolist and pcase.
1986 (sql--completion-table): Rename from sql-try-completion.
1987 Use complete-with-action.
1988 (sql-mode): Don't change abbrev-all-caps globally.
1989 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1990 (sql-postgres-completion-object): Initialize vars in their `let'.
1991 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1992 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1993 (sql-comint-interbase): Use a single append, without setq.
1994 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1996 * hi-lock.el: Rework the default face and the serialize regexp code.
1997 (hi-lock--auto-select-face-defaults): Remove.
1998 (hi-lock-string-serialize-serial): Remove.
1999 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2001 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2003 (hi-lock-set-pattern): Adjust accordingly.
2004 (hi-lock--regexps-at-point): Simplify accordingly.
2005 (hi-lock--auto-select-face-defaults): Remove.
2006 (hi-lock--last-face): New var to replace it.
2007 (hi-lock-read-face-name): Rewrite (bug#11095).
2008 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2010 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2012 * net/tramp.el (tramp-replace-environment-variables):
2013 Hide compiler warning.
2014 (tramp-file-name-for-operation): Remove `executable-find',
2015 `start-process', `call-process' and `call-process-region'.
2017 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2019 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2022 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2024 2012-12-06 Chong Yidong <cyd@gnu.org>
2026 * ffap.el (ffap-replace-file-component): Fix typo.
2028 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2030 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2031 fix open-paren-like token test (bug#12785).
2033 2012-12-06 Glenn Morris <rgm@gnu.org>
2035 * mail/rmailsum.el (rmail-new-summary): Tweak for
2036 rmail-maybe-display-summary changing buffer. (Bug#13066)
2038 2012-12-06 Juri Linkov <juri@jurta.org>
2040 * info.el (Info-fontify-node): Don't hide the last newline.
2043 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2045 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2046 so as to enable message-read-from-minibuffer to expand mail aliases.
2048 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2050 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2051 the `intangible' property.
2052 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2054 2012-12-05 Deniz Dogan <deniz@dogan.se>
2056 * net/rcirc.el (rcirc-urls): Update documentation.
2057 (rcirc-condition-filter): New function.
2058 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2059 and exclude consecutive duplicate URLs (Bug#6082).
2061 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2063 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2064 Check return code of copy command.
2066 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2067 Use group `tramp'. Add version.
2069 2012-12-05 Chong Yidong <cyd@gnu.org>
2071 * ffap.el (ffap-url-regexp): Don't require matching at front of
2073 (ffap-url-p): If only a substring matches, return that.
2074 (ffap-url-at-point): Use the return value of ffap-url-p.
2075 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2076 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2077 (ffap-guess-file-name-at-point): Likewise.
2078 (ffap-replace-file-component): Fix typo.
2080 * info.el (info-display-manual): Add existing Info buffers, whose
2081 files may not be in Info-directory-list, to the completion.
2082 (info--manual-names): New helper function.
2084 2012-12-05 Glenn Morris <rgm@gnu.org>
2086 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2087 New functions, for detecting and resolving conflicts. (Bug#10709)
2089 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2091 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2092 (hi-lock-auto-select-face-defaults): New buffer local variable.
2093 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2094 (hi-lock-unface-buffer): Prompt user with useful defaults.
2095 With prefix arg, unhighlight all hi-lock patterns in buffer.
2097 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2099 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2101 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2103 * Makefile.in (TRAMP_SRC):
2104 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2106 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2108 * net/tramp-adb.el: New package.
2110 2012-12-04 Chong Yidong <cyd@gnu.org>
2112 * terminal.el: Move to obsolete/.
2114 * longlines.el: Move to obsolete/.
2116 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2117 Remove code referring to longlines mode.
2119 2012-12-03 Juri Linkov <juri@jurta.org>
2121 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2123 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2125 * textmodes/ispell.el (ispell-init-process)
2126 (ispell-start-process, ispell-internal-change-dictionary):
2127 Make sure personal dictionary name is expanded after initial
2128 `default-directory' value. Use expanded strings for
2129 keep/restart checks and for value (Bug#13019).
2131 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2133 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2135 2012-12-03 Leo Liu <sdl.web@gmail.com>
2137 * files.el (dir-locals-read-from-file): Check file non-empty
2138 before reading. (Bug#13038)
2140 2012-12-03 Glenn Morris <rgm@gnu.org>
2142 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2143 Remove any version extension before checking filename. (Bug#13006)
2144 (jka-compr-compression-info-list): Belated :version bump.
2146 2012-12-03 Chong Yidong <cyd@gnu.org>
2148 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2150 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2151 (buffer-menu): Doc fix (Bug#12294).
2153 2012-12-03 Roland Winkler <winkler@gnu.org>
2155 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2156 of diary-show-all-entries in the diary buffer (Bug#12994).
2158 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2160 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2161 "<STDIN>". This is binary safe.
2163 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2165 * calc/calc-forms.el (math-absolute-from-iso-dt)
2166 (math-date-to-iso-dt, math-parse-iso-date-validate)
2167 (math-iso-dt-to-date): New functions.
2168 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2169 (math-fd-isoweekday): New variables.
2170 (calc-date-notation, math-parse-standard-date, math-format-date)
2171 (math-format-date-part): Add support for more formatting codes.
2173 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2175 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2176 current buffer's file name when called interactively (Bug#12488).
2178 2012-12-02 Juri Linkov <juri@jurta.org>
2180 * info.el (info-display-manual): Don't clobber an existing Info
2181 buffer (Bug#10770). Add completion (Bug#10771).
2183 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2185 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2186 before using it for comparison (Bug#5297).
2188 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2190 * textmodes/css-mode.el (css-current-defun-name): New function.
2193 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2194 (html-mode): Use it.
2196 2012-12-01 Chong Yidong <cyd@gnu.org>
2198 Modularize add-log-current-defun (Bug#2224).
2199 Suggested by Jari Aalto.
2201 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2202 (add-log-current-defun): Move mode-specific code to other files.
2203 (add-log-lisp-like-modes, add-log-c-like-modes)
2204 (add-log-tex-like-modes): Variables deleted.
2206 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2207 (lisp-mode-variables): Use it.
2209 * progmodes/cc-mode.el (c-common-init):
2210 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2211 add-log-current-defun-function.
2213 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2216 * progmodes/perl-mode.el (perl-current-defun-name): New.
2217 (perl-mode): Use it.
2219 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2220 Use lisp-current-defun-name.
2222 * textmodes/tex-mode.el (tex-current-defun-name): New.
2223 (tex-common-initialization): Use it.
2225 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2226 (texinfo-mode): Use it.
2228 2012-12-01 Chong Yidong <cyd@gnu.org>
2230 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2231 * progmodes/autoconf.el (autoconf-mode):
2232 * progmodes/js.el (js-mode):
2233 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2234 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2235 * progmodes/perl-mode.el (perl-mode):
2236 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2237 * textmodes/css-mode.el (css-mode):
2238 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2239 (sgml-tags-invisible, sgml-guess-indent):
2240 * textmodes/tex-mode.el (tex-common-initialization)
2241 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2242 (doctex-mode, plain-tex-mode, latex-mode):
2243 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2245 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2247 * vc/vc-hg.el (vc-hg-next-revision):
2248 Ensure use of default "tip" output format. (Bug#6968)
2250 2012-12-01 Kim F. Storm <storm@cua.dk>
2252 * startup.el (fancy-startup-tail): Add a clickable link
2255 2012-12-01 Chong Yidong <cyd@gnu.org>
2257 * startup.el (fancy-startup-tail): Improve the message about
2258 auto-save files (Bug#2176).
2260 * files.el (recover-session): Improve the descriptive message, and
2261 use substitute-command-keys.
2263 2012-12-01 Glenn Morris <rgm@gnu.org>
2265 * ido.el (ido-file-internal):
2266 Handle other-window, other-frame for dired. (Bug#13036)
2268 2012-11-30 Glenn Morris <rgm@gnu.org>
2270 * icomplete.el (icomplete-separator): Fix :version.
2272 2012-11-30 Chong Yidong <cyd@gnu.org>
2274 * shell.el (shell): For C-u M-x shell, use an inactive shell
2275 buffer as the default (Bug#1975).
2276 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2277 (shell-mode): Use them to reapply ansi colorization if Shell mode
2280 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2282 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2284 2012-11-30 Samuel Bronson <naesten@gmail.com>
2286 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2287 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2289 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2291 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2292 by move-to-column (Bug#3234).
2294 2012-11-30 Chong Yidong <cyd@gnu.org>
2296 * longlines.el (longlines-wrap-line, longlines-encode-region):
2297 Preserve text properties (Bug#1425).
2299 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2301 * vc/vc.el (vc-register): Allow registering a file which is
2302 already registered with a different backend (Bug#10589).
2304 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2305 Stefan Monnier <monnier@iro.umontreal.ca>
2307 * icomplete.el: Change separator; add ido-style commands.
2308 (icomplete-show-key-bindings): Remove custom var.
2309 (icomplete-get-keys): Remove function.
2310 (icomplete-forward-completions, icomplete-backward-completions):
2312 (icomplete-minibuffer-map): New var.
2313 (icomplete-minibuffer-setup): Use it.
2314 (icomplete-exhibit): Don't delay if the list of completions is known.
2315 (icomplete-separator): New custom.
2316 (icomplete-completions): Use it.
2317 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2318 (minibuffer-force-complete-and-exit): New command.
2319 (minibuffer--complete-and-exit): New function extracted from
2320 minibuffer-complete-and-exit.
2321 (minibuffer-complete-and-exit): Use it.
2323 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2324 error message when the file doesn't exist (bug#12974).
2326 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2328 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2330 2012-11-29 Glenn Morris <rgm@gnu.org>
2332 * files.el (hack-dir-local-variables): Warn if try to set
2333 coding via dir-locals, since it doesn't work. (Bug#7169)
2335 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2336 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2337 Set buffer-local value of desktop-save-buffer.
2338 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2340 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2341 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2343 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2344 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2346 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2349 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2351 * calc/calc-forms.el (calc-date-notation): Fix regexp
2352 used to find time codes. Fix symbol for seconds.
2354 2012-11-27 Glenn Morris <rgm@gnu.org>
2356 * emacs-lisp/derived.el (derived-mode-make-docstring):
2357 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2359 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2361 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2362 lexically scoped variables (bug#13005).
2364 2012-11-27 Glenn Morris <rgm@gnu.org>
2366 * vc/vc-hooks.el (vc-mistrust-permissions):
2367 Default to t, to avoid data-loss. (Bug#11490)
2369 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2371 * progmodes/python.el (python-indent-guess-indent-offset):
2372 If indentation is guessed make python-indent-offset buffer-local.
2374 Fix Imenu regression.
2375 * progmodes/python.el (python-nav-beginning-of-defun):
2376 Fix forward movement when statement(s) separates point from defun.
2377 (python-imenu-prev-index-position): New function.
2379 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2381 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2383 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2384 Don't set buffer-file-type. Return nil. (Bug#12989)
2386 2012-11-27 Glenn Morris <rgm@gnu.org>
2388 * hippie-exp.el (hippie-expand-try-functions-list):
2389 Re-autoload it. (Bug#12982)
2391 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2393 * descr-text.el (describe-char-padded-string):
2394 Call internal-char-font only on GUI frames. (Bug#11964)
2396 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2398 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2399 and obsoletion message.
2401 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2403 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2404 the constructs to keep outside of the `cl-block' (bug#12977).
2406 2012-11-27 Chong Yidong <cyd@gnu.org>
2408 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2409 keep reading until we get the up-event anyway, in order to process
2410 the up-event for mouse-1-click-follows-link (Bug#12971).
2412 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2414 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2415 base function is not yet defined (bug#12965).
2416 (ad-activate-advised-definition): Use ad-compile-function.
2417 (ad-activate): Use cond.
2419 2012-11-25 Leo Liu <sdl.web@gmail.com>
2421 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2424 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2426 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2427 reftex-section-info-function in order to be compatible with
2428 Texinfo integration.
2430 * textmodes/reftex.el (reftex-section-pre-regexp)
2431 (reftex-section-post-regexp, reftex-section-info-function):
2433 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2434 reftex-section-post-regexp, and reftex-section-info-function in order
2435 to be compatible with Texinfo integration.
2437 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2438 use reftex-section-pre-regexp variable in order to be compatible with
2439 Texinfo integration.
2441 2012-11-25 Chong Yidong <cyd@gnu.org>
2443 * faces.el: Make face-spec-set more analogous to setq.
2444 (face-spec-set): Change the third arg to specify whether this
2445 function is being called via defface, customize, or a third party.
2446 Set the appropriate symbol properties. Clear the override spec if
2447 setting via Custom. Initialize face if necessary. (Bug#4988)
2448 (face-spec-recalc): Allow theme faces to completely replace the
2449 defface spec, in the same way as custom faces (Bug#8454).
2451 * cus-face.el (custom-declare-face): Move face initialization to
2453 (custom-theme-set-faces): Don't initialize the face name here, as
2454 that is now done in face-spec-set.
2456 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2457 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2458 Simplify by using the new arg to face-spec-set.
2460 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2461 reset face-override-spec too, and use custom-declare-face.
2463 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2465 * term/ns-win.el (ns-initialize-window-system): Move creation of
2466 fontsets here (Bug#11964).
2468 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2470 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2473 2012-11-24 Chong Yidong <cyd@gnu.org>
2475 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2478 * custom.el (custom-theme-set-variables): Use a topological sort
2479 for ordering by custom dependencies (Bug#12952).
2480 (custom--sort-vars, custom--sort-vars-1): New functions.
2482 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2484 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2485 lexical-binding (bug#12938).
2487 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2489 * image-mode.el (image-transform-check-size): Use assertions only
2490 for images of type imagemagick.
2492 Otherwise no error, image-transform-fit-to-{width,height} is
2493 silently ignored, as before. Doc fix.
2495 2012-11-24 Chong Yidong <cyd@gnu.org>
2497 * faces.el (color-defined-p): Doc fix (Bug#12853).
2499 2012-11-24 Juri Linkov <juri@jurta.org>
2501 * dired.el (dired-mark): Add optional arg `interactive'.
2502 Check for `use-region-p' if `interactive' is non-nil.
2503 (dired-unmark, dired-flag-file-deletion): Add optional arg
2504 `interactive'. Call `dired-mark' with the arg `interactive'.
2507 * wdired.el: Revert 2012-10-17 change partly and replace it with
2508 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2509 (wdired-finish-edit): Add marks for new file names to
2510 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2511 after `revert-buffer'.
2512 (wdired-do-renames): Remove calls to `dired-remove-file',
2513 `dired-add-file', `dired-add-entry'. (Bug#11795)
2515 2012-11-24 Alan Mackenzie <acm@muc.de>
2517 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2519 Fix bugs in the state cache. Enhance a debugging mechanism.
2520 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2521 "brace at column zero" strategy for C++.
2522 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2523 (c-parse-state-point): New variable.
2524 (c-record-parse-state-state): Record old parse state with
2525 `copy-tree'. Record previous value of point.
2526 (c-debug-parse-state-double-cons): New debugging function.
2527 (c-debug-parse-state): Call the above new function.
2528 (c-toggle-parse-state-debug): Output a confirmatory message.
2530 * progmodes/cc-mode.el (c-before-change, c-after-change):
2531 Call c-invalidate-state-cache from `c-before-change' instead of
2534 2012-11-23 Chong Yidong <cyd@gnu.org>
2536 * find-cmd.el (find-constituents): Add executable, ipath,
2537 readable, samefile, writable, daystart, regextype (Bug#12856).
2539 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2541 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2543 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2545 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2546 definition. This fixes a bootstrap failure.
2547 (calc-gregorian-switch): In menu, put dates before regions.
2548 This is easier to follow, lines up better in the menu, and lets us
2549 coalesce regions that switch at the same time. Give country
2550 names, not "Vatican", as that's better for non-expert users.
2551 Use names that are stable between the date of switch and now, e.g.,
2552 Bohemia and Moravia (which existed then and now) and not
2553 Czechoslovakia (which didn't exist then and doesn't exist now).
2554 What is now the U.S. mostly did not switch at the same time as
2555 Britain, so omit the U.S. Correct spelling of "Britain".
2556 Catholic Switzerland was too much of a mess, so omit it.
2558 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2560 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2561 after the variable is changed.
2563 2012-11-21 Daniel Colascione <dancol@dancol.org>
2565 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2566 in SQL declarations for font-lock.
2567 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2569 2012-11-21 Glenn Morris <rgm@gnu.org>
2571 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2572 (face-italic-p): Add optional argument "inherit".
2574 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2575 Remove -p suffix from names, for consistency with other set-face-*.
2576 (set-face-inverse-video): Fix interactive spec.
2577 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2578 * textmodes/table.el (table--update-cell-face):
2579 Use set-face-inverse-video rather than now obsolete alias.
2581 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2583 * simple.el (line-move): Don't call line-move-partial if
2584 scroll-conservatively is in effect. (Bug#12927)
2586 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2588 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2589 Fallback on completion-at-point rather than
2590 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2591 (eshell-cmpl-initialize): Setup completion-at-point.
2593 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2595 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2597 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2599 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2600 are remote, check out-of-band property for both.
2602 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2604 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2607 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2609 More minor time fixes.
2610 * calendar/time-date.el: Commentary fix.
2611 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2612 too much other code depends on (0 0) time stamps.
2613 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2614 Add a couple of FIXME comments.
2616 Minor cleanup for times as lists of four integers.
2617 * files.el (dir-locals-directory-cache):
2618 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2620 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2621 * ps-bdf.el (bdf-file-newer-than-time):
2622 Process four-integers time stamps, not two. Doc fixes.
2624 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2626 * uniquify.el (uniquify-managed): Use defvar-local.
2627 (rename-buffer, create-file-buffer): Advise with advice-add.
2628 (uniquify-unload-function): Unadvise accordingly.
2630 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2631 (trace-buffer): Don't purecopy.
2632 (trace-entry-message, trace-exit-message): Add `context' arg.
2633 (trace--timer): New var.
2634 (trace-make-advice): Adjust for use in nadvice.
2635 Add `context' argument. Delay `display-buffer' via a timer.
2636 (trace-function-internal): Use advice-add.
2637 (trace--read-args): New function.
2638 (trace-function-foreground, trace-function-background): Use it.
2639 (trace-function): Rename to trace-function-foreground and redefine as
2640 an alias to that new name.
2641 (untrace-function, untrace-all): Adjust to the use of nadvice.
2643 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2645 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2647 * subr.el (called-interactively-p-functions): New var.
2648 (internal--called-interactively-p--get-frame): New macro.
2649 (called-interactively-p, interactive-p): Rewrite in Lisp.
2650 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2651 (called-interactively-p-functions): Use it.
2652 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2653 (called-interactively-p-functions): Use it.
2654 * allout.el (allout-called-interactively-p): Don't assume
2655 called-interactively-p is a subr.
2657 2012-11-20 Glenn Morris <rgm@gnu.org>
2659 * profiler.el (profiler-report-mode-map): Add a menu.
2660 No need to bind `q' because we derive from special-mode.
2661 (profiler-report-find-entry): Handle calls from the menu-bar.
2663 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2665 * emacs-lisp/byte-run.el (defun-declarations-alist):
2666 Allow a compiler-macro to be a lambda expression.
2668 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2670 (python-syntax-context): Add compiler-macro.
2671 (python-font-lock-keywords): Simplify with De Morgan.
2673 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2675 * files.el (load-file): Require match in minibuffer selection, as was
2676 the case in Emacs-20 before we changed the spec to allow .elc files
2679 * json.el: Don't require cl since we don't use it.
2680 * color.el: Don't require cl.
2681 (color-complement): `caddr' -> `nth 2'.
2683 * calendar/time-date.el (time-to-seconds): De-obsolete.
2685 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2687 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2689 (math-date-to-julian-dt): Adjust the initial approximation for the
2690 year to deal with the new definition of the DATE.
2692 2012-11-19 Daniel Colascione <dancol@dancol.org>
2694 * term/w32-win.el (cygwin-convert-path-from-windows):
2695 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
2697 2012-11-18 Chong Yidong <cyd@gnu.org>
2699 * filecache.el (file-cache--read-list): New function.
2700 (file-cache-add-directory-list, file-cache-add-file-list)
2701 (file-cache-delete-file-list, file-cache-delete-directory-list):
2702 Use it to read a list of files or directories (Bug#12846).
2703 (file-cache-add-file, file-cache-add-directory)
2704 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2705 (file-cache-delete-directory): Print an message.
2707 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2709 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2710 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2712 2012-11-18 Glenn Morris <rgm@gnu.org>
2714 * image.el (insert-image, insert-sliced-image): Doc fix.
2716 2012-11-18 Chong Yidong <cyd@gnu.org>
2718 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2721 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2723 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2724 response when the target file is in a subdirectory (Bug#12757).
2726 2012-11-18 Chong Yidong <cyd@gnu.org>
2728 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2730 2012-11-18 Glenn Morris <rgm@gnu.org>
2732 * emacs-lisp/cl-lib.el (face-underline-p):
2733 Use set-face-underline rather than the alias set-face-underline-p.
2735 * window.el (with-temp-buffer-window): Doc fix.
2736 * subr.el (with-output-to-temp-buffer):
2737 Add doc xref to with-temp-buffer-window.
2739 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
2741 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2742 * calc/calc.el (math-format-date-cache): Declare.
2744 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2746 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2747 It also uses January 1, 1 AD as its day number 1.
2748 * calc/calc-forms.el (math-julian-date-beginning)
2749 (math-julian-date-beginning-int): Implement this.
2751 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
2753 * descr-text.el (quail-find-key):
2754 * dired.el (desktop-file-name):
2755 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2756 * generic-x.el (comint-mode, comint-exec):
2757 * image-dired.el (widget-forward):
2758 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2759 (speedbar-change-expand-button-char)
2760 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2761 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2762 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2763 (widget-field-action, widget-value-set):
2764 * speedbar.el (imenu--make-index-alist):
2765 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2766 (ring-length, ring-insert):
2767 * vcursor.el (compare-windows-skip-whitespace):
2768 * woman.el (dired-get-filename):
2771 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2773 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2775 * calc/calc.el (calc-gregorian-switch): New variable.
2777 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2778 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2779 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2780 (math-leap-year-p): Add option to distinguish between Julian
2781 and Gregorian calendars.
2782 (math-day-number): Use `math-day-in-year' to do the computations.
2783 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2784 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2785 to do the computations.
2786 (math-date-to-dt): Use `math-date-to-julian-dt' and
2787 `math-date-to-gregorian-dt' to do the computations.
2788 (calcFunc-weekday, math-format-date-part): Use the new version of
2789 the DATE to determine the weekday.
2790 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2793 2012-11-17 Eli Zaretskii <eliz@gnu.org>
2795 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2796 Cygwin; otherwise use 'file:'. (Bug#12914)
2797 (cygwin-convert-path-from-windows): Declare, to avoid
2798 byte-compiler warnings.
2800 2012-11-17 Andreas Politz <politza@fh-trier.de>
2802 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2803 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2804 prefix and negative numeric prefix args (Bug#12795).
2806 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
2808 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2809 Don't signal an error with a score that is too low to add to the
2810 list of top scores. (Bug#12779)
2812 2012-11-17 Chong Yidong <cyd@gnu.org>
2814 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2816 * filecache.el (file-cache-add-file): Handle relative file name in
2817 the argument (Bug#12694).
2819 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2821 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2823 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2825 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2827 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2829 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2831 * window.el (enlarge-window, shrink-window): Don't mention return
2832 value in doc-string (Bug#12896).
2833 (window--display-buffer): Don't resize frames - it won't work
2834 with all window managers and defeat pop-up-frame-alist.
2835 (display-buffer-alist): In doc-string explain that CONDITION can
2836 be a function and which arguments are passed to it (Bug#12854).
2837 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2838 expressions (Bug#12854).
2839 (display-buffer): Pass ACTION argument to
2840 display-buffer-assq-regexp.
2842 2012-11-16 Glenn Morris <rgm@gnu.org>
2844 * window.el (fit-frame-to-buffer-bottom-margin)
2845 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2847 * faces.el (face-underline-p): Use face-attribute-specified-or.
2849 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
2851 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2853 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2855 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2857 2012-11-16 Glenn Morris <rgm@gnu.org>
2859 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2860 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2862 * faces.el (face-underline-p): Doc fix. Handle :underline being
2863 things other than `t' (a string, a list).
2864 (face-inverse-video-p): Doc fix.
2865 (set-face-underline): Rename it back from set-face-underline-p.
2866 Doc fix. Allow interactive input of values other than t.
2867 (read-face-attribute): Apply formatting to :underline,
2868 since like :box and :stipple it can take list values.
2870 * term.el (ansi-term): Don't let C-x escape-char binding
2871 clobber the more standard C-c binding. (Bug#12842)
2873 * subr.el (set-temporary-overlay-map): Doc fix.
2875 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2877 * window.el (record-window-buffer)
2878 (display-buffer-record-window): When copying the markers to
2879 window-point preserve window-point-insertion-type. (Bug#12588)
2881 2012-11-16 Glenn Morris <rgm@gnu.org>
2883 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2884 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2885 Use new names for hooks rather than obsolete aliases.
2887 2012-11-15 Daniel Colascione <dancol@dancol.org>
2889 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
2890 prefix instead of "file:" so that when FILE-NAME begins with "//",
2891 as it does when the target file is on a network share, url-handler
2894 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2896 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2897 a preactivated advice from an old advice.el; they're not compatible!
2899 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2901 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2902 Fix string-spec case.
2904 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2906 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2908 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2909 (advice--buffer-local-function-sample): New var.
2910 (advice--set-buffer-local, advice--buffer-local): New functions.
2911 (add-function, remove-function): Use them.
2913 2012-11-15 Drew Adams <drew.adams@oracle.com>
2915 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2917 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2919 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2920 potential binding of print-gensym to t, and prettify (back)quotes in
2921 case they appear in args's default values (bug#12884).
2923 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2925 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2926 (advice-eval-interactive-spec): New function.
2927 (advice--make-interactive-form): Support around advice (bug#12844).
2929 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2931 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2932 more strict. Add docstring.
2933 (ruby-expression-expansion-re): Extract from
2934 `ruby-match-expression-expansion'.
2935 (ruby-syntax-propertize-function): After everything else, search
2936 for expansions in string literals, mark their insides as
2937 whitespace syntax and save match data for font-lock.
2938 (ruby-font-lock-keywords): Use the 2nd group from expression
2940 (ruby-match-expression-expansion): Use the match data saved to the
2941 text property in ruby-syntax-propertize-function.
2943 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2945 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2948 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2950 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2951 start/end keyword a bit harder. Works with different values of N.
2953 (ruby-end-of-block): Update accordingly.
2955 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2957 * woman.el (woman-file-name): Don't mess with unread-command-events
2960 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2961 Remove out of date self-require hack.
2962 (ad-do-advised-functions): Use simple `dolist'.
2963 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2964 (ad-advice-definition): Redefine as functions.
2965 (ad-advice-classes): Move before first use.
2966 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
2967 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
2968 (ad--defalias-fset): Remove functions.
2969 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
2970 (ad-get-orig-definition): Rewrite.
2971 (ad-make-advised-definition-docstring): Change base docstring.
2972 (ad-real-orig-definition): Rewrite.
2973 (ad-map-arglists): Change name of called function.
2974 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2975 (ad-make-advised-definition): Simplify.
2976 (ad-assemble-advised-definition): Tweak for new calling context.
2977 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
2978 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2979 function and call ad-activate if needed.
2980 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2981 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2982 (ad-compile-function): Compile ad-Advice-*.
2983 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2984 (ad-start-advice, ad-stop-advice): Remove.
2986 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2988 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2989 period before class method names, not after. Remove handling of
2990 one impossible case. Add comments.
2992 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2994 * emacs-lisp/advice.el: Remove support for freezing.
2995 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2996 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2997 Remove support for `freeze'.
2999 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3000 override the default.
3001 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3003 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3006 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3008 (advice--strip-macro): New function.
3009 (advice--defalias-fset): Use them to handle macros.
3010 (advice-add): Use them.
3011 (advice-member-p): Correctly handle macros.
3013 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3015 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3016 Never font-lock the beginning of singleton class as heredoc.
3018 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3020 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3022 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3024 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3025 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3026 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3028 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3030 Fix end-of-defun misbehavior.
3031 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3032 python-beginning-of-defun-function. Handle nested defuns
3034 (python-nav-end-of-defun): Rename from
3035 python-end-of-defun-function. Ensure forward movement.
3036 (python-info-current-defun): Reimplement to work as intended
3037 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3038 parent defuns as soon as possible.
3040 2012-11-13 Glenn Morris <rgm@gnu.org>
3042 * progmodes/flymake.el (flymake-error-bitmap)
3043 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3044 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3046 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3048 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3049 backward, always stop at indentation. Reverts the change from
3050 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3052 2012-11-13 Glenn Morris <rgm@gnu.org>
3054 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3055 Add ibuffer-filter-by-derived-mode.
3057 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3058 the same name shadowing each other.
3060 * window.el (with-temp-buffer-window): Doc tweak.
3062 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3064 * help.el (temp-buffer-max-height):
3065 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3066 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3068 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3070 * emacs-lisp/nadvice.el: New package.
3071 * subr.el (special-form-p): New function.
3072 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3073 (elp-all-instrumented-list): Remove var.
3074 (elp-not-profilable): Remove elp-wrapper.
3075 (elp-profilable-p): Use autoloadp and special-form-p.
3076 (elp--advice-name): New const.
3077 (elp-instrument-function): Use advice-add.
3078 (elp--instrumented-p): New predicate.
3079 (elp-restore-function): Use advice-remove.
3080 (elp-restore-all, elp-reset-all): Use mapatoms.
3081 (elp-set-master): Use elp--instrumented-p.
3082 (elp--make-wrapper): Rename from elp-wrapper, return a function
3083 suitable for advice-add. Use cl-inf.
3084 (elp-results): Use mapatoms+elp--instrumented-p.
3085 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3086 (debug-function-list): Remove var.
3087 (debug): Rename arg, and then let-bind it explicitly inside.
3088 (debugger-setup-buffer): Rename arg.
3089 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3090 (debugger-frame-number): Adjust to new debug-on-entry setup.
3091 (debug--implement-debug-on-entry): Rename from
3092 implement-debug-on-entry, add argument.
3093 (debugger-special-form-p): Remove, use special-form-p instead.
3094 (debug-on-entry): Use advice-add.
3095 (debug--function-list): New function.
3096 (cancel-debug-on-entry): Use it, along with advice-remove.
3097 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3098 (debugger-list-functions): Use debug--function-list instead of
3099 debug-function-list.
3100 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3101 (ad-special-form-p): Remove, use special-form-p instead.
3102 (ad-set-advice-info): Use add-function and remove-function.
3103 (ad--defalias-fset): Adjust accordingly.
3105 2012-11-10 Glenn Morris <rgm@gnu.org>
3107 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3108 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3109 (report-emacs-bug-create-existing-bugs-buffer)
3110 (report-emacs-bug-parse-query-results)
3111 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3113 * term.el (term-default-fg-color, term-default-bg-color):
3114 Make obsolete, rather than just saying "deprecated" in the doc.
3116 * term.el (term): Rename from `term-face'.
3117 (term-current-face, ansi-term-color-vector)
3118 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3121 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3123 * server.el (server-create-window-system-frame): Handle Nextstep
3124 specially (Bug#12780).
3126 2012-11-10 Glenn Morris <rgm@gnu.org>
3128 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3129 Unautoload, and make obsolete. (Bug#7449)
3131 2012-11-10 Chong Yidong <cyd@gnu.org>
3133 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3134 rename from diff-remove-trailing-whitespace (Bug#12831).
3136 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3138 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3139 miscompilation of trace.el.
3141 2012-11-10 Glenn Morris <rgm@gnu.org>
3143 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3145 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3147 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3150 2012-11-10 Chong Yidong <cyd@gnu.org>
3152 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3153 a defcustom with an appropriate :set function.
3154 (minibuffer-default--in-prompt-regexps): New function.
3156 2012-11-10 Glenn Morris <rgm@gnu.org>
3158 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3159 (define-modify-macro): Doc fixes.
3161 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3162 (gv-define-simple-setter): Update doc of `fix-return'.
3164 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3166 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3167 twice when `fix-return' is set (bug#12813).
3169 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3170 gv-define-simple-setter (bug#12812).
3172 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3175 2012-11-10 Glenn Morris <rgm@gnu.org>
3177 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3179 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3180 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3181 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3182 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3184 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3186 2012-11-10 Leo Liu <sdl.web@gmail.com>
3188 * ido.el (ido-set-matches-1): Improve flex matching performance by
3189 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3191 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3193 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3194 (ad--defalias-fset): New function.
3195 (ad-safe-fset): Remove.
3196 (ad-make-freeze-definition): Use cl-letf*.
3198 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3200 * subr.el (dolist): Don't bind VAR in RESULT.
3202 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3203 (fset, documentation): Don't save real def since we don't advise.
3204 (ad-do-advised-functions): Remove problematic `result-form'.
3205 (ad-safe-fset): `ad-real-fset' => `fset'.
3206 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3207 uses CL's dolist internally.
3208 (ad-arglist): Remove unused arg `name'.
3209 (ad-docstring, ad-make-advised-docstring):
3210 `ad-real-documentation' => `documentation'.
3211 (warning-suppress-types): Declare.
3212 (ad-set-arguments): Simple CSE.
3213 (ad-recover-normality): Sanity check.
3215 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3216 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3218 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3220 * ses.el: symbol to coordinate mapping is made by symbol property
3221 `ses-cell'. This means that the same mapping is done for all SES
3222 sheets. That is good enough for cells with standard A1 names, but
3223 not for named cell. So a hash map is added for the latter.
3224 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3225 (ses-sym-rowcol): Use hashmap for named cell.
3226 (ses-is-cell-sym-p): New defun.
3227 (ses-decode-cell-symbol): New defun.
3228 (ses-create-cell-variable): Add cell to hashmap when name is not
3230 (ses-rename-cell): Check that cell new name is not already in
3231 spreadsheet with the use of ses-is-cell-sym-p
3232 (ses-rename-cell): Use hash map for named cells, but accept also
3233 renaming back to A1-like.
3235 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3237 * emacs-lisp/advice.el: Use new dynamic docstrings.
3238 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3239 Use dynamic-docstring-function instead of ad-advice-info.
3240 (ad--make-advised-docstring): New function extracted from
3241 ad-make-advised-docstring.
3242 (ad-make-advised-docstring): Use it.
3243 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3245 (sql-help): Use it with dynamic-docstring-function.
3247 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3249 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3251 * files.el (hack-one-local-variable--obsolete): New function.
3252 (hack-one-local-variable): Use it for obsolete settings.
3254 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3257 * progmodes/js.el (js--filling-paragraph): New var.
3258 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3259 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3262 2012-11-08 Julien Danjou <julien@danjou.info>
3264 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3265 `auto-mode-alist' (Bug#12835).
3267 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3269 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3270 (perl--prettify-symbols-alist): New const.
3271 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3273 (perl-font-lock-keywords-2): Use them.
3274 (perl-electric-noindent-p): New function.
3275 (perl-mode): Use it to set up electric-indent-mode.
3276 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3277 (perl-mode-map): Remove bindings for them.
3278 (perl-imenu-generic-expression, perl-outline-level):
3279 Match functions&packages in column>0.
3281 * env.el (env--substitute-vars-regexp): New const.
3282 (substitute-env-vars): Use it. Add `only-defined' arg.
3283 * net/tramp.el (tramp-replace-environment-variables): Use it.
3285 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3286 Byte-compile *before* eval in eval-and-compile.
3287 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3288 (byte-compile-file-form-autoload): Don't hide actual definition.
3289 (byte-compile-maybe-guarded): Accept `functionp' as well.
3291 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3293 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3295 * notifications.el (notifications-get-server-information-method):
3297 (notifications-get-capabilities): Fix docstring.
3298 (notifications-get-server-information): New defun.
3300 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3302 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3305 * textmodes/ispell.el: Experimental support for support debugging.
3306 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3308 (ispell-print-if-debug): New function to print stuff to
3309 `ispell-debug-buffer' if debugging is enabled.
3310 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3311 show some debugging info.
3312 (ispell-buffer-with-debug): New function that creates a debugging
3313 buffer and calls `ispell-buffer' with debugging enabled.
3315 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3316 comment in autoconf mode. (Bug#12768)
3318 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3320 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3321 frame-first-window, frame-root-window, frame-selected-window,
3322 minibuffer-selected-window, minibuffer-window,
3323 window-absolute-pixel-edges, window-at, window-body-height,
3324 window-body-width, window-display-table, window-combination-limit,
3325 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3326 window-inside-edges, window-inside-pixel-edges, window-left-child,
3327 window-left-column, window-margins, window-next-buffers,
3328 window-next-sibling, window-new-normal, window-new-total,
3329 window-normal-size, window-parameter, window-parameters, window-parent,
3330 window-pixel-edges, window-point, window-prev-buffers,
3331 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3332 window-start, window-text-height, window-top-child, window-top-line,
3333 window-total-height, window-total-width and window-use-time to the list
3334 of functions without side-effects.
3335 (toplevel): Add window-valid-p to the list of error-free functions
3336 without side-effects.
3338 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3340 * textmodes/ispell.el (ispell-program-name):
3341 Update spellchecker parameters when customized.
3343 2012-11-04 Glenn Morris <rgm@gnu.org>
3345 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3347 2012-11-04 Chong Yidong <cyd@gnu.org>
3349 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3350 same-window-* variables.
3352 2012-11-04 Juri Linkov <juri@jurta.org>
3354 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3355 (isearch-describe-key, isearch-describe-mode): Use a display
3356 action instead of binding same-window-* variables (Bug#10040).
3358 2012-11-03 Glenn Morris <rgm@gnu.org>
3360 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3361 Rename handler properties back from cl-- to cl-. (Bug#12788)
3363 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3365 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3367 * term/pc-win.el: Don't load term/internal from here.
3369 * loadup.el: Load term/internal from here.
3371 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3373 * progmodes/python.el (inferior-python-mode): Fix hang in
3374 jit-lock (Bug#12645).
3376 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3378 * window.el (switch-to-visible-buffer)
3379 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3381 2012-11-03 Glenn Morris <rgm@gnu.org>
3383 * emacs-lisp/cl-lib.el (cl--random-time):
3384 Rename from cl-random-time. (Bug#12773)
3385 (cl--gensym-counter, cl--random-state): Update callers.
3386 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3388 2012-11-03 Chong Yidong <cyd@gnu.org>
3390 * cus-start.el: Make cursor-type customizable (Bug#11633).
3392 2012-11-02 Glenn Morris <rgm@gnu.org>
3394 * filecache.el: No need to load find-lisp when compiling.
3395 (find-lisp-find-files): Autoload it.
3396 (file-cache-add-directory-recursively): Don't require find-lisp.
3398 * image.el (image-type-from-file-name): Trivial simplification.
3400 * emacs-lisp/bytecomp.el (byte-compile-eval):
3401 Decouple "noruntime" and "cl-functions" warnings.
3403 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3405 * play/gomoku.el (gomoku-display-statistics): Update mode line
3406 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3408 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3410 * window.el (quit-restore-window): If the window has been
3411 created on an existing frame and ended up as the sole window on
3412 that frame, do not delete it (Bug#12764).
3414 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3416 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3417 Rename from sh--inside-arithmetic-expression, handle more cases
3420 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3421 (sh-font-lock-open-heredoc): Use it (bug#12770).
3423 2012-10-30 Glenn Morris <rgm@gnu.org>
3425 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3427 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3429 2012-10-29 Chong Yidong <cyd@gnu.org>
3431 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3432 function key is stored in a keyboard macro (Bug#4894).
3434 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3436 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3438 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3440 (diff-unified->context, diff-context->unified)
3441 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3443 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3445 * files.el (find-alternate-file): Only ask one question (bug#12487).
3447 2012-10-29 Chong Yidong <cyd@gnu.org>
3449 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3450 Suggested by Dan Nicolaescu (Bug#6326).
3452 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3454 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3456 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3458 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3460 * face-remap.el (face-remap-add-relative): Handle the case where a
3461 face-remapping-alist entry is a cons cell (Bug#12762).
3463 2012-10-29 Kevin Ryde <user42@zip.com.au>
3465 * woman.el (woman-parse-numeric-value): Handle picas correctly
3468 2012-10-29 Glenn Morris <rgm@gnu.org>
3470 * emacs-lisp/cl.el (defsetf): Doc fix.
3472 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3474 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3475 syntax to the matching opener, if any (bug#12547).
3476 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3477 matching open as a "case-(".
3478 (sh-smie-rc-grammar): Add a corresponding rule for it.
3480 2012-10-28 Daniel Hackney <dan@haxney.org>
3482 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3483 "PKGNAME-autoloads.el" in case we created it.
3485 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3487 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3488 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3489 (completion--twq-all): Disable too-strict assertions.
3491 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3493 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3495 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3496 text to match the real keybindings.
3498 2012-10-27 Juri Linkov <juri@jurta.org>
3500 * wdired.el (wdired-keep-marker-rename): New defcustom.
3501 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3504 * dired.el (dired-keep-marker-rename): Add reference to
3505 `wdired-keep-marker-rename' in the docstring.
3506 Add default character value ?R to display initially in
3507 Customization UI instead of ?@.
3509 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3511 * window.el (display-buffer): In doc-string describe
3512 window-height and window-width alist entries.
3514 * time.el (display-time-world): Restore fit-window-to-buffer
3517 2012-10-27 Chong Yidong <cyd@gnu.org>
3519 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3521 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3523 * minibuffer.el (completion-category-overrides): New completion
3524 category `bookmark' (bug#11131).
3526 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3528 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3529 Silence bogus compiler warnings for ad-do-it.
3531 * bookmark.el (bookmark-completing-read): Set the completion category
3532 to `bookmark' (bug#11131).
3534 2012-10-26 Bastien <bzg@altern.org>
3535 Stefan Monnier <monnier@iro.umontreal.ca>
3537 * face-remap.el: Use lexical-binding.
3538 (text-scale-adjust): Improve docstring. Use itself for the temporary
3539 overlay-map bindings, so as to repeat the "Use..." message each time.
3541 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3543 * emacs-lisp/macroexp.el (macroexp--expand-all):
3544 Obey byte-compile-warning-enabled-p (bug#12486).
3546 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3547 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3549 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3551 * mouse.el (mouse-drag-line): Move last form into preceding when
3554 * help.el (resize-temp-buffer-window): Fix doc-string.
3556 2012-10-25 David Engster <deng@randomsample.de>
3558 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3559 Remove. This feature is already integrated in imenu.
3561 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3562 always loaded. Require `speedbar' unconditionally.
3564 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3566 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3568 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3570 * net/ldap.el (ldap-search-internal): The official ldif format starts
3571 with a "version: 1" header (bug#12724).
3573 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3576 2012-10-25 Glenn Morris <rgm@gnu.org>
3578 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3580 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3582 * minibuffer.el (minibuffer-force-complete): Use one more marker
3583 for the temporary-overlay-map command (bug#12619).
3585 2012-10-24 Chong Yidong <cyd@gnu.org>
3587 * time.el (display-time-world-mode): Derive from special-mode.
3588 (display-time-world): Use display-buffer (Bug#12708).
3589 (display-time-world-mode-map): Variable deleted.
3590 (display-time-world-display): Wrap the final delete-char inside
3593 2012-10-24 Chong Yidong <cyd@gnu.org>
3595 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3598 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3600 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3602 * minibuffer.el (completion--all-sorted-completions-location): New var.
3603 (completion--cache-all-sorted-completions)
3604 (completion--flush-all-sorted-completions): Use it.
3605 (completion-in-region, completion-in-region--postch)
3606 (completion-at-point, completion-help-at-point): Use markers in
3607 completion-in-region--data (bug#12619).
3609 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3611 * progmodes/compile.el (compilation-start): Try to handle common
3612 quoting of `cd' argument (bug#12640).
3614 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3617 2012-10-23 Glenn Morris <rgm@gnu.org>
3619 * progmodes/gud.el (gud-menu-map):
3620 Check gdb-active-process is bound. (Bug#12358)
3622 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3624 * repeat.el (repeat): Set real-this-command (bug#12232).
3626 * htmlfontify.el (hfy-post-html-hook):
3627 * filesets.el (filesets-cache-fill-content-hook):
3628 * arc-mode.el (archive-extract-hook):
3629 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3630 * net/rcirc.el (rcirc-sentinel-functions)
3631 (rcirc-receive-message-functions, rcirc-activity-functions)
3632 (rcirc-print-functions):
3633 * net/dbus.el (dbus-event-error-functions):
3634 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3635 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3636 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3637 * term/sun.el (sun-raw-prefix-hooks):
3638 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3640 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3642 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3643 Set `tramp-chunksize' to 1. This improves the performance.
3644 (tramp-smb-wait-for-output): Add timeout to
3645 `tramp-accept-process-output' calls.
3647 2012-10-23 Chong Yidong <cyd@gnu.org>
3649 * faces.el (font-list-limit): Define as an obsolete variable.
3651 * startup.el (command-line):
3652 * cus-start.el: Don't refer to font-list-limit.
3654 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3656 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3658 * subr.el (internal-temp-output-buffer-show): Rename from
3659 temp-output-buffer-show, since previously compiled files expect this name.
3661 2012-10-23 Glenn Morris <rgm@gnu.org>
3663 * image.el (image-type-from-file-name): If multiple types match,
3664 return the first one that is supported. (Bug#9045)
3666 2012-10-22 Glenn Morris <rgm@gnu.org>
3668 * image.el (imagemagick-enabled-types): Doc fix.
3670 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3672 * progmodes/which-func.el (which-func-current): The hash-table may have
3673 an explicit nil (bug#12338).
3675 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3677 * electric.el (electric-pair-delete-selection-self-insert-function):
3678 Rename to electric-pair-will-use-region, return a boolean.
3679 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3681 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3682 (delete-selection-pre-hook): Use use-region-p.
3683 (delete-selection-self-insert-function): Remove.
3684 (self-insert-command): Obey self-insert-uses-region-functions.
3685 (self-insert-iso): Revert to previous setting, since we don't actually
3686 know what that command does.
3687 (delete-selection-self-insert-hooks): Remove.
3689 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3691 * delsel.el (delete-selection-helper): New function, extracted from
3692 delete-selection-pre-hook.
3693 (delete-selection-pre-hook): Use it.
3694 (delete-selection-self-insert-function): New function.
3695 (delete-selection-self-insert-hooks): New hook.
3696 (self-insert-command, self-insert-iso): Use it.
3697 * electric.el (electric-pair-syntax): New function, extracted from
3698 electric-pair-post-self-insert-function.
3699 (electric-pair-post-self-insert-function): Use it.
3700 (electric-pair-delete-selection-self-insert-function): New function.
3701 (electric-pair-mode): Require delsel and setup
3702 delete-selection-self-insert-hooks (bug#11520).
3704 2012-10-20 Chong Yidong <cyd@gnu.org>
3706 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3707 no changes to show (Bug#12586).
3709 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3710 list explicitly (Bug#12571).
3712 2012-10-20 Arne Jørgensen <arne@arnested.dk>
3714 * progmodes/flymake.el (flymake-create-temp-inplace):
3717 2012-10-20 Eli Zaretskii <eliz@gnu.org>
3719 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3721 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3723 * calc/calc-units.el (math-extract-units): Properly extract powers
3726 2012-10-20 Daniel Colascione <dancol@dancol.org>
3728 * frame.el (make-frame): Set x-display-name as we used to in order
3729 to unbreak creating an X11 frame from an Emacs daemon started
3732 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3734 * minibuffer.el (minibuffer-force-complete): Make the next completion use
3735 the same completion-field (bug#12221).
3737 2012-10-19 Martin Rudalics <rudalics@gmx.at>
3739 * emacs-lisp/debug.el (debug): Record height of debugger window
3740 also when debugger will be back (Bug#8789).
3742 2012-10-18 Chong Yidong <cyd@gnu.org>
3744 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3745 Convert to defcustom.
3746 (gdb-get-source-file): Don't bind pop-up-windows.
3748 * progmodes/gud.el (gud-display-line): Don't specially re-use
3749 other frames for the gdb-mi case (Bug#12648).
3751 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3753 * emacs-lisp/advice.el: Clean up commentary a bit.
3754 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3755 (byte-code-function-p): Never redefine.
3757 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3759 2012-10-18 Glenn Morris <rgm@gnu.org>
3761 * dired.el (dired-sort-toggle): Some ls implementations only allow
3762 a single option string. (Bug#12666)
3764 * minibuffer.el (completion-cycle-threshold): Doc fix.
3766 2012-10-17 Kenichi Handa <handa@gnu.org>
3768 * international/mule.el (set-keyboard-coding-system):
3769 Recover input meta mode when the new coding system doesn not use 8-bit.
3770 Supply TERMINAL arg to set-input-meta-mode.
3772 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
3774 * wdired.el (wdired-old-marks): New variable.
3775 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3776 (wdired-do-renames): Move point with renamed file and don't lose
3777 mark status (Bug#11795).
3779 2012-10-16 Juri Linkov <juri@jurta.org>
3781 * replace.el (query-replace-help): Mention multi-buffer replacement
3782 keys in the Help message. (Bug#12655)
3784 2012-10-15 Chong Yidong <cyd@gnu.org>
3786 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3788 2012-10-14 Eli Zaretskii <eliz@gnu.org>
3790 * window.el (display-buffer): Doc fix.
3792 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3793 Adjust the msft regexp to the output of Studio 2010, and move msft
3794 before edg-1. See the discussion on emacs-devel,
3795 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3798 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3800 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3801 (oset): Move uses of object-class-fast macro after its definition.
3803 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3805 2012-10-13 Chong Yidong <cyd@gnu.org>
3807 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3808 enabled, re-enable it (Bug#11963).
3810 2012-10-13 Martin Rudalics <rudalics@gmx.at>
3812 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3813 non-nil, restore window configuration (Bug#12623).
3815 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3817 * help-fns.el (describe-variable, describe-function-1):
3818 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3820 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3822 2012-10-12 Glenn Morris <rgm@gnu.org>
3824 * mail/rmailsum.el (rmail-header-summary):
3825 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3827 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3829 * progmodes/python.el (python-mode-map):
3830 Replace subtitute-key-definition with proper command remapping.
3831 (python-nav--up-list): Fix behavior for blocks on the same level.
3833 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
3837 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3838 changes to the format of load-history.
3840 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3841 completion-ignore-case in case that var is buffer-local (bug#12615).
3843 2012-10-11 Kenichi Handa <handa@gnu.org>
3845 * international/eucjp-ms.el: Re-generated.
3847 2012-10-10 Kenichi Handa <handa@gnu.org>
3849 * select.el (xselect--encode-string): If a coding is specified for
3850 selection, and that is compatible with COMPOUND_TEXT, use it.
3852 2012-10-10 Martin Rudalics <rudalics@gmx.at>
3854 * window.el (switch-to-buffer-preserve-window-point): New option.
3856 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
3858 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3860 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3861 Don't document nil as a useful value (bug#12583).
3863 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
3865 * net/tramp.el (tramp-debug-message):
3866 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
3867 (with-tramp-progress-reporter): Rename from
3868 `tramp-with-progress-reporter'.
3869 (with-tramp-file-property, with-tramp-connection-property):
3870 Move from tramp-cache.el, rename from `with-file-property' and
3871 `with-connection-property', respectively.
3873 * net/tramp-cache.el: Remove `with-file-property' and
3874 `with-connection-property'.
3877 * net/tramp-gvfs.el:
3879 * net/tramp-smb.el: Adapt callees.
3881 * net/trampver.el: Update release number.
3883 2012-10-09 Glenn Morris <rgm@gnu.org>
3885 * w32-fns.el (set-message-beep):
3886 * term/w32-win.el (set-message-beep): Update declarations.
3888 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3890 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3891 (mode-line-widen, mode-line-input-method-map)
3892 (mode-line-coding-system-map, mode-line-remote)
3893 (mode-line-unbury-buffer, mode-line-bury-buffer)
3894 (mode-line-next-buffer, mode-line-previous-buffer):
3895 Replace save-selected-window+select-window => with-selected-window.
3897 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3898 * progmodes/cc-vars.el (bq-process): Remove, unused.
3900 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3902 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3904 Implemented `backward-up-list'-like navigation.
3905 * progmodes/python.el (python-nav-up-list)
3906 (python-nav-backward-up-list): New functions.
3907 (python-mode-map): Define substitute key for backward-up-list to
3908 python-nav-backward-up-list.
3910 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3912 * progmodes/python.el (python-fill-paragraph): Rename from
3913 python-fill-paragraph-function. Fixed fill-paragraph for
3914 decorators (Bug#12605).
3916 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3918 * progmodes/python.el (python-shell-output-filter): Handle extra
3919 carriage return in OSX (Bug#12409).
3921 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3923 Fix shell handling of unbalanced quotes and parens in output.
3924 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
3925 (python-syntax-propertize-function): Use it.
3926 (python-shell-output-syntax-table): New var.
3927 (inferior-python-mode): Prevent unbalanced parens/quotes from
3928 previous output mess with current input context.
3930 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
3932 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3933 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3935 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
3937 * ffap.el (ffap-replace-file-component): Support Tramp file name
3938 syntax, not only ange-ftp's one.
3940 2012-10-08 Glenn Morris <rgm@gnu.org>
3942 * cus-start.el (message-log-max): Set :version.
3944 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3946 2012-10-08 Martin Rudalics <rudalics@gmx.at>
3948 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3949 the minibuffer window (Bug#10851).
3951 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3953 Enhancements on forward-sexp movement.
3954 * progmodes/python.el (python-nav-beginning-of-statement)
3955 (python-nav-end-of-statement): Return point-marker.
3956 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3957 (python-info-current-symbol)
3958 (python-info-statement-starts-block-p): Rename from
3959 python-info-beginning-of-block-p.
3960 (python-info-statement-ends-block-p): Rename from
3961 python-info-end-of-block-p.
3962 (python-info-beginning-of-statement-p)
3963 (python-info-end-of-statement-p)
3964 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3967 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3969 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3970 frame-selected-windows.
3972 2012-10-08 Daniel Colascione <dancol@dancol.org>
3974 * battery.el (battery-status-function): Check for
3975 w32-battery-status itself, not system-time windows-nt.
3977 * frame.el: Require cl-lib.
3978 (display-format-alist): New variable mapping frame types to
3979 functions that initialize them.
3980 (window-system-for-display): New function: interprets
3981 display-format-alist.
3982 (make-frame-on-display): Remove existing display-selection logic
3983 and just forward to make-frame, which will now DTRT.
3984 (make-frame): Restructure to use window-system-for-display to
3985 figure out how to create a frame on a given display.
3986 (display-mouse-p): Look for frame-type w32, not a particular
3989 * loadup.el: Load w32 lisp code when we have the w32 feature.
3991 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3992 system-type windows-nt.
3994 * server.el (server-create-window-system-frame): Look for window
3996 (server-proces-filter): Only force a window system when windows-nt
3997 _and_ w32. Explain why.
3999 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4000 of window systems we configure for the mode.
4002 * startup.el (command-line): Mark window system is initialized
4003 after we've done it.
4005 * common-win.el (x-select-text): Look for w32, not windows-nt.
4007 * ns-win.el: Require cl-lib. Add ourselves to
4008 display-format-alist.
4009 (ns-initialize-window-system): Assert we're not initialized twice.
4011 * w32-win.el: Enable lexical binding; require cl-lib; add
4012 ourselves to display-format-alist.
4013 (w32-handle-dropped-file): Convert incoming dropped files from
4014 Windows paths to Cygwin ones before passing them on to the rest of
4016 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4017 (w32-initialize-window-system): Assert we're not initialized twice.
4019 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4020 (x-initialize-window-system): Assert we're not initialized twice.
4022 * w32-common-fns.el: New File.
4023 (w32-version, w32-using-nt, w32-get-clipboard-data)
4024 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4025 (w32-charset-info-alist, x-last-selected, text)
4026 (x-get-selection-value, x-selection-value): Move here.
4028 * w32-fns.el: Require w32-common-fns.
4029 (w32-version, w32-using-nt, w32-get-clipboard-data)
4030 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4031 (w32-charset-info-alist, x-last-selected, text)
4032 (x-get-selection-value, x-selection-value): Move to
4036 (w32-allow-system-shell, w32-system-shells): Define only in
4039 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4041 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4042 (read-passwd): Remove a few more potential sources of leaks.
4044 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4046 * progmodes/python.el (inferior-python-mode)
4047 (python-shell-make-comint): Fix initialization of local
4048 variables copied from parent buffer.
4050 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4052 * term/ns-win.el (ns-read-file-name): Update declaration to match
4054 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4055 it is set when font is acted upon.
4057 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4059 Enhancements to indentation.
4060 * progmodes/python.el (python-indent-context): Give priority to
4061 inside-string context. Make comments indentation markers.
4062 (python-indent-region): Do not mess with strings, unless it's the
4063 enclosing set of quotes.
4065 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4067 * window.el (internal--before-save-selected-window)
4068 (internal--after-save-selected-window): New functions extracted from
4069 save-selected-window. Make sure we return the `alist' we construct.
4070 (save-selected-window): Use them.
4072 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4073 Use with-selected-window.
4075 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4076 forms that define macros (bug#12593).
4078 2012-10-07 Kenichi Handa <handa@gnu.org>
4080 * international/mule-conf.el (compound-text-with-extensions):
4081 Add :mime-charset property as x-ctext.
4083 2012-10-07 Stefan Merten <smerten@oekonux.de>
4085 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4086 (rst-indent-literal-normal, rst-indent-literal-minimized)
4087 (rst-indent-comment): Correct :version tag.
4088 (rst-official-cvs-rev): Correct version string.
4090 2012-10-07 Glenn Morris <rgm@gnu.org>
4092 * mail/rmailmm.el (rmail-mime-process-multipart):
4093 Do not confuse a multipart message with an epilogue
4094 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4096 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4098 Fix shell output retrieval and comint-prompt-regexp init.
4099 * progmodes/python.el (inferior-python-mode):
4100 (python-shell-make-comint): Fix initialization of
4101 comint-prompt-regexp from copied file local variables.
4102 (python-shell-fetched-lines): Remove var.
4103 (python-shell-output-filter-in-progress): Rename from
4104 python-shell-fetch-lines-in-progress.
4105 (python-shell-output-filter-buffer): Rename from
4106 python-shell-fetch-lines-string.
4107 (python-shell-fetch-lines-filter): Delete function.
4108 (python-shell-output-filter): New function.
4109 (python-shell-send-string-no-output): Use them.
4111 2012-10-07 Glenn Morris <rgm@gnu.org>
4113 * hi-lock.el (hi-lock-process-phrase):
4114 Try to make it less fragile. (Bug#7161)
4116 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4118 2012-10-06 Glenn Morris <rgm@gnu.org>
4120 * ehelp.el (electric-help-mode): Use help-mode rather than
4121 non-existent mode `help'.
4122 (electric-help-map): Use button-buffer-map. (Bug#10917)
4124 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4125 (reftex-create-bibtex-footer): Fix custom types.
4127 * progmodes/sh-script.el (sh-indent-after-continuation):
4128 Add explicit :group.
4130 * textmodes/rst.el (rst-preferred-decorations)
4131 (rst-shift-basic-offset): Clarify obsolescence versions.
4133 * profiler.el (profiler): Add missing group :version tag.
4134 * avoid.el (mouse-avoidance-banish-position):
4135 * proced.el (proced-renice-command):
4136 * calc/calc.el (calc-ensure-consistent-units):
4137 * calendar/icalendar.el (icalendar-import-format-uid):
4138 * net/tramp.el (tramp-save-ad-hoc-proxies):
4139 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4140 * progmodes/flymake.el (flymake-error-bitmap)
4141 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4142 * progmodes/sh-script.el (sh-indent-after-continuation):
4143 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4144 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4145 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4146 (vhdl-array-index-record-field-in-sensitivity-list)
4147 (vhdl-indent-comment-like-next-code-line):
4148 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4149 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4150 (reftex-cite-key-separator, reftex-create-bibtex-header)
4151 (reftex-create-bibtex-footer):
4152 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4153 (rst-indent-literal-normal, rst-indent-literal-minimized)
4154 (rst-indent-comment): Add missing custom :version tags.
4156 * calendar/timeclock.el (timeclock-modeline-display):
4157 Add missing obsolete alias for renamed user option.
4159 * strokes.el (strokes-modeline-string):
4160 * emulation/crisp.el (crisp-mode-modeline-string):
4161 * eshell/esh-mode.el (eshell-status-in-modeline):
4162 Aliases to defcustoms must come before the defcustom.
4164 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4165 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4166 (cal-tex-cursor-week-monday): Doc fixes.
4167 (cal-tex-cursor-week2-summary): Doc fix.
4168 Rename from cal-tex-cursor-week-at-a-glance.
4170 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4171 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4173 * calendar/calendar.el (calendar-mode-map):
4174 Add cal-tex-cursor-week2-summary.
4176 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4178 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4180 * subr.el (read-passwd-map): New var.
4181 (read-passwd): Use `read-string' again.
4182 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4184 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4186 * register.el (append-to-register, prepend-to-register):
4187 Deactivate mark, as does `copy-to-register' (bug#12389).
4189 2012-10-06 Chong Yidong <cyd@gnu.org>
4191 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4193 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4195 * international/characters.el: Fix simple mistake ((car chars) ->
4196 elt), delete duplicated code.
4198 2012-10-06 Glenn Morris <rgm@gnu.org>
4200 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4202 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4204 * color.el (color-hsl-to-rgb): Fix incorrect results for
4205 small and large hue values. (Bug#12559)
4207 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4209 Enhancements to docstring formatting when filling paragraphs.
4210 * progmodes/python.el (python-fill-docstring-style): Rename from
4211 python-fill-string-style. Added new style.
4212 (python-fill-string): Use new style. Better checks for
4215 2012-10-05 Glenn Morris <rgm@gnu.org>
4217 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4219 * color.el (color-name-to-rgb, color-rgb-to-hex)
4220 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4221 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4222 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4223 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4225 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4227 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4229 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4230 to get the correct size across symlinks.
4232 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4234 2012-10-04 Juri Linkov <juri@jurta.org>
4236 * replace.el (query-replace-interactive): Declare obsolete.
4237 (query-replace-read-from): Add the last incremental search string
4238 to the list of default values accessible via M-n.
4239 (map-query-replace-regexp): Use `read-regexp'.
4240 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4241 (map-query-replace-regexp, replace-string, replace-regexp):
4242 Fix docstrings to replace mentions of `query-replace-interactive'
4243 with alternatives. (Bug#12526)
4245 2012-10-04 Juri Linkov <juri@jurta.org>
4247 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4248 (dired-pop-to-buffer): Declare obsolete.
4249 (dired-mark-pop-up): Doc fix.
4251 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4253 Allow user to set docstring style for fill-paragraph.
4254 * progmodes/python.el
4255 (python-fill-comment-function, python-fill-string-function)
4256 (python-fill-decorator-function, python-fill-paren-function):
4257 Remove :safe for defcustoms.
4258 (python-fill-string-style): New defcustom
4259 (python-fill-paragraph-function): Enhance context detection.
4260 (python-fill-string): Honor python-fill-string-style settings.
4262 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4264 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4265 after setting its buffer (Bug#10805).
4267 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4269 Fix cornercase for string syntax.
4270 * progmodes/python.el (python-syntax-propertize-function):
4271 Simplify and enhance the regexp for unescaped quotes. Now it also
4272 matches quotes in weird situations like the single quote in
4274 (python-syntax-stringify): Simplify num-quotes detecting code.
4276 2012-10-03 Glenn Morris <rgm@gnu.org>
4278 * help-macro.el (three-step-help):
4279 Revert 2012-09-29 change. (Bug#12567)
4281 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4283 * menu-bar.el (kill-this-buffer): Don't do anything when
4284 `menu-frame' is not alive or visible (Bug#8184).
4286 * emacs-lisp/debug.el (debug): When quitting the debugger window
4287 restore current buffer (Bug#12502).
4289 2012-10-02 Chong Yidong <cyd@gnu.org>
4291 * progmodes/hideif.el (hif-lookup, hif-defined):
4292 Handle semantic-c-takeover-hideif.
4294 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4296 Change sampling interval units from ms to ns.
4297 * profiler.el (profiler-sampling-interval): Change units
4298 from ms to ns, multiplying the default by 1000000 so that
4300 (profiler-report-cpu-line-format): Give enough room for
4301 the maximum counters on 64-bit hosts.
4302 (profiler-report-render-calltree-1): Call them "CPU samples",
4303 not "Time (ms)", since they are not milliseconds now (and
4306 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4308 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4309 Fix querying BBDB for entries without a last name (Bug#11580).
4311 2012-10-02 Chong Yidong <cyd@gnu.org>
4313 * emacs-lisp/eieio.el: Restore Version header.
4315 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4317 * vc/diff-mode.el (diff--auto-refine-data): New var.
4318 (diff-hunk): Use it to delay refinement.
4319 (diff-mode): Remove overlays when we turn off font-lock.
4321 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4322 (table-initialize-table-fixed-width-mode)
4323 (table-set-table-fixed-width-mode): Remove functions.
4324 (table-command-list): Move initialization into declaration.
4325 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4326 (table-with-cache-buffer): Use `declare'.
4327 (table-span-cell): Simplify via CSE.
4328 (table-fixed-width-mode): Use define-minor-mode.
4329 (table-call-interactively, table-funcall, table-apply): Remove.
4330 (table-function): New function, to replace them.
4332 * bookmark.el (bookmark-search-pattern): Remove var.
4333 (bookmark-read-search-input): Remove function.
4334 (bookmark-bmenu-search): Reimplement using a minibuffer.
4336 * faces.el (modeline): Remove obsolete face name.
4338 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4339 and give a non-nil default value.
4340 (add-change-log-entry): Simplify accordingly.
4342 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4344 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4345 (vc-git-log-edit-toggle-amend): New function.
4346 (vc-git-log-edit-toggle-signoff): New function.
4347 (vc-git-log-edit-mode): New major mode.
4348 (vc-git-log-edit-mode-map): Keymap for it.
4349 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4351 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4353 (log-edit-toggle-header): New function.
4354 (log-edit-extract-headers): Accept function values in HEADERS alist.
4356 2012-10-01 David Engster <deng@randomsample.de>
4358 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4359 from symbol property and change message to be more consistent with
4361 (eieio-describe-generic): Add filename for each implementation.
4362 Fix indices for generic and normal methods.
4363 (eieio-method-def, eieio-class-def): New buttons.
4364 (eieio-help-find-method-definition)
4365 (eieio-help-find-class-definition): New functions.
4366 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4367 class, constructor and method definitions.
4369 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4370 information in symbol property.
4371 (scoped-class): Remove.
4372 (eieio-slot-name-index, call-next-method): Check if it is bound.
4374 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4376 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4377 (eieio-custom-mode): New major mode.
4378 (eieio-customize-object): Use it.
4380 2012-10-01 Eric Ludlam <zappo@gnu.org>
4382 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4383 specifying the expected class, and whether subclassing is allowed.
4384 (eieio-persistent-convert-list-to-object):
4385 (eieio-persistent-validate/fix-slot-value)
4386 (eieio-persistent-slot-type-is-class-p): New functions.
4387 (eieio-named::slot-missing): Doc fix.
4389 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4390 Stop using unused publd variable.
4392 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4393 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4394 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4395 (eieio-speedbar-handle-click): Do not specify a class for the
4396 method. Fixes method invocation order problems with EDE.
4398 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4400 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4401 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4403 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4405 * bookmark.el (bookmark-version-control): Give tags in the
4406 :type choices (Bug#12309), and improve doc string.
4407 (bookmark-write-file): Bind `print-circle' to `t' to allow
4408 circular custom bookmark types. (Bug#12503)
4410 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4412 Revert the FOLLOW-SYMLINKS change for file-attributes.
4413 * files.el (remote-file-name-inhibit-cache, after-find-file):
4414 * time.el (display-time-file-nonempty-p): Undo last change.
4416 * profiler.el (profiler-sampling-interval): Change default back to 1.
4417 See Stefan Monnier in
4418 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4420 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4422 Shell output catching a la gud-gdb.
4423 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4424 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4426 (python-shell-fetch-lines-filter): New function.
4427 (python-shell-send-string-no-output): Use them.
4429 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4431 * profiler.el (profiler-sampling-interval): Rename from
4432 profiler-sample-interval.
4433 (profiler-sampling-interval): Default to 10.
4434 (profiler-find-profile): New command (was profiler-find-log).
4435 (profiler-find-profile-other-window): New command.
4436 (profiler-find-profile-other-frame): New command.
4437 (profiler-profile): Introduce API-level data structure.
4439 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4441 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4442 * files.el (remote-file-name-inhibit-cache):
4443 * time.el (display-time-file-nonempty-p): Use it.
4444 * files.el (after-find-file): Don't chase links before calling
4445 file-exists-p, as file-exists-p already does the right thing.
4447 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4449 Merge from standalone RefTeX repository.
4451 The following ChangeLog entries are shortened versions of the
4452 original ones with file paths adapted. A not so strongly edited
4453 version of the original ChangeLog can be found in the commit log.
4455 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4456 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4457 Correctly handle new value type returned by `reftex-citation'.
4459 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4460 that entries with whitespace at various places are found.
4461 Doc fix. Include entries that are cross-referenced from cited entries.
4462 Include @String definitions in the resulting bib file. Add header
4463 and footer defined in `reftex-create-bibtex-header' and
4464 `reftex-create-bibtex-footer'.
4465 (reftex-do-citation): Make it possible again to insert
4466 non-existent entries. Save match data when asking for optional
4467 arguments. Return all keys, not just the first one.
4468 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4469 all citations in the same line.
4470 (reftex-parse-bibtex-entry): Accept additional optional argument
4471 `raw' and keep quotes or braces if it is non-nil. Match fields
4472 containing hyphens besides word constituents.
4473 (reftex-get-string-refs): New function.
4474 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4475 and ask if it should be reread in case it did.
4476 (reftex-pop-to-bibtex-entry)
4477 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4478 entries with spaces or tabs in front of arguments.
4479 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4480 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4481 Match entries containing numbers and symbol constituents.
4482 (reftex-do-citation, reftex-figure-out-cite-format):
4483 Use `reftex-cite-key-separator'.
4485 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4486 (reftex-mouse-view-crossref): Explain why point is set.
4488 * textmodes/reftex-global.el: Whitespace changes.
4490 * textmodes/reftex-index.el: Move provide statement to end of
4492 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4493 (reftex-index-visit-phrases-buffer): Set marker when visiting
4494 buffer. This allows for returning from the phrases file to the
4495 file one was just editing instead of the file where the last
4496 phrases was added from.
4497 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4498 punctuation syntax as it usually is not used as string quote in
4499 TeX-related modes and may occur unmatched. The change also
4500 prevents fontification of quoted content.
4501 (reftex-index-phrases-mode): Use it.
4503 * textmodes/reftex-parse.el (reftex-parse-from-file):
4504 Move backward one char if a `\' was matched after a section macro.
4505 (reftex-parse-from-file): Use beginning of match instead of end as
4508 * textmodes/reftex-ref.el: Adapt creation of
4509 `reftex-<package>-<macro>' functions to new structure of
4510 `reftex-ref-style-alist'.
4511 (reftex-reference): Use `reftex-ref-style-list' function.
4512 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4513 reference macro if `reftex-ref-macro-prompt' is non-nil.
4514 (reftex-reference): Pass refstyle to `reftex-format-special'.
4515 Determine reference macro by looking at
4516 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4517 Use only one special format function.
4518 (reftex-varioref-vref, reftex-fancyref-fref)
4519 (reftex-fancyref-Fref): Remove definitions. The functions are now
4520 generated from `reftex-ref-style-alist'.
4521 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4523 (reftex-format-special): New function.
4525 * textmodes/reftex-sel.el
4526 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4527 of `reftex-ref-style-alist'. Remove code for testing macro type.
4528 (reftex-select-toggle-varioref)
4529 (reftex-select-toggle-fancyref): Remove.
4530 (reftex-select-cycle-ref-style-internal)
4531 (reftex-select-cycle-ref-style-forward)
4532 (reftex-select-cycle-ref-style-backward): New functions.
4533 (reftex-select-label-map): Use `v' and `V' for general cycling
4534 through reference styles. Add `p' for switching between number
4535 and page reference types.
4537 * textmodes/reftex-toc.el (reftex-re-enlarge):
4538 Call `enlarge-window' only if there is something to do because in Emacs
4539 the horizontal version throws an error even if the parameter is 0.
4541 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4542 (reftex-plug-into-AUCTeX): Doc fix.
4543 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4544 string. Adapt to new name.
4545 (reftex-ref-style-alist): Change structure so that it is not
4546 possible to use multiple different package names within a style.
4547 Remove the symbols for symbols for macro type distinction.
4548 Add characters for macro selection.
4549 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4550 (reftex-create-bibtex-footer): New variables.
4551 (reftex-format-ref-function): Mention third argument of special
4553 (reftex-ref-style-alist, reftex-ref-style-default-list):
4555 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4556 to new implementation. Mark as obsolete. Add compatibility code
4557 for honoring the variable values in case they are set.
4558 (reftex-cite-format-builtin, reftex-bibliography-commands):
4559 Add support for ConTeXt.
4560 (reftex-format-ref-function, reftex-format-cite-function):
4562 (reftex-cite-key-separator): New variable.
4564 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4565 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4566 `reftex-syntax-table' because parens have to retain their paren
4567 syntax in order for parsing of BibTeX entries like @book(...) to
4569 (reftex-in-comment): Do not error out if `comment-start-skip' is
4570 not set. Deal correctly with escaped comment characters.
4571 (reftex-tie-multifile-symbols): Add doc string.
4572 Initialize `reftex-ref-style-list'.
4573 (reftex-untie-multifile-symbols): Add doc string.
4574 (reftex-add-index-macros): Doc fix.
4575 (reftex-ref-style-activate, reftex-ref-style-toggle)
4576 (reftex-ref-style-list): New functions.
4577 (reftex-mode-menu): Use them. Adapt to new structure of
4578 `reftex-ref-style-alist'.
4579 (reftex-select-with-char): Kill the RefTeX Select buffer when
4581 (reftex-remove-if): New function.
4582 (reftex-erase-all-selection-and-index-buffers)
4583 (reftex-mode-menu): Reference styles are now computed from
4584 `reftex-ref-style-alist'. Fix typo.
4585 (reftex-report-bug): New function.
4586 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4587 algorithms with O(n log n). Introduce optional argument SORT (not
4590 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4592 Enhancements for triple-quote string syntax.
4593 * progmodes/python.el (python-syntax-propertize-function):
4594 Match both quote cases in one regexp.
4595 (python-syntax-stringify): Handle matches properly.
4597 2012-09-30 Juri Linkov <juri@jurta.org>
4599 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4600 to nil around the call to `insert' to prevent
4601 directory time modification by lock_file. (Bug#2295)
4602 * tar-mode.el (tar-summarize-buffer): Idem.
4604 2012-09-30 Juri Linkov <juri@jurta.org>
4606 * facemenu.el (list-colors-sort): Add option "Luminance".
4607 (list-colors-sort-key): Implement it.
4609 * vc/diff-mode.el (diff-refine-removed):
4610 * vc/ediff-init.el (ediff-fine-diff-A):
4611 * vc/smerge-mode.el (smerge-refined-removed):
4612 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4614 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4616 * term/ns-win.el (x-file-dialog): New function.
4618 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4620 * ido.el (ido-max-directory-size): Default to nil; the current
4621 default is small for POSIX systems, and impractical on Windows 7
4622 now that lstat returns directory sizes for NTFS.
4624 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4626 In buffer display functions handle window-height/window-width
4627 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4628 * window.el (window--display-buffer): New argument ALIST.
4629 Obey window-height and window-width alist entries.
4630 (window--try-to-split-window): New argument ALIST.
4631 Bind window-combination-limit to t when the window's size shall be
4632 changed and window-combination-limit equals `window-size'.
4633 (display-buffer-in-atom-window)
4634 (display-buffer-in-major-side-window)
4635 (display-buffer-in-side-window, display-buffer-same-window)
4636 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4637 (display-buffer-pop-up-window, display-buffer-below-selected)
4638 (display-buffer-at-bottom, display-buffer-in-previous-window)
4639 (display-buffer-use-some-window): Adjust all callers of
4640 window--display-buffer and window--try-to-split-window.
4641 (fit-frame-to-buffer): New option.
4642 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4644 (display-buffer-in-major-side-window): Evaluate window-height /
4645 window-width alist entries.
4647 * help.el (temp-buffer-resize-frames)
4648 (temp-buffer-resize-regexps): Remove options.
4649 (temp-buffer-resize-mode): Adjust doc-string.
4650 (resize-temp-buffer-window): Don't consult
4651 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4652 temp-buffer-resize-frames.
4654 * dired.el (dired-mark-pop-up):
4655 Call display-buffer-below-selected with a fit-window-to-buffer alist
4658 2012-09-30 Chong Yidong <cyd@gnu.org>
4660 * server.el (server-host): Document the security implications.
4661 (server-auth-key): Doc fix.
4663 * startup.el (initial-buffer-choice): Doc fix.
4665 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4667 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4670 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4672 * help-fns.el (help-fns--obsolete): Fix last change.
4674 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4676 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4677 (minor-mode-map-alist): Remove redundant code.
4679 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4680 visited in a buffer.
4681 (cvs-insert-visited-file): New function.
4682 (find-file-hook): Use it.
4684 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4686 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4688 (log-edit-empty-buffer-p): Don't require a space after a header.
4690 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4692 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4694 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4695 a proper minor-mode.
4697 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4699 2012-09-29 Glenn Morris <rgm@gnu.org>
4701 * winner.el (winner-mode): Remove variable (let define-minor-mode
4703 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4705 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4706 (winner-mode): Use define-minor-mode.
4708 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4709 the full definition in loaddefs, rather than duplicating it.
4711 * help-macro.el (three-step-help): No need to autoload defcustom.
4713 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4714 (inferior-lisp-program, inferior-lisp-load-command)
4715 (inferior-lisp-prompt, inferior-lisp-mode-hook):
4716 No need to autoload defcustoms.
4718 * hippie-exp.el (hippie-expand-try-functions-list)
4719 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4720 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4721 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
4722 (hippie-expand-only-buffers): No need to autoload defcustoms.
4723 * progmodes/vhdl-mode.el (vhdl-line-expand):
4724 Explicitly load hippie-exp, so it does not get autoloaded
4725 while hippie-expand-try-functions-list is let-bound.
4727 2012-09-28 Glenn Morris <rgm@gnu.org>
4729 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4731 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4732 Only "cl.el" counts as cl these days.
4734 2012-09-28 Juri Linkov <juri@jurta.org>
4736 Display archive errors in the echo area instead of inserting
4739 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4740 to STDERR-TEST that can be a regexp matching a successful output.
4741 Create a temporary file and redirect stderr to it. Search for
4742 STDERR-TEST in the stderr output and display it in the echo area
4743 if no match is found.
4744 (archive-extract-by-file): New function like
4745 `archive-extract-by-stdout' but extracting archives to files
4746 and looking for successful matches in stdout. Function body is
4747 mostly copied from `archive-rar-extract'.
4748 (archive-rar-extract): Use `archive-extract-by-file'.
4749 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4751 2012-09-28 Leo Liu <sdl.web@gmail.com>
4753 * pcomplete.el (pcomplete-show-completions):
4754 Use minibuffer-message to make pcomplete usable in minibuffer.
4756 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4758 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4760 * type-break.el: Use lexical-binding.
4761 (type-break-mode): Use define-minor-mode.
4763 * emacs-lisp/pcase.el (pcase--mark-used): New.
4764 (pcase--u1): Use it (bug#12512).
4766 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4767 in load-history with the right file name.
4769 2012-09-28 Tassilo Horn <tsdh@gnu.org>
4771 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4772 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4773 (doc-view-get-bounding-box): Make bounding box slicing work for
4774 ODF and DVI documents.
4776 2012-09-28 Glenn Morris <rgm@gnu.org>
4778 * type-break.el (type-break-mode, type-break-interval)
4779 (type-break-good-rest-interval, type-break-keystroke-threshold):
4780 No need to autoload.
4781 (type-break-good-rest-interval, type-break-keystroke-threshold):
4784 2012-09-28 Chong Yidong <cyd@gnu.org>
4786 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4789 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4791 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
4793 2012-09-27 Glenn Morris <rgm@gnu.org>
4795 * faces.el (x-display-name): Declare (for without-x builds).
4797 * linum.el (linum-format): Don't autoload it. Improve :type.
4799 * progmodes/tcl.el: Don't require outline when compiling.
4800 (outline-regexp, outline-level): Declare.
4801 * textmodes/sgml-mode.el: Don't require outline when compiling.
4802 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4804 * term.el (term-ansi-reset):
4805 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4807 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4808 files for RCS and SCCS. (Bug#9781)
4810 2012-09-27 Chong Yidong <cyd@gnu.org>
4812 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4813 change; value should be t.
4815 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4817 * image-mode.el: Use lexical-binding.
4818 (image-mode-winprops): Use t to stand for the window of
4819 a buffer that's not displayed.
4820 * doc-view.el (doc-view-new-window-function): Handle the new
4822 (doc-view-enlarge): Make it a real nop if the size is not changed.
4823 (doc-view-display): Handle the case where the buffer is not (yet?)
4824 displayed in any window.
4825 (doc-view-saved-settings): New var.
4826 (doc-view-mode): Use it.
4827 (doc-view-fallback-mode): Set it.
4829 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4830 Set lexical-binding.
4831 (minibuffer-eldef-shorten-default): New var.
4832 (minibuffer-default-in-prompt-regexps): Use it for new default.
4833 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4835 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4837 * international/uni-bidi.el:
4838 * international/uni-category.el:
4839 * international/uni-name.el:
4840 * international/uni-numeric.el: Regenerate.
4842 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4843 Stefan Monnier <monnier@iro.umontreal.ca>
4845 * profiler.el: New file.
4847 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4849 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4850 (testcover-reinstrument): Simplify with CSE.
4852 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4854 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4856 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4858 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4859 (verilog-auto-input, verilog-auto-insert-lisp)
4860 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4861 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4862 (verilog-auto-unused, verilog-auto-wire)
4863 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4864 newline. Reported by Andrew Jones.
4865 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4866 Reported by Brad Dobbie.
4867 (verilog-batch-delete-trailing-whitespace):
4868 Create verilog-batch-delete-trailing-whitespace.
4869 Reported by Brad Dobbie.
4870 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4871 parameters from another module. Reported by Dan Katz.
4872 (verilog-auto, verilog-auto-assign-modport)
4873 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4874 AUTOINOUTMODPORT for UVM interface module shell generation.
4875 Reported by Brad Dobbie.
4876 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4878 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4879 Reported by Matt Martin.
4881 2012-09-25 Martin Rudalics <rudalics@gmx.at>
4883 * window.el (window--resize-child-windows): When resizing child
4884 windows proportionally, process them in reverse order to
4885 preserve the "when splitting a window the new one gets the odd
4887 (window--resize-root-window-vertically): When resizing the
4888 minibuffer window try to affect only windows at the bottom of the
4891 2012-09-25 Chong Yidong <cyd@gnu.org>
4893 * subr.el (declare): Doc fix.
4895 * help-fns.el (help-fns--obsolete): Handle macros properly.
4897 2012-09-25 Chong Yidong <cyd@gnu.org>
4899 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4900 this function obsolete.
4902 * calendar/cal-x.el (calendar-two-frame-setup)
4903 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4904 * calendar/calendar.el (american-calendar, european-calendar)
4905 (calendar-for-loop):
4906 * comint.el (comint-dynamic-simple-complete)
4907 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4908 * desktop.el (desktop-load-default):
4909 * dired-x.el (dired-omit-here-always)
4910 (dired-hack-local-variables, dired-default-directory):
4911 * emacs-lisp/derived.el (derived-mode-class):
4912 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4913 * emacs-lock.el (toggle-emacs-lock):
4914 * epa.el (epa-display-verify-result):
4915 * epg.el (epg-sign-keys, epg-start-sign-keys)
4916 (epg-passphrase-callback-function):
4917 * eshell/esh-util.el (eshell-for):
4918 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4919 (eshell-add-to-window-buffer-names):
4920 * files.el (locate-file-completion):
4921 * imenu.el (imenu-example--create-c-index)
4922 (imenu-example--create-lisp-index)
4923 (imenu-example--lisp-extract-index-name)
4924 (imenu-example--name-and-position):
4925 * international/mule-cmds.el (princ-list):
4926 * international/mule-diag.el (decode-codepage-char):
4927 * international/mule-util.el (detect-coding-with-priority):
4928 * iswitchb.el (iswitchb-read-buffer):
4929 * mail/mailalias.el (mail-complete):
4930 * mail/sendmail.el (mail-sent-via):
4931 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4932 (mouse-major-mode-menu):
4933 * password-cache.el (password-read-and-add):
4934 * pcomplete.el (pcomplete-parse-comint-arguments):
4935 * progmodes/sh-script.el (sh-maybe-here-document):
4936 * replace.el (query-replace-regexp-eval):
4937 * savehist.el (savehist-load):
4938 * simple.el (choose-completion-delete-max-match):
4939 * term.el (term-dynamic-simple-complete):
4940 * vc/ediff-init.el (ediff-check-version):
4941 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4942 * vc/vc.el (vc-diff-switches-list):
4943 * view.el (view-return-to-alist-update): Likewise.
4945 * subr.el (eval-next-after-load, makehash, insert-string)
4946 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4948 (mode-line-inverse-video): Variable deleted.
4950 * international/mule-util.el (string-to-sequence): Remove.
4952 * calendar/calendar.el (calendar-version):
4953 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4954 (icalendar-convert-diary-to-ical):
4955 * cus-edit.el (custom-mode):
4956 * ansi-color.el (ansi-color-unfontify-region):
4957 * international/latin1-disp.el (latin1-char-displayable-p):
4958 * progmodes/cwarn.el (turn-on-cwarn-mode):
4959 * progmodes/which-func.el (which-func-update-1):
4960 Use define-obsolete-function-alias.
4962 * net/newst-backend.el (newsticker-cache-filename):
4963 * net/newst-treeview.el (newsticker-groups-filename):
4964 Fix incorrect obsolescence declaration.
4966 * allout.el (allout-passphrase-hint-string): Likewise.
4967 (allout-init): Use a declare form to mark obsolete.
4969 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4970 this applies to functions.
4972 * iswitchb.el (iswitchb-read-buffer): Move code of
4973 iswitchb-define-mode-map here, and delete that obsolete function.
4975 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4976 font-lock-reference-face.
4978 2012-09-25 Glenn Morris <rgm@gnu.org>
4980 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4983 * eshell/em-term.el (eshell-term-name):
4984 Default to term-term-name. (Bug#12485)
4986 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4988 * progmodes/python.el (python-shell-send-buffer): Better handling
4989 of "if __name__ == '__main__':" conditionals when sending the buffer.
4991 2012-09-24 Glenn Morris <rgm@gnu.org>
4993 * eshell/esh-cmd.el (eshell-find-alias-function):
4994 Tighten up file-name regexp. (Bug#12499)
4996 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4998 Enhancements for triple-quote string syntax.
4999 * progmodes/python.el (python-quote-syntax): Remove.
5000 (python-syntax-propertize-function): New value.
5001 (python-syntax-count-quotes, python-syntax-stringify):
5004 2012-09-24 Chong Yidong <cyd@gnu.org>
5006 * mail/supercite.el (sc-version): Remove obsolete function.
5007 (sc-describe): Don't mark as obsolete, since it is bound.
5008 (sc-submit-bug-report): Remove.
5010 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5011 (cvs-commit-buffer-require-final-newline): Remove.
5012 (log-edit-require-final-newline)
5013 (log-edit-changelog-full-paragraphs): Default to t.
5015 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5016 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5017 * vc/vc.el (vc-checkout-carefully): Likewise.
5019 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5020 (emerge-version): Remove.
5022 * progmodes/compile.el (compile-internal): Remove.
5023 (compilation-parse-errors-function): Fix typo.
5025 * international/mule.el (set-char-table-default): Remove.
5026 (set-coding-priority, make-coding-system, generic-char-p)
5027 (charset-list, charset-bytes, charset-id): Use declare to mark
5028 functions as obsolete.
5030 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5031 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5032 * vc/vc-hooks.el (vc-default-registered): Don't use
5033 vc-master-templates.
5035 * font-lock.el (font-lock-reference-face):
5036 Use define-obsolete-variable-alias.
5038 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5039 * calendar/calendar.el (calendar-font-lock-keywords):
5040 * calendar/diary-lib.el (diary-font-lock-keywords)
5041 (diary-fancy-font-lock-keywords):
5042 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5043 * textmodes/reftex-index.el (reftex-insert-index):
5044 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5045 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5046 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5047 * progmodes/prolog.el (prolog-font-lock-keywords):
5048 * progmodes/idlwave.el (idlwave-idl-keywords):
5049 * progmodes/ada-mode.el (ada-font-lock-keywords):
5050 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5052 2012-09-24 Glenn Morris <rgm@gnu.org>
5054 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5056 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5058 * progmodes/python.el (python-indent-line): More consistent cursor
5061 2012-09-23 Stefan Merten <smerten@oekonux.de>
5063 * textmodes/rst.el: Fix compiler warning.
5065 2012-09-23 Roland Winkler <winkler@gnu.org>
5067 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5068 Transcribe also LaTeX hyphenation.
5069 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5070 bibtex-reformat-previous-options.
5072 2012-09-23 Roland Winkler <winkler@gnu.org>
5074 * proced.el (proced-renice-command): New variable.
5075 (proced-marked-processes): New function.
5076 (proced-with-processes-buffer): New macro.
5077 (proced-send-signal): Use them.
5078 (proced-renice): New command bound to r.
5080 2012-09-23 Roland Winkler <winkler@gnu.org>
5082 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5083 ibuffer-saved-filter-groups has one element, shortcut the call of
5084 completing-read. (Bug#12331)
5086 2012-09-23 Chong Yidong <cyd@gnu.org>
5088 * bindings.el (mode-line-toggle-read-only):
5089 * bs.el (bs-toggle-readonly):
5090 * buff-menu.el (Buffer-menu-toggle-read-only):
5091 * dired.el (dired-toggle-read-only):
5092 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5094 2012-09-23 Chong Yidong <cyd@gnu.org>
5096 * image.el (image-type-available-p): Adapt to init-image-library
5099 2012-09-22 Juri Linkov <juri@jurta.org>
5101 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5102 `dired-toggle-read-only'. (Bug#12462)
5104 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5106 * subr.el (temp-output-buffer-show): New function.
5107 (with-output-to-temp-buffer): Call temp-output-buffer-show
5108 instead of internal-temp-output-buffer-show.
5110 2012-09-22 Chong Yidong <cyd@gnu.org>
5112 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5115 * repeat.el (repeat): Doc fix (Bug#12348).
5117 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5120 * simple.el (shell-command-on-region): Doc fix.
5121 (read-only-mode): Doc fix.
5123 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5125 * emacs-lisp/timer.el (run-with-idle-timer)
5126 (timer-activate-when-idle): Warn against reinvoking an idle timer
5127 from within its own timer action. (Bug#12447)
5129 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5131 * cus-start.el (window-combination-limit): Add new optional
5133 * window.el (temp-buffer-window-show)
5134 (window--try-to-split-window): Handle new values of
5135 window-combination-limit (Bug#1806).
5136 (split-window): Test window-combination-limit for t instead of
5138 (display-buffer-at-bottom): New buffer display action function.
5139 * help.el (temp-buffer-resize-regexps): New option.
5140 (temp-buffer-resize-mode): Rewrite doc-string.
5141 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5142 Don't resize reused window. Suggested by Glenn Morris.
5144 2012-09-22 Stefan Merten <smerten@oekonux.de>
5146 * textmodes/rst.el: Revamp section title faces.
5147 (rst-official-version)
5148 (rst-package-emacs-version-alist): Sync with official version
5150 (rst-faces-defaults, rst-set-level-default)
5151 (rst-level-face-max, rst-level-face-base-color)
5152 (rst-level-face-base-light, rst-level-face-format-light)
5153 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5154 (rst-adornment-faces-alist): Match new setup.
5155 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5156 (rst-level-5, rst-level-6): New faces.
5158 2012-09-22 Chong Yidong <cyd@gnu.org>
5160 * simple.el (undo): Handle indirect buffers (Bug#8207).
5162 2012-09-21 Leo Liu <sdl.web@gmail.com>
5164 IDO: Disable match re-ordering for buffer switching.
5165 * ido.el (ido-buffer-disable-smart-matches): New variable.
5166 (ido-set-matches-1): Use it. (Bug#2042)
5168 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5170 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5171 Fix 2011-05-17 change. (Bug#12418)
5173 2012-09-21 Leo Liu <sdl.web@gmail.com>
5175 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5177 2012-09-21 Glenn Morris <rgm@gnu.org>
5179 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5180 Be more robust about locating simple.el.
5182 2012-09-21 Glenn Morris <rgm@gnu.org>
5184 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5186 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5188 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5190 2012-09-20 Juri Linkov <juri@jurta.org>
5192 * replace.el (query-replace-read-from): Use `read-regexp' instead
5193 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5194 (occur-read-primary-args): Use `read-regexp' instead of
5196 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5197 `read-from-minibuffer'.
5198 * isearch.el (isearch-occur): Use `read-regexp' instead of
5200 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5201 `read-from-minibuffer'.
5202 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5203 of `read-string'. (Bug#7567)
5205 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5206 and allow accepting a list of strings prepended to a list of
5207 standard default values. Doc fix. (Bug#12321)
5209 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5211 * replace.el (read-regexp): Don't add ": " when PROMPT already
5212 ends with a colon and space. (Bug#12321)
5214 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5216 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5219 2012-09-20 Stefan Merten <smerten@oekonux.de>
5221 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5222 Fixes feature request bug#11711.
5223 (rst-mode): Create `imenu-create-index-function'.
5224 (rst-get-stripped-line): Delete after refactoring.
5225 (rst-section-tree, rst-section-tree-rec)
5226 (rst-section-tree-point): Refactor and document properly.
5227 (rst-imenu-find-adornments-for-position)
5228 (rst-imenu-convert-cell, rst-imenu-create-index):
5231 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5233 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5234 (macroexp--expand-all): Use it.
5235 (macroexp--funcall-and-return): Remove by folding it into its sole
5236 caller (macroexp--warn-and-return).
5237 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5238 Use macroexp--obsolete-warning.
5240 * calc/calc.el: Fix last change by removing the whole chunk, since it
5241 was only needed back when Calc was not bundled.
5243 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5245 * emacs-lisp/debug.el (debug): Restore assignment to
5246 debugger-old-buffer removed on 2012-09-08.
5248 2012-09-20 Juri Linkov <juri@jurta.org>
5250 * dired-aux.el (dired-diff): Remove (require 'diff) since
5251 `diff-latest-backup-file' is now autoloaded.
5253 2012-09-20 Chong Yidong <cyd@gnu.org>
5255 * vc/diff.el (diff-latest-backup-file): Autoload.
5257 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5259 * calc/calc.el: Remove redundant autoload shape check.
5260 (sel-mode): Don't defvar.
5261 (calc-get-stack-element): Add `sel-mode' arg instead.
5262 (calc-top, calc-top-list): Pass it this additional argument.
5263 * calc/calc-store.el (calc-store-map):
5264 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5265 (calc-map-equation, calc-outer-product, calc-inner-product):
5266 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5268 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5270 2012-09-19 Juri Linkov <juri@jurta.org>
5272 * dired-aux.el (dired-diff): Add (require 'diff) because
5273 `diff-latest-backup-file' is not autoloaded.
5274 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5275 of `dired-get-filename' to t to not report error when there is
5276 no default file on the current line.
5278 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5281 macroexp--eval-if-compile.
5282 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5283 (macroexp--expand-all): Use them (bug#12371).
5285 * doc-view.el (doc-view-guess-paper-size)
5286 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5288 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5290 New feature: set optimal slice from BoundingBox information.
5291 * doc-view.el (doc-view-mode-map): Add keybinding.
5292 (doc-view-menu): Add menu entry.
5293 (doc-view-set-slice): Adapt docstring.
5294 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5295 (doc-view-scale-bounding-box)
5296 (doc-view-set-slice-from-bounding-box): New functions.
5297 (doc-view-paper-sizes): New defvar.
5299 2012-09-19 Glenn Morris <rgm@gnu.org>
5301 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5302 (byte-compile-log-warning): Autoload. (Bug#12371)
5304 * calendar/calendar.el (calendar-american-month-header)
5305 (calendar-european-month-header, calendar-iso-month-header)
5306 (calendar-month-header): New options.
5307 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5308 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5310 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5312 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5314 2012-09-18 Juri Linkov <juri@jurta.org>
5316 * dired-aux.el (dired-diff): Restore original functionality of
5317 getting the default value, but keep new feature of using the
5318 latest existing backup file (`diff-latest-backup-file').
5320 2012-09-18 Juri Linkov <juri@jurta.org>
5322 * dired.el (dired-mark): If the region is active in Transient Mark
5323 mode, mark all files in the active region. Doc fix.
5324 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5325 Doc fix. (Bug#10624)
5327 2012-09-18 Juri Linkov <juri@jurta.org>
5329 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5330 attributes for M-n are pulled from the file at point.
5331 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5332 Suggested by Drew Adams. (Bug#10624)
5334 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5336 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5337 whitespace after "end".
5338 (ruby-do-end-to-brace): Collapse block to one line if it fits
5341 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5343 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5345 (debug): Don't remove debugger window when debugger is expected
5348 2012-09-18 Chong Yidong <cyd@gnu.org>
5350 * custom.el (defface): Doc fix.
5352 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5354 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5356 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5357 to initialize query-on-exit; then test that instead (bug#12288).
5359 2012-09-17 Stefan Merten <smerten@oekonux.de>
5361 * textmodes/rst.el: Add support for `testcover'.
5362 (rst-defcustom-testcover, rst-testcover-add-compose)
5363 (rst-testcover-add-1value): New functions.
5364 (rst-portable-mark-active-p): Replace by `use-region-p'.
5365 (rst-update-section, rst-classify-adornment)
5366 (rst-find-title-line): Mark `1value' forms.
5367 (rst-classify-adornment): Remove superfluous form.
5368 (rst-update-section, rst-get-adornments-around)
5369 (rst-adornment-complete-p, rst-get-next-adornment)
5370 (rst-adjust, rst-promote-region)
5371 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5372 (rst-find-pfx-in-region, rst-section-tree-rec)
5373 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5374 (rst-toc-node, rst-toc, rst-forward-section)
5375 (rst-iterate-leftmost-paragraphs)
5376 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5377 (rst-bullet-list-region)
5378 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5379 (rst-compile-find-conf, rst-compile)
5380 (rst-repeat-last-character): Fix style.
5382 2012-09-17 Chong Yidong <cyd@gnu.org>
5384 * comint.el (comint--complete-file-name-data): Don't add a space
5385 if the status is `sole'; that adds a gratuitous space in the
5386 completion-cycling case (Bug#12092).
5388 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5390 2012-09-17 Richard Stallman <rms@gnu.org>
5392 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5393 only in the mime-shown mode, not in raw mode.
5394 (rmail-mime): Toggle off mime by displaying the message without
5395 mime processing. (Bug#12305)
5397 * mail/rmail.el (rmail-retry-failure):
5398 Turn off mime processing first. (Bug#12037)
5400 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5402 2012-09-17 Chong Yidong <cyd@gnu.org>
5404 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5405 (shell-dynamic-complete-functions): Convert to defcustom.
5406 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5408 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5409 * comint.el (comint-prompt-read-only):
5410 * custom.el (defcustom):
5411 * hi-lock.el (hi-lock-mode):
5412 * ibuffer.el (ibuffer-formats):
5413 * ielm.el (ielm-prompt-read-only):
5414 * novice.el (disable-command):
5415 * saveplace.el (toggle-save-place):
5416 * speedbar.el (speedbar-supported-extension-expressions):
5417 * startup.el (auto-save-list-file-prefix, init-file-user)
5418 (after-init-hook, inhibit-startup-echo-area-message):
5419 * strokes.el (strokes-help):
5420 * time-stamp.el (time-stamp):
5421 * calendar/calendar.el (calendar, diary-file):
5422 * calendar/diary-lib.el (diary-mail-entries, diary)
5423 (diary-list-entries-hook):
5424 * calendar/holidays.el (holidays, calendar-holidays):
5425 * calendar/lunar.el (lunar-phases):
5426 * calendar/solar.el (sunrise-sunset):
5427 * emulation/edt.el (edt-load-keys):
5428 * emulation/viper.el (viper-mode):
5429 * eshell/em-alias.el (eshell-command-aliases-list):
5430 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5431 * international/ogonek.el (ogonek-information):
5432 * net/tramp-cmds.el (tramp-bug):
5433 * net/quickurl.el (quickurl-reread-hook-postfix):
5434 * play/decipher.el (decipher-font-lock-keywords):
5435 * progmodes/cc-styles.el (c-set-style):
5436 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5437 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5438 * progmodes/octave-mod.el (octave-mode):
5439 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5440 * progmodes/verilog-mode.el (verilog-read-defines):
5441 * textmodes/two-column.el (2C-mode): Likewise.
5443 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5445 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5446 that holds many addresses.
5448 2012-09-16 Chong Yidong <cyd@gnu.org>
5450 * align.el (align-areas): Call the indication function with
5451 positions instead of markers for arguments (Bug#12343).
5453 * files.el (parse-colon-path): Use split-string (Bug#12351).
5455 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5456 (display-buffer-function): Mark as obsolete.
5458 * progmodes/compile.el (compilation-parse-errors): Accept list
5459 values similar to font-lock-keywords (Bug#12136).
5460 Suggested by Oleksandr Manzyuk.
5461 (compilation-error-regexp-alist): Doc fix.
5463 2012-09-15 Glenn Morris <rgm@gnu.org>
5465 * version.el (emacs-bzr-version-bzr): New function.
5466 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5468 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5469 checkouts, check the parent dirstate matches the branch.
5470 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5473 * version.el (emacs-bzr-version): Doc fix.
5474 (emacs-bzr-version-dirstate): New function.
5475 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5476 is local try and check that it matches the branch. If not, just
5477 use dirstate information. (Bug#12441)
5479 2012-09-14 Juri Linkov <juri@jurta.org>
5481 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5484 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5486 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5488 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5489 Remove obsolete byte-compiler hack that tried to silence some warnings.
5490 (edebug-submit-bug-report): Remove.
5491 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5492 Remove aliases, use the un-prefixed name instead.
5493 (edebug-pop-to-buffer): Consider other frames.
5494 (edebug-original-read):: Make it more obvious that it's always defined.
5495 (edebug--make-form-data-entry, edebug--form-data-name)
5496 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5497 single-dashed name, and implement with cl-defstruct.
5498 (edebug-set-form-data-entry): Use the standard accessors.
5499 (edebug-make-top-form-data-entry): Use push.
5500 (edebug-no-match): Drop useless `funcall'.
5501 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5503 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5504 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5505 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5506 (easy-menu-define, with-custom-print): Remove redundant specs.
5507 (edebug-outside-overriding-local-map)
5508 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5509 (edebug--display): Bind unread-command-events directly to nil rather
5510 than binding it to unread-command-events and later setting it to nil.
5511 (edebug--display): Kill edebug-eval-buffer here...
5512 (edebug--recursive-edit): ...rather than here.
5513 Bind standard-output and standard-input.
5514 (edebug-eval): Check cl-macroexpand-all is fboundp.
5515 (edebug-temp-display-freq-count): Fix last change.
5517 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5518 * subr.el (noreturn, 1value): Add `debug' spec.
5519 * emacs-lisp/advice.el: Require cl-lib.
5520 (ad-copy-tree): Remove, use copy-tree instead.
5521 (ad-dolist): Remove use dolist or cl-dolist instead.
5522 (ad-do-return): Remove, use cl-return instead.
5523 (defadvice): Add `debug' spec.
5525 2012-09-13 Juri Linkov <juri@jurta.org>
5527 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5530 2012-09-13 Glenn Morris <rgm@gnu.org>
5532 * calc/calc.el (math-compose-expr):
5533 * calc/calc-ext.el (math-compose-expr):
5534 * progmodes/cc-defs.el (cl-macroexpand-all):
5535 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5536 (cl-macroexpand-all): Update declarations.
5538 * vc/vc.el: No need to require ediff.
5539 (ediff-load-version-control): Declare.
5540 (ediff-vc-internal): Fix declaration.
5541 (vc-version-ediff): Require ediff.
5543 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5545 Use a more backwards-compatible timer format (Bug#12430).
5546 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5547 being right after USECS, as that better supports old code that
5548 inadvisedly looked directly at the timer vector.
5550 2012-09-13 Kenichi Handa <handa@gnu.org>
5552 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5553 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5554 `coding-priority' property of these language environment.
5556 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5558 Fix glitches caused by addition of psec to timers (Bug#12430).
5559 * image.el (image-animate-timer):
5560 * time.el (display-time-world-timer):
5561 Use timer--function and timer--args rather than raw access to
5564 2012-09-13 Glenn Morris <rgm@gnu.org>
5566 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5567 If not compiling a file, try using load-file-name.
5569 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5571 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5573 (edebug-update-eval-list): Use `push'.
5575 * emacs-lisp/edebug.el: Use lexical-binding.
5576 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5577 Mark unused args with underscore.
5578 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5579 (edebug-form-data): Use defvar-local.
5580 (edebug-make-before-and-after-form, edebug-make-after-form):
5582 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5583 Not dynamically scoped any more.
5584 (edebug--enter-trace): Add arguments `function' and `args'.
5585 Rename from edebug-enter-trace.
5586 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5587 (edebug--update-coverage): Add `after-index' and `value' args.
5588 Rename from edebug-update-coverage.
5589 (edebug-slow-after): Call it accordingly.
5590 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5591 edebug-recursive-edit.
5592 (edebug--display): Call it accordingly. Add args `value',
5593 `offset-index', and `arg-mode'. Rename from edebug-display.
5594 (edebug-debugger, edebug): Call it accordingly.
5595 (edebug-eval-display-list): Use dolist.
5597 2012-09-12 Juri Linkov <juri@jurta.org>
5599 * info.el (Info-search): Don't check for isearch-mode and
5600 isearch-regexp before let-binding search-spaces-regexp to
5601 Info-search-whitespace-regexp.
5602 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5603 search-whitespace-regexp if isearch-lax-whitespace or
5604 isearch-regexp-lax-whitespace is non-nil.
5605 (Info-mode): Don't set local variable search-whitespace-regexp.
5606 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5608 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5610 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5611 (debugger-env-macro): Remove support for unread-command-char.
5613 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5614 the temporary map re-appearing on emulation-mode-map-alists.
5616 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5619 * ehelp.el (with-electric-help): Accept functions in
5620 electric-help-form-to-execute.
5621 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5622 And replace unread-command-char -> unread-command-events.
5624 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5626 Sync with Tramp 2.2.6.
5628 * net/tramp.el (tramp-accept-process-output): Don't use
5629 JUST-THIS-ONE in the XEmacs case.
5631 * net/trampver.el: Update release number.
5633 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5635 * emacs-lisp/debug.el (debugger-previous-window-height):
5637 (debug): When debugger-jumping-flag is non-nil try to restore
5638 height of debugger window. (Bug#8789)
5640 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5642 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5643 overriding-local-map and pre/post-command-hook here.
5644 (edebug-recursive-edit): Do it here instead (bug#12345).
5645 (edebug-outside-unread-command-char): Remove all uses of
5646 unread-command-char.
5648 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5649 inhibit-debugger is bound instead.
5651 2012-09-11 Bastien Guerry <bzg@gnu.org>
5653 * subr.el (set-temporary-overlay-map): Add a docstring.
5656 2012-09-11 Bastien Guerry <bzg@gnu.org>
5658 * minibuffer.el (completion-table-subvert): Fix docstring.
5661 2012-09-11 Bastien Guerry <bzg@gnu.org>
5663 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
5665 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5667 * progmodes/sql.el: Version 3.1
5668 (sql-db2-escape-newlines): New variable.
5669 (sql-escape-newlines-filter): Use it.
5671 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
5673 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5675 2012-09-10 Dan Nicolaescu <dann@gnu.org>
5677 * vc/diff-mode.el (diff-mode-menu):
5678 Bind diff-remove-trailing-whitespace.
5680 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5682 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
5683 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5684 (emacs-lisp-byte-code-mode): New functions.
5685 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5686 (eval-defun-2): Remove bogus interactive spec.
5687 (lisp-indent-line): Remove redundant whole-exp code, now done in
5688 indent-according-to-mode.
5689 (save-match-data): Remove redundant indent data.
5691 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5694 2012-09-09 Juri Linkov <juri@jurta.org>
5696 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5697 (replace-lax-whitespace, query-replace-regexp)
5698 (query-replace-regexp-eval, replace-regexp): Doc fix.
5699 (perform-replace, replace-highlight): Let-bind
5700 isearch-lax-whitespace to replace-lax-whitespace and
5701 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5703 * isearch.el (isearch-query-replace): Let-bind
5704 replace-lax-whitespace to isearch-lax-whitespace and
5705 replace-regexp-lax-whitespace to
5706 isearch-regexp-lax-whitespace. (Bug#10885)
5708 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5710 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5712 2012-09-09 Alan Mackenzie <acm@muc.de>
5714 * progmodes/cc-engine.el (c-state-cache-init):
5715 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5716 (c-record-parse-state-state):
5717 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
5719 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5721 * register.el (register-separator): Rename from
5722 separator-register. All uses changed. Doc fix.
5723 (register): Fix version.
5725 2012-09-09 Chong Yidong <cyd@gnu.org>
5727 * replace.el (query-replace-map): Bind four new symbols for
5728 requesting window scrolling.
5730 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5731 query-replace-map (Bug#8948).
5733 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5735 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5736 since they are now in query-replace-map.
5738 * window.el (scroll-other-window-down): Make the arg optional.
5740 2012-09-09 Chong Yidong <cyd@gnu.org>
5742 * files.el (hack-local-variables-confirm): Use quit-window to kill
5743 the *Local Variables* buffer.
5745 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5747 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5748 not just expect to be at its beginning. Adjust callees.
5749 Succeed when do-end block has no space before the pipe character.
5750 (ruby-brace-to-do-end): When the original block is one-liner,
5751 convert to multiline. Reindent the result.
5753 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
5755 * register.el (register): New group.
5756 (separator-register): New user option.
5757 (increment-register): Route it to `append-to-register', if
5758 register contains text. Implication is that `C-x r +' can now be
5759 used for appending to a text register (bug#12217).
5760 (append-to-register, prepend-to-register): Add separator based on
5761 `separator-register'.
5763 2012-09-08 Alan Mackenzie <acm@muc.de>
5765 AWK Mode: make auto-newline work when there's "==" in the pattern.
5766 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5768 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5769 Test more rigorously for "=" token.
5771 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5773 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5774 Only fail when reached LIMIT.
5776 2012-09-08 Chong Yidong <cyd@gnu.org>
5778 * dired.el (dired-mode-map): Don't bind M-=.
5780 * dired-aux.el (dired-diff): Use backup file as default.
5782 2012-09-08 Drew Adams <drew.adams@oracle.com>
5784 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5786 2012-09-08 Chong Yidong <cyd@gnu.org>
5788 * subr.el (syntax-after, syntax-class): Doc fix.
5790 2012-09-08 Martin Rudalics <rudalics@gmx.at>
5792 * window.el (display-buffer-in-previous-window): New buffer
5793 display action function.
5795 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5796 (debugger-previous-window): New variable.
5797 (debug): Rewrite using display-buffer-in-previous-window,
5798 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5800 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5802 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5804 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5806 * progmodes/python.el (python-shell-send-string):
5807 When default-directory is remote, create temp file on remote
5809 (python-shell-send-file): When file is remote, pass local view of
5810 file paths to remote Python interpreter. (Bug#12340)
5812 2012-09-07 Chong Yidong <cyd@gnu.org>
5814 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5816 * files.el (after-find-file): Don't fail on a read-only buffer if
5817 require-final-newline is `visit' or `visit-save' (Bug#11156).
5819 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5821 * userlock.el (ask-user-about-supersession-threat):
5822 Use read-char-choice (Bug#12093).
5824 2012-09-07 Chong Yidong <cyd@gnu.org>
5826 * subr.el (buffer-narrowed-p): New function.
5828 * ses.el (ses-widen):
5829 * simple.el (count-words--buffer-message):
5830 * net/browse-url.el (browse-url-of-buffer): Use it.
5832 * simple.el (count-words-region): Don't signal an error if there
5833 is a non-nil prefix arg and the mark is not set.
5835 * help.el (describe-key-briefly): Allow the message to be seen
5836 when invoked from the minibuffer (Bug#7014).
5838 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5840 * progmodes/ruby-mode.el (ruby-end-of-defun)
5841 (ruby-beginning-of-defun): Simplify, allow indentation before
5842 block beginning and end keywords.
5843 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5844 (ruby-end-of-defun): Expect that the point is at the beginning of
5847 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5849 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5851 (cl--make-usage-args): Strip _ from argument names.
5853 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5855 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5856 obsolete alias speedbar-key-map.
5857 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5858 (vhdl-index-menu-init): Don't use obsolete variable
5859 font-lock-maximum-size.
5861 2012-09-06 Chong Yidong <cyd@gnu.org>
5863 * frame.el (window-system-version): Mark as obsolete.
5865 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5866 of obsolete variable speedbar-key-map.
5868 2012-09-06 Juri Linkov <juri@jurta.org>
5870 * replace.el (replace-lax-whitespace): New defcustom.
5871 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5872 (replace-string, replace-regexp): Mention it in docstrings.
5873 (perform-replace, replace-highlight): Let-bind
5874 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5875 to the values of replace-lax-whitespace and regexp-flag.
5876 Don't let-bind search-whitespace-regexp. (Bug#10885)
5878 * isearch.el (isearch-query-replace): Let-bind
5879 replace-lax-whitespace instead of let-binding
5880 replace-search-function and replace-re-search-function.
5881 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5882 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5883 (isearch-toggle-symbol): Set isearch-regexp to nil
5884 in isearch-word mode (like in isearch-toggle-word).
5886 2012-09-06 Juri Linkov <juri@jurta.org>
5888 * replace.el (replace-search-function)
5889 (replace-re-search-function): Set default values to nil.
5890 (perform-replace): Let-bind isearch-related variables based on
5891 replace-related values, call `isearch-search-fun' and let-bind
5892 the result to `search-function'. Remove code that sets
5893 `search-function' and `search-string' separately for
5895 (replace-highlight): Add new argument `delimited-flag' and
5896 rename other arguments to the names used in `perform-replace'.
5897 Let-bind `isearch-word' to the argument `delimited-flag'.
5898 (Bug#10885, bug#10887)
5900 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5902 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5903 ruby-beginning-of-indent, simplify, allow all keywords to have
5904 indentation before them.
5905 (ruby-beginning-of-indent): Adjust for above. Search until the
5906 found point is not inside a string or comment.
5907 (ruby-font-lock-keywords): Allow symbols to start with "@"
5908 character, give them higher priority than variables.
5909 (ruby-syntax-propertize-function)
5910 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5911 matchers. Expression expansions are not comments when inside a
5912 string, and there comment syntax status is irrelevant.
5913 (ruby-match-expression-expansion): New function. Check that
5914 expression expansion is inside a string, and it's not escaped.
5915 (ruby-font-lock-keywords): Use it.
5917 2012-09-05 Martin Rudalics <rudalics@gmx.at>
5919 * help.el (temp-buffer-max-height): New default value.
5920 (temp-buffer-resize-frames): New option.
5921 (resize-temp-buffer-window): Optionally resize frame.
5923 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5924 (fit-frame-to-buffer): New function.
5926 2012-09-05 Glenn Morris <rgm@gnu.org>
5928 * emulation/cua-rect.el (cua--init-rectangles):
5929 * textmodes/picture.el (picture-mode-map):
5930 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5931 like forward-char and backward-char. (Bug#12317)
5933 2012-09-05 Leo Liu <sdl.web@gmail.com>
5935 * progmodes/flymake.el (flymake-warning-re): New variable.
5936 (flymake-parse-line): Use it.
5938 2012-09-05 Glenn Morris <rgm@gnu.org>
5940 * calendar/holidays.el (holiday-christian-holidays):
5941 Rename an entry. (Bug#12289)
5943 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5945 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5948 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5950 * loadup.el: Load macroexp. Remove hack.
5951 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5952 (macroexp--expand-all): Use it to get better warnings.
5953 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5954 (internal-macroexpand-for-load): New functions.
5955 (macroexp--pending-eager-loads): New var.
5956 (emacs-startup-hook): New hack to replace one in loadup.el.
5957 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5958 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5959 (cl-psetf): Simplify.
5960 (cl-defstruct): Add indent rule.
5962 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5964 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5965 over `user-mail-address' for the SMTP MAIL FROM envelope.
5966 (smtpmail-via-smtp): Ditto.
5968 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5970 * progmodes/ruby-mode.el: Clean up keybindings.
5971 (ruby-mode-map): Don't bind ruby-electric-brace,
5972 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5973 backward-kill-word, reindent-then-newline-and-indent.
5974 (ruby-mark-defun): Remove.
5975 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5976 (ruby-mode): Set local beginning-of-defun-function and
5977 end-of-defun-function values.
5979 2012-09-03 Martin Rudalics <rudalics@gmx.at>
5981 * window.el (temp-buffer-window-setup-hook)
5982 (temp-buffer-window-show-hook): New hooks.
5983 (temp-buffer-window-setup, temp-buffer-window-show)
5984 (with-temp-buffer-window): New functions.
5985 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5986 (special-display-popup-frame): Make sure the window used shows BUFFER.
5988 * help.el (temp-buffer-resize-mode): Fix doc-string.
5989 (resize-temp-buffer-window): New optional argument WINDOW.
5991 * files.el (recover-file, save-buffers-kill-emacs):
5992 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5994 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
5996 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5997 remote definition of `default-directory', ensure we can connect.
5999 2012-09-02 Juri Linkov <juri@jurta.org>
6001 Toggle whitespace matching mode with M-s SPC.
6002 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6004 * isearch.el (search-whitespace-regexp): Doc fix.
6005 Remove cons cell customization.
6006 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6007 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6009 (isearch-forward, isearch-forward-regexp): Doc fix.
6010 (isearch-toggle-lax-whitespace): New command.
6011 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6012 (re-search-forward-lax-whitespace)
6013 (re-search-backward-lax-whitespace): New functions.
6014 (isearch-whitespace-regexp): Remove function.
6015 (isearch-query-replace): Let-bind replace-search-function and
6016 replace-re-search-function.
6017 (isearch-occur): Let-bind search-spaces-regexp according to the
6018 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6019 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6020 condition for C-q SPC.
6021 (isearch-search-fun-default): Use new functions mentioned above.
6022 (isearch-search-forward, isearch-search-backward): Remove functions.
6023 (isearch-search): Don't let-bind search-spaces-regexp.
6024 (isearch-lazy-highlight-space-regexp): Remove variable.
6025 (isearch-lazy-highlight-lax-whitespace)
6026 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6027 (isearch-lazy-highlight-new-loop): Use them.
6028 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6030 2012-09-02 Chong Yidong <cyd@gnu.org>
6032 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6034 2012-09-02 Glenn Morris <rgm@gnu.org>
6036 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6038 2012-09-01 Glenn Morris <rgm@gnu.org>
6040 * term.el: Tidy up menu definitions.
6041 (term-mode-map): Use easymenu for In/Out, Complete menus.
6042 (term-pager-break-map): Initialize in the defvar.
6043 (term-terminal-menu, term-signals-menu): Define with easymenu.
6044 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6045 (term-pager-menu): New, extracted from term-process-pager.
6046 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6047 (term-update-mode-line): Propertize line/char and page items.
6048 (term-process-pager): Move keymap initialization elsewhere.
6050 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6052 * window.el (switch-to-prev-buffer): Handle additional values of
6053 BURY-OR-KILL argument. Don't switch in minibuffer window.
6054 (switch-to-next-buffer): Don't switch in minibuffer window.
6055 (quit-restore-window): New function based on quit-window.
6056 Handle additional values of former KILL argument.
6057 (quit-window): Call quit-restore-window with appropriate
6058 interpretation of KILL argument.
6059 (display-buffer-below-selected): New buffer display action
6062 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6064 * minibuffer.el (completion-at-point-functions): Complete docstring
6067 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6069 Better seed support for (random).
6070 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6071 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6072 * play/mpuz.el, play/tetris.el, play/zone.el:
6073 * calc/calc-comb.el (math-init-random-base):
6074 * play/blackbox.el (bb-init-board):
6075 * play/life.el (life):
6076 * server.el (server-use-tcp):
6077 * type-break.el (type-break):
6078 Remove unnecessary call to (random t).
6079 * net/sasl.el (sasl-unique-id-function):
6080 Change (random t) to (random), now that the latter is more random.
6081 * play/life.el (life-initialized): Remove no-longer-needed var.
6083 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6085 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6086 Consider frame's buffer predicate when choosing the buffer.
6089 2012-08-30 Richard Stallman <rms@gnu.org>
6091 * simple.el (special-mode-map): Delete binding for `z'.
6093 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6095 * progmodes/compile.el (compilation-always-kill): Doc fix.
6097 2012-08-30 Chong Yidong <cyd@gnu.org>
6099 * window.el (display-buffer-reuse-frames): Make the obsolescence
6100 message more informative.
6102 2012-08-30 Glenn Morris <rgm@gnu.org>
6104 * paren.el (show-paren-delay):
6105 Add a :set function. Doc fix. (Bug#12297)
6107 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6109 * progmodes/compile.el (compilation-always-kill): New var.
6110 (compilation-start): Use it.
6112 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6114 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6115 * files.el (read-only-mode): Move to simple.el.
6117 * files.el (read-only-mode): New minor mode.
6118 (toggle-read-only): Use it and mark obsolete.
6119 (find-file--read-only):
6120 * vc/vc.el (vc-next-action, vc-checkout):
6121 * vc/vc-cvs.el (vc-cvs-checkout):
6122 * obsolete/vc-mcvs.el (vc-mcvs-update):
6123 * ffap.el (ffap--toggle-read-only): Update callers.
6125 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6127 * eshell/esh-ext.el (eshell-external-command): Do not examine
6128 remote shell scripts.
6129 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6131 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6134 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6136 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6138 2012-08-28 Leo Liu <sdl.web@gmail.com>
6140 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6141 completion-at-point. (Bug#12220)
6143 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6145 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6147 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6149 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6150 be buffer-local; add delete-trailing-whitespace (bug#12259).
6152 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6154 * progmodes/hideif.el (hif-compress-define-list):
6155 Fix typo. (Bug#11951)
6157 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6159 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6160 buffer local setting.
6162 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6163 rcirc-encode-coding-system.
6165 2012-08-28 Leo Liu <sdl.web@gmail.com>
6167 * net/rcirc.el (rcirc-split-message): New function.
6168 (rcirc-send-message): Use it. (Bug#12051)
6170 2012-08-28 Juri Linkov <juri@jurta.org>
6172 * info.el (Info-fontify-node): Hide empty lines at the end of
6173 the node. (Bug#12272)
6175 2012-08-27 Drew Adams <drew.adams@oracle.com>
6177 * dired.el (dired-pop-to-buffer): Make window start at beginning
6178 of buffer (Bug#12281).
6180 2012-08-26 Chong Yidong <cyd@gnu.org>
6182 * window.el (special-display-regexps, special-display-frame-alist)
6183 (special-display-buffer-names, special-display-function)
6184 (display-buffer-reuse-frames): Mark as obsolete.
6186 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6188 * help.el (help-print-return-message): Don't treat
6189 display-buffer-reuse-frames specially.
6191 2012-08-26 Chong Yidong <cyd@gnu.org>
6193 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6194 New variable, replacing gdb-frame-parameters.
6195 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6196 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6197 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6198 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6199 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6200 the functions directly with gdb-display-buffer-other-frame-action.
6201 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6202 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6203 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6204 (gdb-display-registers-buffer): Define directly.
6205 (def-gdb-display-buffer): Macro deleted.
6206 (gdb-display-buffer): Remove second and third args, callers don't
6207 use them. Defer to the default display-buffer behavior, apart
6208 from making windows dedicated.
6209 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6211 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6213 * window.el (display-buffer-pop-up-frame): Handle a
6214 pop-up-frame-parameters alist entry.
6215 (display-buffer): Document it.
6217 2012-08-26 Chong Yidong <cyd@gnu.org>
6219 * isearch.el (search-whitespace-regexp): Make string and nil
6220 values apply to both ordinary and regexp search. Allow a cons
6221 cell value to distinguish between the two.
6222 (isearch-whitespace-regexp, isearch-search-forward)
6223 (isearch-search-backward): New functions.
6224 (isearch-occur, isearch-search-fun-default, isearch-search)
6225 (isearch-lazy-highlight-new-loop): Use them.
6226 (isearch-forward, isearch-forward-regexp): Doc fix.
6228 2012-08-26 Chong Yidong <cyd@gnu.org>
6230 * faces.el (help-argument-name): Always inherit from italic
6233 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6235 * window.el (window--even-window-heights): Even heights when
6236 WINDOW and the selected window form a vertical combination.
6237 (display-buffer-use-some-window): Provide that window used gets
6238 sized back by quit-window. (Bug#11880) and (Bug#12091)
6240 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6242 Fix file time stamp problem with bzr and CVS (Bug#12001).
6243 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6244 in the file's time stamp, since the version control system loses
6247 2012-08-22 Juri Linkov <juri@jurta.org>
6249 * info.el (Info-fontify-node): Hide the suffix of the
6250 Info file name in the header line. (Bug#12187)
6252 2012-08-22 Glenn Morris <rgm@gnu.org>
6254 * calendar/cal-tex.el (cal-tex-weekly-common):
6255 Restore leading blank page.
6257 2012-08-22 Le Wang <l26wang@gmail.com>
6259 * misc.el (forward-to-word, backward-to-word): Activate or extend
6260 the region under `shift-select-mode'. (Bug#12231)
6262 2012-08-22 Bastien Guerry <bzg@gnu.org>
6264 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6265 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6266 gives details on why the space is never needed.
6268 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6270 * window.el (walk-window-tree, window-with-parameter):
6271 New optional argument MINIBUF to control whether these functions
6272 should run on the minibuffer window.
6273 (window-at-side-list): Don't operate on minibuffer window.
6274 (window-in-direction): Simplify and rewrite doc-string.
6275 (window--size-ignore): Rename to window--size-ignore-p.
6277 (display-buffer-in-atom-window, window--major-non-side-window)
6278 (window--major-side-window, display-buffer-in-major-side-window)
6279 (delete-side-window, display-buffer-in-side-window):
6281 (window--side-check, window-deletable-p, delete-window)
6282 (delete-other-windows, split-window): Handle side windows and
6283 atomic windows appropriately.
6284 (window--display-buffer): Call display-buffer-record-window also
6285 when the window buffer did not change.
6287 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6289 * help-fns.el (help-fns--key-bindings):
6290 Abbreviate non-symbol remap targets. (Bug#12174)
6292 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6294 * dired.el (dired-mark-remembered): Don't clobber point.
6297 2012-08-22 Glenn Morris <rgm@gnu.org>
6299 * progmodes/bug-reference.el (bug-reference): New custom group.
6300 (bug-reference-bug-regexp): Make it a defcustom.
6302 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6304 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6305 (js-paren-indent-offset, js-square-indent-offset)
6306 (js-curly-indent-offset): Add :safe (Bug#12257).
6308 2012-08-22 Edward O'Connor <hober0@gmail.com>
6310 * json.el (json-key-format): Add error properties.
6311 (json-encode-key): New function.
6312 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6313 Use json-encode-key.
6315 2012-08-22 Glenn Morris <rgm@gnu.org>
6317 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6318 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6319 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6320 Update for above change.
6322 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6324 * cus-face.el (custom-face-attributes): Fix customize type for the
6325 :underline attribute. (Bug#11805)
6327 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6329 * window.el (window-point-1, set-window-point-1): Remove.
6330 (window-in-direction, record-window-buffer)
6331 (set-window-buffer-start-and-point, split-window-below)
6332 (window--state-get-1, display-buffer-record-window):
6333 Replace calls to window-point-1 and set-window-point-1 by calls to
6334 window-point and set-window-point respectively.
6336 2012-08-21 Glenn Morris <rgm@gnu.org>
6338 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6339 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6342 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6343 (cal-tex-shortday): New function.
6344 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6345 (cal-tex-cursor-filofax-daily): Use the above.
6347 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6349 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6350 (cal-tex-cursor-filofax-week): Use them.
6352 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6354 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6355 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6357 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6358 (cal-tex-end-document): Don't rely on buffer name.
6360 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6362 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6363 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6364 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6367 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6368 (cal-tex-cursor-week, cal-tex-cursor-week2)
6369 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6370 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6371 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6372 (cal-tex-insert-preamble, cal-tex-b-document)
6373 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6374 Improve cal-tex-cmd usage.
6376 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6377 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6378 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6379 (cal-tex-weekly-paper): New function.
6380 (cal-tex-cursor-week, cal-tex-cursor-week2)
6381 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6382 (cal-tex-cursor-day): Use it.
6384 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6385 (cal-tex-cursor-filofax-week): Remove leading blank page.
6387 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6388 Add autoload cookie. For now at least, don't use color, since
6389 no other cal-tex function does.
6391 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6392 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6393 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6395 2012-08-21 Juri Linkov <juri@jurta.org>
6397 * info.el (Info-file-attributes): New variable.
6398 (info-insert-file-contents): Add file attributes to
6399 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6400 `Info-toc-nodes' when previous modtime of the Info file is less
6402 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6403 of info.el. (Bug#12230)
6405 2012-08-20 Glenn Morris <rgm@gnu.org>
6407 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6408 * calendar/holidays.el (calendar-holiday-list):
6409 Report errors with display-warning rather than beep'n'sleep.
6411 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6413 * net/tramp.el (tramp-accept-process-output): Accept only output
6414 from PROC. Otherwise, process filters and sentinels might be
6415 confused. (Bug#12145)
6417 2012-08-20 Chong Yidong <cyd@gnu.org>
6419 * descr-text.el (describe-text-properties-1): Use overlays-in to
6420 report on empty overlays (Bug#3322).
6422 2012-08-20 Glenn Morris <rgm@gnu.org>
6424 * mail/rmailout.el (rmail-output-read-file-name):
6425 Trap and report errors in rmail-output-file-alist elements.
6427 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6428 since most non-font-lock faces are not also variables).
6430 2012-08-20 Edward Reingold <reingold@iit.edu>
6432 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6433 New function. (Bug12160)
6435 2012-08-19 Glenn Morris <rgm@gnu.org>
6437 * mail/rmailout.el (rmail-output-read-file-name):
6438 Fix previous change (when the alist is nil or does not match).
6440 2012-08-19 Chong Yidong <cyd@gnu.org>
6442 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6445 2012-08-18 Chong Yidong <cyd@gnu.org>
6447 * simple.el (yank-handled-properties): New defcustom.
6448 (yank-excluded-properties): Add font-lock-face and category.
6451 * subr.el (remove-yank-excluded-properties):
6452 Obey yank-handled-properties. The special handling of font-lock-face
6453 and category is now done this way, instead of being hard-coded.
6454 (insert-for-yank-1): Remove font-lock-face handling.
6455 (yank-handle-font-lock-face-property)
6456 (yank-handle-category-property): New function.
6458 2012-08-17 Glenn Morris <rgm@gnu.org>
6460 * mail/rmailout.el (rmail-output-read-file-name):
6461 Check rmail-output-file-alist against the full message body
6462 in the correct rmail buffer. (Bug#12214)
6464 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6466 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6467 Eliminate superfluous prompt. (Bug#12203)
6469 2012-08-17 Chong Yidong <cyd@gnu.org>
6471 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6472 font spec, set the font directly (Bug#3228).
6474 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6476 * window.el (delete-window): Fix last fix.
6478 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6480 * window.el (window-valid-p): Move to window.c.
6481 (window-child, window-child-count, window-last-child)
6482 (window-normalize-window, window-combined-p)
6483 (window-combinations, window-atom-root, window-min-size)
6484 (window-sizable, window-sizable-p, window-size-fixed-p)
6485 (window-min-delta, window-max-delta, window--resizable)
6486 (window--resizable-p, window-resizable, window-total-size)
6487 (window-full-height-p, window-full-width-p, window-body-size)
6488 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6489 (minimize-window, window-deletable-p, delete-window)
6490 (delete-other-windows, set-window-buffer-start-and-point)
6491 (next-buffer, previous-buffer, split-window, balance-windows-2)
6492 (set-window-text-height, window-buffer-height)
6493 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6494 (truncated-partial-width-window-p): Minor code adjustments.
6495 In doc-strings state whether the argument window has to denote a
6496 live, valid or any window.
6498 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6500 * progmodes/subword.el (subword-forward-function)
6501 (subword-backward-function, subword-forward-regexp)
6502 (subword-backward-regexp): New variables.
6503 (subword-forward, subword-forward-internal, subword-backward-internal):
6504 Use new variables, eg so that different "word" definitions
6505 can be easily used. (Bug#11411)
6507 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6509 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6510 for composite selectors.
6511 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6512 operation just because we can't find a previous revision.
6514 2012-08-15 Chong Yidong <cyd@gnu.org>
6516 * frame.el (set-frame-font): Accept font objects.
6518 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6520 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6522 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6524 * man.el (Man-overstrike-face, Man-underline-face)
6525 (Man-reverse-face): Remove variables.
6526 (Man-overstrike, Man-underline, Man-reverse): New faces.
6527 (Man-fontify-manpage): Use them instead of the variables.
6528 (Man-cleanup-manpage): Comment change.
6529 (Man-ansi-color-map): New variable.
6530 (Man-fontify-manpage): Use it.
6531 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6533 Implement ANSI SGR parameters 22-27 (bug#12146).
6534 * ansi-color.el (ansi-colors): Doc fix.
6535 (ansi-color-context, ansi-color-context-region): Doc fix.
6536 (ansi-color--find-face): New function.
6537 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6538 Rename the local variable `face' to `codes' since it is now a list of
6539 ansi codes. Doc fix.
6540 (ansi-color-get-face): Remove.
6541 (ansi-color-parse-sequence): New function, derived from
6542 ansi-color-get-face.
6543 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6546 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6548 * subr.el (read-passwd): Allow use from a minibuffer.
6550 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6552 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6553 inside comments and strings as identifiers.
6555 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6556 expression to evaluate. This allows to evaluate expressions with
6557 embedded whitespace.
6558 (gud-tooltip-tips): Add a blank before the newline in the
6559 message-box text, for the benefit of message-box emulation on
6562 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6563 messages from GDB, pop them up in a tooltip to give feedback to
6565 (gdb-tooltip-print-1): Quote the expression to evaluate.
6566 This allows to evaluate expressions with embedded whitespace.
6567 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6568 if the TTY name is nil or empty (which happens when communicating
6569 with the inferior via pipes, e.g. on MS-Windows).
6570 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6571 don't send that to the GUD buffer.
6573 2012-08-14 Glenn Morris <rgm@gnu.org>
6575 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6576 Optimize away setq-default with no args, as for setq. (Bug#12195)
6578 2012-08-14 Chong Yidong <cyd@gnu.org>
6580 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6582 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6585 2012-08-14 Glenn Morris <rgm@gnu.org>
6587 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6589 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6591 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6592 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6593 Use cached shell name.
6595 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6597 * progmodes/python.el (python-shell-send-string):
6598 (python-shell-send-setup-code): Do not use `format' with `message'.
6600 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6602 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6603 (ruby-percent-literal-beg-re): New constant.
6604 (ruby-syntax-general-delimiters-goto-beg): Rename to
6605 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6606 (ruby-syntax-propertize-general-delimiters): Rename to
6607 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6608 popular term. Adjust comments everywhere.
6609 (ruby-syntax-propertize-percent-literal): Only propertize when not
6610 inside a simple string or comment. When the literal is unclosed,
6611 leave the text after it unpropertized.
6612 (ruby-syntax-methods-before-regexp): New constant.
6613 (ruby-syntax-propertize-function): Use it to recognize regexps.
6614 Don't look at the text after regexp, just use the whitelist.
6616 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6618 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6619 non-nil always load the compiled file if it exists. (Bug#12197)
6621 2012-08-14 Chong Yidong <cyd@gnu.org>
6623 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6624 (hi-lock-set-pattern): When deciding whether to use font lock or
6625 overlays, look at font-lock-mode instead of font-lock-fontified
6627 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6628 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6630 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6632 * subr.el (internal--after-with-selected-window): Fix typo
6635 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6637 Use `completion-table-dynamic' for completion functions.
6638 * progmodes/python.el
6639 (python-shell-completion--do-completion-at-point)
6640 (python-shell-completion--get-completions):
6642 (python-shell-completion-complete-at-point): New function.
6643 (python-completion-complete-at-point): Use it.
6645 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6647 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6648 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6650 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6652 * subr.el (function-get): Refine `autoload' arg so it can also
6653 autoload functions for gv.el (bug#12191).
6654 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6657 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6658 Prefer pcase-let over destructuring-bind.
6659 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6660 Also, remove whitespace as we go, rather than after accumulating the
6663 * subr.el (internal--before-with-selected-window)
6664 (internal--after-with-selected-window): Fix typo seleted->selected.
6665 (with-selected-window): Adjust callers.
6666 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6668 2012-08-13 Bastien Guerry <bzg@gnu.org>
6670 * window.el (special-display-popup-frame): Minor docstring
6671 enhancement. (Bug#12172)
6673 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6675 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6677 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6680 * files.el (hack-local-variables-filter): Remove useless eval.
6682 2012-08-13 Martin Rudalics <rudalics@gmx.at>
6684 * subr.el (with-selected-window): Fix last change.
6686 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6688 * subr.el (internal--before-with-seleted-window)
6689 (internal--after-with-seleted-window): New functions.
6690 (with-selected-window): Use them, to replace dependency on
6693 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6695 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6696 binding for `newline'.
6697 (ruby-move-to-block): When moving backward, stop at block opening,
6699 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6700 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6701 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6702 `ruby-toggle-block'.
6704 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6706 * ibuffer.el (ibuffer-do-toggle-read-only):
6707 * dired.el (dired-toggle-read-only):
6708 * buff-menu.el (Buffer-menu-toggle-read-only):
6709 * bindings.el (mode-line-toggle-read-only):
6710 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6712 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6714 * descr-text.el (describe-char): Put the overlays over the
6715 "displayed as" character.
6717 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6719 * calc/calc-units.el (math-default-units-table): Give an
6721 (math-put-default-units): Add options to put composite units and
6722 unit systems in the default units table.
6723 (calc-convert-units): Send composite units to
6724 `math-put-default-units' when appropriate.
6726 2012-08-11 Glenn Morris <rgm@gnu.org>
6728 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6730 * tutorial.el (help-with-tutorial):
6731 * emacs-lisp/copyright.el (copyright-update-directory):
6732 * emacs-lisp/autoload.el (autoload-find-generated-file)
6733 (autoload-find-file): Disable local eval: (for insurance).
6735 * files.el (hack-local-variables-filter): If an eval: form is not
6736 known to be safe, and enable-local-variables is :safe, then ignore
6737 the form totally, as is done for non-eval forms. (Bug#12155)
6738 This is CVE-2012-3479.
6740 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6742 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6743 (rx-form): Simplify.
6745 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6747 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6748 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6749 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6750 (ruby-syntax-propertize-function): Adjust for changes in
6751 `ruby-syntax-propertize-heredoc'.
6753 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6755 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6756 binding (use `M-;' instead).
6757 (ruby-singleton-class-p): New function.
6758 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
6760 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6762 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6764 2012-08-10 Chong Yidong <cyd@gnu.org>
6766 * progmodes/python.el (python-shell-get-process-name): Don't mess
6767 with same-window-buffer-names.
6769 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6770 (eshell-remove-from-window-buffer-names): Make obsolete.
6771 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6772 (eshell): Just use pop-to-buffer-same-window instead.
6774 2012-08-10 Chong Yidong <cyd@gnu.org>
6776 * bindings.el: Bind M-= back to count-words-region.
6778 * simple.el (count-words-region): Accept a prefix arg for acting
6779 on the entire buffer.
6780 (count-words--buffer-message): New helper function.
6782 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6785 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6786 (event-start, event-end): Use posn-at-point to return a more
6788 (posnp): New function.
6789 * mouse.el (popup-menu-normalize-position): Use it.
6791 2012-08-10 Masatake YAMATO <yamato@redhat.com>
6793 * mouse.el (popup-menu-normalize-position): New function.
6794 (popup-menu): Use `popup-menu-normalize-position' to normalize
6795 the form for POSITION argument.
6797 * term/x-win.el (x-menu-bar-open):
6798 Use the value returend from (posn-at-point) as position
6799 passed to `popup-menu'.
6801 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6803 * calc/calccomp.el (math-compose-expr): Add extra argument
6804 indicating that parentheses should be put around products in
6805 denominators. Give multiplication precedence over division during
6808 2012-08-09 Chong Yidong <cyd@gnu.org>
6810 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6811 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6812 (Man-untabify-command, manual-program): Convert to defcustom
6815 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6817 * descr-text.el (describe-char): Don't insert extra newlines
6820 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6821 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6823 * align.el (align-region): Delete temporary markers (Bug#10047).
6824 Plus some code cleanups.
6826 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6828 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6829 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6830 (python-shell-internal-last-output): Use make-local-variable
6831 instead of make-variable-buffer-local.
6833 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6835 * progmodes/python.el: Enhancements to forward-sexp.
6836 (python-nav-forward-sexp): Rename from
6837 python-nav-forward-sexp-function.
6838 (python-nav--forward-sexp, python-nav--backward-sexp):
6841 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6843 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6844 modes and simplification modes.
6846 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6848 * delsel.el (delete-selection-pre-hook): Don't propagate the
6849 file-supersession signals (bug#12161).
6851 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6853 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6854 (cl-map-extents): Add compatibility aliases (bug#12135).
6856 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
6858 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6859 tests by `ignore-error'.
6860 (tramp-find-shell): Open also a new shell, when cache is already
6861 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6863 2012-08-08 Juri Linkov <juri@jurta.org>
6865 * bookmark.el: Add `defaults' property to the bookmark record.
6866 (bookmark-current-buffer): Doc fix.
6867 (bookmark-make-record): Add `defaults' property with default values
6868 to the bookmark record.
6869 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6870 with `bookmark-insert-current-bookmark'.
6871 (bookmark-set): Get `defaults' property from the bookmark record
6872 and use it in `read-from-minibuffer'.
6873 (bookmark-insert-current-bookmark): Remove function.
6875 * info.el (Info-bookmark-make-record): Add `defaults' property
6876 with values of canonical Info node name, the current Info file
6877 name and the current Info node name. (Bug#12107)
6879 2012-08-08 Juri Linkov <juri@jurta.org>
6881 * files.el (basic-save-buffer): Use `buffer-name' as the default
6882 of `read-file-name' when buffer is not visiting a file (bug#12128).
6884 2012-08-08 Juri Linkov <juri@jurta.org>
6886 * info.el (Info-isearch-search): Doc fix.
6887 (Info-search): Change search-failed message from "initial node" to
6888 "end of node" (bug#12078).
6889 (Info-isearch-search): Change `isearch-string-state' to
6890 `isearch--state-string'.
6892 2012-08-08 Glenn Morris <rgm@gnu.org>
6894 * language/persian.el: Remove file.
6895 * language/misc-lang.el: Move unique part of persian.el here.
6896 * loadup.el: Remove language/persian.
6898 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6900 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6902 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6904 * progmodes/python.el: Fix defsubst warning.
6905 (python-syntax-context) Rename from python-info-ppss-context.
6906 (python-syntax-context-type): Rename from
6907 python-info-ppss-context-type.
6908 (python-syntax-comment-or-string-p): Rename from
6909 python-info-ppss-comment-or-string-p.
6911 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6913 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6915 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6917 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6918 a defcustom that is quoted with backquote.
6920 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6921 Fix handling of interactive spec when the body uses return.
6922 (math-do-arg-check, math-define-function-body): Use backquote forms.
6923 * calc/calc-ext.el (math-defcache): Likewise.
6924 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6925 * allout.el (allout-new-exposure): Likewise.
6926 * calc/calcalg2.el (math-tracing-integral): Likewise.
6927 * info.el (Info-last-menu-item): Likewise.
6928 * emulation/vip.el (vip-loop): Likewise.
6929 * textmodes/artist.el (artist-funcall): Likewise.
6930 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6931 Construct menu-item directly.
6933 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6936 2012-08-07 Chong Yidong <cyd@gnu.org>
6938 * simple.el (deactivate-mark): Preserve text properties when
6939 saving the primary selection (Bug#8384).
6941 2012-08-07 Kevin Ryde <user42@zip.com.au>
6943 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6944 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6945 and continue processing (Bug#12110).
6947 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6949 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6950 syntax-propertize-function (bug#10095).
6952 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6954 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6955 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6956 describe-function-1.
6957 (describe-function-1): Use them. Move compiler macro after sig.
6958 (help-fns--compiler-macro): Use function-get. Assume we're already in
6959 standard-output. Adjust layout to new call order.
6961 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6962 re-binding a symbol that has a symbol-macro (bug#12119).
6964 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6966 * language/persian.el: New file. (Bug#11812)
6967 * loadup.el: Add language/persian.el.
6969 2012-08-06 Chong Yidong <cyd@gnu.org>
6971 * window.el (window--maybe-raise-frame): New function.
6972 (window--display-buffer): Split off from here.
6973 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6974 (display-buffer-pop-up-window, display-buffer-use-some-window):
6975 Obey an inhibit-switch-frame action alist entry.
6976 (display-buffer): Update doc.
6978 * replace.el (occur-after-change-function): Avoid losing focus by
6979 using the inhibit-switch-frame display parameter (Bug#12139).
6981 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6983 Make internal shell process buffer names start with space.
6984 * progmodes/python.el (python-shell-make-comint): Add optional
6986 (run-python-internal): Use it.
6987 (python-shell-internal-get-or-create-process): Check for new
6988 internal buffer names.
6990 2012-08-06 Glenn Morris <rgm@gnu.org>
6992 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
6993 Do less getting and setting of environment variables.
6995 2012-08-05 Chong Yidong <cyd@gnu.org>
6997 * proced.el (proced): Add substitution string to docstring to
6998 trigger autoloading of the proced library on C-h f (Bug#1768).
7000 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7001 Don't show defvars which have no second argument (Bug#8638).
7003 * imenu.el (imenu-generic-expression): Move documentation here
7004 from imenu--generic-function.
7005 (imenu--generic-function): Refer to imenu-generic-expression.
7007 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7009 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7010 indentation declaration.
7011 (viper-loop): Add indentation declaration (Bug#7025).
7013 2012-08-05 Chong Yidong <cyd@gnu.org>
7015 * help-fns.el (describe-variable): Add hyperlink for
7016 directory-local variables files. Improve buffer-local and
7017 permanent-local reporting; suggested by MON KEY (Bug#6644).
7019 * help-mode.el (help-dir-local-var-def): New button type.
7021 * files.el (kill-buffer-hook): Provide a defvar.
7023 2012-08-05 Glenn Morris <rgm@gnu.org>
7025 * eshell/esh-ext.el (eshell/addpath):
7026 Also update eshell-path-env. (Bug#12013)
7028 2012-08-05 Chong Yidong <cyd@gnu.org>
7030 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7032 * fringe.el (fringe-styles): Add docstring.
7033 (fringe--check-mode): New function.
7034 (set-fringe-mode, set-fringe-style): Use it.
7035 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7037 * files.el (set-auto-mode): Fix invalid setq call.
7039 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7041 * isearch.el: Misc simplification; use defstruct.
7042 (isearch-mode-map): Dense maps now work like sparse ones.
7043 (isearch--state): New defstruct.
7044 (isearch-string-state, isearch-message-state, isearch-point-state)
7045 (isearch-success-state, isearch-forward-state)
7046 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7047 (isearch-wrapped-state, isearch-barrier-state)
7048 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7049 replaced by defstruct's accessors.
7050 (isearch--set-state): Rename from isearch-top-state and change
7052 (isearch-push-state): Use new isearch--get-state.
7053 (isearch-toggle-word): Disable regexp when enabling word.
7054 (isearch-message-prefix): Remove unused arg _c-q-hack.
7055 (isearch-message-suffix): Remove unused arg _ellipsis.
7057 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7059 * simple.el (list-processes--refresh): For a server use :host or
7060 :local as the address.
7061 (list-processes): Doc fix.
7063 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7065 * lisp/mpc.el: Support password in host argument.
7066 (mpc--proc-connect): Parse and use new password element.
7067 Set mpc-proc variable instead of returning process.
7068 (mpc-proc): Adjust accordingly.
7070 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7072 * whitespace.el (whitespace-display-mappings): Use Unicode
7073 codepoints, instead of emacs-mule codepoints. See
7074 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7077 * files.el (file-truename): Don't skip symlink-chasing part on
7078 windows-nt. Incorporate the resolution of 8+3 short aliases on
7079 Windows into the loop that recursively chases symlinks.
7080 Compare directory and its parent case-insensitively on MS-Windows and
7083 2012-08-03 Chong Yidong <cyd@gnu.org>
7085 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7087 * sort.el (sort-regexp-fields): Doc fix.
7089 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7091 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7092 labels regex position point at the expected place.
7094 2012-08-03 MON KEY <monkey@sandpframing.com>
7096 * net/imap.el (imap-interactive-login, imap-authenticate)
7097 (imap-mailbox-lsub, imap-mailbox-list)
7098 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7099 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7100 (imap-parse-response): Doc fix.
7102 2012-08-03 João Távora <joaotavora@gmail.com>
7104 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7105 if sexp scanning does not move point (Bug#5734).
7107 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7109 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7110 Add listings, minted, and ctable packages.
7111 (reftex-label-alist-builtin): Move listings, minted, and ctable
7112 entries before LaTeX.
7113 (reftex-label-alist): Docfix.
7115 2012-08-02 Bastien Guerry <bzg@gnu.org>
7117 * replace.el (occur): Fix docstring (bug#12122).
7119 2012-08-02 Glenn Morris <rgm@gnu.org>
7121 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7123 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7125 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7126 * international/mule-cmds.el: Create
7127 inactivate-current-input-method-function as an obsolete alias for
7128 deactivate-current-input-method-function. See Katsumi Yamaoka in
7129 <http://bugs.gnu.org/10150#46>.
7131 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7133 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7136 2012-08-01 Glenn Morris <rgm@gnu.org>
7138 * progmodes/autoconf.el (autoconf-definition-regexp):
7139 Add AH_TEMPLATE, adjust submatch numbering.
7140 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7141 (autoconf-current-defun-function): Update for above change.
7142 (autoconf-current-defun-function): First skip to end of current word.
7144 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7146 * calendar/cal-html.el (cal-html-insert-agenda-days):
7147 Fix typo. (Bug#12018)
7149 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7151 Shell processes: enhancements to startup and CEDET compatibility.
7152 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7153 (python-shell-make-comint): accept-process-output at startup.
7154 (run-python-internal): Set inferior-python-mode-hook to nil.
7155 (python-shell-internal-get-or-create-process): call sit-for.
7156 (python-preoutput-result): Add obsolete alias.
7157 (python-shell-internal-send-string): Use it.
7158 (python-shell-send-setup-code): Remove call to
7159 accept-process-output.
7161 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7163 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7166 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7168 * calc-mode.el (calc-basic-simplification-mode): Rename from
7169 `calc-limited-simplification-mode'.
7170 (calc-alg-simplification-mode): New function.
7171 (calc-set-simplify-mode): Adjust message.
7173 * calc.el (calc-set-mode-line): Adjust mode line display for
7174 basic simplification mode.
7176 * calc-help.el (calc-m-prefix-help): Update help message.
7178 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7179 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7181 2012-07-31 Bastien Guerry <bzg@gnu.org>
7183 * man.el (man): Fix comment. (bug#12101)
7185 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7187 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7188 Don't return a non-nil value when no suitable buffer was found.
7190 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7192 * progmodes/python.el (run-python-internal): Disable font lock for
7195 2012-07-30 Stefan Merten <smerten@oekonux.de>
7197 * textmodes/rst.el: Silence `checkdoc-ispell'.
7198 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7199 (rst-official-version, rst-official-cvs-rev)
7200 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7201 (rst-mode-map): New key binding.
7203 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7205 Update .PHONY listings in makefiles.
7206 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7207 autoloads, update-subdirs, updates, bzr-update, update-authors,
7208 compile-onefile, compile-calc, backup-compiled-files,
7209 compile-after-backup, compile-one-process, mh-autoloads,
7210 bootstrap-clean, distclean, maintainer-clean.
7212 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7214 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7215 (calc-set-mode-line): Don't display "AlgSimp ".
7217 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7218 (calc-lim-simplify-mode): New function.
7219 (calc-set-simplify-mode): Default to 'alg.
7220 (calc-default-simplify-mode): Make algebraic simplifications
7223 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7224 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7226 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7227 indicate new simplification modes.
7229 * calc/README: Mention new default simplification mode.
7231 * calc/calc.el (math-normalize-error): New variable.
7232 (math-normalize): Set `math-normalize-error' to t
7233 when there's an error.
7235 * calc/calc-alg.el (math-simplify): Don't simplify when
7236 `math-normalize' returns an error.
7238 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7240 * international/mule-cmds.el (set-locale-environment): Revert last
7241 change, since display-graphic-p returns nil when this function is
7242 called during startup. Instead...
7244 * term/w32console.el (terminal-init-w32console): ...setup the
7245 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7247 2012-07-29 Juri Linkov <juri@jurta.org>
7249 * simple.el (goto-line): Don't display default line number in the
7250 prompt because it should be displayed by `read-number' (bug#9952).
7251 Add the current line number to the defaults of `goto-line' to
7252 allow its easier modification by users with `M-n' (bug#9201).
7254 * subr.el (read-number): Support multiple default values like in
7255 other minibuffer reading functions. Replace `read' with
7256 `string-to-number' for consistency with `number-to-string'.
7258 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7260 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7261 * emulation/viper-init.el (viper-deactivate-input-method-action):
7262 Rename from viper-inactivate-input-method-action.
7263 (viper-deactivate-input-method):
7264 Rename from viper-inactivate-input-method.
7265 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7266 * international/mule-cmds.el (deactivate-input-method):
7267 Rename from inactivate-input-method.
7268 Also run input-method-deactivate-hook.
7269 (deactivate-current-input-method-function):
7270 Rename from inactivate-current-input-method-function.
7271 (input-method-deactivate-hook): New hook.
7272 (input-method-inactivate-hook): Mark obsolete.
7273 (inactivate-input-method): Mark obsolete.
7275 * international/quail.el (quail-activate):
7276 Also run quail-deactivate-hook.
7277 (quail-deactivate): Rename from quail-inactivate.
7278 * international/robin.el (robin-activate):
7279 Also run robin-deactivate-hook.
7280 (robin-deactivate): Rename from robin-inactivate.
7282 2012-07-29 Chong Yidong <cyd@gnu.org>
7284 * simple.el (indicate-copied-region): New function.
7285 (kill-ring-save): Split off from here.
7287 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7288 (kill-rectangle): Set deactivate-mark to t on read-only error.
7290 * register.el (copy-to-register, copy-rectangle-to-register):
7291 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7292 (append-to-register, prepend-to-register): Call indicate-copied-region.
7294 2012-07-29 Juri Linkov <juri@jurta.org>
7296 * simple.el (async-shell-command-buffer): New defcustom.
7297 (shell-command): Use it. (Bug#4719)
7299 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7301 * international/mule-cmds.el (set-locale-environment): In a
7302 console session on MS-Windows, set up keyboard and terminal
7303 encoding from the OEM codepage, not the ANSI codepage.
7306 2012-07-28 Chong Yidong <cyd@gnu.org>
7308 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7311 2012-07-28 Leo Liu <sdl.web@gmail.com>
7313 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7314 the alist (bug#12029).
7316 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7318 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7319 (compile-always, compile-first)
7320 ($(lisp)/calendar/cal-loaddefs.el)
7321 ($(lisp)/calendar/diary-loaddefs.el)
7322 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7323 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7324 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7325 instead of on update-subdirs.
7326 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7328 2012-07-28 Chong Yidong <cyd@gnu.org>
7330 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7331 directory if vc-deduce-backend returns nil (Bug#7350).
7333 * simple.el (delete-trailing-lines): New option.
7334 (delete-trailing-whitespace): Obey it (Bug#11879).
7336 2012-07-28 David Engster <deng@randomsample.de>
7338 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7339 Explanation of new 'symbol-qnames feature in doc-strings.
7340 (xml-maybe-do-ns): Return expanded names as plain symbols if
7341 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7342 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7344 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7346 Consistent completion in inferior python with emacs -nw.
7347 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7348 binding in inferior-python-mode-map with "\t".
7349 (python-shell-completion-complete-at-point)
7350 (python-completion-complete-at-point): Remove interactive spec.
7352 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7354 * calc/calccomp.el (math-compose-expr): Undo previous change.
7356 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7358 * progmodes/python.el (python-mode-map): Add keybinding for
7360 (python-shell-make-comint): Fix pop-to-buffer call.
7361 (run-python): Autoload. New arg SHOW.
7362 (python-shell-get-or-create-process): Do not pop python process
7365 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7367 * notifications.el (notifications-on-action-signal)
7368 (notifications-on-closed-signal): Use also the bus address for the map.
7369 (notifications-notify, notifications-close-notification)
7370 (notifications-get-capabilities): Add optional argument BUS.
7372 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7374 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7375 Add support for the lstlisting and minted environments, and for the
7377 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7378 labels written in keyvals syntax.
7380 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7382 * calc/calccomp.el (math-compose-expr): Use parentheses when
7383 there is a product in the denominator of a fraction.
7385 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7387 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7388 ($(lisp)/calendar/diary-loaddefs.el)
7389 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7390 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7391 Fixes failures in parallel bootstrap because subdirs.el is being
7392 rewritten while the autoload files are built at the same time,
7393 which needs to load subdirs.el.
7395 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7397 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7398 (mouse-drag-line): Don't exit tracking when a switch-frame or
7399 switch-window event occurs (Bug#12006).
7401 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7403 * mouse.el (popup-menu): Fix last change.
7405 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7407 Autoload from Lisp with more care. Follow aliases when looking for
7408 function properties.
7409 * subr.el (autoloadp): New function.
7410 (symbol-file): Use it.
7411 (function-get): New function.
7412 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7414 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7415 (lisp-indent-function):
7416 * emacs-lisp/gv.el (gv-get):
7417 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7418 * emacs-lisp/byte-opt.el (byte-optimize-form):
7419 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7420 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7422 * emacs-lisp/cl.el: Don't propagate function properties any more.
7424 * speedbar.el (speedbar-add-localized-speedbar-support):
7425 * emacs-lisp/disass.el (disassemble-internal):
7426 * desktop.el (desktop-load-file):
7427 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7428 (describe-function-1):
7429 * emacs-lisp/find-func.el (find-function-noselect):
7430 * emacs-lisp/elp.el (elp-instrument-function):
7431 * emacs-lisp/advice.el (ad-has-proper-definition):
7432 * apropos.el (apropos-safe-documentation, apropos-macrop):
7433 * emacs-lisp/debug.el (debug-on-entry):
7434 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7435 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7436 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7438 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7440 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7441 function, not an obsolete variable (Bug#12046).
7443 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7445 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7447 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7449 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7450 window only if it is still live (Bug#12034).
7452 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7454 * subr.el (redirect-frame-focus): Add advertised calling
7455 convention (Bug#12030).
7457 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7459 Prefer typical American spelling for "acknowledgment".
7460 * vc/add-log.el (change-log-acknowledgment): Rename from
7461 change-log-acknowledgement, with an alias for the old name.
7463 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7465 * calc-alg.el (math-simplify-divide): Don't cross multiply
7466 in an equation when the lhs is a variable.
7468 2012-07-24 Julien Danjou <julien@danjou.info>
7470 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7473 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7475 * startup.el (command-line): Don't display an empty user name in
7476 the error message about non-existent home directory, when
7477 init-file-user was set to an empty string. See
7478 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7479 for the details and context.
7481 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7483 * ses.el (ses-cell-formula-aset): New macro.
7484 (ses-cell-references-aset): New macro.
7485 (ses-cell-p): New function.
7486 (ses-rename-cell): Do no longer rely on complex operations like
7487 ses-cell-set-formula or ses-set-cell to change the cell and handle
7488 the undo at the same time, but rather use lower level new macros
7489 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7490 the undo directly. Refresh the mode line.
7492 2012-07-21 Leo Liu <sdl.web@gmail.com>
7494 * progmodes/cc-cmds.el (c-defun-name):
7495 Use match-string-no-properties instead for consistency.
7497 2012-07-20 Leo Liu <sdl.web@gmail.com>
7499 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7502 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7504 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7506 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7507 * progmodes/bug-reference.el, misearch.el: Provide themselves
7510 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7511 of narrowed buffer (bug#11966).
7513 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7515 * ses.el (ses-rename-cell): Set new name also in reference list of
7516 cells of which the renamed cell depends.
7518 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7520 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7521 to check whether menu-bar is shown or not. If not shown,
7522 show the menu-bar as a popup menu instead of using tmm.
7523 * mouse.el (popup-menu): Accept `point' as `position' argument.
7525 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7527 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7528 up inside string symbol literal (bug#11923).
7530 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7532 * startup.el (fancy-startup-text): Read the whole tutorial, not
7533 just its first 256 bytes. Prevents gibberish in display of the
7536 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7538 Drop idle buffer compaction due to an absence of the
7540 * compact.el: Remove.
7542 2012-07-19 Sam Steingold <sds@gnu.org>
7544 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7545 vc-bzr-pull & vc-bzr-merge-branch.
7546 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7547 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7548 for consistency with compilation-error-regexp-alist.
7549 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7550 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7551 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7552 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7554 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7556 * emacs-lisp/chart.el: Use lexical-binding.
7557 (chart-emacs-storage): Don't hardcode the list of entries.
7559 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7561 Next round of tweaks caused by Fgarbage_collect changes.
7562 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7564 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7566 Compact buffers when idle.
7567 * compact.el: New file.
7569 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7571 * subr.el (eventp): Presume that if it looks vaguely like an event,
7572 it's an event (bug#10190).
7574 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7576 Enhancements to ppss related code (thanks Stefan).
7577 * progmodes/python.el (python-indent-context)
7578 (python-indent-calculate-indentation, python-indent-dedent-line)
7579 (python-indent-electric-colon, python-nav-forward-block)
7580 (python-mode-abbrev-table)
7581 (python-info-assignment-continuation-line-p): Simplify checks
7583 (python-info-continuation-line-p): Cleanup.
7584 (python-info-ppss-context): Do not catch 'quote.
7585 (python-info-ppss-context-type)
7586 (python-info-ppss-comment-or-string-p): Simplify.
7588 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7590 * progmodes/python.el: Enhancements to eldoc support.
7591 (python-info-current-symbol): New function.
7592 (python-eldoc-at-point): Use python-info-current-symbol.
7593 (python-info-current-defun): Fix cornercase on first defun scan.
7594 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7595 and signal error when no inferior python process is available.
7597 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7599 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7600 assume it's always t.
7601 (vc-git-registered): Remove caching, the function is only called
7603 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7605 2012-07-18 Chong Yidong <cyd@gnu.org>
7607 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7609 * simple.el (count-words): Report on narrowing (Bug#9959).
7611 * bindings.el: Bind M-= to count-words.
7613 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7615 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7617 * progmodes/sh-script.el (sh-imenu-generic-expression):
7618 Capture a function with `function' keyword and without parentheses
7619 like "function FOO" (bug#11856).
7621 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7623 * window.el (split-window-sensibly): Make WINDOW argument
7626 2012-07-18 Chong Yidong <cyd@gnu.org>
7628 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7630 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7631 and make C-x 8 RET exit isearch (Bug#11439).
7633 * international/iso-transl.el: Move isearch-mode-map key
7634 definitions to isearch.el.
7636 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7638 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7639 (eieio-defclass): Use gv-define-setter when possible.
7641 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7643 Reflect recent changes in Fgarbage_collect.
7644 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7645 reflect new format of data returned by Fgarbage_collect.
7647 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7649 New utility functions + python-info-ppss-context fix (Bug#11910).
7650 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7651 (python-info-ppss-comment-or-string-p): New functions.
7652 (python-info-ppss-context): Small fix for string check.
7654 2012-07-17 Juri Linkov <juri@jurta.org>
7656 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7657 (dired-do-async-shell-command): Don't add `*' at the end of the
7658 command (Bug#11815).
7659 (dired-do-shell-command): Doc fix.
7660 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7661 Join the individual commands using either "&" or ";" as the
7662 separator depending on the values of these trailing characters.
7663 At the end re-add the trailing "&". (Bug#10598)
7665 * simple.el (async-shell-command): Sync the interactive spec with
7666 `shell-command'. Doc fix.
7667 (shell-command): Doc fix.
7669 2012-07-17 Juri Linkov <juri@jurta.org>
7671 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7673 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7675 Final renames and doc fixes for movement commands (bug#11899).
7676 * progmodes/python.el (python-nav-beginning-of-statement):
7677 Rename from python-nav-statement-start.
7678 (python-nav-end-of-statement): Rename from
7679 python-nav-statement-end.
7680 (python-nav-beginning-of-block): Rename from
7681 python-nav-block-start.
7682 (python-nav-end-of-block): Rename from python-nav-block-end.
7684 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7686 * progmodes/python.el (python-shell-send-string-no-output):
7687 Allow accept-process-output to quit, keeping shell process ready for
7688 future interactions (Bug#11868).
7690 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7692 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7694 * emacs-lisp/elint.el (elint-find-args-in-code):
7695 Use help-function-arglist, so as to handle lexical byte-code.
7697 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7700 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7702 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7703 Avoid spuriously marking the buffer as modified because of c-is-sws.
7705 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7706 as not-a-comment (bug#11946).
7708 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7709 for uninterned vars.
7711 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7712 Use read-event since we don't really want to read chars but bytes.
7714 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7715 $$..$$ but also $..$ using regexps (bug#11953).
7716 Use tex-verbatim for \url and \path.
7717 (tex-font-lock-keywords): Define as defconst like the others.
7718 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7720 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7722 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7723 alias for insert-char.
7725 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7727 * progmodes/python.el: Simplified imenu implementation.
7728 (python-nav-jump-to-defun): Remove command.
7729 (python-mode-map): Use `imenu' instead.
7730 (python-nav-list-defun-positions-cache)
7731 (python-imenu-include-defun-type, python-imenu-make-tree)
7732 (python-imenu-subtree-root-label, python-imenu-index-alist):
7734 (python-nav-list-defun-positions, python-nav-read-defun)
7735 (python-imenu-tree-assoc, python-imenu-make-element-tree)
7736 (python-imenu-make-tree, python-imenu-create-index):
7738 (python-mode): Update to interact with imenu by setting
7739 `imenu-extract-index-name-function' only.
7741 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7743 * progmodes/python.el: Enhancements to navigation commands.
7744 (python-nav-backward-sentence)
7745 (python-nav-forward-sentence): Remove.
7746 (python-nav-backward-statement, python-nav-forward-statement)
7747 (python-nav-statement-start, python-nav-statement-end)
7748 (python-nav-backward-block, python-nav-forward-block)
7749 (python-nav-block-start, python-nav-block-end)
7750 (python-nav-forward-sexp-function)
7751 (python-info-current-line-comment-p)
7752 (python-info-current-line-empty-p): New functions.
7753 (python-indent-context): Use `python-nav-statement-start'.
7755 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
7757 * eshell/em-ls.el (eshell/ls): Use `apply'.
7759 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7760 multi-hops, instead of Tramp internals.
7762 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7764 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7765 when F1 and F2 are located on different hosts.
7767 2012-07-14 Chong Yidong <cyd@gnu.org>
7769 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7770 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7771 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7772 (xterm-mouse--read-event-sequence-1000)
7773 (xterm-mouse--read-event-sequence-1006): New functions. For old
7774 mouse protocol, handle M-mouse-X events correctly.
7775 (xterm-mouse-event): New arg specifying mouse protocol.
7776 (turn-on-xterm-mouse-tracking-on-terminal)
7777 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
7778 sequence to toggle extended coordinates on newer XTerms.
7779 This appears to be harmless on terminals which do not support this.
7781 2012-07-14 Leo Liu <sdl.web@gmail.com>
7783 Add fringe bitmap indicators for flymake. (Bug#11253)
7784 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7785 (flymake-make-overlay): New arg BITMAP.
7786 (flymake-error-bitmap, flymake-warning-bitmap)
7787 (flymake-fringe-indicator-position): New user variables.
7789 * fringe.el: New bitmap exclamation-mark.
7791 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7793 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7796 2012-07-14 Chong Yidong <cyd@gnu.org>
7798 * electric.el (electric-pair-post-self-insert-function): Fix pair
7799 insertion in empty-region case (Bug#11520).
7801 2012-07-14 Chong Yidong <cyd@gnu.org>
7803 * bindings.el: Consolidate ctl-x-r-map bindings.
7804 Bind copy-rectangle-as-kill to C-x r w.
7806 * rect.el, register.el: Move bindings to bindings.el.
7808 2012-07-14 Reuben Thomas <rrt@sc3d.org>
7810 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7812 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7814 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7816 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
7818 * bindings.el (top): Use `mapc' instead of `mapcar'.
7820 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7822 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
7824 * progmodes/sql.el (sql-comint): Suppress the check for program on
7825 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7828 2012-07-13 Chong Yidong <cyd@gnu.org>
7830 * bindings.el: Assign a non-nil permanent-local property to
7831 per-buffer variables which lack a default value (Bug#11930).
7833 * help-fns.el (describe-variable): In the "automatically becomes
7834 local" notice, take note of permanent-local variables.
7836 2012-07-13 Chong Yidong <cyd@gnu.org>
7838 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7839 to allow printing the message when called from Lisp.
7841 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7842 Remove toggle-read-only.
7844 * bs.el (bs-toggle-readonly):
7845 * buff-menu.el (Buffer-menu-toggle-read-only):
7846 Remove with-no-warnings around toggle-read-only.
7848 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7849 Remove with-no-warnings around toggle-read-only.
7850 (ffap-read-only, ffap-read-only-other-window)
7851 (ffap-read-only-other-frame): Callers changed.
7853 * help-mode.el: Don't require view package.
7854 (help-mode-finish): Set buffer-read-only instead of calling
7857 * bindings.el (mode-line-toggle-read-only):
7858 * dired.el (dired-toggle-read-only):
7859 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7860 with non-nil second arg.
7862 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7863 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7866 2012-07-12 Eli Zaretskii <eliz@gnu.org>
7868 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7871 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7873 More CL cleanups and reduction of use of cl.el.
7874 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7875 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7876 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7877 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7878 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7879 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7880 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7881 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7882 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7883 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7884 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7885 * eshell/em-cmpl.el, eshell/em-banner.el:
7886 * calendar/parse-time.el: Use cl-lib.
7887 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7888 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7889 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7890 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7891 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7892 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7893 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7894 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7895 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7896 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7897 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7898 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7899 `lambda' rather than with `quote'.
7900 (eshell-do-opt): Adjust accordingly.
7901 (eshell-process-option): Simplify.
7902 * eshell/esh-var.el:
7903 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7904 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7905 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7906 to `pcase--dontcare'.
7907 * emacs-lisp/cl.el (labels): Mark obsolete.
7908 (cl--letf, letf): Move to cl-lib.
7909 (cl--letf*, letf*): Remove.
7910 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7911 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7912 (cl-progv): Rewrite.
7913 (cl--letf, cl-letf): Move from cl.el.
7914 (cl-letf*): New macro.
7915 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7917 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
7919 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7921 2012-07-11 Chong Yidong <cyd@gnu.org>
7923 * vc/log-edit.el (log-edit-vc-backend): New variable.
7924 (log-edit): Doc fix.
7926 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7927 argument of log-edit to set up all local variables.
7928 (vc-start-logentry): New optional arg specifying VC backend.
7930 * vc/vc.el (vc-checkin): Use it.
7931 (vc-deduce-fileset): Handle Log Edit buffers.
7932 (vc-diff): Make first argument optional too.
7934 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7936 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
7938 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7939 command, just in case. The function is not needed anymore.
7940 (eshell-external-command): Do not call `eshell-remote-command'.
7942 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7944 Reduce use of (require 'cl).
7945 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7946 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7947 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7948 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7949 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7950 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7951 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7952 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7953 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7954 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7955 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7956 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7957 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7958 (byte-compile-unfold-bcf, byte-compile-check-variable):
7959 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7960 (byte-compile-nilconstp):
7961 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7962 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7964 * emacs-lisp/gv.el (cond): Make it a valid place.
7965 (if): Simplify slightly.
7967 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7968 (pcase--self-quoting-p): New function.
7969 (pcase--u1): Use it.
7971 2012-07-10 Glenn Morris <rgm@gnu.org>
7973 * emacs-lisp/authors.el (authors-fixed-entries):
7974 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7976 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7978 Rename configure.in to configure.ac (Bug#11603).
7979 * emacs-lisp/authors.el (authors-canonical-file-name):
7980 * progmodes/autoconf.el (autoconf-mode):
7981 Prefer configure.ac to configure.in.
7983 2012-07-08 Chong Yidong <cyd@gnu.org>
7985 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7986 Implement the mouse-1-click-follows-link handling properly.
7988 * info.el (Info-link-keymap): Use follow-link mechanism for
7989 header-line links (Bug#374).
7991 * simple.el (deactivate-mark): Do not set the primary selection
7992 if another program has acquired it (Bug#11772).
7994 2012-07-07 Kevin Ryde <user42@zip.com.au>
7996 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7997 (woman-decode-region): Replace escaped-escapes without destroying
7998 bold or underline (Bug#11552).
7999 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8001 2012-07-07 Chong Yidong <cyd@gnu.org>
8003 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8004 (interprogram-cut-function, interprogram-paste-function):
8005 Mention that we typically mean the clipboard.
8007 2012-07-06 Glenn Morris <rgm@gnu.org>
8009 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8011 * files.el (toggle-read-only): Restrict message to interactive use.
8013 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8015 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8017 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8019 2012-07-06 Glenn Morris <rgm@gnu.org>
8021 * Makefile.in (compile-one-process): Rename from "recompile".
8023 * Makefile.in (bzr-update): "compile" is the same as "recompile
8024 autoloads", but parallelizable, so use that instead.
8026 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8028 * window.el (quit-window): Always restore window height when
8029 it's saved in quit-restore parameter (Bug#11810).
8031 2012-07-06 Glenn Morris <rgm@gnu.org>
8033 * simple.el (kill-whole-line): Doc tweak.
8035 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8037 * files.el (file-relative-name): Compare file names
8038 case-insensitively if on MS-Windows or MS-DOS, or if
8039 read-file-name-completion-ignore-case is non-nil. Don't use
8040 case-fold-search for this purpose. (Bug#11827)
8042 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8044 * calendar/cal-dst.el (calendar-current-time-zone):
8045 Return calendar-current-time-zone-cache if non-nil.
8047 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8048 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8050 * calendar/cal-dst.el (calendar-current-time-zone):
8051 Return calendar-current-time-zone-cache if non-nil.
8053 2012-07-06 Glenn Morris <rgm@gnu.org>
8055 * Makefile.in (cvs-update): Remove old alias.
8057 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8059 Sync with Tramp 2.2.6-pre.
8061 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8062 compatible declaration.
8064 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8065 Protect `list-load-path-shadows' call.
8067 * net/tramp-compat.el (top): Require packages, which aren't
8068 autoloaded anymore for XEmacs. Protect call of
8069 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8070 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8071 it hurts at least for SXEmacs.
8072 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8073 standard-value for `temporary-file-directory'.
8075 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8076 Redirect stderr to /dev/null.
8077 (tramp-sh-handle-write-region): uid and gid can be floats.
8078 Reported by Russell Sim <russell.sim@gmail.com>.
8079 (tramp-sh-handle-vc-registered): Hide errors.
8080 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8081 and `start-file-process'.
8082 (tramp-maybe-open-connection): Check also whether `non-essential'
8085 2012-07-04 Chong Yidong <cyd@gnu.org>
8087 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8088 (xml-parse-tag): Likewise, and avoid changing entity tables.
8089 (xml-syntax-table): Define from scratch, making sure not to give
8090 x2000 and other Unicode spaces whitespace syntax, since those are
8092 (xml-parse-fragment): Delete unused function.
8093 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8094 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8095 (xml-entity-ref, xml-pe-reference-re)
8096 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8097 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8098 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8099 (xml-entity-value-re): Use syntax references in regexps where
8100 possible; no need to define inside a let-binding.
8101 (xml-parse-dtd): Use xml-pe-reference-re.
8102 (xml-entity-or-char-ref-re): New defconst.
8103 (xml-parse-string, xml-substitute-special): Use it.
8105 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8107 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8108 (find-file--read-only): New function.
8109 (find-file-read-only, find-file-read-only-other-window)
8110 (find-file-read-only-other-frame): Use it.
8111 (insert-file-contents-literally): Don't `fset'.
8112 (get-free-disk-space): Use locate-dominating-file.
8114 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8115 function is already compiled.
8117 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8119 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8121 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8122 files on the same host.
8124 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8126 * help-fns.el (describe-function-1): Only call
8127 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8129 2012-07-03 Chong Yidong <cyd@gnu.org>
8131 * xml.el: Protect parser against XML bombs.
8132 (xml-entity-expansion-limit): New variable.
8133 (xml-parse-string, xml-substitute-special): Use it.
8134 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8136 2012-07-03 Glenn Morris <rgm@gnu.org>
8138 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8139 Allow linking to specific messages in debbugs reports (eg 123#5).
8141 2012-07-02 Chong Yidong <cyd@gnu.org>
8143 * xml.el: Fix entity and character reference expansion, allowing
8144 them to expand into markup as per XML spec.
8145 (xml-default-ns): New variable.
8146 (xml-entity-alist): Use XML spec definitions for lt and amp.
8147 (xml-parse-region): Make first two arguments optional.
8148 Discard text properties.
8149 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8150 All callers changed.
8151 (xml-parse-tag): Call xml-parse-tag-1. For backward
8152 compatibility, this function should not modify buffer contents.
8153 (xml-parse-tag-1): Fix opening-tag regexp.
8154 (xml-parse-string): Rewrite, handling entity and character
8155 references properly.
8156 (xml--entity-replacement-text): Signal an error if a parameter
8157 entity is undefined.
8159 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8161 * comint.el (comint-output-filter): Filter out repeated prompts.
8163 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8164 and file-name-absolute-p.
8165 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8168 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8171 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8172 Rename from byte-compile--refiy-function. All uses changed.
8174 2012-07-01 Chong Yidong <cyd@gnu.org>
8176 * xml.el (xml--parse-buffer): New function. Move most of
8177 xml-parse-region here.
8178 (xml-parse-region): Copy region into a temporary buffer, since
8179 parameter entity substitution requires changing buffer contents.
8180 Use xml--parse-buffer.
8181 (xml-parse-file): Use xml--parse-buffer.
8182 (xml-parse-dtd): Make parameter entity substitution work right.
8183 Use proper regexps for ELEMENT declarations (Bug#7172).
8185 2012-06-30 Glenn Morris <rgm@gnu.org>
8187 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8189 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8190 Remove outdated and unnecessary dbus declarations.
8192 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8194 * emacs-lisp/timer.el (timer-until): Subtract results of
8195 float-time, instead of taking float-time of the result of
8196 time-subtract, since float-time signals an error for negative time
8199 2012-06-30 Chong Yidong <cyd@gnu.org>
8201 * xml.el (xml-*-re): Convert defvars into defconsts, and
8202 eval-and-compile them so eval-and-compile works on derivatives.
8203 (xml--entity-replacement-text): Use eval-and-comple.
8205 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8207 * vc/vc-git.el (vc-git-registered): Use cache property
8209 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8210 `vc-git-working-revision' in order to benefit from the cache.
8211 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8213 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8215 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8216 removed (likely outside Emacs). (Bug#11757)
8218 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8220 * emacs-lisp/cl-lib.el: Require macroexp.
8222 2012-06-30 Chong Yidong <cyd@gnu.org>
8224 * xml.el: Implement XML parameter entities.
8225 (xml-parameter-entity-alist): New variable.
8226 (xml-parse-region, xml-parse-fragment): Preserve previous values
8227 of xml-entity-alist and xml-parameter-entity-alist, so that
8228 repeated calls on different documents do not change them.
8229 (xml-parse-tag): Fix doctype regexp.
8230 (xml--entity-replacement-text): New function.
8231 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8232 properly requires url retrieval which is unimplemented.
8233 (xml-escape-string): Doc fix.
8235 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8237 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8239 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8241 * fringe.el (fringe-mode): Doc fix.
8243 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8245 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8247 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8248 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8250 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8252 * calendar/cal-dst.el (calendar-current-time-zone):
8253 Return calendar-current-time-zone-cache if non-nil.
8255 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8257 * progmodes/which-func.el (which-func-format):
8258 Add mouse-face. (Bug#11698)
8260 2012-06-29 Leo Liu <sdl.web@gmail.com>
8262 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8264 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8266 * minibuffer.el (minibuffer-confirm-exit-commands):
8267 Add completion-at-point (bug#11725).
8269 2012-06-29 Glenn Morris <rgm@gnu.org>
8271 * progmodes/f90.el (f90-font-lock-keywords-2):
8272 Add some preprocessor elements. (Bug#10499)
8274 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8276 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8277 Use syntax-propertize (bug#11739).
8279 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8281 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8283 2012-06-28 Julien Danjou <julien@danjou.info>
8285 * term.el (term-handle-colors-array): Use a set of new faces to
8286 color the terminal. Also uses :inverse-video property.
8287 (term-default-fg-color): Set to nil by default, deprecate in favor
8289 (term-default-bg-color): Set to nil by default, deprecate in favor
8291 (term-current-face): Use `term-face' by default.
8292 (term-bold-attribute): Variable deleted.
8294 2012-06-28 Glenn Morris <rgm@gnu.org>
8296 * simple.el (completion-list-mode-finish):
8297 Don't use toggle-read-only. (Since completion-list-mode has
8298 a special mode-class, it wasn't doing anything extra anyway.)
8300 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8302 Make inlining of other-mode interpreted functions work (bug#11799).
8303 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8304 (byte-compile): Use it to fix compilation of lexical-binding closures.
8305 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8306 function, if needed.
8308 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8310 * help-mode.el (help-make-xrefs): Don't just withstand
8311 cyclic-variable-indirection but any error in documentation-property.
8313 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8315 * bindings.el (bindings--define-key): New function.
8316 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8317 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8318 * bindings.el: Use it to purecopy define-key bindings.
8320 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8322 * emacs-lisp/cl.el (flet): Mark obsolete.
8323 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8324 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8325 * progmodes/js.el (js-c-fill-paragraph):
8326 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8327 (ebrowse-switch-member-buffer-to-derived-class):
8328 * play/5x5.el (5x5-solver): Use cl-flet.
8330 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8331 (cl--symbol-function): New macro.
8332 (cl--letf, cl--letf*): Use it.
8334 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8335 Strip "toggle-" if any.
8337 2012-06-27 Glenn Morris <rgm@gnu.org>
8339 * info.el (Info-default-directory-list): Move here from paths.el.
8340 * paths.el: Remove file, which is now empty.
8341 * loadup.el: No longer load "paths".
8343 * custom.el (custom-initialize-delay): Doc fix.
8345 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8346 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8347 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8348 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8349 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8350 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8351 * eshell/eshell.el (eshell-defgroup): Remove alias.
8353 2012-06-27 Chong Yidong <cyd@gnu.org>
8355 * help.el (help-enable-auto-load): New variable.
8357 * help-fns.el (help-fns--autoloaded-p): New function.
8358 (describe-function-1): Refer to a function as "autoloaded" if it
8359 was autoloaded at any time in the past. Perform autoloading if
8360 help-enable-auto-load is non-nil.
8362 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8364 * makefile.w32-in (compile, compile-always): Depend on
8365 update-subdirs, not on subdirs.el. Otherwise, several different
8366 sub-targets of 'bootstrap' running in parallel could
8367 simultaneously write to subdirs.el, producing a garbled file.
8369 2012-06-26 Sam Steingold <sds@gnu.org>
8371 * files.el (file-name-base): New convenience function.
8372 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8373 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8374 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8375 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8376 * textmodes/ispell.el, textmodes/reftex-ref.el:
8377 * textmodes/tex-mode.el: Use it.
8378 Did not touch cedet and org because they are maintained elsewhere.
8380 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8382 * calendar/calendar.el (calendar-exit): Don't try to delete or
8383 iconify last frame. See:
8384 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8386 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8388 * server.el (server-process-filter): Remember dir in the
8389 process's `server-client-directory' properties.
8391 2012-06-24 Chong Yidong <cyd@gnu.org>
8393 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8396 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8398 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8400 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8402 * help-fns.el (describe-variable): Don't croak when doc is not found.
8403 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8404 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8405 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8406 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8407 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8409 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8411 2012-06-23 Chong Yidong <cyd@gnu.org>
8413 * info.el (Info-mouse-follow-link): Accept symbol values of
8414 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8415 (Info-fontify-node): Use Info-link-keymap for all navigation
8416 buttons, with link-args property to perform the desired action.
8417 (Info-link-keymap): Doc fix.
8418 (Info-next-link-keymap, Info-prev-link-keymap)
8419 (Info-up-link-keymap): Delete now-unused keymaps.
8421 2012-06-23 Chong Yidong <cyd@gnu.org>
8423 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8425 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8428 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8430 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8432 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8435 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8436 the requote function doesn't work properly (bug#11714).
8438 2012-06-23 Glenn Morris <rgm@gnu.org>
8440 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8442 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8444 Further GV/CL cleanups.
8445 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8447 (gv--defun-declaration): New function.
8448 (defun-declarations-alist): Use it.
8449 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8450 (gv-place): Autoload.
8451 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8452 original definition of dotimes and dolist.
8453 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8454 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8455 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8456 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8457 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8458 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8459 to the function's definition.
8460 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8464 * env.el: Don't use CL.
8466 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8468 Support higher-resolution time stamps (Bug#9000).
8470 * calendar/time-date.el (with-decoded-time-value): New arg
8471 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8472 (encode-time-value): New optional arg PICO. New type 3.
8473 (time-to-seconds) [!float-time]: Support the new picoseconds
8474 component if it's used.
8475 (seconds-to-time, time-subtract, time-add):
8476 Support ps-resolution time stamps as well.
8478 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8479 (timerp): Timer vectors now have length 9, not 8.
8480 (timer--time): Support new-style (4-part) time stamps.
8481 (timer-next-integral-multiple-of-time): Time stamps now have
8482 picosecond resolution, so take a bit more care about rounding.
8483 (timer-relative-time, timer-inc-time): New optional arg psecs.
8484 (timer-set-time-with-usecs): Set psecs to 0.
8485 (timer--activate): Check psecs component, too.
8487 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8489 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8491 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8492 Move the non-essential binding to the post/pre-command-hook where it is
8493 more obviously correct.
8495 * subr.el (read-passwd): Don't use a history at all.
8496 * savehist.el (savehist-save): Remove password saved accidentally
8497 because of the above bug.
8499 2012-06-22 Bastien Guerry <bzg@gnu.org>
8501 * files.el (toggle-read-only): Display a message telling whether
8502 the buffer is read-only or not (bug#11726).
8504 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8506 * emacs-lisp/gv.el: New file.
8507 * subr.el (push, pop): Extend to generalized variables.
8508 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8509 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8510 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8511 gv-define-simple-setter, and gv-define-expander.
8512 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8513 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8514 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8515 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8516 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8518 (cl-defstruct): Don't define setf-method any more.
8519 * emacs-lisp/cl.el (flet): Don't autoload.
8520 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8521 (define-setf-expander, defsetf, define-modify-macro)
8522 (cl-struct-setf-expander): Move from cl-lib.el.
8523 * emacs-lisp/syntax.el:
8524 * emacs-lisp/ewoc.el:
8525 * emacs-lisp/smie.el:
8526 * emacs-lisp/cconv.el:
8527 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8528 (timer--time): Use gv-define-simple-setter.
8529 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8530 to avoid coding-system problems in subr.el. Adjust all users.
8531 (macroexp--maxsize, macroexp-small-p): New functions.
8532 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8533 * scroll-bar.el (scroll-bar-mode):
8534 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8535 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8536 * winner.el (winner-configuration, winner-make-point-alist)
8537 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8538 * files.el (locate-file-completion-table): Avoid list*.
8540 2012-06-22 Chong Yidong <cyd@gnu.org>
8542 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8543 (dired-create-files): Doc fix (Bug#11329).
8544 (dired-do-copy): Doc fix (Bug#11334).
8545 (dired-mark-read-string): Doc fix (Bug#11553).
8547 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8548 Doc fix (Bug#11326).
8549 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8550 (dired-dwim-target): Doc fix.
8552 * wdired.el (wdired-mode): Doc fix.
8554 2012-06-22 Glenn Morris <rgm@gnu.org>
8556 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8557 (pcmpl-rpm-cache-stamp-file): New constant.
8558 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8559 (pcmpl-rpm-packages): Optionally cache list of packages.
8561 * pcmpl-rpm.el (pcmpl-rpm): New group.
8562 (pcmpl-rpm-query-options): New option.
8563 (pcmpl-rpm-packages): No need to inline it.
8564 Use pcmpl-rpm-query-options.
8566 * calendar/calendar.el (calendar-in-read-only-buffer):
8567 Avoid some needless mode changes.
8569 2012-06-21 Chong Yidong <cyd@gnu.org>
8571 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8572 (desktop-path): Remove . from the default value (Bug#10977).
8573 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8575 2012-06-20 Chong Yidong <cyd@gnu.org>
8577 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8579 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8581 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8584 2012-06-20 Chong Yidong <cyd@gnu.org>
8586 * term.el (term-window-width): Handle the case of a missing right
8588 (term-check-size): Use window-text-height (Bug#5445).
8589 (term-mode): Use define-derived-mode. Minor cleanups.
8590 Set font-lock-defaults (Bug#7692).
8591 (term-move-columns, term-insert-char, term-emulate-terminal)
8592 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8594 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8596 * net/ange-ftp.el (ange-ftp-get-passwd):
8597 Bind `enable-recursive-minibuffers'.
8598 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8600 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8602 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8604 2012-06-19 Glenn Morris <rgm@gnu.org>
8606 * progmodes/python.el (python-mode): Derive from prog-mode.
8608 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8610 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8611 (edt-user-menu-bar-update-buffers): New functions.
8612 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8614 2012-06-19 Chong Yidong <cyd@gnu.org>
8616 * subr.el (with-selected-window): Preserve the selected window's
8617 terminal's top-frame (Bug#4702).
8619 * window.el (save-selected-window): Likewise.
8621 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8623 * progmodes/python.el (python-rx-constituents): Move backquote.
8624 (python-skeleton-define, python-define-auxiliary-skeleton):
8627 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8629 * minibuffer.el (read-file-name-default): Revert the patch from
8632 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8634 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8635 (pcase--u1, pcase--q1): Don't use apply-partially.
8637 2012-06-18 Glenn Morris <rgm@gnu.org>
8639 * progmodes/python.el (python-proc, python-buffer)
8640 (python-send-receive, python-send-string): Fix obsolete versions.
8642 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8644 * window.el (special-display-p): Completely remove stringp
8645 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8647 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8649 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8651 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8653 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8654 * net/tramp-sh.el (tramp-maybe-open-connection):
8655 Throw if `non-essential' is non-nil.
8657 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8659 * window.el (special-display-p): Signal an error if BUFFER-NAME
8660 is not a string (Bug#11713).
8662 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8664 * progmodes/python.el (python-info-beginning-of-backslash):
8665 Rename from python-info-beginning-of-backlash, as a spelling fix.
8667 2012-06-17 Chong Yidong <cyd@gnu.org>
8669 * term.el (term-emulate-terminal): If term-check-size is called,
8670 move point to the process mark without resetting point (Bug#4635).
8672 2012-06-17 Glenn Morris <rgm@gnu.org>
8674 * international/mule-cmds.el (mule-menu-keymap)
8675 (set-language-environment, set-locale-environment): Doc tweaks.
8677 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8679 * cus-face.el (custom-face-attributes): Add wave-style underline
8681 * faces.el (set-face-attribute): Update docstring to describe
8682 wave-style underline attribute.
8684 2012-06-16 Chong Yidong <cyd@gnu.org>
8686 * term/xterm.el (terminal-init-xterm): Discard input before
8687 querying background mode (Bug#10959).
8689 2012-06-16 Stefan Merten <smerten@oekonux.de>
8691 * textmodes/rst.el: Added and corrected some comments.
8692 (rst-re-alist-def): Improve symbol syntax.
8693 (rst-mode-syntax-table): Correct syntax entries.
8694 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8695 (rst-official-version, rst-official-cvs-rev): Update version
8698 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
8700 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8701 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8703 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8705 * progmodes/python.el: New python.el merge.
8706 (python-guess-indent): Obsolete var.
8707 (python-indent-guess-indent-offset): New defcustom.
8708 (python-indent): Obsolete var.
8709 (python-indent-offset): New defcustom.
8710 (python-python-command, python-jython-command): Delete var.
8711 (python-shell-interpreter): New defcustom.
8712 (python-pdbtrack-do-tracking-p): Delete var.
8713 (python-pdbtrack-activate): New defcustom.
8714 (python-use-skeletons): Obsolete var.
8715 (python-skeleton-autoinsert): New defcustom.
8716 (inferior-python-filter-regexp, python-continuation-offset)
8717 (python-honour-comment-indentation, python-indent-string-contents)
8718 (python-jython-packages, python-mode-hook)
8719 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8720 (python-shell-prompt-alist)
8721 (python-source-modes): Delete defcustoms.
8722 (python-check-buffer-name, python-eldoc-setup-code)
8723 (python-eldoc-string-code, python-ffap-setup-code)
8724 (python-ffap-string-code, python-fill-comment-function)
8725 (python-fill-decorator-function, python-fill-paren-function)
8726 (python-fill-string-function, python-imenu-include-defun-type)
8727 (python-imenu-make-tree, python-imenu-subtree-root-label)
8728 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8729 (python-shell-compilation-regexp-alist)
8730 (python-shell-completion-module-string-code)
8731 (python-shell-completion-pdb-string-code)
8732 (python-shell-completion-setup-code)
8733 (python-shell-completion-string-code)
8734 (python-shell-enable-font-lock, python-shell-exec-path)
8735 (python-shell-extra-pythonpaths)
8736 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8737 (python-shell-process-environment)
8738 (python-shell-prompt-block-regexp)
8739 (python-shell-prompt-output-regexp)
8740 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8741 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8742 (python-shell-virtualenv-path): New defcustoms.
8743 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8744 (inferior-python-mode-syntax-table, python--prompt-regexp)
8745 (python-buffer, python-command python-python-command)
8746 (python-default-template, python-imports, python-indent-index)
8747 (python-indent-list, python-indent-list-length)
8748 (python-mode-running, python-pdbtrack-is-tracking-p)
8749 (python-preoutput-continuation, python-preoutput-leftover)
8750 (python-preoutput-result, python-preoutput-skip-next-prompt)
8751 (python-prev-dir/file, python-recursing)
8752 (python-saved-check-command, python-version-checked)
8753 (python-which-func-length-limit)
8754 (view-return-to-alist): Delete vars.
8755 (python-check-custom-command, python-dotty-syntax-table)
8756 (python-imenu-index-alist, python-indent-current-level)
8757 (python-indent-dedenters, python-indent-levels)
8758 (python-nav-beginning-of-defun-regexp)
8759 (python-nav-list-defun-positions-cache)
8760 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8761 (python-shell-internal-buffer)
8762 (python-skeleton-available): New vars.
8763 (def-python-skeleton): Delete macro.
8764 (python-skeleton-define): New macro.
8765 (python-define-auxiliary-skeleton, python-rx): New macros.
8766 (python-insert-class): Delete command.
8767 (python-skeleton-class): New command.
8768 (python-insert-def): Delete command.
8769 (python-skeleton-def): New command.
8770 (python-insert-for): Delete command.
8771 (python-skeleton-for): New command.
8772 (python-insert-if): Delete command.
8773 (python-skeleton-if): New command.
8774 (python-insert-try/except, python-insert-try/finally): Delete commands.
8775 (python-skeleton-try): New command.
8776 (python-insert-while): Delete command.
8777 (python-skeleton-while): New command.
8778 (python-backspace): Delete command.
8779 (python-indent-dedent-line-backspace): New command.
8780 (python-electric-colon): Delete command.
8781 (python-indent-electric-colon): New command.
8782 (python-guess-indent): Delete command.
8783 (python-indent-guess-indent-offset): New command.
8784 (python-shift-left): Delete command.
8785 (python-indent-shift-left): New command.
8786 (python-shift-right): Delete command.
8787 (python-indent-shift-right): New command.
8788 (python-find-function): Delete command.
8789 (python-nav-jump-to-defun): New command.
8790 (python-next-statement): Delete command.
8791 (python-nav-forward-sentence): New command.
8792 (python-previous-statement): Delete command.
8793 (python-nav-backward-sentence): New command.
8794 (python-fill-paragraph): Delete command.
8795 (python-fill-paragraph-function): New command.
8796 (python-send-buffer): Delete command.
8797 (python-shell-send-buffer): New command.
8798 (python-send-defun): Delete command.
8799 (python-shell-send-defun): New command.
8800 (python-send-region, python-send-region-and-go): Delete commands.
8801 (python-shell-send-region)
8802 (python-shell-switch-to-shell): New commands.
8803 (python-send-string): Delete command.
8804 (python-shell-send-string): New command.
8805 (python-switch-to-python): Delete command.
8806 (python-shell-switch-to-shell): New command.
8807 (python-describe-symbol): Delete command.
8808 (python-eldoc-at-point): New command.
8809 (python--set-prompt-regexp, python-args-to-list)
8810 (python-after-info-look, python-check-version)
8811 (python-check-comint-prompt, python-find-imports)
8812 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8813 (python-unload-function, python-expand-template)
8814 (python-maybe-jython, python-preoutput-filter)
8815 (python-pdbtrack-get-source-buffer)
8816 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8817 (python-pdbtrack-toggle-stack-tracking)
8818 (python-pdbtrack-track-stack-file, python-initial-text)
8819 (python-first-word, python-comment-line-p, python-send-command)
8820 (python-setup-brm, python-sentinel, python-set-proc)
8821 (python-skip-out, python-input-filter, python-outdent-p)
8822 (python-outline-level, python-backslash-continuation-line-p)
8823 (python-end-of-block, python-end-of-statement, python-mark-block)
8824 (python-beginning-of-block, python-beginning-of-statement)
8825 (python-blank-line-p, python-beginning-of-string)
8826 (python-open-block-statement-p): Delete functions.
8827 (python-indent-line, python-indent-line-1): Delete functions.
8828 (python-indent-line): New function.
8829 (python-indentation-levels): Delete function.
8830 (python-indent-calculate-levels): New function.
8831 (python-proc): Delete function.
8832 (python-shell-get-process): New function.
8833 (python-send-receive): Delete function.
8834 (python-shell-send-string-no-output): New function.
8835 (python-module-path): Delete function.
8836 (python-ffap-module-path): New function.
8837 (python-completion-at-point)
8838 (python-symbol-completions): Delete functions.
8839 (python-completion-complete-at-point): New function.
8840 (python-load-file): Delete function.
8841 (python-shell-send-file): New function.
8842 (python-calculate-indentation): Delete function.
8843 (python-indent-calculate-indentation): New function.
8844 (python-skip-comments/blanks): Delete function.
8845 (python-util-forward-comment): New function.
8846 (python-continuation-line-p): Delete function.
8847 (python-info-continuation-line-p): New function.
8848 (python-which-func, python-current-defun): Delete function.
8849 (python-info-current-defun): New function.
8850 (python-beginning-of-defun): Delete function.
8851 (python-nav-beginning-of-defun): New function.
8852 (python-close-block-statement-p)
8853 (python-block-end-p): Delete function.
8854 (python-info-closing-block): New function.
8855 (python-comint-output-filter-function)
8856 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8857 (python-fill-comment, python-fill-decorator, python-fill-paren)
8858 (python-fill-string, python-imenu-make-element-tree)
8859 (python-imenu-make-tree, python-imenu-tree-assoc)
8860 (python-indent-context, python-indent-dedent-line)
8861 (python-indent-line-function)
8862 (python-indent-post-self-insert-function)
8863 (python-indent-toggle-levels)
8864 (python-info-assignment-continuation-line-p)
8865 (python-info-beginning-of-backlash)
8866 (python-info-block-continuation-line-p)
8867 (python-info-closing-block-message)
8868 (python-info-line-ends-backslash-p)
8869 (python-info-looking-at-beginning-of-defun)
8870 (python-info-ppss-context, python-info-ppss-context-type)
8871 (python-nav-list-defun-positions, python-nav-read-defun)
8872 (python-nav-sentence-end, python-nav-sentence-start)
8873 (python-pdbtrack-comint-output-filter-function)
8874 (python-pdbtrack-set-tracked-buffer)
8875 (python-shell-calculate-exec-path)
8876 (python-shell-calculate-process-environment)
8877 (python-shell-completion--do-completion-at-point)
8878 (python-shell-completion--get-completions)
8879 (python-shell-completion-complete-at-point)
8880 (python-shell-completion-complete-or-indent)
8881 (python-shell-get-or-create-process)
8882 (python-shell-get-process-name)
8883 (python-shell-internal-get-or-create-process)
8884 (python-shell-internal-get-process-name)
8885 (python-shell-internal-send-string, python-shell-make-comint)
8886 (python-shell-parse-command, python-shell-send-setup-code)
8887 (python-skeleton-add-menu-items)
8888 (python-util-clone-local-variables, python-util-position)
8889 (run-python-internal, python-indentation-levels)
8890 (python-nav-beginning-of-defun)
8891 (python-completion-complete-at-point): New functions.
8892 (run-python): Change arguments. New API requirements.
8894 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8896 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8899 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8900 (macroexp--expand-all): Use it.
8902 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8903 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8904 Use `cl-function' instead.
8906 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
8908 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8909 Suggested by Stefan Monnier while discussing bug#11657.
8911 2012-06-14 Sam Steingold <sds@gnu.org>
8913 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8915 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8917 * play/doctor.el (doctor-doc): Remove parameter and use
8918 doctor-sent instead of sent.
8919 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8921 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8923 * files.el: Require cl-lib.
8924 (file-name-non-special): Replace case -> cl-case.
8926 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8928 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8929 mapping from #' to function*.
8931 2012-06-13 Chong Yidong <cyd@gnu.org>
8933 * mouse.el (mouse-drag-track): Do not set the mark if the user
8934 releases the mouse without selecting anything (Bug#11588).
8936 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8938 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8939 as well (bug#11646).
8941 * loadup.el: Count byte-code functions as well.
8943 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8944 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8946 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8947 (bug#11649). Add cl-defun and cl-defmacro.
8949 2012-06-13 Drew Adams <drew.adams@oracle.com>
8951 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8954 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
8956 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8957 Otherwise, it blocks in batch mode.
8959 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
8961 * help-mode.el (bookmark-make-record-default): Declare.
8963 2012-06-13 Chong Yidong <cyd@gnu.org>
8965 * emacs-lisp/package.el (list-packages): Compute a list of
8966 packages that are newly-available since the last list-packages
8968 (package-menu--new-package-list): New var.
8969 (package-menu--generate, package-menu--print-info)
8970 (package-menu--status-predicate, package-menu-mark-install):
8971 Handle new status label "new".
8973 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8975 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8976 conversion to backquotes.
8978 2012-06-12 Chong Yidong <cyd@gnu.org>
8980 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8981 Rename from gud-inhibit-global-bindings.
8983 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8985 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8986 hook from nxml-glyph-set-hook.
8988 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8991 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8993 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8994 Convert to defcustom.
8996 2012-06-12 Drew Adams <drew.adams@oracle.com>
8998 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9000 (help-mode): Use them.
9002 2012-06-11 Glenn Morris <rgm@gnu.org>
9004 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9005 Use preprocessor face for directives.
9006 (fortran-directive-re): Doc fix.
9008 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9010 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9011 conversion to backquotes (bug#11652).
9013 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9014 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9015 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9016 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9017 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9018 (cl-ninth, cl-tenth): Mark them as inlinable.
9019 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9020 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9021 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9022 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9023 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9024 (cl-list*, cl-adjoin): Don't put an autoload manually.
9025 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9026 (cl--compiler-macro-list*): Add autoload cookie.
9027 (cl--compiler-macro-cXXr): New function.
9029 * help-fns.el (help-fns--compiler-macro): New function extracted from
9030 describe-function-1; follow aliases and use `compiler-macro' property.
9031 (describe-function-1): Use it.
9033 2012-06-11 Chong Yidong <cyd@gnu.org>
9035 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9036 is uninstalled, if imagemagick is installed.
9038 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9040 * emacs-lisp/cl-lib.el: Use lexical-binding.
9041 (cl-map-extents, cl-maclisp-member): Remove.
9042 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9043 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9044 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9045 * emacs-lisp/cl-extra.el: Use lexical-binding.
9046 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9047 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9048 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9049 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9050 * emacs-lisp/cl-seq.el: Use lexical-binding.
9051 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9052 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9053 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9054 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9055 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9058 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9060 Sync with Tramp 2.2.6-pre.
9062 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9063 `print-length' and `print-level' to nil, in order to avoid
9064 truncation. Reported by Christopher Schmidt
9065 <christopher@ristopher.com>.
9067 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9069 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9071 (tramp-compat-copy-directory): Add optional argument
9072 COPY-CONTENTS. It is not handled yet.
9074 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9075 (tramp-ftp-file-name-p): Simplify.
9077 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9078 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9081 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9082 (tramp-methods): Do not use `tramp-password-end-of-line'.
9083 (tramp-completion-function-alist-putty): Handle UNIX case.
9084 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9085 (tramp-do-file-attributes-with-stat)
9086 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9087 gid as real numbers. They could run out of integer range on cygwin.
9088 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9089 (tramp-sh-handle-expand-file-name): Handle hops.
9090 (tramp-open-connection-setup-interactive-shell):
9091 Use `tramp-cleanup'. Move check for busyboxes ...
9092 (tramp-find-shell): ... here. Simplify implementation.
9093 Set "remote-shell" property also for alternative shells.
9094 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9095 If failing, a regular file would be written otherwise.
9096 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9097 (tramp-find-inline-encoding): Cache the coding commands in the
9098 process cache. Apply test command on the remote side, if defined.
9099 (tramp-find-inline-compress): Cache the compress commands in the
9101 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9102 when requested. Handle hops.
9103 (tramp-current-connection): New defvar.
9104 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9105 Throw `suppress', if there was a failed connection shortly before.
9106 Handle user interrupt. (Bug#10187)
9107 (tramp-get-inline-compress, tramp-get-inline-coding):
9108 Read connection properties from the process cache.
9110 * net/tramp-smb.el (tramp-smb-server-version)
9111 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9113 (tramp-smb-prompt): Extend for powershell prompt.
9114 (tramp-smb-file-name-handler-alist): Add handlers for
9115 `process-file', `shell-command' and `start-file-process'.
9116 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9117 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9118 (tramp-smb-file-name-p): Simplify.
9119 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9120 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9121 (tramp-smb-shell-quote-argument): New defuns.
9122 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9123 Implement using "tar". By this, time-stamps are preserved.
9124 (tramp-smb-handle-copy-file): Handle also the case of directories.
9125 (tramp-smb-do-file-attributes-with-stat)
9126 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9127 Use `tramp-get-connection-buffer').
9128 (tramp-smb-handle-rename-file): Use "rename", when source and
9129 target are on the same share.
9130 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9131 Use `tramp-smb-server-version'.
9132 (tramp-smb-wait-for-output): Remove prompt.
9134 * net/tramp.el (top): Require 'cl.
9135 (tramp-methods, tramp-rsh-end-of-line):
9136 Remove `tramp-password-end-of-line' from docstring.
9137 (tramp-save-ad-hoc-proxies): New defcustom.
9138 (tramp-completion-function-alist): Adapt docstring.
9139 (tramp-default-password-end-of-line): Remove defcustom.
9140 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9141 (tramp-user-regexp, tramp-file-name-regexp-unified)
9142 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9143 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9144 (tramp-remote-file-name-spec-regexp): New defconst.
9145 (tramp-file-name-structure): Extend structure for hops.
9146 (tramp-get-method-parameter): Move up.
9147 (tramp-file-name-p, tramp-dissect-file-name)
9148 (with-parsed-tramp-file-name): Handle hops.
9149 (tramp-file-name-hop): New defun.
9150 (tramp-make-tramp-file-name): New optional arg HOP.
9151 (tramp-message-show-progress-reporter-message): New defvar.
9152 (tramp-with-progress-reporter): Use it. We cannot use
9153 `tramp-message-show-message' here, because this suppresses also
9155 (tramp-error-with-buffer): Suppress buffer view, if
9156 `tramp-message-show-message' is nil.
9157 Use `tramp-get-connection-buffer'.
9158 (tramp-cleanup): New defun.
9159 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9160 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9162 (tramp-completion-handle-file-name-all-completions): Handle hops.
9163 Fix an error when called from ido.
9164 (tramp-completion-dissect-file-name): Use better local variable
9165 name. Add hop to the vector.
9166 (tramp-handle-insert-file-contents): Use progress-reporter for the
9168 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9170 (tramp-check-for-regexp): Simplify search.
9171 (tramp-enter-password): Remove it. Move implementation ...
9172 (tramp-action-password): ... here.
9173 (tramp-mode-string-to-int, tramp-local-host-p)
9174 (tramp-make-tramp-temp-file, tramp-read-passwd)
9175 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9176 Set tramp-autoload cookie.
9178 * net/trampver.el: Update release number.
9180 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9181 Michael Albinus <michael.albinus@gmx.de>
9183 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9184 (tramp-parse-group, tramp-parse-file)
9185 (tramp-parse-shostkeys-sknownhosts): New defuns.
9186 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9187 (tramp-parse-shosts-group, tramp-parse-sconfig)
9188 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9189 (tramp-parse-sknownhosts, tramp-parse-hosts)
9190 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9192 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9193 (tramp-parse-putty-group): Don't narrow.
9194 (tramp-parse-putty): Make a loop.
9195 (tramp-file-name-handler): Catch the `suppress' signal.
9197 2012-06-11 Chong Yidong <cyd@gnu.org>
9199 * image.el (imagemagick-register-types): Put the ImageMagick entry
9200 at the end of image-type-file-name-regexps.
9202 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9204 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9205 (pcase, pcase-let*, pcase-dolist): Use them.
9207 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9209 * emacs-lisp/pcase.el (pcase--let*): New function.
9210 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9211 (pcase--expand): Use macroexp-let².
9213 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9215 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9216 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9217 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9218 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9219 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9220 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9222 2012-06-10 Glenn Morris <rgm@gnu.org>
9224 * mail/rmail.el (rmail-yank-current-message): Leave point at
9225 correct position. (Bug#11660)
9227 2012-06-10 Chong Yidong <cyd@gnu.org>
9229 * allout-widgets.el: Fix code header.
9231 2012-06-10 Chong Yidong <cyd@gnu.org>
9233 * cus-edit.el (customize-changed-options-previous-release):
9236 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9238 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9240 2012-06-09 Chong Yidong <cyd@gnu.org>
9242 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9244 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9246 * window.el (special-display-popup-frame): Don't use
9247 window--display-buffer (Bug#11651).
9249 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9251 Fix parallel builds: make sure loaddefs.el is not being written
9252 while Lisp files are compiled.
9253 (compile): Don't depend on 'mh-autoloads'.
9254 (compile-CMD, compile-SH): Depend on 'autoloads'.
9255 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9257 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9259 2012-06-09 Chong Yidong <cyd@gnu.org>
9261 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9262 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9263 Doc fixes (Bug#11225).
9265 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9267 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9268 a function if there's a clear indication that it has a compiler-macro.
9269 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9270 (macro-declarations-alist): Add arglist to declaration functions.
9271 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9272 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9273 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9274 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9275 Also add autoload to find the compiler macro.
9276 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9277 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9278 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9279 (cl--compiler-macro-get): New functions, replacing calls to
9280 cl-define-compiler-macro.
9281 (cl-typep) [compiler-macro]: Use macroexp-let².
9283 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9285 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9286 string properly, fixes Bug#11473.
9288 2012-06-08 Chong Yidong <cyd@gnu.org>
9290 * faces.el (set-face-attribute): Doc fix.
9291 (modify-face): Don't use :bold and :italic.
9292 (error, warning, success): Tweak definitions.
9294 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9295 (custom-modified, custom-set, custom-changed, custom-themed)
9296 (custom-saved, custom-button, custom-button-mouse)
9297 (custom-button-pressed, custom-state, custom-comment-tag)
9298 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9299 (custom-group-subtitle): Use new-style face specs.
9300 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9301 (custom-set-face, custom-changed-face, custom-saved-face)
9302 (custom-button-face, custom-button-pressed-face)
9303 (custom-documentation-face, custom-state-face)
9304 (custom-comment-face, custom-comment-tag-face)
9305 (custom-variable-tag-face, custom-variable-button-face)
9306 (custom-face-tag-face, custom-group-tag-face-1)
9307 (custom-group-tag-face): Remove obsolete face alias.
9309 * epa.el (epa-validity-high, epa-validity-medium)
9310 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9311 (epa-field-name, epa-field-body):
9312 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9313 (font-lock-keyword-face, font-lock-builtin-face)
9314 (font-lock-function-name-face, font-lock-variable-name-face)
9315 (font-lock-type-face, font-lock-constant-face):
9316 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9317 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9318 * speedbar.el (speedbar-button-face, speedbar-file-face)
9319 (speedbar-directory-face, speedbar-tag-face)
9320 (speedbar-selected-face, speedbar-highlight-face)
9321 (speedbar-separator-face):
9322 * whitespace.el (whitespace-newline, whitespace-space)
9323 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9324 (whitespace-line, whitespace-space-before-tab)
9325 (whitespace-space-after-tab, whitespace-indentation)
9327 * emulation/cua-base.el (cua-global-mark):
9328 * eshell/em-prompt.el (eshell-prompt):
9329 * net/newst-plainview.el (newsticker-new-item-face)
9330 (newsticker-old-item-face, newsticker-immortal-item-face)
9331 (newsticker-obsolete-item-face, newsticker-date-face)
9332 (newsticker-statistics-face, newsticker-default-face):
9333 * net/newst-reader.el (newsticker-feed-face)
9334 (newsticker-extra-face, newsticker-enclosure-face):
9335 * net/newst-treeview.el (newsticker-treeview-face)
9336 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9337 (newsticker-treeview-immortal-face)
9338 (newsticker-treeview-obsolete-face)
9339 (newsticker-treeview-selection-face):
9340 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9341 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9342 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9343 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9344 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9345 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9346 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9348 * progmodes/vera-mode.el (vera-font-lock-number)
9349 (vera-font-lock-function, vera-font-lock-interface):
9350 * textmodes/table.el (table-cell): Use new-style face specs, and
9351 don't use the old :bold and :italic attributes.
9353 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9354 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9355 (ebrowse-member-class, ebrowse-progress): Likewise.
9356 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9357 (ebrowse-file-name-face, ebrowse-default-face)
9358 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9359 (ebrowse-progress-face): Remove obsolete faces.
9361 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9362 Inherit from error and warning faces respectively.
9364 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9366 (flyspell-incorrect-face, flyspell-duplicate-face):
9367 Remove obsolete aliases.
9369 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9371 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9374 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9376 * startup.el (argv, argi): Make lexically scoped.
9377 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9378 * emacs-lisp/cl-macs.el: Use lexical-binding.
9379 Rename cl-bind-* to cl--bind-*.
9380 * files.el: Don't require `cl' since it doesn't use it.
9381 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9383 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9385 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9386 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9387 instead of calling external sort utility.
9388 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9390 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9392 * descr-text.el (describe-char): Mention how to insert the
9393 character, if the current input method doesn't support it.
9394 See the discussion in this thread for the details:
9395 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9397 2012-06-08 Sam Steingold <sds@gnu.org>
9399 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9400 XF86Back to previous-buffer.
9401 (minibuffer-local-map): Bind them to next-history-element and
9402 previous-history-element respectively.
9403 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9404 help-go-back respectively.
9405 * info.el (Info-mode-map): Bind them to Info-history-forward and
9406 Info-history-back respectively.
9407 These are the keys next to Up on the ThinkPad keyboard.
9409 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9411 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9412 * emacs-lisp/cl-macs.el: Provide itself.
9413 (cl--labels-convert-cache): New var.
9414 (cl--labels-convert): New function.
9415 (cl-flet, cl-labels): New implementation with new semantics, relying on
9417 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9418 (cl-closure-vars, cl--function-convert-cache)
9419 (cl--function-convert): Move from cl-macs.el.
9420 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9421 rename by removing the "cl-" prefix.
9422 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9424 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9426 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9427 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9428 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9429 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9430 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9431 (cl-hash-table-count): Add old compatibility aliases.
9433 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9434 Use macroexpand-all-environment instead.
9435 (cl--old-macroexpand): New var.
9436 (cl--sm-macroexpand): New function.
9437 (cl-symbol-macrolet): Use it during macro expansion.
9438 (cl--function-convert-cache): New var.
9439 (cl--function-convert): New function, extracted from
9441 (cl-lexical-let): Use it.
9443 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9444 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9445 (cl-member): Remove old alias.
9447 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9448 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9449 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9450 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9451 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9452 (cl-macroexpand-cmacs): Remove var.
9453 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9454 Use macroexpand-all instead.
9456 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9458 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9459 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9460 (macroexp-copyable-p): New functions and macros.
9461 * emacs-lisp/edebug.el (edebug-unwrap):
9462 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9463 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9464 (pcase--let*): Remove.
9465 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9466 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9467 macroexp-const-p instead.
9468 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9470 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9471 instead of "cl-" for internal definitions. Use macroexp-const-p.
9472 (cl-old-bc-file-form): Remove var.
9473 (cl-const-exprs-p): Remove fun.
9474 (cl-labels, cl-macrolet): Use backquote.
9475 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9476 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9477 (cl-define-setf-expander): Rename from cl-define-setf-method.
9478 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9480 * international/mule-cmds.el: Don't require CL.
9481 (view-hello-file): Don't use `letf'.
9483 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9485 * tmm.el (tmm-prompt): Use string-prefix-p.
9486 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9487 (tmm-add-prompt): Use minibuffer-completion-help.
9488 (tmm-delete-map): Remove.
9490 * subr.el (kbd): Make it its own function.
9492 2012-06-07 Stefan Merten <smerten@oekonux.de>
9494 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9495 Silence compiler warnings. Fix versions.
9496 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9497 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9498 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9499 (rst-package-emacs-version-alist): Correct Emacs version to
9500 represent major merge with upstream.
9501 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9503 2012-06-06 Glenn Morris <rgm@gnu.org>
9505 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9506 Only print environment variables if set.
9508 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9510 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9511 (macroexp--cons): Rename from maybe-cons.
9512 (macroexp--accumulate): Rename from macroexp-accumulate.
9513 (macroexp--all-forms): Rename from macroexpand-all-forms.
9514 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9515 (macroexp--expand-all): Rename from macroexpand-all-1.
9517 2012-06-06 Sam Steingold <sds@gnu.org>
9519 * calendar/calendar.el (calendar-in-read-only-buffer):
9520 Call `special-mode' to enable the standard read-only keybindings.
9522 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9524 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9525 with "loading" messages (bug#11635).
9527 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9529 * files.el (enable-remote-dir-locals): New option.
9530 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9532 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9533 Ensure, that the temp directory is local.
9535 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9536 `temporary-file-directory'.
9538 * progmodes/python.el (python-send-region): Ensure, that the
9539 temporary file is created also in the remote case.
9541 2012-06-06 Glenn Morris <rgm@gnu.org>
9543 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9544 (vc-rcs-update-changelog): Use it.
9546 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9548 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9549 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9550 (vc-sccs-diff): Replace use of the external vcdiff script.
9552 2012-06-05 Glenn Morris <rgm@gnu.org>
9554 * ledit.el: Move to obsolete/.
9556 2012-06-05 Sam Steingold <sds@gnu.org>
9558 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9561 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9563 * emacs-lisp/cust-print.el: Move to obsolete.
9565 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9566 compiler-macro expansion.
9568 Add native compiler-macro support.
9569 * emacs-lisp/macroexp.el (macroexpand-all-1):
9570 Support compiler-macros directly. Properly follow aliases and apply
9571 the compiler macros more thoroughly.
9572 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9573 macroexpand now properly follows aliases.
9574 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9575 (cl-compiler-macroexpand): Use new prop.
9576 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9578 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9580 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9582 * window.el (get-lru-window, get-mru-window, get-largest-window):
9583 New argument NOT-SELECTED to avoid picking the selected window.
9584 (window--display-buffer-1, window--display-buffer-2): Replace by
9585 new function window--display-buffer
9586 (display-buffer-same-window, display-buffer-reuse-window)
9587 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9588 Use window--display-buffer.
9589 (display-buffer-use-some-window): Remove temporary dedication
9590 hack by calling get-lru-window and get-largest-window with
9591 NOT-SELECTED argument non-nil. Call window--display-buffer.
9593 2012-06-05 Glenn Morris <rgm@gnu.org>
9595 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9596 Replace external vcdiff script.
9598 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9600 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9602 2012-06-04 Chong Yidong <cyd@gnu.org>
9604 * image.el (imagemagick-types-inhibit): Revert last change.
9606 (imagemagick-enabled-types): Remove CIN and EPS*.
9608 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9610 * emacs-lisp/cl-lib.el: Rename from cl.el.
9611 * emacs-lisp/cl.el: New compatibility file.
9612 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9613 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9614 to obey the "cl-" prefix.
9615 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9617 2012-06-03 Glenn Morris <rgm@gnu.org>
9619 * emacs-lisp/authors.el (authors-aliases): Addition.
9621 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9624 2012-06-03 Stefan Merten <smerten@oekonux.de>
9626 * textmodes/rst.el: Add comments.
9627 (rst-transition, rst-adornment): New faces.
9628 (rst-adornment-faces-alist): Make default safe to reevaluate.
9630 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9631 Improve customization tags.
9632 (rst-define-level-faces): Clarify meaning.
9634 2012-06-03 Chong Yidong <cyd@gnu.org>
9636 * progmodes/compile.el (compilation-mode-line-fail)
9637 (compilation-mode-line-run, compilation-mode-line-exit):
9639 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9641 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9643 * progmodes/which-func.el (which-func-update-ediff-windows):
9644 New function. Use it in ediff-select-hook (Bug#11478).
9646 2012-06-03 Chong Yidong <cyd@gnu.org>
9648 * bindings.el: Remove explicit help text from format-mode-line.
9649 It is now supplied by mode-line-default-help-echo.
9650 (mode-line-front-space, mode-line-end-spaces)
9651 (mode-line-misc-info): New variables.
9652 (mode-line-modes, mode-line-position): Move the default value to
9653 the variable definition.
9654 (mode-line-default-help-echo): New defcustom.
9655 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9656 (mode-line-modified-help-echo): New functions.
9657 (mode-line-mule-info, mode-line-modified): Use them.
9658 (mode-line-eol-desc, propertized-buffer-identification):
9659 Consistency fixes for help text.
9660 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9661 set-buffer-file-coding-system (Bug#289).
9662 (mode-line-mule-info-help-echo): Update help text.
9664 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9666 * simple.el (execute-extended-command): Set real-this-command
9669 2012-06-02 Chong Yidong <cyd@gnu.org>
9671 Remove incorrect uses of "modeline" in comments, docstrings, and
9672 function/variable names (Bug#10329).
9674 * cus-edit.el (mode-line):
9675 * dframe.el (dframe-mouse-hscroll):
9676 * emacs-lisp/re-builder.el:
9677 * emacs-lisp/easy-mmode.el (define-minor-mode):
9678 * frame.el (set-frame-name):
9679 * help.el (lookup-minor-mode-from-indicator):
9680 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9681 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9682 (c-toggle-hungry-state):
9683 * progmodes/antlr-mode.el (antlr-language-alist):
9684 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9685 * progmodes/vhdl-mode.el (vhdl-mode):
9686 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9687 * term/ns-win.el (ns-face-at-pos):
9688 * term/sup-mouse.el (sup-mouse-report):
9689 * textmodes/flyspell.el (flyspell-mode-line-string):
9690 * textmodes/ispell.el (ispell-highlight-face):
9691 * textmodes/reftex-global.el:
9692 * vc/vc-arch.el (vc-arch-mode-line-string):
9693 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9694 * vc/vc-git.el (vc-git-mode-line-string):
9695 * vc/vc-hooks.el (vc-display-status)
9696 (vc-default-mode-line-string):
9697 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9699 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9701 * dired.el (dired-sort-set-mode-line): Rename from
9702 dired-sort-set-modeline. All callers changed.
9704 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9705 eshell-status-in-modeline.
9707 * foldout.el (foldout-mode-line-string): Rename from
9708 foldout-modeline-string. All callers changed.
9709 (foldout-update-mode-line): Rename from foldout-update-modeline.
9711 * subr.el (redraw-modeline): Make into obsolete alias.
9713 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9714 timeclock-modeline-display. Make old name an alias.
9715 (timeclock-update-mode-line): Likewise. All callers changed.
9716 (timeclock-mode-line-display): No need to check before using
9718 (timeclock-relative, timeclock-day-over-hook)
9719 (timeclock-use-elapsed, timeclock-mode-string)
9720 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9722 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9723 crisp-mode-modeline-string.
9725 * play/solitaire.el (solitaire-build-mode-line): Rename from
9726 solitaire-build-modeline. All callers changed.
9728 * play/zone.el (zone-hiding-mode-line): Rename from
9729 zone-hiding-modeline. All callers changed.
9730 (zone): Remove unusued `modeline-hidden-level' property.
9732 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9733 xscheme-modeline-initialize. All callers changed.
9735 * strokes.el (strokes-lighter): Rename from
9736 strokes-modeline-string.
9738 * textmodes/sgml-mode.el (html-face-tag-alist)
9739 (html-tag-face-alist): Use mode-line face instead of obsolete
9742 2012-06-02 Stefan Merten <smerten@oekonux.de>
9744 * textmodes/rst.el: Always require `cl'.
9745 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
9747 2012-06-02 Chong Yidong <cyd@gnu.org>
9749 * image.el (imagemagick-enabled-types): Rename from
9750 imagemagick-types-enable. Add many more types.
9751 (imagemagick-types-inhibit): Change default to nil.
9752 (imagemagick-filter-types): Caller changed.
9754 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9756 * emacs-lisp/cl-macs.el: Use backquotes.
9757 (cl-transform-function-property): Use eval-and-compile rather than
9759 (defstruct): Use declare-function instead of with-no-warnings.
9761 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9762 (byte-compile-output-docform): Re-add the print-circle bindings.
9763 (byte-compile-fix-header): Use #$ just because it's shorter.
9764 (byte-compile-output-file-form): Remove defun/defmacro.
9766 2012-06-01 Martin Rudalics <rudalics@gmx.at>
9768 * simple.el (choose-completion): Remove now obsolete binding for
9771 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
9773 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9774 in order to avoid "Stack overflow in regexp matcher".
9776 2012-05-31 Glenn Morris <rgm@gnu.org>
9778 * image.el: For clarity, call imagemagick-register-types at
9779 top-level, rather than relying on a custom :initialize.
9780 (imagemagick-types-enable): New option. (Bug#11557)
9781 (imagemagick-filter-types): New function. (Bug#7406)
9782 (imagemagick-register-types): Use imagemagick-filter-types.
9783 If disabling support, remove elements altogether rather
9784 than using an impossible regexp.
9785 (imagemagick-types-inhibit): Give it the default init function.
9787 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9789 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9790 Handle arbitrary file name lengths (Bug#11585).
9792 2012-05-31 Martin Rudalics <rudalics@gmx.at>
9794 * desktop.el (desktop-read): Clear previous and next buffers for
9795 all windows and bury *Messages* buffer (bug#11556).
9797 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9799 Add `declare' for `defun'. Align `defmacro's with it.
9800 * emacs-lisp/easy-mmode.el (define-minor-mode)
9801 (define-globalized-minor-mode): Don't autoload the var definitions.
9802 * emacs-lisp/byte-run.el: Use lexical-binding.
9803 (defun-declarations-alist, macro-declarations-alist): New vars.
9804 (defmacro, defun): Use them.
9805 (make-obsolete, define-obsolete-function-alias)
9806 (make-obsolete-variable, define-obsolete-variable-alias):
9808 (macro-declaration-function): Mark obsolete.
9809 * emacs-lisp/autoload.el: Use lexical-binding.
9810 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9812 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9814 * textmodes/ispell.el (ispell-with-no-warnings):
9816 (ispell-kill-ispell, ispell-change-dictionary):
9817 Use `called-interactively-p' for Emacs instead of obsolete
9820 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9822 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9823 (macro-declaration-function): Move var from C code.
9824 (macro-declaration-function): Define function with defalias.
9825 * emacs-lisp/macroexp.el (macroexpand-all-1):
9826 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9827 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9828 defun/defmacro any more.
9829 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9830 Provide fallback for unknown arglist.
9831 (byte-compile-arglist-warn): Change calling convention.
9832 (byte-compile-output-file-form): Move print-vars binding.
9833 (byte-compile-output-docform): Simplify accordingly.
9834 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9835 (byte-compile-defmacro-declaration): Remove.
9836 (byte-compile-file-form-defmumble): Generalize to defalias.
9837 (byte-compile-output-as-comment): Return byte-positions.
9838 Simplify callers accordingly.
9839 (byte-compile-lambda): Use `assert'.
9840 (byte-compile-defun, byte-compile-defmacro): Remove.
9841 (byte-compile-file-form-defalias):
9842 Use byte-compile-file-form-defmumble.
9843 (byte-compile-defalias-warn): Remove.
9845 2012-05-29 Stefan Merten <smerten@oekonux.de>
9847 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
9848 possible. Fix authors. Improve comments. Improve loading of `cl'.
9850 (rst-mode-abbrev-table): Merge definition.
9851 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9852 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9854 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
9856 * calendar/icalendar.el
9857 (icalendar-export-region): Export UID properly.
9859 2012-05-29 Leo Liu <sdl.web@gmail.com>
9860 * calendar/icalendar.el (icalendar-import-format):
9861 Add `icalendar-import-format-uid' (Bug#11525).
9862 (icalendar-import-format-uid): New.
9863 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9866 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9868 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9869 different alternative patterns.
9870 (pcase-codegen): Be more careful to preserve identity.
9871 (pcase--u1): Don't forget to mark vars as used.
9873 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9874 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9875 (byte-compile-from-buffer): ...rather than here.
9877 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9878 functions from byte-compile-function-environment.
9880 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
9882 * window.el (window-deletable-p): Avoid deleting the root window
9883 of a frame with an active minibuffer.
9885 2012-05-29 Martin Rudalics <rudalics@gmx.at>
9887 * simple.el (choose-completion): Use quit-window (Bug#11567).
9889 2012-05-29 Chong Yidong <cyd@gnu.org>
9891 * whitespace.el (whitespace-cleanup): Fix usage of
9892 whitespace-empty-at-bob-regexp (Bug#11492).
9894 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9896 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9899 2012-05-29 Juri Linkov <juri@jurta.org>
9901 * isearch.el (isearch-mode-map): Bind `M-s _' to
9902 `isearch-toggle-symbol'. Bind `M-s c' to
9903 `isearch-toggle-case-fold'.
9904 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9905 (isearch-forward): Add `M-s _' to the docstring.
9906 (isearch-forward-symbol, isearch-toggle-case-fold)
9907 (isearch-symbol-regexp): New functions. (Bug#11381)
9909 2012-05-29 Juri Linkov <juri@jurta.org>
9911 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9912 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9913 a function, call it to get the regexp.
9914 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9915 property `isearch-message-prefix' instead of the string "word ".
9916 (isearch-search-fun-default): For the case of `isearch-word',
9917 return a lambda that calls re-search-forward/re-search-backward
9918 with a regexp returned by `word-search-regexp' or by the function
9921 2012-05-29 Juri Linkov <juri@jurta.org>
9923 * isearch.el (isearch-search-fun-default): New function.
9924 (isearch-search-fun): Move default part to the new function
9925 `isearch-search-fun-default'.
9926 (isearch-search-fun-function): Set the default value to
9927 `isearch-search-fun-default'. (Bug#11381)
9929 * comint.el (comint-history-isearch-end):
9930 Use `isearch-search-fun-default'.
9931 (comint-history-isearch-search): Use `isearch-search-fun-default'
9932 and remove spacial case for `isearch-word'.
9933 (comint-history-isearch-wrap): Remove spacial case for
9936 * hexl.el (hexl-isearch-search-function):
9937 Use `isearch-search-fun-default'.
9939 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9940 Use `word-search-regexp' for `isearch-word'.
9942 * misearch.el (multi-isearch-search-fun):
9943 Use `isearch-search-fun-default'.
9945 * simple.el (minibuffer-history-isearch-search):
9946 Use `isearch-search-fun-default' and remove spacial case for
9948 (minibuffer-history-isearch-wrap): Remove spacial case for
9951 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9952 Remove spacial case for `isearch-word'.
9953 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9955 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9957 Decrease XEmacs incompatibilities.
9958 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9960 (flyspell-delete-region-overlays): Use alternative definition for
9962 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9963 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9964 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9965 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9966 `define-obsolete-face-alias' under XEmacs, but old method.
9968 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9969 `with-no-warnings' definition or Emacs alias.
9970 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9971 (ispell-word): Do not use `region-p' if XEmacs.
9973 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9975 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9976 Check for `ispell-dictionary-base-alist' instead of full
9977 `ispell-dictionary-alist'.
9978 (ispell-init-process): Show spellchecker when starting new Ispell
9981 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9983 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9984 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9986 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
9988 * version.el (motif-version-string, gtk-version-string)
9989 (ns-version-string): Declare.
9991 2012-05-27 Juri Linkov <juri@jurta.org>
9993 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9994 after the `eval-defun-1' specialcaseing
9995 like in `edebug-eval-defun' (bug#10181).
9997 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9998 like in `eval-defun-1'.
10000 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10002 * mail/sendmail.el (mail-yank-region):
10003 Recognize rmail-yank-current-message in addition to insert-buffer.
10004 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10005 a *mail* buffer created through rmail-start-mail with sendmail as
10008 2012-05-27 Chong Yidong <cyd@gnu.org>
10010 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10011 Default to 256 (Bug#11267).
10013 * help.el (describe-mode): Doc fix.
10015 2012-05-26 Glenn Morris <rgm@gnu.org>
10017 * w32-fns.el (w32-init-info): Remove.
10018 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10020 * info.el (info-initialize): For self-contained NS builds, put the
10021 included info/ directory at the front. (Bug#2791)
10023 * paths.el (Info-default-directory-list): Make it a defcustom,
10024 mainly so that we can use custom-initialize-delay.
10026 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10028 * subr.el (buffer-has-markers-at): Mark obsolete.
10030 * subr.el (lambda): Use declare.
10032 * emacs-lisp/lisp-mode.el (lambda):
10033 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10035 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10037 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10039 2012-05-26 Glenn Morris <rgm@gnu.org>
10041 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10043 2012-05-25 Glenn Morris <rgm@gnu.org>
10045 * paths.el: Remove no-byte-compile.
10046 * loadup.el: No need to load paths.el uncompiled.
10048 * image.el (imagemagick-types-inhibit): Doc fix.
10050 * version.el: Remove no-byte-compile and associated formatting.
10051 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10052 is ancient code from when there was an "inc-vers.el".
10054 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10056 * progmodes/gdb-mi.el: Minor style changes.
10057 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10058 Turn into minor modes.
10059 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10060 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10061 (gdb-shell): Remove unneeded let-binding.
10062 (gdb-get-many-fields): Eliminate O(n²) behavior.
10064 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10066 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10067 platforms that don't link in fontset.c.
10069 2012-05-25 Juri Linkov <juri@jurta.org>
10071 Use the same diff color scheme as in modern VCSes (bug#10181).
10073 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10074 to avoid confusion with `diff-added' that now uses green colors.
10075 (diff-removed): Use shades of red.
10076 (diff-added): Use shades of green.
10077 (diff-changed): Leave just the yellow color.
10078 (diff-use-changed-face): New variable.
10079 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10080 how to highlight context diff changes.
10081 (diff-refine-change): Use shades of yellow.
10082 (diff-refine-removed): New face that uses shades of red.
10083 (diff-refine-added): New face that uses shades of green.
10084 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10085 `diff-refine-removed' in the call to `smerge-refine-subst'
10086 depending on the value of `diff-use-changed-face'.
10088 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10089 (smerge-other): Use shades of green.
10090 (smerge-base): Use shades of yellow.
10091 (smerge-refined-change): Empty face.
10092 (smerge-refined-removed): New face that uses shades of red.
10093 (smerge-refined-added): New face that uses shades of green.
10094 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10095 args `props-r' and `props-a', and use them. Doc fix.
10096 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10097 on its value use different faces `smerge-refined-change',
10098 `smerge-refined-removed', `smerge-refined-added' in the call to
10099 `smerge-refine-subst'.
10101 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10102 Add face condition `min-colors 88' with shades of red.
10103 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10104 `min-colors 88' with shades of green.
10105 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10106 `min-colors 88' with shades of yellow.
10108 2012-05-24 Glenn Morris <rgm@gnu.org>
10110 * paths.el (prune-directory-list, remote-shell-program): Move to...
10111 * files.el (prune-directory-list, remote-shell-program): ...here.
10112 For the latter, delay initialization, prefer ssh, just search PATH.
10114 * paths.el (term-file-prefix): Move to faces.el (the only user).
10115 * faces.el (term-file-prefix): Move here, make it a defcustom.
10117 * paths.el (news-directory, news-path, news-inews-program):
10118 Move to gnus/nnspool.el.
10120 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10122 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10123 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10124 Make the latter a defcustom, with a delayed initialization.
10126 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10127 These were deleted from Gnus itself late 2010.
10129 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10131 * progmodes/which-func.el (which-func-ff-hook):
10132 Check against user-error, not error.
10134 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10135 cl-specs.el, which no longer exists.
10137 2012-05-22 Glenn Morris <rgm@gnu.org>
10139 * info.el (info-emacs-bug): New command.
10140 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10141 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10143 2012-05-21 Glenn Morris <rgm@gnu.org>
10145 * makefile.w32-in (update-subdirs-SH):
10146 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10148 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10150 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10152 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10153 Simplify Maven regexp, and make sure the file can't start with a space
10156 2012-05-21 Glenn Morris <rgm@gnu.org>
10158 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10159 Scrap superfluous subshells.
10161 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10163 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10164 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10166 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10168 * calc/calc.el (calc-ensure-consistent-units): New variable.
10170 * calc/calc-units.el (math-consistent-units-p)
10171 (math-check-unit-consistency): New functions.
10172 (calc-quick-units, calc-convert-units):
10173 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10175 (calc-extract-units): Fix typo.
10177 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10179 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10181 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10182 (flyspell-default-deplacement-commands): Don't spell check after
10183 repeated window/frame switches (e.g. triggered by mouse-movement).
10184 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10185 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10186 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10187 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10188 Remove unused vars.
10189 (flyspell-get-casechars, flyspell-get-not-casechars):
10190 Simplify; Don't bother removing a ] just to add it back.
10191 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10193 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10195 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10197 (math-function-table): Add support for more C functions.
10199 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10201 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10202 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10203 Protect delay handling for otherchars against empty otherchars.
10205 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10207 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10208 their respective macro declarations.
10209 * skeleton.el (define-skeleton):
10210 * progmodes/compile.el (define-compilation-mode):
10211 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10212 (define-ibuffer-filter):
10213 * emacs-lisp/generic.el (define-generic-mode):
10214 * emacs-lisp/easy-mmode.el (define-minor-mode)
10215 (define-globalized-minor-mode):
10216 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10217 * emacs-lisp/byte-run.el (defsubst):
10218 * custom.el (deftheme): Add doc-string metadata.
10220 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10222 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10224 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10226 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10228 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10229 * emacs-lisp/cl-macs.el: Idem.
10230 * emacs-lisp/cl-specs.el: Remove.
10232 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10234 Minor renaming of internal CL functions and variables.
10235 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10236 (cl--position): Rename from cl-position.
10237 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10238 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10239 (cl--random-state): Rename from *random-state*.
10241 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10243 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10244 parens around the arg list (bug#11499).
10246 2012-05-17 Juri Linkov <juri@jurta.org>
10248 * isearch.el (word-search-regexp, word-search-backward)
10249 (word-search-forward, word-search-backward-lax)
10250 (word-search-forward-lax): Move functions from search.c
10251 (bug#10145, bug#11381).
10253 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10255 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10256 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10257 Delay for otherchars as for normal word components.
10259 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10261 * minibuffer.el (completion--sifn-requote): Fix last change.
10262 (minibuffer-local-must-match-filename-map):
10263 Move define-obsolete-variable-alias before its var.
10265 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10267 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10269 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10271 (completion--string-equal-p): New function.
10272 (completion--twq-all): Use it to get better assertion failure data.
10274 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10275 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10276 (shell--requote-argument): New functions.
10277 (shell-completion-vars): Use them.
10278 (shell--parse-pcomplete-arguments): Rename from
10279 shell-parse-pcomplete-arguments.
10280 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10281 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10282 Obey comint-file-name-quote-list.
10284 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10285 (smie-indent-keyword): Use it.
10287 2012-05-14 Stefan Merten <smerten@oekonux.de>
10289 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10291 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10293 * net/rlogin.el (rlogin-mode-map): Fix last change.
10295 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10297 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10298 the following \r\n using a single `process-send-string', since the
10299 Lotus SMTP server refuses to accept any commands if they are sent
10300 with two `process-send-string's (Bug#11444).
10302 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10304 * shell.el (shell-parse-pcomplete-arguments):
10305 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10307 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10309 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10310 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10311 (image-transform-width, image-transform-fit-width): New functions.
10312 (image-transform-properties): Use them.
10313 (image-transform-check-size): New function.
10314 (image-toggle-display-image): Use it (for testing).
10315 (image-transform-set-rotation): Reduce angle mod 360.
10316 Delete obsolete comment.
10318 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10320 * image-mode.el: Fix scaling (bug#11399).
10321 (image-transform-resize): Doc fix.
10322 (image-transform-properties): Default scale is 1 and height should
10325 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10327 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10328 than hard-coding `car', to fix misbehavior when moving forward.
10330 2012-05-13 Chong Yidong <cyd@gnu.org>
10332 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10333 (tabulated-list-entries, tabulated-list-padding)
10334 (tabulated-list-sort-key): Make permanent-local.
10336 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10337 (electric-buffer-list): Put electric buffer menu
10338 command descriptions in this docstring, instead of the docstring
10339 of electric-buffer-menu-mode. Code cleanups.
10340 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10341 Electric-buffer-menu-mode.
10342 (electric-buffer-update-highlight): Minor code cleanup.
10344 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10346 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10349 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10351 Move define-obsolete-variable-alias before the var's definition.
10352 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10353 * tooltip.el (tooltip-hook):
10354 * textmodes/reftex-toc.el (reftex-toc-map):
10355 * textmodes/reftex-sel.el (reftex-select-label-map)
10356 (reftex-select-bib-map):
10357 * textmodes/reftex-index.el (reftex-index-map)
10358 (reftex-index-phrases-map):
10359 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10360 * progmodes/meta-mode.el (meta-mode-map):
10361 * novice.el (disabled-command-hook):
10362 * loadhist.el (unload-hook-features-list):
10363 * frame.el (blink-cursor):
10364 * files.el (find-file-not-found-hooks, write-file-hooks)
10365 (write-contents-hooks):
10366 * emulation/tpu-edt.el (GOLD-map):
10367 * emacs-lock.el (emacs-lock-from-exiting):
10368 * emacs-lisp/generic.el (generic-font-lock-defaults):
10369 * emacs-lisp/chart.el (chart-map):
10370 * dos-fns.el (register-name-alist):
10371 * dired-x.el (dired-omit-files-p):
10372 * desktop.el (desktop-enable):
10373 * cus-edit.el (custom-mode-hook):
10374 * buff-menu.el (buffer-menu-mode-hook):
10375 * bookmark.el (bookmark-read-annotation-text-func)
10376 (bookmark-exit-hooks):
10377 * allout.el (allout-mode-deactivate-hook)
10378 (allout-exposure-change-hook, allout-structure-added-hook)
10379 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10380 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10381 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10382 comes before the corresponding variable's definition.
10384 2012-05-12 Chong Yidong <cyd@gnu.org>
10386 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10387 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10388 (Buffer-menu-mode-map): Bind it.
10389 (Buffer-menu--pretty-name): Add a mouse-face property.
10391 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10393 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10394 (prolog-upper-case-string, prolog-lower-case-string)
10395 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10396 (prolog-use-smie, prolog-smie-grammar): New vars.
10397 (prolog-smie-forward-token, prolog-smie-backward-token)
10398 (prolog-smie-rules): New funs.
10399 (prolog-comment-indent): Remove.
10400 (prolog-mode-variables): Use default comment indentation instead.
10402 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10403 (prolog-mode): Don't call them any more.
10404 (prolog-electric-colon, prolog-electric-dash)
10405 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10407 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10409 * minibuffer.el (completion--twq-all): Again, allow case differences.
10411 * term.el: Move keymap initialization code to be more idiomatic.
10412 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10413 (term-terminal-menu): Move initialization into declaration.
10414 (term-escape-char): Let the user set it in her .emacs.
10416 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10417 Provide SMIE-based indentation (not enabled by default yet).
10418 (sh-mode-map): Don't bind electric keys.
10419 Use electric-pair-mode instead of skeleton-pair.
10420 (sh-assignment-regexp): Fit within 80 columns.
10421 (sh-indent-supported): Specify actual shell name instead of boolean.
10422 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10423 (sh-maybe-here-document): Use it. Make obsolete.
10424 (sh-electric-here-document-mode) New minor mode.
10425 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10426 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10427 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10428 (sh-smie-rc-grammar, sh-use-smie): New vars.
10429 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10430 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10431 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10432 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10433 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10434 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10435 (sh-set-shell): Use smie-setup if requested.
10437 * term.el (term-set-escape-char): Properly set term-escape-char.
10438 See http://stackoverflow.com/questions/10524656.
10440 2012-05-10 Chong Yidong <cyd@gnu.org>
10442 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10443 Use url-generic-parse-url, and handle host names and Windows
10444 filenames properly.
10445 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10446 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10447 URL schemes to work on.
10448 (ffap--toggle-read-only): New function.
10449 (ffap-read-only, ffap-read-only-other-window)
10450 (ffap-read-only-other-frame): Use it.
10451 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10452 necessary for ffap-url-unwrap-remote.
10454 2012-05-10 Dave Abrahams <dave@boostpro.com>
10456 * cus-start.el (create-lockfiles): Add it.
10458 2012-05-09 Chong Yidong <cyd@gnu.org>
10460 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10461 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10463 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10465 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10467 2012-05-09 Chong Yidong <cyd@gnu.org>
10469 * ansi-color.el (ansi-color-process-output): Check for validity of
10470 comint-last-output-start before using it. This avoids a bad
10471 interaction with gdb-mi's input/output buffer.
10473 2012-05-09 Glenn Morris <rgm@gnu.org>
10475 * files.el (dir-locals-read-from-file):
10476 Mention dir-locals in any error message.
10478 2012-05-09 Chong Yidong <cyd@gnu.org>
10480 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10481 package (Bug#11410).
10483 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10484 variables into description.
10486 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10488 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10489 shell-delimiter-argument-list (bug#11348).
10490 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10492 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10494 * textmodes/rst.el: Silence byte-compiler warnings.
10495 (rst-re-alist, rst-reset-section-caches): Move around.
10496 (rst-re): Use `characterp', not `char-valid-p'.
10497 (font-lock-beg, font-lock-end): Declare.
10499 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10500 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10502 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10504 2012-05-08 Glenn Morris <rgm@gnu.org>
10506 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10508 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10510 * vc/log-edit.el: Add GNU coding standards highlighting.
10511 (log-edit-font-lock-gnu-style)
10512 (log-edit-font-lock-gnu-keywords): New vars.
10513 (log-edit-font-lock-keywords): New fun.
10514 (log-edit-mode): Don't fold case in font-lock.
10515 (log-edit-font-lock-keywords): Do not assume case-folding.
10517 * imenu.el: Misc cleanup. Make docstrings out of comments.
10518 Use lexical-binding.
10519 (imenu--index-alist, imenu--last-menubar-index-alist)
10520 (imenu-menubar-modified-tick): Use defvar-local.
10521 (imenu--split-menu): Remove unused var.
10522 (imenu--cleanup-seen): Declare as global.
10523 (imenu--cleanup): Use dolist.
10525 * subr.el (defvar-local): Add debug spec and doc-string position.
10527 2012-05-08 Glenn Morris <rgm@gnu.org>
10529 * language/burmese.el, language/cham.el, language/czech.el:
10530 * language/english.el, language/georgian.el, language/greek.el:
10531 * language/japanese.el, language/khmer.el, language/korean.el:
10532 * language/lao.el, language/misc-lang.el, language/romanian.el:
10533 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10534 * language/thai.el, language/utf-8-lang.el:
10535 Remove no-byte-compile setting.
10537 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10539 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10541 * progmodes/make-mode.el (makefile-browse):
10542 Remove unnecessary interactive. (Bug#11324)
10544 2012-05-07 Glenn Morris <rgm@gnu.org>
10546 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10548 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10550 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10552 * loadup.el: Preload newcomment.el.
10553 * newcomment.el: Move autoload-only code to toplevel.
10555 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10556 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10557 Handle new :right-align column property.
10558 (tabulated-list-print-col): Idem, plus use `display' text-property to
10559 try and preserve alignment for variable pitch fonts.
10561 2012-05-07 Chong Yidong <cyd@gnu.org>
10563 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10564 (tabulated-list-use-header-line): New var.
10565 (tabulated-list-init-header): Use it.
10566 (tabulated-list-print-fake-header): New function.
10567 (tabulated-list-print): Use it.
10568 (tabulated-list-sort-button-map): Add non-header-line commands.
10569 (tabulated-list-init-header): Add column name property to basic
10571 (tabulated-list-col-sort): Handle non-header-line button case.
10572 (tabulated-list--sort-by-column-name): Fix a corner case.
10574 * buff-menu.el (list-buffers--refresh):
10575 Handle Buffer-menu-use-header-line.
10577 2012-05-06 Chong Yidong <cyd@gnu.org>
10579 * buff-menu.el: Convert to Tabulated List mode.
10580 (Buffer-menu-buffer+size-width): Make obsolete.
10581 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10582 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10583 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10584 documentation into docstring of buffer-menu.
10585 (Buffer-menu-toggle-files-only): Add an informative message.
10586 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10587 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10588 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10589 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10590 (Buffer-menu-execute, Buffer-menu-select)
10591 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10592 (Buffer-menu-bury): Use Tabulated List machinery.
10593 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10594 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10596 (list-buffers--refresh): New function.
10597 (list-buffers-noselect): Use it.
10598 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10599 (Buffer-menu--pretty-file-name): New helper functions.
10601 * loadup.el: Preload tabulated-list.
10603 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10604 tabulated-list-sort-column.
10605 (tabulated-list-init-header): Add the initial aligning space even
10606 if tabulated-list-padding is zero.
10608 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10610 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10611 whose cdr is not a cons cell correctly (bug#11038).
10613 2012-05-06 Chong Yidong <cyd@gnu.org>
10615 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10616 Accept additional plist in column descriptors.
10617 (tabulated-list-init-header): Obey it.
10618 (tabulated-list-get-entry): New function.
10619 (tabulated-list-put-tag): Use it. Use string-width instead of
10621 (tabulated-list--column-number): New function.
10622 (tabulated-list-print): Use it.
10623 (tabulated-list-print-col): New function.
10624 Set `tabulated-list-column-name' property on each column's text.
10625 (tabulated-list-print-entry): Use it.
10626 (tabulated-list-delete-entry, tabulated-list-set-col):
10628 (tabulated-list-sort-column): New command (Bug#11337).
10630 * buff-menu.el (list-buffers): Move C-x C-b binding from
10631 buff-menu.el to bindings.el.
10633 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10634 :advertised-binding feature.
10636 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10638 * progmodes/compile.el (compilation-internal-error-properties):
10639 Calculate start position correctly when end-col is set but
10640 end-line is not (Bug#11382).
10642 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10644 * man.el (Man-unindent): Use text-property-default-nonsticky to
10645 prevent untabify from inheriting face properties (Bug#11408).
10647 2012-05-05 Stefan Merten <smerten@oekonux.de>
10649 * textmodes/rst.el: Major merge with upstream development up to
10650 Docutils SVN r7399 / rst.el V1.2.1.
10652 Clarify maintainership and authors.
10654 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10655 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10656 (rst-official-version, rst-official-cvs-rev, rst-version)
10657 (rst-package-emacs-version-alist): New functions and variables
10658 for version information.
10660 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10661 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10662 (rst-mode-syntax-table, rst-mode): New and corrected functions
10663 and variables representing reStructuredText features.
10665 (rst-re): New function for reStructuredText regexes. Use in
10668 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10669 (rst-mode-map): Rebind keys.
10671 (rst-mode-lazy, rst-font-lock-keywords)
10672 (rst-font-lock-extend-region)
10673 (rst-font-lock-extend-region-internal)
10674 (rst-font-lock-extend-region-extend)
10675 (rst-font-lock-find-unindented-line-limit)
10676 (rst-font-lock-find-unindented-line-match)
10677 (rst-adornment-level, rst-font-lock-adornment-level)
10678 (rst-font-lock-adornment-match)
10679 (rst-font-lock-handle-adornment-pre-match-form)
10680 (rst-font-lock-handle-adornment-matcher): Major revision of
10681 font-locking. Integrate with other code. Use `jit-lock-mode'.
10683 (rst-preferred-adornments, rst-adjust-hook)
10684 (rst-new-adornment-down, rst-preferred-bullets)
10685 (rst-preferred-bullets, rst-indent, rst-indent-width)
10686 (rst-indent-field, rst-indent-literal-normal)
10687 (rst-indent-literal-minimized, rst-indent-comment): Change,
10688 extend and improve customization.
10690 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10691 (rst-normalize-cursor-position, rst-get-decoration)
10692 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10693 (rst-rstrip, rst-toc-insert-find-delete-contents)
10694 (rst-shift-fill-region, rst-compute-bullet-tabs)
10695 (rst-debug-print-tabs, rst-debug-mark-found)
10696 (rst-shift-region-guts, rst-shift-region-right)
10697 (rst-shift-region-left, rst-use-char-classes)
10698 (rst-font-lock-keywords-function)
10699 (rst-font-lock-indentation-point)
10700 (rst-font-lock-find-unindented-line-begin)
10701 (rst-font-lock-find-unindented-line-end)
10702 (rst-font-lock-find-unindented-line)
10703 (rst-font-lock-adornment-point, rst-font-lock-level)
10704 (rst-adornment-level-alist): Remove functions and variables.
10706 (rst-compare-adornments, rst-get-adornment-match)
10707 (rst-suggest-new-adornment, rst-get-adornments-around)
10708 (rst-adornment-complete-p, rst-get-next-adornment)
10709 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10710 (rst-straighten-adornments): Standardize function names to
10711 use "adornment" instead of "decoration". Correct callers.
10712 Similar standardizing in many places.
10714 (rst-update-section, rst-adjust, rst-promote-region)
10715 (rst-enumerate-region, rst-bullet-list-region)
10716 (rst-repeat-last-character): Correct use of `interactive'.
10718 (rst-classify-adornment, rst-find-all-adornments)
10719 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10720 (rst-find-leftmost-column, rst-repeat-last-character):
10721 Refactor functions.
10723 (rst-find-title-line, rst-reset-section-caches)
10724 (rst-get-adornments-around, rst-adjust-adornment-work)
10725 (rst-arabic-to-roman, rst-roman-to-arabic)
10726 (rst-insert-list-pos, rst-insert-list-new-item)
10727 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10730 (rst-all-sections, rst-section-hierarchy)
10731 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10734 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10735 configuration instead of only buffer. Change where necessary.
10737 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10738 (rst-shift-region, rst-adaptive-fill): New functions for
10739 indentation and filling.
10741 (rst-comment-line-break, rst-comment-indent)
10742 (rst-comment-insert-comment, rst-comment-region)
10743 (rst-uncomment-region): New functions for handling comments.
10745 (rst-compile): Quote shell arguments.
10747 (rst-compile-pdf-preview, rst-compile-slides-preview):
10748 Delete temporary files after use.
10750 2012-05-05 Glenn Morris <rgm@gnu.org>
10752 * calendar/cal-html.el: Optionally include holidays in the output.
10753 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10754 (cal-html-holidays): New option.
10755 (cal-html-css-default): Add holiday entry.
10756 (holiday-in-range): Autoload it.
10757 (cal-html-htmlify-entry): Add optional class argument.
10758 (cal-html-htmlify-list): Add optional holidays argument.
10759 (cal-html-insert-agenda-days): Include holidays in the output.
10760 (cal-html-one-month): Maybe include holidays.
10762 * calendar/holidays.el (holiday-in-range):
10763 Move here from cal-tex-list-holidays.
10764 * calendar/cal-tex.el (cal-tex-list-holidays):
10765 Make it an obsolete alias for holiday-in-range. Update all callers.
10767 2012-05-05 Chong Yidong <cyd@gnu.org>
10769 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10772 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10774 * files.el (file-auto-mode-skip): New var.
10775 (set-auto-mode-1): Use it.
10777 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10779 * repeat.el: Use lexical-binding.
10780 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10781 (repeat-undo-count): Remove.
10783 * progmodes/octave-mod.el (octave-abbrev-start):
10784 * progmodes/f90.el (f90-abbrev-start):
10785 * face-remap.el (text-scale-adjust):
10786 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10788 * emacs-lisp/pcase.el (pcase--let*): New function.
10789 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10791 (pcase--split-pred): Be more clever about ruling out overlap between
10792 a predicate and some constant pattern.
10793 (pcase--q1): Use `null' instead of (eq foo nil).
10795 * subr.el (setq-local, defvar-local): New macros.
10796 (kbd): Redefine as an alias.
10797 (with-selected-window): Leave unrelated frames alone.
10798 (set-temporary-overlay-map): New function.
10800 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10802 * subr.el (user-error): New function.
10803 * window.el (switch-to-buffer):
10804 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10805 (smerge-match-conflict):
10806 * simple.el (previous-matching-history-element)
10807 (next-matching-history-element, goto-history-element, undo-more)
10809 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10810 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10811 (next-file, tags-loop-scan, list-tags, complete-tag):
10812 * progmodes/compile.el (compilation-loop):
10813 * mouse.el (mouse-minibuffer-check):
10814 * man.el (Man-bgproc-sentinel, Man-goto-page):
10815 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10816 (Info-history-forward, Info-follow-reference, Info-menu)
10817 (Info-extract-menu-item, Info-extract-menu-counting)
10818 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10819 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10820 (Info-next-reference, Info-prev-reference, Info-index)
10821 (Info-index-next, Info-follow-nearest-node)
10822 (Info-copy-current-node-name):
10823 * imenu.el (imenu--make-index-alist)
10824 (imenu-default-create-index-function, imenu-add-to-menubar):
10825 * files.el (basic-save-buffer, recover-file):
10826 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10827 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10828 (checkdoc-message-text, checkdoc-defun):
10829 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10830 * cus-edit.el (customize-changed-options, customize-rogue)
10831 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10832 (custom-variable-mark-to-reset-standard)
10833 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10835 * completion.el (check-completion-length):
10836 * comint.el (comint-search-arg)
10837 (comint-previous-matching-input-string-position)
10838 (comint-previous-matching-input)
10839 (comint-replace-by-expanded-history-before-point, comint-send-input)
10840 (comint-copy-old-input, comint-backward-matching-input)
10841 (comint-goto-process-mark, comint-set-process-mark):
10842 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10843 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10845 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10847 * dabbrev.el (dabbrev--ignore-case-p): New function.
10848 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10851 * files.el (automount-dir-prefix): Mark as obsolete.
10853 2012-05-04 Glenn Morris <rgm@gnu.org>
10855 * patcomp.el, play/bruce.el: Move to obsolete/.
10857 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10859 Fix minor Y10k bugs.
10860 * arc-mode.el (archive-unixdate):
10861 * autoinsert.el (auto-insert-alist):
10862 * calc/calc-forms.el (math-this-year):
10863 * emacs-lisp/copyright.el (copyright-current-year)
10864 (copyright-update-year, copyright):
10865 * tar-mode.el (tar-clip-time-string):
10866 * time.el (display-time-update):
10867 Don't assume years have 4 digits.
10869 2012-05-04 Chong Yidong <cyd@gnu.org>
10871 * dos-w32.el (file-name-buffer-file-type-alist)
10872 (direct-print-region-use-command-dot-com):
10873 * ffap.el (ffap-menu-regexp):
10874 * find-file.el (ff-special-constructs):
10875 * follow.el (follow-debug):
10876 * forms.el (forms--debug):
10877 * iswitchb.el (iswitchb-all-frames):
10878 * ido.el (ido-all-frames):
10879 * emacs-lisp/timer.el (timer-max-repeats):
10880 * mail/feedmail.el (feedmail-mail-send-hook)
10881 (feedmail-mail-send-hook-queued):
10882 * mail/footnote.el (footnote-signature-separator):
10883 * mail/mailabbrev.el (mail-alias-separator-string)
10884 (mail-abbrev-mode-regexp):
10885 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10886 * progmodes/idlwave.el (idlwave-libinfo-file)
10887 (idlwave-default-completion-case-is-down)
10888 (idlwave-library-routines): Convert defvars to defcustoms.
10890 * mail/rmail.el (rmail-decode-mime-charset):
10891 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10892 (idlwave-shell-fix-inserted-breaks)
10893 (idlwave-shell-activate-alt-keybindings)
10894 (idlwave-shell-use-breakpoint-glyph):
10895 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10897 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10899 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10901 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10903 * progmodes/verilog-mode.el (font-lock-keywords):
10904 Fix mis-highligting auto. Reported by Craig Barner.
10905 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
10906 defines from global name space. Reported by Dan Dever.
10907 (verilog-auto-reset, verilog-auto-reset-widths)
10908 (verilog-auto-tieoff): Support using unbased numbers for
10909 AUTORESET and AUTOTIEOFF.
10910 (verilog-submit-bug-report): Update variable list.
10911 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
10912 parenthesis from not matching. Reported by Michael Rytting.
10913 (verilog-auto-template-lint): Fix hash error when linting modules
10914 with no used templates.
10915 (verilog-warn, verilog-warn-error)
10916 (verilog-warn-fatal): When non-interactive report multiple
10917 warnings before exiting. Suggested by Brad Dobbie.
10918 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10919 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10920 to report unused template errors. Reported by Brad Dobbie.
10921 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
10922 nets, bug438. Reported by Vns Blore.
10923 (verilog-auto-inout-module, verilog-auto-reg)
10924 (verilog-read-decls, verilog-read-sub-decls-sig)
10925 (verilog-signals-edit-wire-reg, verilog-signals-with):
10926 Fix passing of Verilog data types in ANSI input/output ports
10927 such as "output logic" into the AUTOs. Special case "wire" and
10928 "reg" for backwards compatibility presuming Verilog 2001.
10929 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10930 (verilog-preprocess): Fix replication of preprocess output.
10931 Reported by Brad Dobbie.
10932 (verilog-auto-inst-interfaced-ports):
10933 Create verilog-auto-inst-interfaced-ports, bug429.
10934 Reported by Julian Gorfajn.
10935 (verilog-after-save-font-hook)
10936 (verilog-before-save-font-hook): New variable.
10937 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10938 (verilog-save-font-mods): Wrap disabling fontification, reported
10940 (verilog-do-indent, verilog-pretty-declarations-auto)
10941 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10942 Reported by Pierre-David Pfister.
10943 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10944 of class declarations, bug292. Reported by Kevin Heilman.
10945 (verilog-read-decls): Fix 'parameter type' not appearing in
10946 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10947 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
10948 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
10949 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10950 Reported by David Kravitz.
10952 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
10954 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10955 assignment with tests in ifs and for loops.
10956 (verilog-extended-complete-re, verilog-complete-reg): Change so
10957 that DPI inport functions don't look like fuction declarations.
10958 (verilog-pretty-expr): Don't line up assignment
10959 operations to the test and increment in if and for loops
10960 (verilog-extended-complete-re, verilog-complete-reg): Change so
10961 that DPI inport functions don't look like fuction declarations.
10963 2012-05-03 Kenichi Handa <handa@m17n.org>
10965 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
10966 decoding, and show a warning message without signaling an error
10969 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10971 * emacs-lisp/bytecomp.el
10972 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10973 since cconv.el might have introduced :fun-body, internal-make-closure,
10974 and friends for bytecomp to handle (bug#11391).
10975 * custom.el (defcustom): Avoid ((λ ..) ..).
10977 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10979 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10981 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
10983 * notifications.el (dbus-debug):
10984 * term/linux.el (gpm-mouse-enable):
10985 * term/screen.el (xterm-register-default-colors): Declare.
10987 2012-05-02 Chong Yidong <cyd@gnu.org>
10989 * cus-start.el (gc-cons-percentage, exec-suffixes)
10990 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10991 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10992 (make-cursor-line-fully-visible, void-text-area-pointer)
10993 (font-list-limit): Add customization data.
10995 * allout.el (allout-exposure-change-functions)
10996 (allout-structure-added-functions)
10997 (allout-structure-deleted-functions)
10998 (allout-structure-shifted-functions): Rename abnormal hooks from
10999 *-hook, and convert to defcustoms.
11000 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11001 Convert to defcustoms.
11002 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11004 * allout-widgets.el: Hook callers changed.
11006 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11008 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11009 the yanked message in preference to the default value of
11010 buffer-file-coding-system.
11012 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11014 * window.el (display-buffer--action-function-custom-type):
11017 2012-05-02 Alan Mackenzie <acm@muc.de>
11019 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11021 2012-05-01 Glenn Morris <rgm@gnu.org>
11023 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11025 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11027 * cus-edit.el (custom-variable-documentation): Simplify with format.
11029 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11030 Stefan Monnier <monnier@iro.umontreal.ca>
11032 * simple.el (suggest-key-bindings, execute-extended-command):
11033 Move from keyboard.c.
11035 2012-05-01 Chong Yidong <cyd@gnu.org>
11037 * follow.el: Eliminate advice.
11038 (set-process-filter, process-filter, sit-for): Advice deleted.
11039 (follow-mode-off-hook): Obsolete hook removed.
11040 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11042 (follow-auto): Use a :set function.
11043 (follow-mode): Rewritten. Don't advise process filters.
11044 (follow-switch-to-current-buffer-all, follow-scroll-up)
11045 (follow-scroll-down): Assume follow-mode is bound.
11046 (follow-comint-scroll-to-bottom)
11047 (follow-align-compilation-windows): New functions.
11048 (follow--window-sorter): New function.
11049 (follow-all-followers): Use it to explicitly sort windows by their
11050 positions; don't make assumptions about next-window order.
11051 (follow-windows-start-end, follow-delete-other-windows-and-split)
11052 (follow-calc-win-start): Doc fix.
11053 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11054 vertical-motion unnecessarily.
11055 (follow-adjust-window): New function.
11056 (follow-post-command-hook): Use it.
11057 (follow-call-set-process-filter, follow-call-process-filter)
11058 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11059 (follow-stop-intercept-process-output, follow-generic-filter):
11061 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11062 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11063 New functions, replacing advice on scroll-bar-* commands.
11064 (follow-mwheel-scroll): New function (Bug#4112).
11066 * comint.el (comint-adjust-point): New function.
11067 (comint-postoutput-scroll-to-bottom): Use it.
11068 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11070 2012-05-01 Glenn Morris <rgm@gnu.org>
11072 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11073 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11074 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11075 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11076 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11077 Remove no-byte-compile setting.
11079 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11081 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11082 all-completions code to not return a number in the last cdr.
11084 2012-04-30 Leo Liu <sdl.web@gmail.com>
11086 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11089 2012-04-29 Chong Yidong <cyd@gnu.org>
11091 * follow.el (follow-calc-win-end): Rewrite to handle partial
11092 screen lines correctly (Bug#8390).
11093 (follow-avoid-tail-recenter): Minor cleanup.
11095 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11097 Avoid the obsolete `assoc' package.
11098 * speedbar.el (speedbar-refresh): Avoid adelete.
11099 (speedbar-file-lists): Simplify and avoid aput.
11100 * man.el (Man--sections, Man--refpages): New vars, replacing
11101 Man-sections-alist and Man-refpages-alist.
11102 (Man-build-section-alist, Man-build-references-alist):
11103 Use them; avoid aput.
11104 (Man--last-section, Man--last-refpage): New vars.
11105 (Man-follow-manual-reference): Use them.
11106 Use the `default' arg of completing-read.
11107 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11109 2012-04-27 Chong Yidong <cyd@gnu.org>
11111 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11113 * startup.el (x-apply-session-resources): New function.
11115 * term/ns-win.el (ns-initialize-window-system):
11116 * term/w32-win.el (w32-initialize-window-system):
11117 * term/x-win.el (x-initialize-window-system): Use it to properly
11118 set menu-bar-mode and other vars from X resources, even if the
11119 initial frame is not a window-system frame (Bug#2299).
11121 * subr.el (read-key): Avoid running filter function when setting
11122 up temporary tool bar entries (Bug#9922).
11124 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11126 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11129 2012-04-27 Chong Yidong <cyd@gnu.org>
11131 * select.el (xselect--encode-string): New function, split from
11132 xselect-convert-to-string.
11133 (xselect-convert-to-string): Use it.
11134 (xselect-convert-to-filename, xselect-convert-to-os)
11135 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11136 returned strings are properly encoded (Bug#11315).
11138 2012-04-27 Chong Yidong <cyd@gnu.org>
11140 * simple.el (delete-active-region): Move to killing custom group.
11142 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11144 * progmodes/which-func.el (which-func-current): Quote %
11145 characters for mode-line processing.
11147 2012-04-27 Chong Yidong <cyd@gnu.org>
11149 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11150 reaching eob (Bug#11286).
11152 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11154 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11155 (gdb): Make it buffer-local and init to zero.
11156 (gdb-control-commands-regexp): New variable.
11157 (gdb-send): Don't wrap in "-interpreter-exec console" if
11158 gdb-control-level is positive. Increment gdb-control-level
11159 whenever the command matches gdb-control-commands-regexp, and
11160 decrement it each time the command is "end". (Bug#11279)
11162 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11164 * window.el (adjust-window-trailing-edge, enlarge-window)
11165 (shrink-window, window-resize):
11166 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11167 windows (Bug#11276).
11169 2012-04-27 Chong Yidong <cyd@gnu.org>
11171 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11172 fix "missing prefix" warning. All callers changed.
11174 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11176 * emacs-lisp/assoc.el: Move to obsolete/.
11178 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11180 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11182 * term/ns-win.el (ns-define-service):
11183 * progmodes/pascal.el (pascal-goto-defun):
11184 * progmodes/js.el (js--read-tab):
11185 * progmodes/etags.el (tags-lazy-completion-table):
11186 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11187 * emacs-lisp/ewoc.el (ewoc--wrap):
11188 * emacs-lisp/assoc.el (aput, adelete, amake):
11189 * doc-view.el (doc-view-convert-current-doc):
11190 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11192 2012-04-26 Chong Yidong <cyd@gnu.org>
11194 * image.el (image-type-from-buffer): Only return supported image
11197 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11198 value, for symmetry with diff-end-of-hunk.
11199 (diff-split-hunk, diff-find-source-location)
11200 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11201 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11202 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11203 compute the relevant hunk or file properly (Bug#6005).
11204 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11206 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11215 * vc/vc.el: Replace lexical-let by lexical-binding.
11216 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11217 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11218 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11220 2012-04-26 Chong Yidong <cyd@gnu.org>
11222 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11223 (diff-mode-shared-map): Bind it to / and [remap undo].
11225 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11226 (ediff-window-setup-function): Use it as the default, to set up
11227 windows based on whether the current frame is graphical (Bug#2138).
11228 (ediff-choose-window-setup-function-automatically): Make obsolete.
11230 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11232 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11234 * ffap.el: Remove old code for obsolete package.
11235 (ffap-complete-as-file-p): Remove.
11237 Use completion-table-with-quoting for comint and pcomplete.
11238 * comint.el (comint--unquote&requote-argument)
11239 (comint--unquote-argument, comint--requote-argument): New functions.
11240 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11241 (comint-quote-filename): Use regexp-opt-charset.
11242 (comint--common-suffix, comint--common-quoted-suffix)
11243 (comint--table-subvert): Remove.
11244 (comint-unquote-function, comint-requote-function): New vars.
11245 (comint--complete-file-name-data): Use them with
11246 completion-table-with-quoting.
11247 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11248 * pcomplete.el (pcomplete-arg-quote-list)
11249 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11250 (pcomplete-unquote-argument-function): Default to non-nil.
11251 (pcomplete-unquote-argument): Simplify.
11252 (pcomplete--common-quoted-suffix): Remove.
11253 (pcomplete-requote-argument-function): New var.
11254 (pcomplete--common-suffix): New function.
11255 (pcomplete-completions-at-point): Use completion-table-with-quoting
11256 and completion-table-subvert.
11258 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11259 (minibuffer--double-dollars): Preserve properties.
11260 (completion--sifn-requote): New function.
11261 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11263 * minibuffer.el: Add support for completion of quoted/escaped data.
11264 (completion-table-with-quoting, completion-table-subvert): New funs.
11265 (completion--twq-try, completion--twq-all): New functions.
11266 (completion--nth-completion): New function.
11267 (completion-try-completion, completion-all-completions): Use it.
11269 2012-04-25 Leo Liu <sdl.web@gmail.com>
11271 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11272 Use compilation-message if available to find real filename.
11274 2012-04-25 Chong Yidong <cyd@gnu.org>
11276 * vc/diff-mode.el (diff-setup-whitespace): New function.
11277 (diff-mode): Use it.
11279 * vc/diff.el (diff-sentinel):
11280 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11281 Whitespace mode variables based on diff style (Bug#8612).
11283 2012-04-25 Leo Liu <sdl.web@gmail.com>
11285 * progmodes/python.el (python-send-region): Add suffix .py to the
11288 * files.el (auto-mode-alist): Use javascript-mode instead.
11290 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11292 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11294 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11295 (soap-resolve-references-for-array-type): Hack to prevent self
11296 references, see Bug#9.
11297 (soap-parse-envelope): Report the contents of the 'detail' node
11298 when receiving a fault reply.
11299 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11301 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11302 (soap-inspect-simple-type): New function.
11304 * net/soap-client.el (soap-simple-type): New struct.
11305 (soap-default-xsd-types, soap-default-soapenc-types)
11306 (soap-decode-basic-type, soap-encode-basic-type):
11307 support unsignedInt and double basic types.
11308 (soap-resolve-references-for-simple-type)
11309 (soap-parse-simple-type, soap-encode-simple-type): New function.
11310 (soap-parse-schema): Parse xsd:simpleType declarations.
11312 * net/soap-client.el (soap-default-xsd-types)
11313 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11314 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11315 the local name of "soapenc:Array".
11316 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11317 decoding integer, byte and anyURI xsd types.
11319 2012-04-25 Chong Yidong <cyd@gnu.org>
11321 * cus-edit.el (custom-buffer-create-internal): Update header text.
11323 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11325 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11326 settings on 'system-type', not on 'window-system'. On MS-Windows,
11327 set interactive-mode on in GDB.
11329 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11331 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11332 (ruby-syntax-propertize-regexp): Remove.
11333 (ruby-syntax-propertize-function): Split regexp into chunks.
11334 Match following code directly.
11336 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11338 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11339 (ruby-syntax-propertize-regexp): New function.
11340 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11341 by a special keyword.
11343 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11344 (ruby-syntax-general-delimiters-goto-beg)
11345 (ruby-syntax-propertize-general-delimiters): New functions.
11346 (ruby-syntax-propertize-function): Use them to handle GDL.
11347 (ruby-font-lock-keywords): Move old handling of GDL...
11348 (ruby-font-lock-syntactic-keywords): .. to here.
11349 (ruby-calculate-indent): Adjust indentation for GDL.
11351 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11353 * notifications.el (top): Remove unneeded declarations.
11354 (notifications-specification-version): Change to "1.2".
11355 (notifications-interface, notifications-notify-method)
11356 (notifications-close-notification-method): Fix docstring.
11357 (notifications-get-capabilities-method): New defconst.
11358 (notifications-notify): Add :action-items, :resident and
11359 :transient hints. Change "image_data" to "image-data" and
11360 "image_path" to "image-path".
11361 (notifications-get-capabilities): New defun.
11363 2012-04-24 Leo Liu <sdl.web@gmail.com>
11365 * progmodes/python.el: Move hideshow setup to the end.
11367 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11369 * window.el (handle-select-window): Clear echo area since this is
11370 no more done by read_char (Bug#11304).
11372 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11374 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11375 and `/ M' to filter-derived-mode.
11376 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11377 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11378 (ibuffer-mark-by-mode): Use default rather than initial-input.
11379 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11381 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11383 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11384 (ibuffer-filter-by-derived-mode): New filter.
11385 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11387 2012-04-23 Andreas Politz <politza@fh-trier.de>
11389 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11391 2012-04-23 Chong Yidong <cyd@gnu.org>
11393 * cus-edit.el (customize-apropos, customize-apropos-options):
11394 Disable matching of non-option variables (Bug#11176).
11395 (customize-option, customize-option-other-window)
11396 (customize-changed-options): Doc fix.
11397 (customize-apropos-options, customize-apropos-faces)
11398 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11400 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11401 Fix word list splitting (Bug#11132).
11402 (apropos-symbol, apropos-keybinding, apropos-label)
11403 (apropos-property, apropos-function-button)
11404 (apropos-variable-button, apropos-misc-button): New faces.
11405 (apropos-symbol-face, apropos-keybinding-face)
11406 (apropos-label-face, apropos-property-face, apropos-match-face):
11407 Variables removed (Bug#8396).
11408 (apropos-library-button, apropos-format-plist, apropos-print)
11409 (apropos-print-doc, apropos-describe-plist): Callers changed.
11411 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11413 * net/xesam.el (xesam-mode-map): Use let-bound map in
11414 initialization. (Bug#11292)
11416 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11418 Preserve ispell session localwords when switching back to
11421 * textmodes/ispell.el (ispell-buffer-session-localwords):
11422 New buffer-local variable to hold buffer session localwords.
11423 (ispell-kill-ispell): Add option 'clear to delete session
11425 (ispell-command-loop, ispell-change-dictionary)
11426 (ispell-buffer-local-words): Preserve session localwords when
11429 * textmodes/flyspell.el (flyspell-process-localwords)
11430 (flyspell-do-correct): Preserve session localwords when needed.
11432 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11434 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11435 using obsolete `translation-table-for-input'.
11436 (ispell-word, ispell-process-line, ispell-complete-word):
11437 Use plain `insert' instead of removed `ispell-insert-word'.
11439 2012-04-22 Chong Yidong <cyd@gnu.org>
11441 * cus-edit.el (custom-variable-menu)
11442 (custom-variable-reset-saved, custom-face-menu)
11443 (custom-face-reset-saved): If there is no saved value, make the
11444 "reset-saved" operation bring back the default (Bug#9509).
11445 (custom-face-state): Properly detect themed faces.
11447 * faces.el (face-spec-set): Stop supporting deprecated form of
11450 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11452 Move functions from C to Lisp. Make non-blocking method calls
11453 the default. Implement further D-Bus standard interfaces.
11455 * net/dbus.el (dbus-message-internal): Declare function.
11456 Remove unneeded function declarations.
11457 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11458 (dbus-message-type-method-return, dbus-message-type-error)
11459 (dbus-message-type-signal): Declare variables. Remove local
11461 (dbus-interface-dbus, dbus-interface-peer)
11462 (dbus-interface-introspectable, dbus-interface-properties)
11463 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11465 (dbus-interface-objectmanager): New defconst.
11466 (dbus-call-method, dbus-call-method-asynchronously)
11467 (dbus-send-signal, dbus-method-return-internal)
11468 (dbus-method-error-internal, dbus-register-service)
11469 (dbus-register-signal, dbus-register-method): New defuns, moved
11471 (dbus-call-method-handler, dbus-setenv)
11472 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11474 (dbus-call-method-non-blocking): Make it an obsolete function.
11475 (dbus-unregister-object, dbus-unregister-service)
11476 (dbus-handle-event, dbus-register-property)
11477 (dbus-property-handler): Obey the new structure of
11478 `bus-registered-objects'.
11479 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11480 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11481 Use `dbus-call-method'.
11483 2012-04-22 Chong Yidong <cyd@gnu.org>
11485 * cus-edit.el (custom-commands, custom-reset-menu)
11486 (Custom-reset-standard): Tweak labels.
11487 (custom-reset-button-menu): Change default to t.
11488 (custom-buffer-create-internal): For the custom-reset-button-menu
11489 case, put the revert button first.
11490 (custom-group-subtitle): New face.
11491 (custom-group-value-create): Align docstring to a specific column.
11493 * wid-edit.el (widget-documentation-link-add): Don't handle
11494 indentation in this function.
11495 (widget-documentation-string-indent-to): New function.
11496 (widget-documentation-string-value-create): Use it.
11498 * autorevert.el (auto-revert):
11499 * epg-config.el (epg):
11500 * ibuffer.el (ibuffer):
11503 * eshell/eshell.el (eshell):
11504 * net/ange-ftp.el (ange-ftp):
11505 * progmodes/ebnf2ps.el (postscript):
11506 * progmodes/flymake.el (flymake):
11507 * progmodes/prolog.el (prolog):
11508 * progmodes/verilog-mode.el (verilog-mode):
11509 * progmodes/which-func.el (which-func):
11510 * term/xterm.el (xterm):
11511 * textmodes/picture.el (picture):
11512 * textmodes/tildify.el (tildify):
11513 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11514 customization buffers.
11516 2012-04-22 Alan Mackenzie <acm@muc.de>
11518 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11519 Adding a ) can hide the resulting (..) from searches. Fix it.
11520 Bound the backward search to the position of the existing (.
11522 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11524 * progmodes/verilog-mode.el (verilog-mode): Check whether
11525 which-func-modes is t before adding verilog-mode.
11526 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11528 2012-04-21 Leo Liu <sdl.web@gmail.com>
11530 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11532 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11534 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11535 filling of the last column of a table (Bug#5635).
11536 (woman-find-next-control-line): New arg, specifying an additional
11537 regexp component for the control line.
11538 (woman2-roff-buffer): Use it.
11539 (woman-break-table): New function.
11540 (woman2-TS): Use it.
11542 2012-04-21 Chong Yidong <cyd@gnu.org>
11544 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11545 (woman-horizontal-escapes, woman-negative-vertical-space)
11546 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11547 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11549 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11551 * minibuffer.el (completion-file-name-table): Complete user names.
11553 2012-04-20 Leo Liu <sdl.web@gmail.com>
11555 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11558 2012-04-20 Chong Yidong <cyd@gnu.org>
11560 * server.el (server-execute): Respect initial-buffer-choice if it
11561 is a string and there are no files to open (Bug#2825).
11562 (server-create-window-system-frame, server-create-tty-frame):
11563 Don't switch buffers here.
11564 (server-process-filter): Only try to open a window system frame if
11565 compiled with graphical support (Bug#8314).
11567 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11569 * battery.el (battery-echo-area-format): Display remaining time
11570 for sysfs backend too (Bug#11269).
11571 (battery-linux-sysfs): Fix conditional for the charge.
11573 2012-04-20 Chong Yidong <cyd@gnu.org>
11575 * progmodes/gdb-mi.el (gdb): Revert previous change.
11576 (gdb-inferior-io--init-proc): New function.
11577 (gdb-init-1): Use it.
11578 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11579 responsible for allocating a new pty and hooking it to gdb when
11580 the old pty gets an EIO due to process exit.
11581 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11582 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11583 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11585 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11587 * window.el (window-min-size, window-sizable, window-min-delta)
11588 (window-max-delta, window--resizable, window-resizable)
11589 (window-total-size, window-full-height-p, window-full-width-p)
11590 (window-in-direction, window--resize-mini-window, window-resize)
11591 (window--resize-child-windows-normal)
11592 (window--resize-child-windows, window--resize-siblings)
11593 (window--resize-this-window, adjust-window-trailing-edge)
11594 (enlarge-window, shrink-window): Doc fixes.
11596 2012-04-20 Chong Yidong <cyd@gnu.org>
11598 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11599 New function to call delete-process on the gdb-inferior buffer's pty.
11600 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11601 pty process (Bug#11273).
11602 (gdb-update): New arg to suppress talking to the gdb process.
11603 (gdb-done-or-error): Use it.
11604 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11605 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11606 sentinel not being called.
11608 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11610 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11612 2012-04-20 Glenn Morris <rgm@gnu.org>
11614 * net/network-stream.el (open-network-stream): Doc fix.
11616 2012-04-20 Chong Yidong <cyd@gnu.org>
11618 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11620 2012-04-20 Alan Mackenzie <acm@muc.de>
11622 Ensure searching for keywords is case sensitive.
11624 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11625 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11626 (c-defun-name, c-mark-function, c-cpp-define-name)
11627 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11628 (c-context-line-break): Bind case-fold-search to nil.
11630 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11631 Bind case-fold-search to nil.
11633 2012-04-20 Chong Yidong <cyd@gnu.org>
11635 * mail/sendmail.el (mail-bury): Call return action with the right
11636 Rmail buffer (Bug#11242).
11638 * server.el (server-process-filter): Handle corner case where both
11639 tty and nowait options are present (Bug#11102).
11641 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11643 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11644 (top level): Put into the executable the ident-style '$Id:' tag on
11645 windows-nt as well.
11647 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11649 * electric.el (electric-indent-post-self-insert-function): Check that
11650 electric-indent-mode is enabled in current buffer.
11652 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11654 * imenu.el (imenu-progress-message): Restore; it is "used" in
11655 erc/erc-imenu.el and net/snmp-mode.el.
11657 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11659 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11660 (mouse-avoidance-nudge-mouse): Remove unused binding.
11662 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11664 * descr-text.el (describe-char):
11665 * progmodes/python.el (python-describe-symbol):
11666 Don't call `toggle-read-only', set `buffer-read-only'.
11668 * imenu.el (imenu-default-goto-function): Mark unused args.
11669 (imenu-progress-message): Remove obsolete macro; all callers changed.
11671 * subr.el (keymap-canonicalize): Remove unused binding.
11672 (read-passwd): Mark unused arg.
11674 * tutorial.el (tutorial--display-changes): Remove unused binding.
11675 (tutorial--save-tutorial-to): Remove unused variable.
11677 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11678 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11679 (package-generate-autoloads, package-menu--generate)
11680 (package-menu--find-upgrades): Remove unused bindings.
11682 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11683 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11684 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11685 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11686 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11687 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11688 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11689 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11690 (cua-delete-char-rectangle): Mark unused args.
11691 (cua-align-rectangle): Remove unused binding.
11693 * mail/rmail.el (compilation--message->loc)
11694 (epa--find-coding-system-for-mime-charset): Declare.
11696 * net/dbus.el (dbus-register-service): Declare.
11697 (dbus-name-owner-changed-handler): Remove unused binding.
11699 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11700 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11701 (nxml-scan-backward-within): Mark unused arg.
11702 (nxml-dynamic-markup-word): Remove unused binding.
11704 * mouse.el (mouse-menu-major-mode-map):
11705 * emacs-lisp/authors.el (authors-scan-change-log)
11706 (authors-add-to-author-list):
11707 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11708 * emacs-lisp/smie.el (smie-auto-fill):
11709 * mail/sendmail.el (mail-bury):
11710 * mail/unrmail.el (unrmail):
11711 * net/tls.el (open-tls-stream):
11712 * textmodes/picture.el (picture-mouse-set-point):
11713 Remove unused bindings.
11715 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
11717 * net/tramp.el (tramp-action-password): Let-bind
11718 `enable-recursive-minibuffers' to t.
11720 2012-04-18 Sam Steingold <sds@gnu.org>
11722 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11723 instead of 'string to accommodate values like [f11].
11724 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11725 * progmodes/gdb-mi.el: Likewise.
11727 2012-04-18 Leo Liu <sdl.web@gmail.com>
11729 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11731 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11734 2012-04-18 Chong Yidong <cyd@gnu.org>
11736 * simple.el (line-move): Use forward-line if in batch mode
11739 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11741 * files.el (after-find-file): Do not try to add a final newline if
11742 the buffer is read-only (Bug#11156).
11744 2012-04-17 Richard Stallman <rms@gnu.org>
11746 * mail/rmail.el (rmail-start-mail):
11747 Pass (rmail-mail-return...) for the return-action.
11748 Pass (rmail-yank-current-message...) for the yank-action.
11749 (rmail-yank-current-message): New function.
11750 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11751 (rmail-reply): Likewise.
11752 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11754 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
11755 buffer, not the last. Reject temp buffers. Use the rmail-mode
11756 buffer, not newbuf.
11758 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
11760 * server.el (server-ensure-safe-dir): Simplify.
11762 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11764 * emacs-lisp/smie.el: Provide smarter auto-filling.
11765 (smie-auto-fill): New function.
11766 (smie-setup): Use it.
11768 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11770 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
11772 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11773 (comment-indent): Use it.
11775 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
11777 * ses.el: The overall change is to add cell renaming, that is
11778 setting fancy names for cell symbols other than name matching
11779 "\\`[A-Z]+[0-9]+\\'" regexp .
11780 (ses-localvars): Add ses--renamed-cell-symb-list.
11781 (ses-create-cell-variable): New defun.
11782 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
11783 (ses-relocate-formula): Relocate formulas only for cells the
11784 symbols of which are not renamed, i.e. symbols whose names do not
11785 match regexp "\\`[A-Z]+[0-9]+\\'".
11786 (ses-relocate-all): Relocate values only for cells the symbols of
11787 which are not renamed.
11788 (ses-load): Create cells variables as the (ses-cell ...) are read,
11789 in order to check row col consistency with cell symbol name only
11790 for cells that are not renamed.
11791 (ses-replace-name-in-formula): New defun.
11792 (ses-rename-cell): New defun.
11794 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11796 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11797 New option (bug#11118).
11798 (perl-calculate-indent): Respect it.
11800 2012-04-17 Glenn Morris <rgm@gnu.org>
11802 * dired-aux.el (dired-mark-read-string): Doc fix.
11804 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11806 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11807 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11809 2012-04-17 Glenn Morris <rgm@gnu.org>
11811 * mouse.el (mouse-drag-track):
11812 * speedbar.el (speedbar-frame-mode):
11813 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11815 2012-04-16 Leo Liu <sdl.web@gmail.com>
11817 * progmodes/python.el: Trivial cleanup.
11819 2012-04-16 Glenn Morris <rgm@gnu.org>
11821 * vc/vc.el (vc-string-prefix-p):
11822 * vc/pcvs-util.el (cvs-string-prefix-p):
11823 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11824 * mpc.el (mpc-string-prefix-p):
11825 Make all of these into obsolete aliases for string-prefix-p.
11827 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11829 * textmodes/two-column.el: Move custom options to the start.
11830 (frame-width): Remove compat definition.
11831 (2C-associate-buffer, 2C-dissociate):
11832 Use with-current-buffer rather than save-excursion.
11833 (2C-dissociate): Force a mode-line update.
11834 (2C-autoscroll): Use ignore-errors.
11836 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11839 * emacs-lisp/cl-extra.el (*random-state*):
11840 Remove unnecessary declaration.
11842 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11844 * play/cookie1.el (cookie-snarf):
11845 Give an explicit error if input file cannot be read.
11847 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11849 * progmodes/perl-mode.el (c-macro-expand):
11850 Remove unnecessary autoload (it is in loaddefs.el).
11852 * textmodes/picture.el (picture-desired-column)
11853 (picture-update-desired-column): Convert comments to doc-strings.
11854 (picture-substitute): Remove function.
11855 (picture-mode-map): Initialize in the defvar.
11857 * woman.el: Remove eval-after-load for tar-mode.
11858 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11859 (woman-tar-extract-file): Autoload it.
11861 * frame.el (automatic-hscrolling): Make this alias obsolete.
11863 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11865 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
11866 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
11867 (ispell-dictionary-base-alist): Revert to original XEmacs
11868 friendly version for default. [:alpha:] will be added in
11869 `ispell-set-spellchecker-params' if needed.
11871 2012-04-16 Chong Yidong <cyd@gnu.org>
11873 * image.el (imagemagick--file-regexp): New variable.
11874 (imagemagick-register-types): Use it.
11875 (imagemagick-types-inhibit): Add :set function. Allow new value
11876 of t to inhibit all types.
11878 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11879 so we can preload it.
11881 * loadup.el (fboundp): Preload regexp-opt, needed by
11882 imagemagick-register-types.
11884 2012-04-15 Chong Yidong <cyd@gnu.org>
11886 * frame.el (scrolling): Remove nearly unused customization group.
11888 * scroll-all.el (scroll-all-mode): Move to windows group.
11890 2012-04-15 Chong Yidong <cyd@gnu.org>
11892 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11894 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11896 Avoid the use of ((lambda ...) ...) in lexical-binding code.
11897 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
11899 2012-04-15 Glenn Morris <rgm@gnu.org>
11901 * simple.el (process-file-side-effects): Doc fix.
11903 2012-04-15 Glenn Morris <rgm@gnu.org>
11905 * international/mule-cmds.el (set-language-environment): Doc fix.
11907 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11909 * server.el (server-auth-key, server-generate-key): Doc fixes.
11910 (server-get-auth-key): Doc fix. Use `string-match-p'.
11911 (server-start): Reflow docstring.
11913 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11915 * server.el (server-generate-key): `called-interactively-p'
11916 requires a parameter.
11918 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
11920 * server.el (server-auth-key): New variable.
11921 (server-generate-key, server-get-auth-key): New function.
11922 (server-start): Use the new variable and functions to allow
11923 setting a permanent server key (bug#9423).
11925 2012-04-14 Leo Liu <sdl.web@gmail.com>
11927 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11929 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11932 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11933 Emacs uses American spelling.
11935 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11937 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11938 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11939 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11940 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11942 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11944 * progmodes/which-func.el (which-func-modes): Change default.
11946 2012-04-14 Kim F. Storm <storm@cua.dk>
11948 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11949 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11951 2012-04-14 Chong Yidong <cyd@gnu.org>
11953 * custom.el (custom-theme-set-variables): Doc fix.
11955 2012-04-14 Glenn Morris <rgm@gnu.org>
11957 * international/mule.el (set-auto-coding-for-load): Doc fix.
11959 2012-04-14 Alan Mackenzie <acm@muc.de>
11961 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11962 imenu work again for Objective C Mode. Correct the *-index values,
11963 these having been disturbed by a previous change in 2011-08.
11965 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11966 Correct two search limits.
11968 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11970 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11972 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
11974 * international/characters.el: Fix sorting.
11976 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11978 * international/characters.el: Add more missing Latin case pairs.
11980 2012-04-14 Glenn Morris <rgm@gnu.org>
11982 * files.el (dir-locals-set-class-variables): Doc fix.
11984 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11986 * international/characters.el: Add set-case-syntax-pair call for
11987 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11988 counterpart. (Bug#11209)
11990 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11992 2012-04-14 Glenn Morris <rgm@gnu.org>
11994 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11996 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11998 * textmodes/ispell.el (ispell-dictionary-base-alist):
11999 Add data for Hebrew.
12001 2012-04-14 Chong Yidong <cyd@gnu.org>
12003 * net/rcirc.el (rcirc-cmd-quit):
12004 Revert 2012-03-18 change (Bug#11192).
12006 2012-04-14 Glenn Morris <rgm@gnu.org>
12008 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12010 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12012 * minibuffer.el (completion-in-region-mode-map):
12013 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12015 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12017 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12019 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12021 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12022 to allow `C-M-f' and `C-M-b' to move to the nearest path
12023 separator (bug#9511).
12025 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12027 * avoid.el: Require cl when compiling. And also move the
12028 `provide' to the end.
12030 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12032 * avoid.el (mouse-avoidance-banish-position): New variable.
12033 (mouse-avoidance-banish-destination): Use it (bug#10165).
12035 2012-04-13 Leo Liu <sdl.web@gmail.com>
12037 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12039 2012-04-13 Ken Brown <kbrown@cornell.edu>
12041 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12042 this is no longer needed now that cygstart understands file:// URLs.
12043 (browse-url-filename-alist): For the same reason, don't modify
12044 file:// URLs on Cygwin.
12046 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12048 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12049 the region on shift if the binding is already shifted (bug#11221).
12051 2012-04-12 Glenn Morris <rgm@gnu.org>
12053 * mail/mailpost.el: Move to obsolete/.
12055 2012-04-12 Drew Adams <drew.adams@oracle.com>
12057 * imenu.el (imenu--generic-function): Ignore invisible definitions
12060 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12062 * hexl.el (hexl-bits): New variable.
12063 (hexl-options): Mention the variable in the doc string.
12064 (hexl-rulerise, hexl-line-displen): New functions.
12065 (hexl-mode): Mention the new variable.
12066 (hexl-mode, hexl-current-address, hexl-current-address):
12068 (hexl-ascii-start-column): New function.
12069 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12070 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12072 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12074 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12075 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12076 the encoding, as expected by hunspell.
12078 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12080 * battery.el (battery--linux-sysfs-regexp): New const.
12081 (battery-status-function): Use it. Remove yeeloong special case.
12082 (battery-yeeloong-sysfs): Remove.
12083 (battery-echo-area-format): Remove yeeloong special case.
12085 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12087 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12088 Reported by Noah Friedman.
12090 * subr.el (read-passwd): Use read-string.
12092 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12094 * vcursor.el (vcursor-move): Increase the priority of the overlay
12097 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12099 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12100 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12102 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12104 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12105 define-minor-mode (bug#10760).
12107 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12109 * progmodes/grep.el (rgrep): Tweak the find command line so
12110 that directories matching `grep-find-ignored-files' won't be
12111 pruned (bug#10351).
12113 2012-04-11 Chong Yidong <cyd@gnu.org>
12115 * startup.el (command-line): Remove support for long-obsolete
12116 variable font-lock-face-attributes.
12118 2012-04-11 Glenn Morris <rgm@gnu.org>
12120 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12122 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12124 * window.el (window--state-get-1): Obey window-point-insertion-type.
12126 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12128 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12129 to previous function when point is on the first character of a
12130 function. Take care of that in `narrow-to-defun' (bug#6157).
12132 2012-04-11 Glenn Morris <rgm@gnu.org>
12134 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12135 not just file-errors.
12137 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12138 (vc-bzr-sha1): Use internal sha1.
12140 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12142 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12144 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12146 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12147 that start in the middle of the line (bug#10496).
12149 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12151 * battery.el (battery-linux-proc-acpi): Only one battery is
12152 discharged at a time, but that seems to confuse battery.el when
12153 computing `rate-type' for the battery not being discharged
12156 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12158 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12160 * international/quail.el: Use dolist and simplify.
12161 (quail-define-package, quail-update-keyboard-layout)
12162 (quail-define-rules): Use dolist.
12163 (quail-insert-kbd-layout, quail-get-translation): CSE.
12165 * tmm.el: Use dolist, remove left over hook.
12166 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12168 (calendar-load-hook): Don't mess with it.
12170 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12171 Use derived-mode-p. Run the diff asynchronously.
12173 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12175 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12177 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12179 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12180 (list-dynamic-libraries--loaded): New function.
12181 (list-dynamic-libraries--refresh): Use it.
12183 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12185 * progmodes/python.el (python-fill-paragraph):
12186 Make python-fill-region in a multiline string work when font-lock is
12187 disabled (bug#7018).
12189 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12191 * language/european.el (cp775): Add oem/legacy (en)coding on
12192 DOS/MS Windows for the Baltic languages. There are still plenty
12193 of texts written in this encoding/codepage (bug#6519).
12195 2012-04-10 Glenn Morris <rgm@gnu.org>
12197 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12198 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12200 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12202 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12203 next-line "n" and previous-line "p" in order to make recentf more
12204 consistent with ibuffer, dired or org-mode (bug#9387).
12206 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12208 * image.el (put-image): Return the overlay created instead of the
12209 optional input string (bug#7834). Note that this may break code
12210 that is (for some reason or other) depending on `put-image'
12211 returning the string.
12213 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12215 * simple.el (zap-to-char): Allow zapping using input methods
12218 * textmodes/fill.el (fill-region): Leave point and mark where they
12219 were before filling (bug#5399).
12221 2012-04-09 Glenn Morris <rgm@gnu.org>
12223 * version.el (emacs-bzr-get-version):
12224 Handle lightweight checkouts of local branches.
12226 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12228 * international/characters.el: Recover lost case pairs. (Bug#11209)
12230 2012-04-09 Chong Yidong <cyd@gnu.org>
12232 * custom.el (custom-variable-p): Return nil for non-symbol
12233 arguments instead of signaling an error.
12234 (user-variable-p): Obsolete alias for custom-variable-p.
12236 * apropos.el (apropos-variable):
12237 * files-x.el (read-file-local-variable):
12238 * simple.el (set-variable):
12239 * woman.el (woman-mini-help):
12240 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12242 2012-04-09 Glenn Morris <rgm@gnu.org>
12244 * startup.el (normal-top-level): Don't look for leim-list.el
12245 in places where it will not be found. (Bug#910)
12247 * international/mule-cmds.el (set-default-coding-systems):
12248 * files.el (normal-mode):
12249 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12250 This function was removed with ucs-tables.el in 2008.
12252 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12254 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12255 ispell-encoding8-command to "-i", without a trailing space.
12256 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12257 separate command-line arguments, to specify the encoding, since
12258 that's how hunspell expects it.
12260 2012-04-08 Glenn Morris <rgm@gnu.org>
12262 * loadup.el: Load bindings before cus-start.
12263 This reduces somewhat the number of "rogue" settings in emacs -Q.
12265 2012-04-07 Glenn Morris <rgm@gnu.org>
12267 * version.el (emacs-bzr-get-version): New function.
12268 (emacs-bzr-version): New variable.
12269 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12270 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12272 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12274 * international/uni-bidi.el, international/uni-category.el:
12275 * international/uni-combining.el, international/uni-decimal.el:
12276 * international/uni-decomposition.el, international/uni-digit.el:
12277 * international/uni-lowercase.el, international/uni-mirrored.el:
12278 * international/uni-name.el, international/uni-numeric.el:
12279 * international/uni-titlecase.el, international/uni-uppercase.el:
12280 Update for Unicode 6.1.
12282 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12284 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12286 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12288 * window.el (shrink-window): Mention the `window-min-height'
12289 variable in the doc string.
12291 2012-04-05 Bastien Guerry <bzg@altern.org>
12293 * color.el (color-lighten-name): Fix typo.
12295 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12297 * server.el (server--on-display-p): New function.
12298 (server--on-display-p): Use it.
12300 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12302 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12305 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12307 * comint.el (comint--common-quoted-suffix): Check string boundary
12308 before comparing (bug#11158).
12309 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12311 2012-04-04 Chong Yidong <cyd@gnu.org>
12313 * minibuffer.el (completion-extra-properties): Doc fix.
12315 * subr.el (delayed-warnings-hook): Doc fix.
12317 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12319 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12320 selection (Bug#11159).
12321 (epa-insert-keys): Inform that the default public key will be
12322 exported if no key is selected.
12324 2012-04-04 Richard Stallman <rms@gnu.org>
12326 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12328 2012-04-03 Chong Yidong <cyd@gnu.org>
12330 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12331 mail-insert-file, not its obsolete alias mail-attach-file.
12333 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12335 * notifications.el (notifications-notify): Fix docstring.
12337 2012-04-02 Glenn Morris <rgm@gnu.org>
12339 * emacs-lisp/authors.el (authors-aliases): Another addition.
12341 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12343 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12344 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12345 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12347 2012-04-01 Chong Yidong <cyd@gnu.org>
12349 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12350 Handle root directory properly.
12351 (copy-directory): Caller changed.
12353 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12354 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12356 2012-03-31 Glenn Morris <rgm@gnu.org>
12358 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12360 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12362 * calendar/calendar.el (calendar-window-list)
12363 (calendar-hide-window): Restore. (Bug#11140)
12364 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12366 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12368 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12370 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12371 Check if file is a symlink (Bug#10489).
12373 * files.el (copy-directory): Likewise.
12375 2012-03-30 Chong Yidong <cyd@gnu.org>
12377 * image.el (imagemagick-types-inhibit)
12378 (imagemagick-register-types): Doc fix.
12380 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12382 * textmodes/ispell.el (ispell-get-extended-character-mode):
12383 Disable extended-char-mode for hunspell. hunspell does not support it
12384 and treats ~word as ordinary words in pipe mode.
12386 2012-03-30 Glenn Morris <rgm@gnu.org>
12388 * tutorial.el (help-with-tutorial): Ensure local variables don't
12389 happen to make the buffer read-only. (Bug#11127)
12391 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12393 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12394 (perl-calculate-indent): Return `noindent' in strings.
12396 2012-03-28 Sam Steingold <sds@gnu.org>
12398 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12399 instead of the broken adhockery which does not prevent calendar
12400 buffers from being displayed at random after exit.
12401 (calendar-window-list, calendar-hide-window): Remove the broken
12404 2012-03-28 Glenn Morris <rgm@gnu.org>
12406 * replace.el (query-replace-map): Doc fix.
12408 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12410 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12411 contents. (Bug#11109)
12413 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12415 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12417 (avl-tree--check, avl-tree--check-node): New funs.
12419 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12421 * window.el (switch-to-visible-buffer): New option.
12422 (switch-to-prev-buffer, switch-to-next-buffer):
12423 Observe switch-to-visible-buffer. Make sure that checking for a window
12424 showing a buffer already is done on the same frame.
12426 2012-03-27 Glenn Morris <rgm@gnu.org>
12428 * startup.el (mail-host-address): Doc fix.
12430 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12432 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12433 than 197 variables.
12435 2012-03-26 Ami Fischman <ami@fischman.org>
12437 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12439 2012-03-26 Glenn Morris <rgm@gnu.org>
12441 * files.el (save-buffers-kill-emacs): Doc fix.
12443 * startup.el (normal-top-level, command-line, command-line-1):
12444 Give them doc strings.
12446 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12448 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12449 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12451 2012-03-25 Chong Yidong <cyd@gnu.org>
12453 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12454 theme if it was previously enabled before (Bug#11031).
12456 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12457 spec with custom-face-get-current-spec if its :shown-value is not
12458 determined yet (Bug#9337).
12459 (customize-create-theme, custom-theme-revert): Doc fixes.
12461 * button.el (button-at): Minor addition to docstring.
12463 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12465 * vc/vc.el (vc-merge): Fix a prompt.
12467 2012-03-24 Chong Yidong <cyd@gnu.org>
12469 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12472 * button.el (button-at): Minor addition to docstring.
12474 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12476 * newcomment.el (comment-choose-indent): No space after BOL.
12478 2012-03-22 Sam Steingold <sds@gnu.org>
12480 * window.el (switch-to-prev-buffer): Revert last patch because the
12481 bug turned out to be an advertised feature (Elisp manual 28.14).
12483 2012-03-22 Glenn Morris <rgm@gnu.org>
12485 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12486 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12488 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12490 * net/network-stream.el (network-stream-open-starttls): Make error
12491 message under Windows be less misleading.
12493 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12495 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12496 understands (bug#9942).
12498 2012-03-22 Chong Yidong <cyd@gnu.org>
12500 * simple.el (end-of-visible-line): Handle return value of
12501 next-single-property-change properly (Bug#9371).
12503 2012-03-22 Kenichi Handa <handa@m17n.org>
12505 * international/quail.el (quail-insert-kbd-layout): Fix previous
12506 change. To avoid unwanted bidi reordering, use
12507 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12509 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12511 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12512 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12513 (ruby-beginning-of-indent): Be more careful with the difference
12514 between word-boundary and symbol boundary.
12515 (ruby-mode-syntax-table): Make : a symbol constituent.
12517 2012-03-21 Andreas Politz <politza@fh-trier.de>
12519 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12521 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12523 * progmodes/etags.el (tags-completion-at-point-function):
12526 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12528 2012-03-21 Sam Steingold <sds@gnu.org>
12530 * progmodes/etags.el (tags-completion-at-point-function):
12531 Avoid the error when point is inside the pattern.
12533 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12535 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12538 2012-03-21 Drew Adams <drew.adams@oracle.com>
12540 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12542 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12544 * ido.el (ido-set-current-directory, ido-read-internal)
12545 (ido-choose-completion-string, ido-completion-help): Handle nil
12546 value of ido-completion-buffer (Bug#11008).
12548 2012-03-21 Sam Steingold <sds@gnu.org>
12550 * window.el (switch-to-prev-buffer): Do not switch to a visible
12551 window previous buffer, just like with the frame previous buffers.
12553 2012-03-21 Chong Yidong <cyd@gnu.org>
12555 * faces.el (make-face, make-empty-face, copy-face):
12556 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12559 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12561 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12562 (widget-complete): Remove broken use of it.
12564 2012-03-20 Chong Yidong <cyd@gnu.org>
12566 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12567 Use string-width and truncate-string-width to handle arbitrary
12570 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12572 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12573 to draw rectangles, not squares. (Regression introduced by revno
12574 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12576 2012-03-18 Chong Yidong <cyd@gnu.org>
12578 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12579 it is not yet defined (for temacs).
12581 2012-03-18 Leo Liu <sdl.web@gmail.com>
12583 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12586 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12588 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12589 (ispell-choices-win-default-height, ispell-silently-savep)
12590 (ispell-dictionary-alist, ispell-encoding8-command)
12591 (ispell-check-version, ispell-aspell-find-dictionary)
12592 (ispell-valid-dictionary-list, ispell-words-keyword)
12593 (ispell-get-word, ispell-internal-change-dictionary)
12594 (ispell-region, ispell-skip-region-list)
12595 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12596 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12597 (ispell-message-text-end, ispell-message)
12598 (ispell-buffer-local-parsing): Doc fix.
12600 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12602 * htmlfontify.el: Add support for code block fontification for ODT
12603 export (Bug #9914).
12604 (hfy-optimisations): Define new option
12606 (hfy-fontify-buffer): Honor above setting.
12607 (hfy-begin-span, hfy-end-span): New routines factored out form
12608 `hfy-fontify-buffer'.
12609 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12610 that permit insertion of custom tags.
12611 (hfy-fontify-buffer): Use above handlers.
12612 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12613 (hfy-face-to-css): Re-defined to be a variable.
12614 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12615 over multiple runs. This is made possible by having the caller let
12616 bind a special variable `hfy-user-sheet-assoc'.
12617 (htmlfontify-string): New defun.
12618 (hfy-compile-face-map): Make sure that the last char in the
12619 buffer is correctly fontified.
12620 (hfy-face-resolve-face): Whitespace only change.
12622 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12624 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12625 message more clear.
12627 2012-03-16 Leo Liu <sdl.web@gmail.com>
12629 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12631 2012-03-16 Alan Mackenzie <acm@muc.de>
12633 Further optimize the handling of large macros.
12635 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12636 limit to a call of `c-literal-limits'.
12637 (c-determine-+ve-limit): New function.
12638 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12639 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12640 In CASE 5B, restrict a search limit to 500.
12641 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12643 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12644 Restrict macro bounds to +-500 from after-change's BEG END.
12646 2012-03-16 Leo Liu <sdl.web@gmail.com>
12648 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12650 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12652 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12653 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12655 2012-03-16 Glenn Morris <rgm@gnu.org>
12657 * view.el (view-buffer, view-buffer-other-window)
12658 (view-buffer-other-frame): Doc fixes re special mode-class.
12660 * subr.el (eval-after-load): If named feature is provided not from
12661 a file, run after-load forms. (Bug#10946)
12663 * calendar/calendar.el (calendar-insert-at-column):
12664 Handle non-unit-width characters a bit better. (Bug#10978)
12666 2012-03-15 Chong Yidong <cyd@gnu.org>
12668 * emacs-lisp/ring.el (ring-extend): New function.
12669 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12671 * comint.el (comint-read-input-ring)
12672 (comint-add-to-input-history): Grow comint-input-ring lazily.
12674 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12676 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12677 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12679 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12680 (imenu-add-to-menubar): Don't add a redundant index.
12681 (imenu-update-menubar): Handle a dynamically composed keymap.
12683 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12685 * mail/sendmail.el (mail-encode-header):
12686 Bind rfc2047-encode-encoded-words to nil.
12688 2012-03-13 Glenn Morris <rgm@gnu.org>
12690 * calendar/calendar.el (calendar-string-spread):
12691 Handle non-unit-width characters a bit better. (Bug#10978)
12693 2012-03-13 Leo Liu <sdl.web@gmail.com>
12695 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12696 directory and file as argument (Bug#10822).
12698 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12700 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12701 For dynamically generated code, follow $PC.
12702 (gdb-disassembly-handler-custom): Handle no function name case.
12704 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12706 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12707 * emulation/ws-mode.el (ws-query-replace):
12708 * sort.el (sort-regexp-fields):
12709 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12711 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12713 * dabbrev.el: Fix cycle completion order (bug#10963).
12714 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12715 (dabbrev-completion): Don't use an obarray; provide
12716 a cycle-sort-function.
12718 2012-03-12 Leo Liu <sdl.web@gmail.com>
12720 * simple.el (kill-new): Use equal-including-properties for comparison.
12721 (kill-do-not-save-duplicates): Doc fix.
12723 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12725 * dabbrev.el: Fix cycle completion (bug#10963).
12726 Use lexical binding and wrap to 80 columns.
12727 (dabbrev-completion): Delay computing the list of completions.
12729 2012-03-12 Kenichi Handa <handa@m17n.org>
12731 * international/quail.el (quail-insert-kbd-layout): Surround each
12732 row by LRO and PDF instead of inserting many LRMs. Pad the left
12733 and right of each non-spacing marks. Insert invisible space
12734 between lower and upper characters to prevent composition.
12736 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12738 * minibuffer.el (minibuffer-complete): Don't get confused when the
12739 function is run twice via different commands (bug#10958).
12740 (complete-with-action): Fix docstring.
12742 2012-03-12 Chong Yidong <cyd@gnu.org>
12744 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12745 (nxml-completion-at-point-function): New function.
12746 (nxml-mode): Use it.
12747 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12749 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12750 Load generated autoloads file before byte compiling (Bug#10970).
12751 (package--make-autoloads-and-compile): New helper fun.
12753 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12755 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12757 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
12759 * autorevert.el (auto-revert-handler): Ensure, that
12760 file-readable-p is applied only for local files or in
12761 auto-revert-tail-mode.
12763 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12765 * server.el (server-eval-at): Handle non-tcp connections.
12766 Decode result string.
12768 * server.el (server-msg-size): New constant.
12769 (server-reply-print): New function.
12770 (server-eval-and-print): Use it.
12771 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12772 Handle -print-nonl.
12774 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12776 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12779 2012-03-11 Chong Yidong <cyd@gnu.org>
12781 * simple.el (goto-line): Doc fix (Bug#9938).
12783 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12785 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12786 when finished (Bug#10963).
12788 2012-03-11 Martin Rudalics <rudalics@gmx.at>
12790 * window.el (split-window-below): Fix bug in case where
12791 split-window-keep-point is nil (Bug#10971).
12793 2012-03-11 Juri Linkov <juri@jurta.org>
12795 * replace.el (replace-highlight): Set isearch-word to nil
12796 unconditionally. (Bug#10887)
12798 2012-03-10 Eli Zaretskii <eliz@gnu.org>
12800 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12801 mairix-replace-illegal-chars; all callers changed. Don't remove
12802 ^, ~, and = characters: they are meaningful in mairix search specs.
12803 (mairix-widget-create-query): Add usage information about mairix
12804 search forms: negating words, searching for substrings, etc.
12806 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12808 * international/fontset.el (font-encoding-alist): Add an entry for
12809 ksx1001 (Bug#5667).
12811 2012-03-10 Richard Stallman <rms@gnu.org>
12813 * mail/sendmail.el (mail-encode-header):
12814 Set rfc2047-encode-encoded-words.
12816 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12818 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12819 view buffer means not swapped.
12820 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12821 (rmail-write-region-annotate): Error if real text has disappeared.
12823 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12825 2012-03-10 Chong Yidong <cyd@gnu.org>
12827 * emulation/cua-rect.el (cua--init-rectangles):
12828 * emulation/cua-base.el (cua--init-keymaps):
12829 Add delete-forward-char to remappings (Bug#9666).
12831 2012-03-10 Martin Rudalics <rudalics@gmx.at>
12833 * speedbar.el (speedbar-unhighlight-one-tag-line):
12834 Avoid unhighlighting due to frame switching (Bug#10275).
12836 2012-03-10 Chong Yidong <cyd@gnu.org>
12838 * minibuffer.el (completion-in-region, completion-help-at-point):
12839 Give the completion field overlay a high priority (Bug#6830).
12841 * dired.el (dired-goto-file): Recognize absolute file name
12842 listings (Bug#7126).
12843 (dired-goto-file-1): New helper function.
12844 (dired-toggle-read-only): Inhibit warnings.
12846 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
12848 * net/dbus.el (dbus-property-handler): Return empty array if
12849 there are no properties.
12851 2012-03-09 Leo Liu <sdl.web@gmail.com>
12853 * savehist.el (savehist-printable): Stricter check for string
12856 2012-03-09 Eli Zaretskii <eliz@gnu.org>
12858 * mail/smtpmail.el (smtpmail-send-it):
12859 Bind coding-system-for-write to *-unix, so that FCC files are kept in
12862 2012-03-09 Glenn Morris <rgm@gnu.org>
12864 * files.el (dir-locals-find-file):
12865 Don't check result is regular, readable.
12866 (dir-locals-read-from-file): Demote errors.
12868 2012-03-08 Eli Zaretskii <eliz@gnu.org>
12870 * international/quail.el (quail-insert-kbd-layout):
12871 Insert invisible LRM characters before each character in a keyboard
12872 layout cell, to prevent their reordering by bidi display engine.
12873 For details, see the discussion in
12874 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12876 2012-03-08 Alan Mackenzie <acm@muc.de>
12878 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12879 the starting position; make it extend the marked region when
12880 invoked repeatedly - all under appropriate circumstances.
12881 Fixes bugs #5525, #10906.
12883 2012-03-08 Glenn Morris <rgm@gnu.org>
12885 * files.el (locate-dominating-file, dir-locals-find-file):
12886 Undo 2012-03-06 change.
12888 2012-03-07 Eli Zaretskii <eliz@gnu.org>
12890 * international/quail.el (quail-help):
12891 Force bidi-paragraph-direction be left-to-right. See discussion in
12892 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12895 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
12897 Avoid superfluous registering of signals. (Bug#10807)
12899 * notifications.el (notifications-on-action-object)
12900 (notifications-on-close-object): New defvars.
12901 (notifications-on-action-signal, notifications-on-closed-signal):
12902 Unregister the signal if not needed any longer.
12903 (notifications-notify): Register `notifications-action-signal' or
12904 `notifications-closed-signal', if :on-action or :on-close has been
12905 passed as argument.
12907 2012-03-07 Chong Yidong <cyd@gnu.org>
12909 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12912 2012-03-06 Glenn Morris <rgm@gnu.org>
12914 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12915 (x-disown-selection-internal, x-get-selection-internal):
12916 Doc fix (add arglist signatures). (Bug#10783)
12918 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12920 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12921 Handle breakpoints with no "type".
12923 2012-03-06 Glenn Morris <rgm@gnu.org>
12925 * files.el (locate-dominating-file): Add optional predicate argument.
12926 (dir-locals-find-file): Make use of above change.
12928 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12930 * info.el (Info-insert-dir): Also try "dir.gz".
12932 2012-03-06 Glenn Morris <rgm@gnu.org>
12934 * files.el (dir-locals-find-file):
12935 Ignore non-readable or non-regular files. (Bug#10928)
12937 * files.el (locate-dominating-file): Doc fix.
12939 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12941 * calendar/calendar.el (calendar-set-mode-line):
12942 `getenv' returns a string. (Bug#10951)
12944 2012-03-05 Leo Liu <sdl.web@gmail.com>
12946 * simple.el (backward-delete-char-untabify): Constrain point to
12949 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12951 2012-03-05 Chong Yidong <cyd@gnu.org>
12953 * simple.el (count-words): If called from Lisp, return the word
12954 count, for symmetry with `count-lines'. Arglist changed.
12955 (count-words--message): Args changed. Consolidate counting code
12956 from count-words and count-words-region.
12957 (count-words-region): Caller changed.
12958 (count-lines-region): Make it an obsolete alias.
12960 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12962 * saveplace.el (save-place-to-alist)
12963 (save-place-ignore-files-regexp): Allow value nil to disable this
12966 2012-03-04 Chong Yidong <cyd@gnu.org>
12968 * faces.el (face-spec-reset-face): For the default face, reset the
12969 attributes to default values (Bug#10748).
12971 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12973 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12974 previous patch: Check `message-send-mail-function', and not the
12975 default function (bug#10897).
12977 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
12979 * notifications.el (notifications-on-action-signal)
12980 (notifications-on-closed-signal): Check for unique service name of
12981 incoming event. Fix error in removing entry.
12982 (top): Register for signals with wildcard service name.
12983 (notifications-notify): Use daemon unique service name for map entries.
12985 2012-03-04 Chong Yidong <cyd@gnu.org>
12987 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
12989 2012-03-04 Glenn Morris <rgm@gnu.org>
12991 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12992 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12993 (expand-abbrev, define-abbrev-table): Doc fixes.
12995 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12997 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12998 `message-default-send-mail-function' and not `send-mail-function'
12999 when doing the prompting for `sendmail-query-once' before sending
13000 in Message buffers (bug#10897).
13002 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13003 This is inconsistent with all the other stream functions, which leave
13004 the setting up to the higher levels (if so wanted) (bug#10931).
13006 2012-03-02 Alan Mackenzie <acm@muc.de>
13008 Depessimize the handling of very large macros.
13010 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13011 (c-macro-cache-syntactic): New variables to implement a one
13012 element macro cache.
13013 (c-invalidate-macro-cache): New function.
13014 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13015 Adapt to use the new cache.
13016 (c-state-safe-place): Use better the cache of safe positions.
13017 (c-state-semi-nonlit-pos-cache)
13018 (c-state-semi-nonlit-pos-cache-limit):
13019 New variables for...
13020 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13021 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13022 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13023 Use c-state-semi-safe-place.
13025 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13026 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13028 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13030 * jka-compr.el (jka-compr-call-process):
13031 Apply `file-accessible-directory-p' only when the default directory is
13034 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13036 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13037 access of FILE2, if FILE1 does not exist.
13039 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13040 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13042 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13043 Add "PAGER=" to `process-environment'.
13045 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13047 * progmodes/sql.el: Bug fix
13048 (sql-get-login-ext): Save login values in globals.
13049 (sql-get-login): Use new version of `sql-get-login-ext'.
13050 (sql-interactive-mode): Set global `sql-connection' to nil.
13051 (sql-connect): Set global values for connection.
13052 (sql-product-interactive): Save global values as buffer local.
13054 2012-02-29 Leo Liu <sdl.web@gmail.com>
13056 * abbrev.el (define-abbrevs): Reset sys to nil.
13058 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13060 * files.el (file-equal-p): Rename from `files-equal-p'.
13061 Return nil when one or both files don't exist.
13062 (file-subdir-of-p): Now only top directory must exists,
13063 return nil if it doesn't.
13064 (copy-directory): No need to test with `file-subdir-of-p' after
13066 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13069 2012-02-28 Glenn Morris <rgm@gnu.org>
13071 * shell.el (shell-mode):
13072 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13073 * play/landmark.el (landmark-font-lock-face-O):
13074 * play/handwrite.el (handwrite):
13075 * play/gomoku.el (gomoku-O):
13076 * net/browse-url.el (browse-url-browser-display):
13077 * international/mule.el (define-charset):
13078 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13079 * filesets.el (filesets-find-file-delay):
13080 * eshell/em-xtra.el (eshell-xtra):
13081 * eshell/em-unix.el (eshell-grep):
13082 * emulation/viper.el (viper-mode):
13083 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13084 * emacs-lisp/easymenu.el (easy-menu-define):
13085 * calendar/timeclock.el (timeclock-use-display-time):
13087 * bookmark.el (bookmark-save-flag):
13088 Doc fix (standardize possessive apostrophe usage).
13090 2012-02-27 Chong Yidong <cyd@gnu.org>
13092 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13093 Fix key-binding lookup for ESC key (Bug#9146).
13095 * font-lock.el (font-lock-specified-p): Rename from
13096 font-lock-spec-present. Callers changed.
13098 2012-02-27 Daniel Hackney <dan@haxney.org>
13100 * emacs-lisp/package.el (package-compute-transaction):
13101 Handle holding a package version to t in package-load-list.
13103 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13105 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13106 (tramp-get-inode, tramp-get-device): Use cached values.
13108 2012-02-26 Alan Mackenzie <acm@muc.de>
13110 Check there is a font-lock specification before doing initial
13113 * font-core.el (font-lock-mode): Move the conditional from
13114 :after-hook to font-lock-initial-fontify.
13115 (font-lock-default-function): Move the check for a specification
13116 to font-lock-spec-present.
13118 * font-lock.el (font-lock-initial-fontify): Call ...
13119 (font-lock-spec-present): New function.
13121 2012-02-26 Jim Blandy <jimb@red-bean.com>
13123 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13124 (gdb-send): Apply it to the operand of the '-interpreter-exec
13125 console' command, so that we can pass arguments with (say) quotes
13126 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13128 2012-02-26 Chong Yidong <cyd@gnu.org>
13130 * help-fns.el (describe-function-1): Clarify description of
13131 remapping (Bug#10844).
13133 * files.el (files-equal-p): Doc fix.
13134 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13135 and quit the loop once a mismatch is found.
13137 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13139 * bs.el (bs--show-with-configuration): Don't throw an error
13140 if the window cannot be split; otherwise, subsequent calls to
13141 bs-show fail, restoring a stale window config. (Bug#10882)
13143 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13145 * term/ns-win.el (global-map): Bind ns-drag-file to
13146 ns-find-file (Bug#5855, Bug#10050).
13148 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13150 * calendar/parse-time.el (parse-time-string): Allow extractor to
13153 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13155 * net/tramp.el (tramp-file-name-for-operation):
13156 Add `files-equal-p' and `file-subdir-of-p'.
13158 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13159 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13160 Add COPY-CONTENTS argument.
13162 2012-02-25 Chong Yidong <cyd@gnu.org>
13164 Add custom groups for VC backends, for consistency with vc-bzr.
13166 * vc/vc-arch.el (vc-arch):
13167 * vc/vc-cvs.el (vc-cvs):
13168 * vc/vc-git.el (vc-git):
13169 * vc/vc-hg.el (vc-hg):
13170 * vc/vc-mtn.el (vc-mtn):
13171 * vc/vc-rcs.el (vc-rcs):
13172 * vc/vc-sccs.el (vc-sccs):
13173 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13174 All relevant defcustoms reassigned.
13176 2012-02-25 Chong Yidong <cyd@gnu.org>
13178 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13180 * term/x-win.el (x-initialize-window-system): Reduce default for
13181 x-selection-timeout to 5 seconds (Bug#8869).
13183 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13185 * files.el (files-equal-p, file-subdir-of-p): New functions.
13186 (copy-directory): Error when trying to copy a directory on itself.
13187 Add missing copy-contents arg to tramp handler.
13188 * dired-aux.el (dired-copy-file-recursive): Same.
13189 (dired-create-files): Modify destination when source is equal to
13190 dest when copying files.
13191 Return also when dest is a subdir of source. (Bug#10489)
13193 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13195 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13198 2012-02-23 Alan Mackenzie <acm@muc.de>
13200 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13201 parameter "after-hook:" to allow the expansion to run code after
13202 the execution of the mode hooks.
13204 * font-lock.el (font-lock-initial-fontify): New function extracted
13205 from font-lock-mode-internal.
13207 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13210 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13212 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13213 (completion--cache-all-sorted-completions): New function.
13214 (completion-all-sorted-completions): Use it.
13215 (completion--do-completion, minibuffer-force-complete):
13216 Use it to re-instate the flush hook.
13218 * icomplete.el (icomplete-completions): Replace last fix with a better
13221 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13223 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13224 when it might call us back infinitely (bug#10797).
13226 2012-02-23 Glenn Morris <rgm@gnu.org>
13228 * minibuffer.el (completion-category-overrides): Doc fix.
13230 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13232 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13233 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13235 2012-02-23 Glenn Morris <rgm@gnu.org>
13237 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13238 (authors-obsolete-files-regexps, authors-ignored-files)
13239 (authors-ambiguous-files, authors-renamed-files-alist):
13242 2012-02-23 Juri Linkov <juri@jurta.org>
13244 * isearch.el (isearch-occur): Sync interactive spec with occur's
13245 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13247 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13249 2012-02-22 Juri Linkov <juri@jurta.org>
13251 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13252 (ucs-insert): Doc fix. Check for hex digits in the string.
13253 Don't display `nil' in the error message. (Bug#10857)
13255 2012-02-22 Alan Mackenzie <acm@muc.de>
13257 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13259 2012-02-22 Glenn Morris <rgm@gnu.org>
13261 * ffap.el (ffap-c-path):
13262 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13264 2012-02-22 Chong Yidong <cyd@gnu.org>
13266 * custom.el (load-theme): Doc fix.
13268 2012-02-22 Glenn Morris <rgm@gnu.org>
13270 * dired-x.el (dired-guess-shell-alist-default):
13271 Remove escape sequences from nroff output. (Bug#172)
13273 2012-02-21 Glenn Morris <rgm@gnu.org>
13275 * vc/emerge.el (emerge-defvar-local):
13276 Set `permanent-local' property rather than unused `preserved'.
13278 * textmodes/picture.el (picture-delete-char): New alias.
13279 (picture-mode-map): Use it. (Bug#10860)
13280 (picture-mode): Doc fix.
13282 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13284 * newcomment.el (uncomment-region-default): Remove unused binding.
13286 2012-02-21 Glenn Morris <rgm@gnu.org>
13288 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13289 (picture-self-insert, picture-tab-chars): Doc fix.
13290 (picture-mode-map): Fix C-a, C-e.
13292 2012-02-20 Glenn Morris <rgm@gnu.org>
13294 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13296 2012-02-20 Leo Liu <sdl.web@gmail.com>
13298 * icomplete.el (icomplete-completions): Check FROM arg before
13299 passing to substring (Bug#10850).
13301 2012-02-19 Chong Yidong <cyd@gnu.org>
13303 * comint.el: Require ansi-color.
13304 (comint-output-filter-functions): Add ansi-color-process-output.
13306 * ansi-color.el: Don't set comint-output-filter-functions; it is
13307 now in the initial value defined in comint.el.
13308 (ansi-color-apply-face-function): New variable.
13309 (ansi-color-apply-on-region): Use it.
13310 (ansi-color-apply-overlay-face): New function.
13312 * shell.el (shell): No need to require ansi-color.
13313 (shell-mode): Use ansi-color-apply-face-function to highlight
13314 color escapes using font-lock-face property (Bug#10835).
13316 2012-02-19 Chong Yidong <cyd@gnu.org>
13318 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13319 mode-line formats (Bug#10839).
13321 2012-02-18 Glenn Morris <rgm@gnu.org>
13323 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13325 * mail/undigest.el (unforward-rmail-message): Doc fix.
13327 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13329 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13331 * international/characters.el (script-list): Sync with the latest
13332 Unicode Character Database.
13334 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13336 * international/titdic-cnv.el: Remove duplicate coding tag.
13337 * language/cham.el: Likewise.
13338 * language/tai-viet.el: Likewise.
13340 2012-02-18 Glenn Morris <rgm@gnu.org>
13342 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13343 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13344 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13345 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13346 * calendar/holidays.el (holiday-bahai-holidays)
13347 (calendar-holidays, list-holidays):
13348 Use utf-8 Bahá'í in doc-strings, menus, etc.
13350 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13352 * saveplace.el (save-place-ignore-files-regexp): New variable
13353 allowing for excluding files from saving their location of point.
13354 The default value matches the temporary commit message editing
13355 files from Git, SVN, Bazaar, and Mercurial.
13356 (save-place-to-alist): Use it.
13358 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13359 Stefan Monnier <monnier@iro.umontreal.ca>
13361 * newcomment.el (uncomment-region-default): Don't leave extra space
13362 when an arg is provided (bug#8150).
13364 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13366 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13368 2012-02-17 Glenn Morris <rgm@gnu.org>
13370 * net/socks.el: Require network-stream. (Bug#10599)
13372 2012-02-17 Kenichi Handa <handa@m17n.org>
13374 * international/charprop.el:
13375 * international/uni-name.el:
13376 * international/uni-old-name.el:
13377 * international/uni-comment.el: Regenerate.
13379 2012-02-16 Glenn Morris <rgm@gnu.org>
13381 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13382 Interactively in calendar buffer, give an error if not on a date.
13384 2012-02-15 Glenn Morris <rgm@gnu.org>
13386 * shell.el (shell-delimiter-argument-list):
13387 Revert 2011-02-17 change. (Bug#8027)
13389 2012-02-15 Chong Yidong <cyd@gnu.org>
13391 * minibuffer.el (completion-at-point-functions): Doc fix.
13393 * custom.el (defcustom): Doc fix; note use of defvar.
13395 2012-02-15 Glenn Morris <rgm@gnu.org>
13397 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13400 2012-02-14 Glenn Morris <rgm@gnu.org>
13402 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13404 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13406 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13407 way the ports list is computed.
13408 (smtpmail-query-smtp-server): Prompt the user for a port number if
13409 we can't connect to any of the standard ports (bug#10810).
13411 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13413 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13415 2012-02-13 Glenn Morris <rgm@gnu.org>
13417 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13419 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13421 * net/gnutls.el (gnutls-trustfiles): New variable.
13422 (gnutls-negotiate): Use it.
13424 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13426 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13427 does its stuff if Gnus is running.
13429 2012-02-13 Alan Mackenzie <acm@muc.de>
13431 Fix a loop in c-set-fl-decl-start.
13433 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13434 c-backward-syntactic-ws actually moves backwards.
13436 2012-02-13 Leo Liu <sdl.web@gmail.com>
13438 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13439 beginning so that all \C-o chars are removed.
13441 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13443 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13445 2012-02-12 Alan Mackenzie <acm@muc.de>
13447 Fix infinite loop with long macros.
13448 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13450 2012-02-12 Chong Yidong <cyd@gnu.org>
13452 * window.el (display-buffer): Doc fix (Bug#10785).
13454 2012-02-12 Glenn Morris <rgm@gnu.org>
13456 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13457 (x-disown-selection-internal, x-get-selection-internal):
13458 Sync docs with the xselect.c versions.
13460 * allout-widgets.el: Add missing license notice.
13462 2012-02-11 Glenn Morris <rgm@gnu.org>
13464 * select.el (x-get-selection-internal, x-own-selection-internal)
13465 (x-disown-selection-internal):
13466 * x-dnd.el (x-get-selection-internal): Update declarations.
13468 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13470 * window.el (window-sides-slots):
13471 * tool-bar.el (tool-bar-position):
13472 * term/xterm.el (xterm-extra-capabilities):
13473 * ses.el (ses-self-reference-early-detection):
13474 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13475 (verilog-auto-wire-type)
13476 (verilog-auto-delete-trailing-whitespace)
13477 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13478 (verilog-auto-tieoff-declaration):
13479 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13480 (sql-oracle-statement-starters, sql-oracle-scan-on):
13481 * progmodes/prolog.el (prolog-align-comments-flag)
13482 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13483 (prolog-left-indent-regexp, prolog-paren-indent-p)
13484 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13485 (prolog-types, prolog-mode-specificators)
13486 (prolog-determinism-specificators, prolog-directives)
13487 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13488 (prolog-electric-dot-flag)
13489 (prolog-electric-dot-full-predicate-template)
13490 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13491 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13492 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13493 (prolog-program-switches, prolog-prompt-regexp)
13494 (prolog-debug-on-string, prolog-debug-off-string)
13495 (prolog-trace-on-string, prolog-trace-off-string)
13496 (prolog-zip-on-string, prolog-zip-off-string)
13497 (prolog-use-standard-consult-compile-method-flag)
13498 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13499 (prolog-imenu-max-lines, prolog-info-predicate-index)
13500 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13501 (prolog-char-quote-workaround):
13502 * progmodes/cc-vars.el (c-defun-tactic):
13503 * net/tramp.el (tramp-encoding-command-interactive)
13504 (tramp-local-end-of-line):
13505 * net/soap-client.el (soap-client):
13506 * net/netrc.el (netrc-file):
13507 * net/gnutls.el (gnutls):
13508 * minibuffer.el (completion-category-overrides)
13509 (completion-cycle-threshold)
13510 (completion-pcm-complete-word-inserts-delimiters):
13511 * man.el (Man-name-local-regexp):
13512 * mail/feedmail.el (feedmail-display-full-frame):
13513 * international/characters.el (glyphless-char-display-control):
13514 * eshell/em-ls.el (eshell-ls-date-format):
13515 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13516 (lisp-lambda-list-keyword-parameter-indentation)
13517 (lisp-lambda-list-keyword-parameter-alignment):
13518 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13519 * dired-x.el (dired-omit-verbose):
13520 * cus-theme.el (custom-theme-allow-multiple-selections):
13521 * calc/calc.el (calc-highlight-selections-with-faces)
13522 (calc-lu-field-reference, calc-lu-power-reference)
13523 (calc-note-threshold):
13524 * battery.el (battery-mode-line-limit):
13525 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13526 (archive-7z-update):
13527 * allout.el (allout-prefixed-keybindings)
13528 (allout-unprefixed-keybindings)
13529 (allout-inhibit-auto-fill-on-headline)
13530 (allout-flattened-numbering-abbreviation):
13531 * allout-widgets.el (allout-widgets-auto-activation)
13532 (allout-widgets-icons-dark-subdir)
13533 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13534 (allout-widgets-theme-dark-background)
13535 (allout-widgets-theme-light-background)
13536 (allout-widgets-item-image-properties-emacs)
13537 (allout-widgets-item-image-properties-xemacs)
13538 (allout-widgets-run-unit-tests-on-load)
13539 (allout-widgets-time-decoration-activity)
13540 (allout-widgets-hook-error-post-time)
13541 (allout-widgets-track-decoration):
13542 Add missing :version tags to new defcustoms and defgroups.
13544 * progmodes/sql.el (sql-ansi-statement-starters)
13545 (sql-oracle-statement-starters): Add custom type.
13547 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13548 (prolog-system-version): Give it a type.
13550 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13552 * term/pc-win.el (x-select-text, x-selection-owner-p)
13553 (x-own-selection-internal, x-disown-selection-internal)
13554 (x-get-selection-internal): Sync doc strings and argument lists
13555 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13557 2012-02-11 Leo Liu <sdl.web@gmail.com>
13559 * progmodes/python.el (python-end-of-statement): Fix infinite
13562 2012-02-10 Glenn Morris <rgm@gnu.org>
13564 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13565 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13567 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13569 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13570 about SMTP before checking the From header.
13572 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13573 into own function for reuse by emacsbug.el.
13575 2012-02-10 Leo Liu <sdl.web@gmail.com>
13577 * subr.el (condition-case-unless-debug): Rename from
13578 condition-case-no-debug. All callers changed.
13579 (with-demoted-errors): Fix caller.
13581 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13582 * nxml/rng-valid.el (rng-do-some-validation):
13583 * emacs-lisp/package.el (package-refresh-contents)
13584 (package-menu-execute):
13585 * desktop.el (desktop-create-buffer):
13586 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13588 2012-02-10 Glenn Morris <rgm@gnu.org>
13590 * textmodes/bibtex.el:
13591 Add missing :version tags for new/changed defcustoms.
13593 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13595 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13597 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13598 (smtpmail-via-smtp): Use it, or fall back on the From address.
13599 (smtpmail-send-it): Ditto.
13601 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13603 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13604 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13605 (byte-compile-tmp-var): New const.
13606 (byte-compile-defvar): Use it to minimize .elc size.
13607 Just use `defvar' rather than simulate it (bug#10761).
13609 2012-02-09 Glenn Morris <rgm@gnu.org>
13611 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13613 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13616 * progmodes/compile.el (compilation-error-screen-columns)
13617 (compilation-first-column, compilation-filter-start): Doc fixes.
13619 * vc/log-view.el (log-view-toggle-entry-display):
13620 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13622 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13623 (report-emacs-bug-can-use-xdg-email):
13624 (report-emacs-bug-insert-to-mailer): Doc fixes.
13625 (report-emacs-bug): Message fix.
13627 * net/browse-url.el (browse-url-can-use-xdg-open)
13628 (browse-url-xdg-open): Doc fixes.
13630 * electric.el (electric-indent-mode, electric-pair-mode)
13631 (electric-layout-rules, electric-layout-mode): Doc fixes.
13632 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13634 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13636 * server.el (server-unselect-display): Don't inadvertently kill
13637 the current buffer. (Bug#10729)
13639 2012-02-08 Glenn Morris <rgm@gnu.org>
13641 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13642 (sql-list-table): Doc fixes.
13644 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13645 Comment out (does nothing).
13647 * completion.el (dynamic-completion-mode):
13648 * dirtrack.el (dirtrack-debug-mode):
13649 * electric.el (electric-layout-mode):
13650 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13651 * face-remap.el (text-scale-mode, buffer-face-mode):
13652 * iimage.el (iimage-mode):
13653 * image-mode.el (image-transform-mode):
13654 * minibuffer.el (completion-in-region-mode):
13655 * scroll-lock.el (scroll-lock-mode):
13656 * simple.el (next-error-follow-minor-mode):
13657 * tar-mode.el (tar-subfile-mode):
13658 * tooltip.el (tooltip-mode):
13659 * vcursor.el (vcursor-use-vcursor-map):
13660 * wid-browse.el (widget-minor-mode):
13661 * emulation/tpu-edt.el (tpu-edt-mode):
13662 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13663 * international/iso-ascii.el (iso-ascii-mode):
13664 * language/thai-util.el (thai-word-mode):
13665 * mail/supercite.el (sc-minor-mode):
13666 * net/goto-addr.el (goto-address-mode):
13667 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13668 * progmodes/cwarn.el (cwarn-mode):
13669 * progmodes/flymake.el (flymake-mode):
13670 * progmodes/glasses.el (glasses-mode):
13671 * progmodes/hideshow.el (hs-minor-mode):
13672 * progmodes/pascal.el (pascal-outline-mode):
13673 * textmodes/enriched.el (enriched-mode):
13674 * vc/smerge-mode.el (smerge-mode):
13675 Doc fixes (minor mode argument).
13677 2012-02-07 Eli Zaretskii <eliz@gnu.org>
13679 * ls-lisp.el (ls-lisp-sanitize): New function.
13680 (ls-lisp-insert-directory): Use it to fix or remove any elements
13681 in file-alist with missing attributes. (Bug#4673)
13683 2012-02-07 Alan Mackenzie <acm@muc.de>
13685 Fix spurious recognition of c-in-knr-argdecl.
13687 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13688 putative K&R region.
13690 2012-02-07 Alan Mackenzie <acm@muc.de>
13692 * progmodes/cc-engine.el (c-forward-objc-directive):
13693 Prevent looping in "#pragma mark @implementation".
13695 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
13697 * notifications.el (notifications-on-closed-signal): Make `reason'
13698 optional. (Bug#10744)
13700 2012-02-07 Glenn Morris <rgm@gnu.org>
13702 * emacs-lisp/easy-mmode.el (define-minor-mode):
13703 Doc fixes for the macro and the mode it defines.
13705 * image.el (imagemagick-types-inhibit): Doc fix.
13707 * cus-start.el (imagemagick-render-type): Add it.
13709 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13711 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13712 Set the default at load time, too, so that `font-lock-fontify-buffer'
13713 can be called without setting up the entire mode first. This fixes
13714 a bug in `mm-inline-text' with C MIME parts.
13716 2012-02-06 Chong Yidong <cyd@gnu.org>
13718 * simple.el (list-processes--refresh): Delete exited processes
13721 * comint.el (comint-next-prompt): next-single-char-property-change
13722 and prev-single-char-property-change never return nil (Bug#8657).
13724 * custom.el (defcustom): Doc fix (Bug#9711).
13726 2012-02-05 Chong Yidong <cyd@gnu.org>
13728 * cus-edit.el (custom-variable-reset-backup): Quote the value
13729 before storing it in the customized-value property (Bug#6712).
13730 (custom-display): Add a customization type tag.
13731 (custom-buffer-create-internal): Improve tooltip message.
13733 * wid-edit.el (widget-field-value-get): New optional arg to
13734 suppress trailing whitespace truncation.
13735 (character): Use it (Bug#2689).
13737 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13739 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13740 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13742 2012-02-05 Chong Yidong <cyd@gnu.org>
13744 * cus-edit.el (custom-variable-value-create): For mismatched
13745 types, show the current value (Bug#7600).
13747 * custom.el (defcustom): Doc fix.
13749 2012-02-05 Glenn Morris <rgm@gnu.org>
13751 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13753 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
13755 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13756 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13757 (pp-last-sexp): Use `looking-at-p'.
13759 2012-02-04 Glenn Morris <rgm@gnu.org>
13761 * files.el (revert-buffer):
13762 Doc fix (mention revert-buffer-in-progress-p).
13764 * emacs-lisp/ert-x.el (ert-simulate-command):
13765 Check deferred-action-list (which is obsolete) is bound.
13767 * subr.el (with-wrapper-hook): Doc fixes.
13769 * simple.el (filter-buffer-substring-functions)
13770 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13772 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13774 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13775 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13777 2012-02-04 Leo Liu <sdl.web@gmail.com>
13779 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13781 2012-02-04 Glenn Morris <rgm@gnu.org>
13783 * image.el (image-extension-data): Add obsolete alias.
13785 * isearch.el (isearch-update): Doc fix.
13787 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13789 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13791 2012-02-03 Glenn Morris <rgm@gnu.org>
13793 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13794 (image-animate-timeout): Doc fix.
13796 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13798 2012-02-02 Glenn Morris <rgm@gnu.org>
13800 * server.el (server-auth-dir): Doc fix.
13801 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13803 * subr.el (run-mode-hooks): Doc fix.
13805 2012-02-02 Juri Linkov <juri@jurta.org>
13807 * image-mode.el (image-toggle-display-image): Remove tautological
13808 `major-mode' from the `derived-mode-p' test.
13810 2012-02-02 Kenichi Handa <handa@m17n.org>
13812 * composite.el (compose-region): Cancel previous change.
13814 2012-02-02 Kenichi Handa <handa@m17n.org>
13816 * composite.el (compose-region, compose-string): Signal error for
13817 a null string component (Bug#6988).
13819 2012-02-01 Chong Yidong <cyd@gnu.org>
13821 * view.el (view-buffer-other-window, view-buffer-other-frame):
13822 Handle special modes like view-buffer (Bug#10650).
13823 (view-buffer): Simplify.
13825 * frame.el (set-frame-font): Tweak meaning of third argument.
13827 * dynamic-setting.el (font-setting-change-default-font):
13828 Use set-frame-font (Bug#9982).
13830 2012-02-01 Glenn Morris <rgm@gnu.org>
13832 * progmodes/compile.el (compilation-internal-error-properties):
13833 Respect compilation-first-column in the "*compilation*" buffer.
13835 * emacs-lisp/easy-mmode.el (define-minor-mode):
13836 Relax :variable's test for a named function.
13838 2012-01-31 Alan Mackenzie <acm@muc.de>
13840 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13843 2012-01-31 Chong Yidong <cyd@gnu.org>
13845 * frame.el (set-frame-font): New arg ALL-FRAMES.
13847 * menu-bar.el (menu-set-font): Use set-frame-font.
13849 * faces.el (face-spec-reset-face): Don't apply unspecified
13850 attribute values to the default face.
13852 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
13854 * progmodes/cwarn.el (cwarn): Remove dead link.
13855 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13856 Remove * from defcustom docstrings.
13857 (turn-on-cwarn-mode): Make obsolete.
13858 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13859 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13861 2012-01-31 Glenn Morris <rgm@gnu.org>
13863 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
13864 Fix :variable handling of mode a symbol not equal to modefun.
13865 Allow named functions to be used as the cdr of :variable.
13867 2012-01-30 Glenn Morris <rgm@gnu.org>
13869 * emacs-lisp/authors.el (authors-fixed-entries):
13870 Remove reference to deleted file rnewspost.el.
13872 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
13874 * window.el (window-with-parameter): Remove unused variable `windows'.
13875 (window--side-check): Remove unused variable `code'.
13876 (window--resize-siblings): Remove unused variable `first'.
13877 (adjust-window-trailing-edge): Remove unused variable `failed'.
13878 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13879 Use `let', not `let*'.
13880 (balance-windows-2): Remove unused variable `found'.
13881 (window--state-put-2): Remove unused variable `splits'.
13882 (window-state-put): Remove unused variable `selected'.
13883 (same-window-p): Use `string-match-p'.
13884 (display-buffer-assq-regexp): Remove unused variable `value'.
13885 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13886 Mark argument ALIST as ignored.
13887 (pop-to-buffer): Remove unused variable `old-window'.
13889 2012-01-29 Eli Zaretskii <eliz@gnu.org>
13891 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13892 and .lzma compressed files.
13894 2012-01-29 Chong Yidong <cyd@gnu.org>
13896 * frame.el (window-system-default-frame-alist): Doc fix.
13898 * dynamic-setting.el (font-setting-change-default-font): Don't
13899 change the default face if SET-FONT argument is non-nil (Bug#9982).
13901 2012-01-29 Samuel Bronson <naesten@gmail.com>
13903 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13905 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
13907 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13908 breakpoints in files outside current directory (Bug#6098).
13910 2012-01-29 Chong Yidong <cyd@gnu.org>
13912 * progmodes/python.el: Require ansi-color at top-level.
13914 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13915 Define and use in Emacs Lisp mode (Bug#9360).
13916 (lisp-mode-abbrev-table): Add doc.
13917 (lisp-mode-variables): Don't set local-abbrev-table.
13918 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13920 2012-01-28 Roland Winkler <winkler@gnu.org>
13922 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13924 2012-01-28 Roland Winkler <winkler@gnu.org>
13926 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13927 (bibtex-set-dialect): Use it. Either set global values of
13928 dialect-dependent variables or bind these variables buffer-locally
13930 (bibtex-mode): Call bibtex-set-dialect via
13931 hack-local-variables-hook.
13932 (bibtex-dialect): Update docstring.
13933 Add safe-local-variable predicate.
13934 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13935 bibtex-set-dialect.
13936 (bibtex-mode-map): Define menu for each dialect.
13937 (bibtex-entry): Fix docstring.
13939 2012-01-28 Chong Yidong <cyd@gnu.org>
13941 * eshell/esh-arg.el (eshell-quote-argument): New function.
13943 * eshell/esh-ext.el (eshell-invoke-batch-file):
13944 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13945 first arg to eshell-parse-command (Bug#10523).
13947 2012-01-28 Drew Adams <drew.adams@oracle.com>
13949 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13950 `default-directory' is non-nil.
13952 2012-01-28 Eli Zaretskii <eliz@gnu.org>
13954 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13955 line that displays system-configuration-options. (Bug#9924)
13957 2012-01-28 Drew Adams <drew.adams@oracle.com>
13959 * descr-text.el (describe-char): Show information about POS, in
13960 addition to information about the character at POS. Improve and
13961 update the doc string. Change "code point" to "code point in
13962 charset", to avoid confusion with the character's Unicode code
13963 point shown above that. (Bug#10129)
13965 2012-01-28 Eli Zaretskii <eliz@gnu.org>
13967 * descr-text.el (describe-char): Show the raw character, not only
13968 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13969 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13972 2012-01-28 Phil Hagelberg <phil@hagelb.org>
13974 * emacs-lisp/package.el (package-install):
13975 Run package-refresh-contents if there is no archive yet (Bug#9798).
13977 2012-01-28 Chong Yidong <cyd@gnu.org>
13979 * emacs-lisp/package.el (package-maybe-load-descriptor):
13980 New function, split from package-maybe-load-descriptor.
13981 (package-maybe-load-descriptor): Use it.
13982 (package-download-transaction): Fully load required packages
13983 inside the loop, so that `require' calls work (Bug#10593).
13984 (package-install): No need to call package-initialize now.
13986 2012-01-28 Chong Yidong <cyd@gnu.org>
13988 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13990 * tooltip.el (tooltip-mode): Doc fix.
13991 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13993 * frame.el (set-cursor-color): Doc fix (Bug#352).
13995 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13996 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13998 * cus-edit.el (custom-buffer-create-internal): Fix search button
13999 action (Bug#10542).
14000 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14002 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14004 * dired.el (dired-mark-files-regexp):
14005 Include any subdirectory components. (Bug#10445)
14007 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14009 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14010 Handle [host]:port syntax. (Bug#10533)
14012 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14014 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14016 2012-01-26 Glenn Morris <rgm@gnu.org>
14018 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14019 * term.el (term-raw-escape-map): Use Control-X-prefix.
14020 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14022 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14024 * window.el (window-state-get, window--state-get-1): Don't deal
14025 with fixed-sizeness of windows. Simplify code.
14027 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14029 * window.el (window--state-get-1, window--state-put-2):
14030 Don't save and restore the mark.
14032 2012-01-25 Chong Yidong <cyd@gnu.org>
14034 * custom.el (custom-variable-p): Doc fix.
14036 2012-01-25 Glenn Morris <rgm@gnu.org>
14038 * dired.el (dired-goto-file): Handle some of the more common
14039 characters that `ls -b' escapes. (Bug#10596)
14041 * progmodes/compile.el (compilation-next-error-function):
14042 Respect compilation-first-column in the "*compilation*" buffer.
14043 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14045 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14047 2012-01-24 Glenn Morris <rgm@gnu.org>
14049 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14051 2012-01-24 Julien Danjou <julien@danjou.info>
14053 * color.el (color-rgb-to-hsl): Fix value computing.
14054 (color-hue-to-rgb): New function.
14055 (color-hsl-to-rgb): New function.
14056 (color-clamp, color-saturate-hsl, color-saturate-name)
14057 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14058 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14060 2012-01-24 Glenn Morris <rgm@gnu.org>
14062 * vc/vc-rcs.el (vc-rcs-create-tag):
14063 * vc/vc-sccs.el (vc-sccs-create-tag):
14064 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14066 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14068 * eshell/esh-util.el (eshell-read-hosts-file):
14069 Skip comment lines. (Bug#10549)
14071 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14073 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14075 * subr.el (display-delayed-warnings): Doc fix.
14076 (collapse-delayed-warnings): New function to collapse identical
14078 (delayed-warnings-hook): Add it.
14080 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14082 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14084 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14085 (tramp-default-user-alist): Don't add "pscp".
14086 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14087 property "login-as", if set. (Bug#10530)
14089 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14091 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14092 "plink1" and "psftp". (Bug#10530)
14094 2012-01-21 Kenichi Handa <handa@m17n.org>
14096 * international/mule-cmds.el (prefer-coding-system): Show a
14097 warning message if the default value of file-name-coding-system
14100 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14102 * windmove.el (windmove-reference-loc):
14103 Fix windmove-reference-loc miscalculation.
14105 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14107 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14110 2012-01-21 Glenn Morris <rgm@gnu.org>
14112 * international/mule.el (auto-coding-alist): Add .tbz.
14114 * files.el (local-enable-local-variables): Doc fix.
14115 (inhibit-local-variables-regexps): Rename from
14116 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14117 Doc fix. Add some extensions from auto-coding-alist.
14118 (inhibit-local-variables-suffixes):
14119 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14120 (inhibit-local-variables-p):
14121 New function, extracted from set-auto-mode-1.
14122 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14123 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14124 (hack-local-variables): Doc fix. Make the mode-only case
14125 respect enable-local-variables and friends.
14126 Respect inhibit-local-variables-regexps for file-locals, but
14127 not for directory-locals.
14128 (set-visited-file-name):
14129 Take account of inhibit-local-variables-regexps.
14130 Whether it applies may change as the file name is changed.
14131 * jka-cmpr-hook.el (jka-compr-install):
14132 * jka-compr.el (jka-compr-uninstall):
14133 Update for inhibit-first-line-modes-suffixes name change.
14135 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14137 * help-macro.el (make-help-screen): Temporarily restore original
14138 binding for minor-mode-map-alist (Bug#10454).
14140 2012-01-19 Julien Danjou <julien@danjou.info>
14142 * color.el (color-name-to-rgb): Use the white color to find the max
14143 color component value and return correctly computed values.
14144 (color-name-to-rgb): Add missing float conversion for max value.
14146 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14148 * window.el (window--state-get-1, window-state-get): Do not use
14149 special state value for window-persistent-parameters.
14150 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14151 (window--state-put-2): Reset all window parameters to nil before
14152 assigning values of persistent parameters.
14154 2012-01-18 Alan Mackenzie <acm@muc.de>
14156 Eliminate sluggishness and hangs in fontification of "semicolon
14159 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14160 Change value 10000 -> 3000.
14161 (c-state-safe-place): Reformulate so it doesn't stack up an
14162 infinite number of wrong entries in c-state-nonlit-pos-cache.
14163 (c-determine-limit-get-base, c-determine-limit): New functions to
14164 determine backward search limits disregarding literals.
14165 (c-find-decl-spots): Amend commenting.
14166 (c-cheap-inside-bracelist-p): New function which detects "={".
14168 * progmodes/cc-fonts.el
14169 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14171 (c-font-lock-declarations): Fix an occurrence of point being
14172 undefined. Check additionally for point being in a bracelist or
14173 near a macro invocation without a semicolon so as to avoid a
14174 fruitless time consuming search for a declarator. Give a more
14175 precise search limit for declarators using the new
14178 2012-01-18 Glenn Morris <rgm@gnu.org>
14180 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14181 (set-auto-mode): Doc fixes.
14183 2012-01-17 Glenn Morris <rgm@gnu.org>
14185 * isearch.el (search-nonincremental-instead): Fix doc typo.
14187 * dired.el (dired-insert-directory): Handle newlines in directory name.
14188 (dired-build-subdir-alist): Unescape newlines in directory name.
14190 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14192 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14193 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14194 (tramp-action-terminal): Use it. (Bug#10530)
14196 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14198 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14200 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14202 * window.el (window-state-ignored-parameters): Remove variable.
14203 (window--state-get-1): Rename argument MARKERS to IGNORE.
14204 Handle persistent window parameters. Make copy of clone-of
14205 parameter only if requested. (Bug#10348)
14206 (window--state-put-2): Install a window parameter only if it has
14207 a non-nil value or an existing parameter shall be overwritten.
14209 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14211 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14213 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14215 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14216 don't pass the (nil) value of `upnode' to string-match.
14218 2012-01-14 Chong Yidong <cyd@gnu.org>
14220 * startup.el (command-line): Fix X resource class for cursorColor.
14221 Fix values recognized by the cursorBlink resource.
14223 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14225 * epg.el (epg--make-temp-file): Avoid permission race condition
14226 when running on old Emacs versions (bug#10403).
14228 2012-01-14 Glenn Morris <rgm@gnu.org>
14230 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14232 2012-01-13 Alan Mackenzie <acm@muc.de>
14234 Fix filling for when filladapt mode is enabled.
14236 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14237 c-mask-paragraph, pass in `fill-paragraph' rather than
14238 `fill-region-as-paragraph'. (This is a reversion of a previous
14240 * progmodes/cc-mode.el (c-basic-common-init):
14241 Make fill-paragraph-handle-comment buffer local and set it to nil.
14243 2012-01-13 Glenn Morris <rgm@gnu.org>
14245 * dired.el (dired-switches-escape-p): New function.
14246 (dired-insert-directory): Use dired-switches-escape-p.
14247 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14249 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14251 2012-01-12 Glenn Morris <rgm@gnu.org>
14253 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14254 changes in adaptive-fill-regexp. (Bug#10276)
14256 2012-01-11 Alan Mackenzie <acm@muc.de>
14258 Fix Emacs bug #10463 - put `widen's around the critical spots.
14260 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14261 widen around each invocation of c-state-pp-to-literal. Remove an
14262 unused let variable.
14264 2012-01-11 Glenn Morris <rgm@gnu.org>
14266 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14269 2012-01-10 Chong Yidong <cyd@gnu.org>
14271 * net/network-stream.el (network-stream-open-starttls):
14272 Avoid emitting a confusing error message when the server gives a bad
14273 response to the capability command.
14275 2012-01-10 Glenn Morris <rgm@gnu.org>
14277 * mail/unrmail.el (unrmail): Tweak previous change.
14279 2012-01-09 Chong Yidong <cyd@gnu.org>
14281 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14283 2012-01-08 Alan Mackenzie <acm@muc.de>
14285 Optimize font locking in long enum definitions.
14287 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14288 arm to a cond form to handle enums.
14289 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14290 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14292 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14294 * files.el (move-file-to-trash): Preserve default file modes on error.
14297 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14299 * faces.el (set-face-attribute): Clarify the meaning of the nil
14302 * subr.el (with-selected-frame): Mention that the selected frame
14303 is restored (bug#9980).
14305 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14308 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14309 (password-read): Don't autoload unused function.
14311 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14313 * progmodes/which-func.el (which-func-mode): Turn into a
14314 non-interactive function and mark as obsolete (bug#10428).
14316 2012-01-06 Chong Yidong <cyd@gnu.org>
14318 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14319 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14320 functions, along with 1 and -1.
14322 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14324 * time.el (display-time-load-average)
14325 (display-time-default-load-average): Doc fixes. See the thread
14327 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14330 2012-01-06 Glenn Morris <rgm@gnu.org>
14332 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14333 has no messages. (Bug#10377)
14335 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14336 than Info-edit. (Bug#10385)
14338 * time.el (display-time-load-average, display-time-next-load-average):
14341 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14342 local setting of buffer-read-only to the input buffer. (Bug#10419)
14344 * calendar/calendar.el (calendar-mode):
14345 Locally set scroll-margin to 0. (Bug#10379)
14347 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14349 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14351 2012-01-05 Glenn Morris <rgm@gnu.org>
14353 * eshell/em-unix.el (diff-no-select): Autoload it.
14354 (eshell/diff): Use diff-no-select. (Bug#10420)
14356 2012-01-05 Chong Yidong <cyd@gnu.org>
14358 * shell.el (shell-dynamic-complete-functions): Revert last change.
14359 (shell-command-completion-function): New function.
14360 (shell-completion-vars): Use it to implement
14361 shell-completion-execonly (Bug#10417).
14363 * custom.el (enable-theme): Don't set custom-safe-themes.
14365 * cus-theme.el (custom-theme-merge-theme):
14366 Ignore custom-enabled-themes and custom-safe-themes.
14368 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14370 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14371 first prompt in `sql-interacive-mode'.
14372 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14374 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14375 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14376 context of original buffer. Invoke `sql-login-hook'.
14378 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14380 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14381 letters in cite-prefix.
14383 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14385 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14387 2012-01-03 Chong Yidong <cyd@gnu.org>
14389 * shell.el (shell-dynamic-complete-functions):
14390 Put pcomplete-completions-at-point, so as to try
14391 comint-filename-completion first (Bug#10417).
14393 2012-01-02 Richard Stallman <rms@gnu.org>
14395 * battery.el (battery-status-function):
14396 Detect when to use battery-yeeloong-sysfs.
14397 (battery-echo-area-format): Add string for Yeeloong.
14398 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14399 (battery-yeeloong-sysfs): New function.
14401 2012-01-02 Chong Yidong <cyd@gnu.org>
14403 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14404 (dirtrack): Merge code for handling relative filenames in prompt
14405 from shell-dir-cookie-watcher.
14406 (dirtrack-debug-message): New arg to avoid excess format calls.
14408 * shell.el (shell-dir-cookie-re): Variable deleted.
14409 (shell-dir-cookie-watcher): Function deleted.
14410 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14411 with dirtrack-mode.
14413 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14415 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14416 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14419 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14421 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14423 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14425 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14426 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14428 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14430 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14431 also for alternative shells.
14432 (tramp-open-connection-setup-interactive-shell): Check, whether
14433 the shell is a busybox.
14434 (tramp-send-command): Don't suppress multiple prompts for
14435 busyboxes, it hurts.
14437 2011-12-28 Chong Yidong <cyd@gnu.org>
14439 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14440 (gdb-get-source-file): Move mode line update to
14441 gdb-get-source-file (Bug#10087).
14443 2011-12-25 Chong Yidong <cyd@gnu.org>
14445 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14446 gud-gdb-marker-filter without taking it as an argument.
14447 (gud-gdb-run-command-fetch-lines): Caller changed.
14448 (gud-gdb-completion-function): New variable.
14449 (gud-gdb-completion-at-point): Use it.
14450 (gud-gdb-completions-1): Split from gud-gdb-completions.
14452 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14453 function as separate arguments.
14454 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14455 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14456 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14457 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14458 (gdb-stopped, def-gdb-auto-update-trigger)
14459 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14460 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14462 (gud-gdbmi-completions): New function.
14463 (gdb): Use it for generating the completion table.
14465 2011-12-24 Alan Mackenzie <acm@muc.de>
14467 Introduce a mechanism to widen the region used in context font
14468 locking. Use this to protect declarations from losing their contexts.
14470 * progmodes/cc-langs.el (c-before-font-lock-functions):
14471 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14472 (c-before-context-fontification-functions): New defvar, a list of
14473 functions to be run just before context (etc.) font locking.
14475 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14476 New, functionality extracted from
14477 c-neutralize-syntax-in-and-mark-CPP.
14478 (c-in-after-change-fontification): New variable.
14479 (c-after-change): Set c-in-after-change-fontification.
14480 (c-set-fl-decl-start): Rejig its interface, so it can be called
14481 from both after-change and context fontifying.
14482 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14484 (c-standard-font-lock-fontify-region-function): New variable.
14485 (c-font-lock-fontify-region): New function.
14487 2011-12-24 Juri Linkov <juri@jurta.org>
14489 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14492 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14494 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14495 existence of source file. (Bug#10325)
14497 2011-12-23 Alan Mackenzie <acm@muc.de>
14499 Fix unstable fontification inside templates.
14501 * progmodes/cc-langs.el (c-before-font-lock-functions):
14502 Newly created from the singular version. The (c c++ objc) entry now
14503 additionally has c-set-fl-decl-start. The other languages (apart
14504 from AWK) have that as a single entry.
14506 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14507 The functionality for "local" declarations has been extracted to
14508 c-set-fl-decl-start.
14510 * progmodes/cc-mode.el (c-common-init, c-after-change):
14511 Changes due to pluralisation of c-before-font-lock-functions.
14512 (c-set-fl-decl-start): New function, extracted from
14513 c-font-lock-enclosing-decls and enhanced.
14515 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14517 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14519 2011-12-22 Juri Linkov <juri@jurta.org>
14521 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14523 2011-12-22 Chong Yidong <cyd@gnu.org>
14525 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14527 2011-12-21 Drew Adams <drew.adams@oracle.com>
14529 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14531 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14533 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14535 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14537 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14538 highlighting and support. Fix up comments for capitalization.
14539 (cfengine-mode-debug): New var.
14540 (cfengine3-mode): Change the modeline indicator to "CFE3".
14541 (cfengine3-font-lock-keywords): Improve defun highlighting.
14542 (cfengine2-actions): Rename from `cfengine-actions'.
14543 (cfengine2-font-lock-keywords): Rename from
14544 `cfengine-font-lock-keywords'.
14545 (cfengine2-imenu-expression): Rename from
14546 `cfengine-imenu-expression'.
14547 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14548 (cfengine2-beginning-of-defun): Rename from
14549 `cfengine-beginning-of-defun'.
14550 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14551 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14552 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14553 modeline indicator to "CFE2".
14554 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14555 (cfengine-mode-abbrevs): Mark obsolete.
14557 2011-12-21 Chong Yidong <cyd@gnu.org>
14559 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14562 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14564 * window.el (window-normalize-buffer-to-display): Remove.
14565 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14567 2011-12-19 Chong Yidong <cyd@gnu.org>
14569 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14570 Don't signal an error in a predicate function; return non-nil.
14571 (vc-dir-mark-file): Move the error here.
14572 (vc-dir-mark-unmark): If acting on the region, keep going if one
14573 of the entries cannot be marked/unmarked.
14574 (vc-dir-mark-all-files): If current entry is a directory, mark
14575 only child files, as documented.
14577 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14579 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14580 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14583 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14585 * term/ns-win.el (ns-get-selection-internal)
14586 (ns-store-selection-internal): Declare.
14587 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14588 Declare as obsolete.
14589 (ns-get-pasteboard, ns-paste-secondary):
14590 Use ns-get-selection-internal.
14591 (ns-set-pasteboard, ns-copy-including-secondary):
14592 Use ns-store-selection-internal.
14594 2011-12-17 Chong Yidong <cyd@gnu.org>
14596 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14597 (vc-deduce-fileset): Doc fix.
14599 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14601 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14603 2011-12-13 Sam Steingold <sds@gnu.org>
14605 * man.el (Man-getpage-in-background): When running under a
14606 window-system, ignore $MANWIDTH and $COLUMNS.
14608 2011-12-15 Kenichi Handa <handa@m17n.org>
14610 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14611 (setup-ethiopic-environment-internal): Comment out key-binding for
14612 ethio-toggle-punctuation.
14614 2011-12-13 Alan Mackenzie <acm@muc.de>
14616 Add the switch statement to AWK Mode.
14618 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14619 "default" to the keywords regexp.
14621 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14622 expression as the rest.
14623 (c-nonlabel-token-key): Allow string literals for AWK.
14624 Refactor for the other modes.
14626 Large brace-block initialisation makes CC Mode slow: Fix.
14627 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14628 routines. Limit backward searching in c-font-lock-enclosing.decl.
14630 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14631 pp-state and literal type in addition to the limits.
14632 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14633 (c-state-literal-at): Use the above new defun.
14634 (c-slow-in-literal, c-fast-in-literal): Remove.
14635 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14637 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14638 being in a literal. Add a limit for backward searching.
14640 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14643 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14645 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14647 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14649 * window.el (delete-other-windows): Use correct frame in call to
14650 window-with-parameter.
14652 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14654 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14655 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14656 (makefile-gmake-statements, makefile-makepp-statements):
14657 Use it and add new makepp keywords.
14658 (makefile-makepp-font-lock-keywords): Add new patterns.
14659 (makefile-match-function-end): Match new [...] and [[...]].
14661 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
14663 * ses.el (ses-call-printer-return, ses-cell-property-get)
14664 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14665 (ses-create-cell-variable, ses-reset-header-string)
14666 (ses-cell-set-formula, ses-repair-cell-reference-all)
14667 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14668 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14669 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14670 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14671 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14672 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14673 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14674 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14675 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14676 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14677 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14678 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14680 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14682 * ses.el: The overall change is to add cell renaming, that is
14683 setting fancy names for cell symbols other than name matching
14684 "\\`[A-Z]+[0-9]+\\'" regexp .
14685 (ses-create-cell-variable): New defun.
14686 (ses-relocate-formula): Relocate formulas only for cells the
14687 symbols of which are not renamed, i.e. symbols whose names do not
14688 match regexp "\\`[A-Z]+[0-9]+\\'".
14689 (ses-relocate-all): Relocate values only for cells the symbols of
14690 which are not renamed.
14691 (ses-load): Create cells variables as the (ses-cell ...) are read,
14692 in order to check row col consistency with cell symbol name only
14693 for cells that are not renamed.
14694 (ses-replace-name-in-formula): New defun.
14695 (ses-rename-cell): New defun.
14697 2011-12-11 Chong Yidong <cyd@gnu.org>
14699 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14700 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14702 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14704 * window.el (other-window): Fix docstring.
14706 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14708 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
14709 `from' or `to' address before taking its substring.
14710 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
14711 encoded name is chopped in the middle of the encoded string, and
14712 thus displayed encoded.
14714 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
14716 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14718 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14720 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14721 to use texinfo-update-node and commands that call it if the
14722 Texinfo file uses @node lines without next/prev/up pointers.
14723 Correct outdated description about texinfo-master-menu.
14724 (texinfo-all-menus-update, texinfo-master-menu)
14725 (texinfo-update-node, texinfo-every-node-update)
14726 (texinfo-multiple-files-update): Doc fix. Warn against updating
14727 all the @node lines.
14728 (texinfo-master-menu): Only call texinfo-update-node if the prefix
14729 argument is numeric. Explain better in the doc string what the
14730 function really does.
14731 (texinfo-insert-master-menu-list): Improve the error message
14732 displayed if there's no menu in the Top node.
14733 (Bug#2975) See also this thread:
14734 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14736 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14738 * speedbar.el (speedbar-supported-extension-expressions):
14739 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14741 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
14743 * printing.el (pr-mode-alist):
14744 * simple.el (filter-buffer-substring-functions)
14745 (completion-list-insert-choice-function):
14746 * window.el (window-with-parameter, window-atom-root)
14747 (window-sides-slots, window-size-fixed, window-min-delta)
14748 (window-max-delta, window--resize-mini-window)
14749 (window--resize-child-windows-normal, window-tree)
14750 (delete-other-windows, quit-window, split-window)
14751 (display-buffer-record-window, special-display-buffer-names)
14752 (special-display-regexps, special-display-popup-frame)
14753 (same-window-p, split-window-sensibly)
14754 (display-buffer-overriding-action, display-buffer-alist)
14755 (display-buffer-base-action, display-buffer, switch-to-buffer)
14756 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14757 (fit-window-to-buffer, recenter-positions)
14758 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14759 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14760 and remove unneeded backslashes in docstrings.
14762 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14764 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14766 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14767 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14769 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14770 when reading the makefile (bug#10116).
14772 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14774 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14777 2011-12-06 Glenn Morris <rgm@gnu.org>
14779 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14781 2011-12-06 Chong Yidong <cyd@gnu.org>
14783 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14785 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
14787 * textmodes/table.el (table-shorten-cell): Fix typo.
14789 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14791 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14793 2011-12-05 Eli Zaretskii <eliz@gnu.org>
14795 * descr-text.el (describe-char): Fix display of strong
14796 right-to-left characters and directional embeddings and overrides.
14798 * simple.el (what-cursor-position): Fix display of codepoints of
14799 strong right-to-left characters.
14801 2011-12-05 Chong Yidong <cyd@gnu.org>
14803 * faces.el (read-color): Doc fix.
14805 2011-12-05 Glenn Morris <rgm@gnu.org>
14807 * align.el (align--set-marker): Add doc-string.
14808 Don't try to move something that is not a marker. (Bug#10216)
14810 2011-12-04 Glenn Morris <rgm@gnu.org>
14812 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14813 overly zealous deletion of trailing whitespace.
14815 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
14817 * server.el (server-delete-client): On Windows, do not try to delete
14819 (server-process-filter): On Windows, treat requests for a tty frame as
14820 if they were for a GUI frame if the running server is in GUI mode.
14822 2011-12-03 Glenn Morris <rgm@gnu.org>
14824 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14826 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14828 * electric.el: Streamline electric-indent's hook.
14829 (electric-indent-chars): Revert to simple list.
14830 (electric-indent-functions): New var.
14831 (electric-indent-post-self-insert-function): Use it.
14833 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14834 there's no inferior buffer (bug#10196).
14835 (prolog-consult-compile): Don't use toggle-read-only.
14837 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
14839 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14840 interrupt. (Bug#10187)
14842 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14844 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14847 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14850 2011-12-02 Juri Linkov <juri@jurta.org>
14852 * info.el (Info-search): Display "end of manual" when Isearch
14853 reaches the end of single-file Info manual. (Bug#9918)
14855 2011-12-02 Eli Zaretskii <eliz@gnu.org>
14857 * isearch.el (isearch-message-prefix): Run the input method part
14858 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14860 2011-12-02 Juri Linkov <juri@jurta.org>
14862 * isearch.el (isearch-occur): Use `word-search-regexp' for
14864 (isearch-search-and-update): Add condition for `isearch-word' and
14865 call `word-search-regexp'. (Bug#10145)
14867 2011-12-01 Glenn Morris <rgm@gnu.org>
14869 * eshell/em-hist.el (eshell-hist-initialize):
14870 Handle eshell-history-size nil and HISTSIZE set or unset.
14871 (eshell-history-file-name, eshell-history-size): Fix custom type.
14873 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14875 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14877 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
14879 * progmodes/verilog-mode.el (verilog-pretty-expr):
14880 Rework verilog-pretty-expr to handle new assignment operators in system
14881 verilog, such as += *= and the like.
14882 (verilog-assignment-operator-re): Regular expression to find the
14883 assigment operator in a verilog assignment.
14884 (verilog-assignment-operation-re): Regular expression to find an
14885 assignment statement for pretty-expr.
14886 (verilog-in-attribute-p): Query returns true if point is in an
14887 attribute context; used to skip these for expression line up from
14889 (verilog-in-parameter-p): Query returns true if point is in an
14890 parameter definition context; used to skip these for expression
14891 line up from pretty-expr.
14892 (verilog-in-parenthesis-p): Query returns true if point is in a
14893 parenthetical expression, specifically ( ) but not [ ] or { };
14894 used by pretty-expr.
14895 (verilog-just-one-space): If there is no space, don't add one.
14896 (verilog-get-lineup-indent-2): Specifically skip just attribute
14897 contexts for expression lineup, rather than skipping all
14898 parenthetical expressions.
14899 (verilog-calculate-indent): Fix comment, and fix indent.
14900 (verilog-do-indent): Indent declarations in lists (suggested by
14902 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14904 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14907 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
14909 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14910 parameters with embedded comments. Reported by Ray Stevens.
14911 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14912 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14913 Reported by Tim Holt.
14914 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14915 instantiated by upper module causing wrong expansion until AUTOed a
14916 second time. Reported by K C Buckenmaier.
14917 (verilog-diff-auto): Fix showing .* as a difference when
14918 `verilog-auto-star-save' off. Reported by Dan Dever.
14919 (verilog-auto-reset, verilog-read-always-signals)
14920 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14921 temporary signals in reset list if
14922 verilog-auto-reset-blocking-in-non is nil, and match assignment
14923 style to each signal's assignment type, bug381.
14924 Reported by Thomas Esposito.
14925 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14926 (verilog-uvm-statement-re): Support UVM indentation and
14927 highlighting, with old OVM keywords only.
14928 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
14929 Support AUTOTIEOFF creating non-wire data types.
14930 Suggested by Jonathan Greenlaw.
14931 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14932 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14933 (verilog-inject-sense, verilog-read-inst-pins)
14934 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14935 Fix mismatching parenthesis inside commented out code when deleting
14936 AUTOINST, bug383. Reported by Jonathan Greenlaw.
14937 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14938 non-numeric vector width. Reported by Alex Reed.
14939 (verilog-auto-ascii-enum): Add "onehot" option to work around not
14940 detecting signals with parameter widths. Reported by Alex Reed.
14941 (verilog-auto-delete-trailing-whitespace):
14942 With `verilog-auto-delete-trailing-whitespace' remove trailing
14943 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14944 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14945 Fix verilog-scan-cache corruption when running user AUTO expansion
14946 hooks that call indentation routines.
14947 (verilog-simplify-range-expression): Fix typo ignoring lower case
14949 (verilog-delete-auto): Fix delete-autos to also remove user created
14950 automatics, as long as they start with AUTO.
14951 (verilog-batch-diff-auto, verilog-diff-auto)
14952 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14953 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14954 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14955 (verilog-in-paren-quick, verilog-re-search-backward-quick)
14956 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14957 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
14958 is disabled and its cache will get corrupt, causing AUTOS not to
14959 expand. Instead use only -quick functions.
14960 (verilog-scan-region): Fix scanning over escaped quotes.
14961 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14962 (verilog-re-search-backward-quick)
14963 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14964 related functions now ignore strings, to fix misparsing of strings
14965 with magic comments embedded in them.
14966 (verilog-read-auto-template):
14967 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14968 Reported by Brad Dobbie.
14969 (verilog-read-auto-template):
14970 Fix 'verilog-auto-inst-template-numbers' with comments.
14971 Reported by Brad Dobbie.
14972 (verilog-auto-inst, verilog-auto-inst-param)
14973 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14974 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14975 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
14976 debugging templates without merge conflicts, bug357.
14977 Reported by Brad Dobbie.
14978 (verilog-read-auto-template):
14979 Fix verilog-auto-inst-template-numbers with multiple templates.
14980 Reported by Brad Dobbie.
14981 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14982 abbrevs so user won't be asked to save.
14983 (verilog-read-auto-lisp-present): Fix to start at beginning of
14984 buffer in case called outside of verilog-auto.
14985 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14986 to "X-2". Reported by Matthew Myers.
14987 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14988 all inputs from module templates. Reported by Leith Johnson.
14989 (verilog-module-inside-filename-p): Fix locating programs as with
14991 (verilog-auto-inst-port): Fix vl-width expressions when using
14992 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14993 (verilog-decls-get-regs, verilog-decls-get-signals,
14994 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14995 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14996 verilog-read-decls): Combine reg and wire structures into one var
14997 structure to represent SystemVerilog concepts.
14998 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14999 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15000 (verilog-auto-wire-type, verilog-insert-definition):
15001 Add verilog-auto-wire-type and AUTOLOGIC to support using
15002 SystemVerilog "logic" keyword instead of "wire"/"reg".
15003 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15004 to declares outputs that also have assignments (presumably in an
15005 ifdef or generate if so there's not a driver conflict).
15006 Reported by Matthew Myers.
15007 (verilog-auto-declare-nettype, verilog-insert-definition):
15008 Add verilog-auto-declare-nettype to fix declarations using
15009 `default_nettype none. Reported by Julian Gorfajn.
15010 (verilog-read-always-signals-recurse, verilog-read-decls)
15011 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15012 malformed end statement, bug325. Reported by Joshua Wise and
15014 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15015 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15016 when expanding .* in interfaces, bug320.
15017 Reported by Pierre-David Pfister.
15018 (verilog-read-module-name): Fix import statements between module
15019 name and open parenthesis, bug317.
15020 Reported by Pierre-David Pfister.
15021 (verilog-simplify-range-expression): Fix simplification of
15022 multiplications inside AUTOWIRE connections, bug303.
15023 (verilog-auto-inst-port): Support parameter expansion in
15024 multidimensional arrays.
15025 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15026 after "assert property". Reported by Julian Gorfajn.
15027 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15028 with multiplication, bug303.
15029 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15030 Reported by Jan Frode Lonnum.
15032 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15034 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15035 (hfy-shell-file-name, hfy-shell):
15036 * international/fontset.el (x-decompose-font-name): Fix typos.
15038 2011-11-29 Ken Brown <kbrown@cornell.edu>
15040 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15041 (gdb-version): Remove defvar.
15042 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15043 (gdb-gud-context-command, gdb-non-stop-handler)
15044 (gdb-current-context-command, gdb-stopped): Use it.
15045 (gdb-init-1): Enable pretty printing here.
15046 (gdb-non-stop-handler): Don't enable pretty-printing here.
15047 Check to see if the target supports non-stop mode; if not, turn off
15048 non-stop mode. Use the following.
15049 (gdb-check-target-async): New defun.
15050 (gud-watch, gdb-stopped): Fix whitespace.
15051 (gdb-get-source-file): Don't try to display the source file if
15052 `gdb-main-file' is nil.
15054 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15056 * align.el: Try to generate fewer markers (bug#10047).
15057 (align--set-marker): New macro.
15058 (align-region): Use it.
15060 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15062 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15064 2011-11-29 Chong Yidong <cyd@gnu.org>
15066 * indent.el (indent-for-tab-command, indent-according-to-mode):
15068 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15070 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15072 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15073 aware of remote file names. (Bug#10124)
15075 2011-11-29 Chong Yidong <cyd@gnu.org>
15077 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15079 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15081 * files.el (find-file): Don't use force-same-window (bug#10144).
15082 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15083 use pop-to-buffer if the selected window can't be used.
15084 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15086 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15088 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15091 2011-11-28 Chong Yidong <cyd@gnu.org>
15093 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15095 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15097 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15098 gdb-get-source-file-list on gdb-create-source-file-list.
15100 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15102 * whitespace.el (whitespace-newline): Use a different foreground
15103 color for 16-color light-background displays.
15105 2011-11-24 Chong Yidong <cyd@gnu.org>
15107 * window.el (display-buffer--special-action): Doc fix.
15109 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15111 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15112 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15113 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15114 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15115 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15116 (avl-tree-stack-first):
15117 * emacs-lisp/cconv.el (cconv--analyse-use):
15118 * net/gnutls.el (gnutls-negotiate): Fix typos.
15120 2011-11-24 Glenn Morris <rgm@gnu.org>
15122 * lpr.el (lpr-windows-system, lpr-lp-system):
15123 * mail/binhex.el (binhex-begin-line):
15124 * progmodes/grep.el (grep-history, grep-find-history):
15125 * textmodes/flyspell.el:
15126 * vc/pcvs-defs.el (cvs-global-menu):
15127 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15128 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15129 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15131 * net/tls.el: Fix case of "GnuTLS".
15133 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15135 * version.el (emacs-build-system): Give it a doc-string.
15137 2011-11-24 Juri Linkov <juri@jurta.org>
15139 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15141 2011-11-24 Glenn Morris <rgm@gnu.org>
15143 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15144 if called on a non-mime message just toggle the headers. (Bug#8006)
15146 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15148 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15149 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15150 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15151 (allout-rebullet-heading, allout-open-sibtopic)
15152 (allout-toggle-current-subtree-encryption)
15153 (allout-toggle-subtree-encryption, allout-encrypt-string)
15154 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15155 (allout-distinctive-bullets-string, allout-auto-activation):
15156 * window.el (window-normalize-buffer-to-display):
15157 * progmodes/verilog-mode.el (verilog-batch-indent):
15158 * textmodes/bibtex.el (bibtex-field-braces-opt)
15159 (bibtex-field-strings-opt):
15160 * vc/cvs-status.el (cvs-tree-merge):
15163 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15165 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15166 `non-essential' to t, in order to avoid remote connections.
15168 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15170 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15171 On MS-DOS and MS-Windows, compare with loaddefs.el
15172 case-insensitively.
15174 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15176 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15178 2011-11-23 Glenn Morris <rgm@gnu.org>
15180 * paths.el (rmail-file-name): Reformat the doc-string so that it
15183 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15184 (rmail-auto-file): Ignore case in the "special" field names,
15185 as mail-fetch-field does for all others.
15187 * mail/rmail.el (rmail-forward):
15188 * mail/rmailkwd.el (rmail-set-label):
15189 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15190 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15192 * mail/rmail.el (rmail-current-message): Doc fix.
15194 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15196 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15198 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15200 2011-11-22 Glenn Morris <rgm@gnu.org>
15202 * mail/rmailmm.el (test-rmail-mime-handler)
15203 (test-rmail-mime-bulk-handler)
15204 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15206 2011-11-21 Juri Linkov <juri@jurta.org>
15208 * calc/calc.el (calc-read-key-sequence):
15209 Let-bind `input-method-function' to nil. (Bug#10018)
15211 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15213 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15214 Tell the caller that the next line needs recomputation, even
15215 though it doesn't start a sexp (bug#10094).
15217 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15219 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15221 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15223 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15224 Use force-same-window.
15226 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15228 * descr-text.el (describe-char-unicode-data):
15229 * json.el (json-string-escape):
15230 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15231 (Footnote-unicode, Footnote-style-p):
15232 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15234 2011-11-20 Chong Yidong <cyd@gnu.org>
15236 * window.el (replace-buffer-in-windows): Restore interactive spec.
15238 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15240 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15242 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15243 (byte-compile-global-not-obsolete-vars): New var.
15244 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15246 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15248 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15250 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15251 * progmodes/pascal.el (electric-pascal-equal):
15252 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15253 * xml.el (xml-substitute-special): Fix typos.
15255 2011-11-20 Glenn Morris <rgm@gnu.org>
15257 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15258 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15260 (rmail-decode-mime-charset): Mark as obsolete.
15262 * mail/rmailsum.el (rmail-message-regexp-p-1):
15263 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15264 Before using mime functions, check they are set. (Bug#10077)
15266 2011-11-19 Juri Linkov <juri@jurta.org>
15268 * info.el (Info-finder-find-node): Use `package--builtins' instead
15269 of `package-alist'. Use node names formed by the pattern "Keyword "
15270 and the keyword name.
15272 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15274 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15276 2011-11-19 Juri Linkov <juri@jurta.org>
15278 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15279 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15280 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15281 `old-history', `old-history-forward'. Add let-binding
15282 `window-selected'. Remove calls to `kill-buffer',
15283 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15284 before calling `Info-find-node', so `Info-find-node-2' will reread
15285 the Info file. Restore window positions only when `window-selected'
15288 2011-11-19 Juri Linkov <juri@jurta.org>
15290 * isearch.el (isearch-lazy-highlight-new-loop):
15291 Remove condition `(not isearch-error)'. (Bug#9918)
15293 * misearch.el (multi-isearch-search-fun): Add condition
15294 `(not bound)' to ignore lazy-highlighting search.
15295 Add the search-failed message "end of multi" when the end of
15296 multi-sequence is reached. Uncapitalize the search-failed
15297 message "Repeat for next buffer".
15299 * info.el (Info-search): Add the search-failed message
15300 "end of the manual" when the end of the manual is reached
15303 2011-11-19 Juri Linkov <juri@jurta.org>
15305 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15306 Use non-destructive `remove' instead of `delete' because
15307 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15308 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15310 2011-11-19 Juri Linkov <juri@jurta.org>
15312 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15313 to nil instead of binding `search-ring' and `regexp-search-ring'.
15316 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15318 * simple.el (line-move): Force movement by logical lines for any
15319 hscrolled window, not only when auto-hscroll-mode is on.
15320 (line-move-visual): Update doc string to that effect. (Bug#10076)
15322 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15324 * language/european.el (macintosh): Define as alias for mac-roman.
15326 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15328 * mail/rmailmm.el (rmail-mime-display-header)
15329 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15330 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15331 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15332 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15333 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15335 (rmail-mime-entity-segment): To get past the tagline, move forward
15336 2 more lines, to account for the 2 empty lines that precede and
15337 follow the line with the buttons.
15338 (rmail-mime-update-tagline): Move one more line, to get past the
15339 empty line that follows the buttons in the tagline. (Bug#9520)
15341 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15343 * window.el (window-max-delta-1, window-min-delta-1)
15344 (window-min-size-1, window-state-get-1, window-state-put-1)
15345 (window-state-put-2): Use "window--" prefix.
15347 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15349 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15350 (smie-warning-count): New var.
15351 (smie-set-prec2tab): Use it.
15352 (smie-bnf->prec2): Improve warnings. Add docstring.
15353 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15354 (smie-bnf--set-class): New function.
15355 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15358 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15359 (compilation-error-properties, compilation-move-to-column):
15360 Handle compilation-first-column while in the target buffer.
15362 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15363 Don't hardcode point-min==1.
15365 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15366 (eshell-rewrite-for-command): Remove workaround.
15367 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15368 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15369 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15371 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15373 2011-11-17 Glenn Morris <rgm@gnu.org>
15375 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15376 Ignore buffer-local generated-autoload-file if it is the same
15377 as the global value. (Bug#10049)
15379 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15381 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15382 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15383 (reftex-toc-previous-heading, reftex-toc-max-level)
15384 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15385 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15386 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15387 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15388 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15389 (reftex-toc-rename-label, reftex-toc-visit-location)
15390 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15391 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15392 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15393 leaving "*toc*" only for references to the buffer.
15395 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15397 * window.el (window-resize, delete-window, split-window):
15398 Replace window-splits by window-combination-resize.
15399 * cus-start.el (window-splits): Replace by window-combination-resize.
15401 2011-11-17 Glenn Morris <rgm@gnu.org>
15403 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15404 Make bash entry derive from sh entry, not shell entry.
15406 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15408 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15411 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15413 * menu-bar.el (menu-bar-file-menu):
15414 * printing.el (pr-ps-utility):
15415 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15416 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15417 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15418 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15419 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15420 (icalendar--convert-cyclic-to-ical)
15421 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15422 (icalendar--convert-ical-to-diary)
15423 (icalendar--convert-recurring-to-diary)
15424 (icalendar--convert-non-recurring-all-day-to-diary)
15425 (icalendar-import-format-sample):
15426 * progmodes/idlw-shell.el (idlwave-shell-mode):
15427 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15428 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15429 (vhdl-ps-print-init): Fix typos.
15431 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15433 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15434 FSF and collapse date sequence, obscure author/maintainer email address
15435 better, remove extra version line, track relocation of author's webpage.
15437 * progmodes/python.el (python-pdbtrack-input-prompt)
15438 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15439 regular python pdb prompts. Adjustments shamelessly taken exactly as
15440 suggested in EmacsWiki page (tiny change):
15441 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15443 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15445 * expand.el (expand-pos, expand-index, expand-point):
15446 Remove redundant info from docstring.
15447 (expand-add-abbrevs): Doc fix.
15448 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15449 (expand-sample-perl-mode-expand-list): Fix typos.
15451 * net/dbus.el (dbus-event-member-name):
15452 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15453 * term/pc-win.el (msdos-create-frame-with-faces):
15454 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15456 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15458 * window.el (split-window, window-state-get-1)
15459 (window-state-put-1, window-state-put-2): Rename occurrences of
15460 window-nest to window-combination-limit.
15461 * cus-start.el (window-nest): Rename to window-combination-limit.
15463 2011-11-16 Chong Yidong <cyd@gnu.org>
15465 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15466 regexp (Bug#10033).
15468 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15470 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15471 `completing-read' will remove *Completions* and will preserve
15472 current-buffer for us.
15473 (tmm-add-prompt): Users of *Completions* will always (re)set its
15475 (tmm-old-comp-map): Remove.
15477 2011-11-16 Glenn Morris <rgm@gnu.org>
15479 * mail/rmailedit.el: Require rmailmm when compiling.
15480 (rmail-old-mime-state): New declaration.
15481 (rmail-edit-current-message): If editing a mime message,
15482 edit the "raw" message from the mbox buffer.
15483 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15485 2011-11-15 Glenn Morris <rgm@gnu.org>
15487 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15488 which wasn't being used. Add optional arg to force given state.
15489 (rmail-mime): Add optional arg to force given state.
15491 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15493 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15494 * frame.el (display-mm-dimensions-alist):
15495 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15496 (outline-move-subtree-down):
15497 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15498 (newsticker--treeview-do-get-node):
15499 * net/quickurl.el (quickurl-list-buffer-name):
15500 * progmodes/dcl-mode.el (dcl-mode):
15501 * progmodes/gdb-mi.el (gdb-mapcar*):
15502 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15504 2011-11-15 Glenn Morris <rgm@gnu.org>
15506 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15507 in a boolean sense, so just make it a boolean, and fix the doc.
15508 (rmail-show-mime-function, rmail-mime-feature)
15509 (rmail-require-mime-maybe): Doc fixes.
15510 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15512 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15514 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15516 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15517 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15518 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15519 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15521 2011-11-15 Glenn Morris <rgm@gnu.org>
15523 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15524 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15525 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15526 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15527 (rmail-mime, rmail-show-mime): Doc fixes.
15529 * term/ns-win.el (mode-line-frame-identification):
15530 Leave it alone. (Bug#10051)
15532 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15534 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15535 Handle empty buffers. (Bug#9978)
15537 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15539 * international/mule.el (define-charset):
15540 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15541 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15542 * progmodes/verilog-mode.el (verilog-backward-token):
15543 * textmodes/ispell.el (lookup-words):
15544 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15546 2011-11-14 Glenn Morris <rgm@gnu.org>
15548 * progmodes/executable.el
15549 (executable-make-buffer-file-executable-if-script-p):
15550 Handle file-modes returning nil.
15552 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15553 message - not necessary, and causes problems. (Bug#9831)
15555 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15557 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15559 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15560 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15561 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15563 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15565 * window.el (window-resize, delete-window): Use window-splits
15566 variable instead of function.
15567 (window-state-get-1, window-state-put-2, window-state-put):
15568 Don't deal with windows' splits status.
15570 2011-11-12 Glenn Morris <rgm@gnu.org>
15572 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15573 (apropos-documentation): Doc fixes.
15575 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15577 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15578 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15580 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15582 * electric.el (electric-indent-post-self-insert-function): Make it
15583 possible for a char to only indent in some circumstances.
15584 (electric-indent-mode): Simplify.
15586 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15588 * window.el (windows-with-parameter): Remove unused function.
15589 (windows-at-side): Rename to window-at-side-list.
15590 (window-check, window-atom-check, window-atom-check-1)
15591 (window-side-check, window-size-ignore, window-size-fixed-1)
15592 (window-in-direction-2): Prefix with "window--".
15593 (window-tree-1): Rename to window--subtree, fix doc-string.
15595 2011-11-11 Glenn Morris <rgm@gnu.org>
15597 * subr.el (eval-after-load): If FILE is already loaded,
15598 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15600 2011-11-10 Glenn Morris <rgm@gnu.org>
15602 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15603 Call svn via vc-svn-command rather than vc-do-command.
15604 (vc-svn-command): Add --non-interactive. (Bug#9993)
15605 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15607 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15608 Add toggle-read-only. (Bug#7292)
15609 * files.el (toggle-read-only): Mention that it should only
15610 be used interactively. (Bug#10006)
15612 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15614 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15615 Adjust regexp for OCaml warnings.
15617 * electric.el (electric-pair-post-self-insert-function): Let user
15618 turn it off buffer-locally (bug#9932).
15620 * progmodes/python.el (python-beginning-of-statement):
15621 Rewrite (bug#2703).
15623 * progmodes/compile.el: Better handle TABs (bug#9749).
15624 (compilation-internal-error-properties)
15625 (compilation-next-error-function): Obey the target buffer's
15626 compilation-error-screen-columns.
15628 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15630 * progmodes/meta-mode.el: Remove obsolete comments.
15631 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15632 Fix typos in docstrings.
15634 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15636 * window.el (window-size-fixed-p): Rewrite doc-string.
15637 (window-resizable-p): Rename to window--resizable-p. Update callers.
15638 (window--resizable): New function. Make all callers of
15639 window-resizable call window--resizable instead.
15640 (window-resizable): Rewrite in terms of window--resizable.
15642 2011-11-08 Glenn Morris <rgm@gnu.org>
15644 * progmodes/delphi.el (delphi-mode-syntax-table):
15645 Let define-derived-mode define a proper syntax table. (Bug#9994)
15647 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15649 * window.el: Stay away from defsubst.
15650 (window-list-no-nils): Remove.
15651 (window-state-get-1, window-state-get): Use backquote instead.
15653 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15655 * emacs-lisp/find-func.el (find-function-read):
15656 Fix incorrect use of default argument in `completing-read'.
15658 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15660 * window.el (display-buffer-function, special-display-function):
15661 Mention display-buffer-record-window but do not mention
15662 help-setup parameter in doc-strings.
15663 (window-min-delta): Fix doc-string typo.
15665 2011-11-08 Chong Yidong <cyd@gnu.org>
15667 * window.el (window-total-height, window-total-width): Doc fix.
15668 (window-body-size): Move from C.
15669 (window-body-height, window-body-width): Move to C.
15671 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15673 * window.el: Make special-display like display-buffer-alist (bug#9532).
15674 (display-buffer--special-action): New function, morphed
15675 from display-buffer--special.
15676 (display-buffer): Use it to handle special-display-buffers at higher
15677 priority (just after display-buffer-alist).
15678 (display-buffer-fallback-action, display-buffer--other-frame-action)
15679 (pop-to-buffer-same-window): Remove display-buffer--special.
15681 2011-11-07 Glenn Morris <rgm@gnu.org>
15683 * calendar/cal-menu.el (cal-menu-set-date-title):
15684 Do nothing if not in a calendar. (Bug#9976)
15686 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15688 * files.el (find-file): Always use selected-window.
15690 2011-11-07 Martin Rudalics <rudalics@gmx.at>
15692 * window.el (window-combinations): Make WINDOW argument
15693 mandatory. Rewrite doc-string.
15694 (walk-window-subtree, window-atom-check, window-min-delta)
15695 (window-max-delta, window--resize-this-window)
15696 (window--resize-root-window-vertically, window-tree)
15697 (balance-windows, window-state-put): Rewrite doc-strings as to
15698 not mention the term "subwindow".
15699 (window--resize-subwindows-skip-p): Rename to
15700 window--resize-child-windows-skip-p.
15701 (window--resize-subwindows-normal): Rename to
15702 window--resize-child-windows-normal.
15703 (window--resize-subwindows): Rename to
15704 window--resize-child-windows.
15705 (window-or-subwindow-p): Rename to window--in-subtree-p.
15707 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15709 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15710 Ensure that mbox format messages end in two newlines (Bug#9974).
15712 2011-11-06 Chong Yidong <cyd@gnu.org>
15714 * window.el (window-combination-p): Function deleted; its
15715 side-effect is not used in any existing code.
15716 (window-combinations, window-combined-p): Call window-*-child
15719 2011-11-05 Chong Yidong <cyd@gnu.org>
15721 * window.el (window-valid-p): Rename from window-any-p.
15722 (window-size-ignore, window-state-get): Callers changed.
15723 (window-normalize-window): Rename from window-normalize-any-window.
15724 New arg LIVE-ONLY, replacing window-normalize-live-window.
15725 (window-normalize-live-window): Delete.
15726 (window-combination-p, window-combined-p, window-combinations)
15727 (walk-window-subtree, window-atom-root, window-min-size)
15728 (window-sizable, window-sizable-p, window-size-fixed-p)
15729 (window-min-delta, window-max-delta, window-resizable)
15730 (window-resizable-p, window-full-height-p, window-full-width-p)
15731 (window-current-scroll-bars, window-point-1, set-window-point-1)
15732 (window-at-side-p, window-in-direction, window-resize)
15733 (adjust-window-trailing-edge, maximize-window, minimize-window)
15734 (window-deletable-p, delete-window, delete-other-windows)
15735 (record-window-buffer, unrecord-window-buffer)
15736 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15737 (quit-window, split-window, window-state-put)
15738 (set-window-text-height, fit-window-to-buffer)
15739 (shrink-window-if-larger-than-buffer): Callers changed.
15741 2011-11-04 Eli Zaretskii <eliz@gnu.org>
15743 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15744 rfc2047-decode-string.
15745 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15748 * window.el (window-body-height, window-body-width): Mention in
15749 the doc string that the return values are in frame's canonical
15752 2011-11-03 Alan Mackenzie <acm@muc.de>
15754 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15755 change in cc-engine.el.
15757 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15759 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15761 2011-11-02 Martin Rudalics <rudalics@gmx.at>
15763 * window.el (quit-window): Call unrecord-window-buffer after
15764 showing another buffer in the window. (Bug#9937)
15765 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
15767 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
15769 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15770 Accept status with more than 9 shelves. (Bug#9935)
15771 Reported by Colin D Bennett <colin@gibibit.com>.
15773 2011-11-01 Martin Rudalics <rudalics@gmx.at>
15775 * help.el (with-help-window): Don't reference
15776 temp-buffer-show-specifiers in doc-string.
15778 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15780 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15783 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15785 * whitespace.el: New version 13.2.2.
15786 (whitespace-newline-mode): Disable properly. Reported by Sarah
15789 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
15791 * net/newst-treeview.el: Remove "Time-stamp".
15792 (newsticker--group-manage-orphan-feeds): Do not call
15793 newsticker--treeview-tree-update.
15794 (newsticker-treeview-update, newsticker-treeview):
15795 Call newsticker--treeview-tree-update if necessary.
15797 2011-10-30 Martin Rudalics <rudalics@gmx.at>
15799 * window.el (window-iso-combination-p, window-iso-combined-p)
15800 (window-iso-combinations): Remove "iso-" infix.
15801 Suggested by Chong Yidong.
15802 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15803 (window-max-delta-1, window-resize, window--resize-siblings)
15804 (window--resize-this-window, adjust-window-trailing-edge)
15805 (split-window, balance-windows-1)
15806 (shrink-window-if-larger-than-buffer):
15807 * calendar/calendar.el (calendar-generate-window):
15808 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
15810 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15812 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15813 in place (bug#9907).
15814 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15815 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15816 (eshell-structure-basic-command, eshell-rewrite-while-command)
15817 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15818 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15819 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15820 (eshell-do-pipelines-synchronously, eshell-eval-command):
15821 Use backquotes and prefer setq to set.
15822 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15823 (eshell-macrop): Use functionp.
15824 (eshell-do-eval): Handle multiple expressions in `while' body.
15826 2011-10-30 Chong Yidong <cyd@gnu.org>
15828 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15829 instead of set-mark (Bug#9810).
15831 2011-10-30 Chong Yidong <cyd@gnu.org>
15833 * window.el (split-window-below, split-window-right): Rename from
15834 split-window-above-each-other and split-window-side-by-side
15835 respectively. All callers changed.
15836 (split-window-sensibly, split-window-sensibly): Use them.
15837 (split-window-keep-point): Doc fix.
15839 * isearch.el: Add isearch-scroll property to split-window-below
15840 and split-window-right.
15842 * follow.el (follow-mode):
15843 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15844 * progmodes/ada-xref.el (ada-gdb-application):
15845 * emulation/vip.el (vip-buffer-in-two-windows):
15846 * image-dired.el (image-dired-dired-with-window-configuration):
15847 * dired-x.el (dired-do-find-marked-files):
15848 * dired.el (dired-pop-to-buffer):
15849 * bs.el (bs--show-with-configuration):
15850 * vc/emerge.el (emerge-setup-windows):
15851 * textmodes/two-column.el (2C-two-columns):
15852 * textmodes/reftex-toc.el (reftex-toc):
15853 * progmodes/gdb-mi.el (gdb-setup-windows):
15854 * progmodes/fortran.el (fortran-window-create):
15855 * net/newst-treeview.el (newsticker--treeview-window-init):
15856 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15857 * emulation/tpu-edt.el (tpu-gold-map):
15858 * emulation/crisp.el (crisp-mode-map):
15859 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15861 2011-10-29 Chong Yidong <cyd@gnu.org>
15863 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15865 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15867 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15868 forged Ispell output (Bug#7904).
15870 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15872 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15874 * doc-view.el: Avoid ugly errors about not finding nil.
15875 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15876 (doc-view-dvipdf-program, doc-view-unoconv-program)
15877 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15878 Avoid nil or absolute file name as default value.
15879 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15881 2011-10-28 Alan Mackenzie <acm@muc.de>
15883 * progmodes/cc-defs.el (c-version): -> 5.32.2.
15885 2011-10-28 Alan Mackenzie <acm@muc.de>
15887 Amend the handling of c-beginning/end-of-defun in nested declaration
15890 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15891 cc-langs.el. Change it to a defcustom.
15893 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15896 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15897 Prevent "class foo : bar" being spuriously recognized as a label.
15899 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
15900 Add parameter `inclusive' (to include enclosing braces in the region).
15901 (c-widen-to-enclosing-decl-scope): New function.
15902 (c-while-widening-to-decl-block): New macro.
15903 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15904 outward for defun boundaries, and correspondingly change symbol
15905 `respect-enclosure' to `go-outward'.
15906 (c-declaration-limits): Change algorithm to report only the "innermost"
15907 defun's boundaries.
15909 2011-10-28 Deniz Dogan <deniz@dogan.se>
15911 * net/rcirc.el (rcirc-mode): Use hard newlines.
15913 2011-10-28 Alan Mackenzie <acm@muc.de>
15915 Amend to indent and fontify macros "which include their own semicolon"
15916 correctly, using the "virtual semicolon" mechanism.
15918 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
15920 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15921 Recode to scan one line at a time rather than having \n and \r
15922 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
15923 (c-forward-label): Amend for virtual semicolons.
15924 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
15926 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15927 of the new C macros.
15929 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
15930 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15931 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
15932 (c-opt-cpp-macro-define): Make into a full language variable.
15933 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15934 AWK Mode (including \n, \r) removed, no longer needed.
15936 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15937 Invoke c-make-macro-with-semi-re.
15939 * progmodes/cc-vars.el (c-macro-with-semi-re):
15940 (c-macro-names-with-semicolon): New variables.
15941 (c-make-macro-with-semi-re): New function.
15943 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15945 * vc/log-edit.el: Fill empty field rather than adding new one.
15946 (log-edit-add-field): New function.
15947 (log-edit-insert-changelog): Use it.
15949 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15951 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15953 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15955 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15956 (gdb--check-interpreter): New function.
15959 2011-10-27 Glenn Morris <rgm@gnu.org>
15961 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15962 (least-positive-float, least-negative-float)
15963 (least-positive-normalized-float, least-negative-normalized-float)
15964 (float-epsilon, float-negative-epsilon):
15965 Remove unnecessary declarations.
15967 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15968 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15969 (least-positive-float, least-negative-float)
15970 (least-positive-normalized-float, least-negative-normalized-float)
15971 (float-epsilon, float-negative-epsilon): Add doc-strings,
15972 based on those in cl.texi.
15974 * files.el (set-visited-file-name): If the major-mode changed,
15975 reload the local variables. (Bug#9796)
15977 2011-10-27 Chong Yidong <cyd@gnu.org>
15979 * subr.el (change-major-mode-after-body-hook): New hook.
15980 (run-mode-hooks): Run it.
15982 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15983 Use change-major-mode-before-body-hook.
15985 * simple.el (fundamental-mode):
15986 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15987 change introducing fundamental-mode-hook.
15989 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
15991 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
15993 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
15995 * ido.el (ido-file-name-all-completions-1): Do not require
15996 tramp.el explicitly. (Bug#7583)
15998 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16000 * progmodes/octave-mod.el:
16001 * progmodes/octave-inf.el: Update maintainer.
16003 2011-10-26 Chong Yidong <cyd@gnu.org>
16005 * subr.el (with-wrapper-hook): Rewrite doc.
16007 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16009 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16010 filenames "/method:foo:". (Bug#9793)
16012 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16014 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16017 2011-10-24 Glenn Morris <rgm@gnu.org>
16019 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16021 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16023 * notifications.el: Add the requirement of a running D-Bus session
16024 bus to the Commentary.
16026 2011-10-24 Juri Linkov <juri@jurta.org>
16028 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16029 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16032 2011-10-24 Juri Linkov <juri@jurta.org>
16034 * info.el (Info-following-node-name-re): Add newline to the list
16035 of allowed characters for leading space. (Bug#9824)
16037 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16039 * progmodes/octave-inf.el (inferior-octave-mode-map):
16040 Fix C-c C-h binding.
16041 * progmodes/octave-mod.el (octave-help): Remove.
16043 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16045 Sync with Tramp 2.2.3.
16047 * net/tramp-cache.el (top): Pacify byte-compiler using
16048 `init-file-user' and `site-run-file'.
16050 * net/trampver.el: Update release number.
16052 2011-10-23 Chong Yidong <cyd@gnu.org>
16054 * files.el (toggle-read-only): Remove obsolete comment about
16057 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16058 for toggle-read-only. Note that this hasn't called vc-next-action
16059 since 2008-05-02, though it wasn't documented at the time.
16061 * vc/ediff-init.el (ediff-toggle-read-only-function):
16062 Use toggle-read-only.
16064 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16066 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16069 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16070 correct faulty logical expression.
16071 (c-parse-state-state, c-record-parse-state-state):
16072 (c-replay-parse-state-state): New defvar/defuns.
16073 (c-debug-parse-state): Use new functions.
16075 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16077 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16078 last fix. Use window-in-direction correctly.
16080 2011-10-21 Chong Yidong <cyd@gnu.org>
16082 * progmodes/idlwave.el (idlwave-mode):
16083 * progmodes/vera-mode.el (vera-mode): No need to set
16084 require-final-newline; that's done in prog-mode.
16085 Suggested by Stefan Monnier.
16087 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16089 * mouse.el (mouse-drag-window-above)
16090 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16091 (mouse-drag-mode-line-1, mouse-drag-header-line)
16092 (mouse-drag-vertical-line-rightward-window): Remove.
16093 (mouse-drag-line): New function.
16094 (mouse-drag-mode-line, mouse-drag-header-line)
16095 (mouse-drag-vertical-line): Call mouse-drag-line.
16096 * window.el (window-at-side-p, windows-at-side): New functions.
16098 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16100 * tar-mode.el (tar-grind-file-mode):
16101 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16103 2011-10-21 Chong Yidong <cyd@gnu.org>
16105 * progmodes/idlwave.el (idlwave-mode):
16106 * progmodes/vera-mode.el (vera-mode):
16107 Use mode-require-final-newline.
16109 2011-10-20 Glenn Morris <rgm@gnu.org>
16111 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16113 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16115 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16117 2011-10-20 Chong Yidong <cyd@gnu.org>
16119 * emulation/cua-base.el (cua-mode):
16120 * mail/footnote.el (footnote-mode):
16121 * mail/mailabbrev.el (mail-abbrevs-mode):
16122 * net/xesam.el (xesam-minor-mode):
16123 * progmodes/bug-reference.el (bug-reference-mode):
16124 * progmodes/cap-words.el (capitalized-words-mode):
16125 * progmodes/compile.el (compilation-minor-mode)
16126 (compilation-shell-minor-mode):
16127 * progmodes/gud.el (gud-tooltip-mode):
16128 * progmodes/hideif.el (hide-ifdef-mode):
16129 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16130 * progmodes/subword.el (subword-mode):
16131 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16132 * progmodes/which-func.el (which-function-mode):
16133 * term/tvi970.el (tvi970-set-keypad-mode):
16134 * term/vt100.el (vt100-wide-mode):
16135 * textmodes/flyspell.el (flyspell-mode):
16136 * textmodes/ispell.el (ispell-minor-mode):
16137 * textmodes/nroff-mode.el (nroff-electric-mode):
16138 * textmodes/paragraphs.el (use-hard-newlines):
16139 * textmodes/refill.el (refill-mode):
16140 * textmodes/reftex.el (reftex-mode):
16141 * textmodes/rst.el (rst-minor-mode):
16142 * textmodes/sgml-mode.el (html-autoview-mode)
16143 (sgml-electric-tag-pair-mode):
16144 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16145 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16146 * emulation/crisp.el (crisp-mode):
16147 * emacs-lisp/eldoc.el (eldoc-mode):
16148 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16149 minor mode behavior.
16151 2011-10-19 Juri Linkov <juri@jurta.org>
16153 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16154 the list of hard-coded chars with escape-glyph face.
16156 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16158 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16160 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16162 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16165 2011-10-19 Glenn Morris <rgm@gnu.org>
16167 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16168 Ignore ignored files. (Bug#9726)
16170 2011-10-19 Chong Yidong <cyd@gnu.org>
16172 Doc fix for minor modes, stating that an omitted argument enables
16173 the mode unconditionally when called from Lisp.
16175 * abbrev.el (abbrev-mode):
16176 * allout.el (allout-mode):
16177 * autoinsert.el (auto-insert-mode):
16178 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16179 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16180 (global-auto-revert-mode):
16181 * battery.el (display-battery-mode):
16182 * composite.el (global-auto-composition-mode)
16183 (auto-composition-mode):
16184 * delsel.el (delete-selection-mode):
16185 * desktop.el (desktop-save-mode):
16186 * dired-x.el (dired-omit-mode):
16187 * dirtrack.el (dirtrack-mode):
16188 * doc-view.el (doc-view-minor-mode):
16189 * double.el (double-mode):
16190 * electric.el (electric-indent-mode, electric-pair-mode):
16191 * emacs-lock.el (emacs-lock-mode):
16192 * epa-hook.el (auto-encryption-mode):
16193 * follow.el (follow-mode):
16194 * font-core.el (font-lock-mode):
16195 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16196 * help.el (temp-buffer-resize-mode):
16197 * hilit-chg.el (highlight-changes-mode)
16198 (highlight-changes-visible-mode):
16199 * hi-lock.el (hi-lock-mode):
16200 * hl-line.el (hl-line-mode, global-hl-line-mode):
16201 * icomplete.el (icomplete-mode):
16202 * ido.el (ido-everywhere):
16203 * image-file.el (auto-image-file-mode):
16204 * image-mode.el (image-minor-mode):
16205 * iswitchb.el (iswitchb-mode):
16206 * jka-cmpr-hook.el (auto-compression-mode):
16207 * linum.el (linum-mode):
16208 * longlines.el (longlines-mode):
16209 * master.el (master-mode):
16210 * mb-depth.el (minibuffer-depth-indicate-mode):
16211 * menu-bar.el (menu-bar-mode):
16212 * minibuf-eldef.el (minibuffer-electric-default-mode):
16213 * mouse-sel.el (mouse-sel-mode):
16214 * msb.el (msb-mode):
16215 * mwheel.el (mouse-wheel-mode):
16216 * outline.el (outline-minor-mode):
16217 * paren.el (show-paren-mode):
16218 * recentf.el (recentf-mode):
16219 * reveal.el (reveal-mode, global-reveal-mode):
16220 * rfn-eshadow.el (file-name-shadow-mode):
16221 * ruler-mode.el (ruler-mode):
16222 * savehist.el (savehist-mode):
16223 * scroll-all.el (scroll-all-mode):
16224 * scroll-bar.el (scroll-bar-mode):
16225 * server.el (server-mode):
16226 * shell.el (shell-dirtrack-mode):
16227 * simple.el (auto-fill-mode, transient-mark-mode)
16228 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16229 (line-number-mode, column-number-mode, size-indication-mode)
16230 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16231 * strokes.el (strokes-mode):
16232 * time.el (display-time-mode):
16233 * t-mouse.el (gpm-mouse-mode):
16234 * tool-bar.el (tool-bar-mode):
16235 * tooltip.el (tooltip-mode):
16236 * type-break.el (type-break-mode-line-message-mode)
16237 (type-break-query-mode):
16238 * view.el (view-mode):
16239 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16240 (global-whitespace-mode, global-whitespace-newline-mode):
16241 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16243 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16244 Fix autogenerated docstring.
16246 2011-10-19 Juri Linkov <juri@jurta.org>
16248 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16249 by checking environment variables "DESKTOP_SESSION" and
16250 "XDG_CURRENT_DESKTOP". (Bug#9779)
16252 2011-10-19 Juri Linkov <juri@jurta.org>
16254 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16255 (browse-url-chromium-program, browse-url-chromium-arguments):
16257 (browse-url-default-browser): Check for `browse-url-chromium' and
16258 call `browse-url-chromium-program'.
16259 (browse-url-chromium): New command. (Bug#9779)
16261 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16263 * facemenu.el (list-colors-duplicates): On Windows, detect more
16264 duplicates by assuming that only colors matching "^System" are
16265 special "system colors". (Bug#9722)
16267 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16269 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16270 to distinguish the author from the committer.
16272 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16274 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16276 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16278 * international/mule.el (sgml-html-meta-auto-coding-function):
16279 Add support for detecting encoding in HTML5 specified only as
16280 <meta charset="UTF-8">. Implementation just makes http-equiv and
16281 content-type parts from HTML4 encoding string optional. (Bug#9716)
16283 2011-10-18 Glenn Morris <rgm@gnu.org>
16285 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16287 2011-10-18 Chong Yidong <cyd@gnu.org>
16289 * faces.el (cursor): Doc fix.
16291 2011-10-17 Chong Yidong <cyd@gnu.org>
16293 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16295 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16297 * dirtrack.el (dirtrack): Support shell buffers with path
16298 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16300 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16302 * json.el: Bump version to 1.3 and note change in History.
16303 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16305 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16307 * comint.el (comint-insert-input, comint-send-input)
16308 (comint-get-old-input-default, comint-backward-matching-input)
16309 (comint-next-prompt): Use nil instead of `input' for field property of
16310 past user input (bug#114).
16312 * minibuffer.el (completion--replace): Inherit surrounding properties
16314 (minibuffer-complete-and-exit): Use it.
16316 * comint.el (comint--table-subvert): Quote the all-completions output
16319 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16321 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16323 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16324 window on right of selected. (Bug#9350) Reword other window
16325 entries and separate them from frame entries.
16327 2011-10-15 Glenn Morris <rgm@gnu.org>
16329 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16332 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16334 * net/network-stream.el (network-stream-open-starttls):
16335 Improve detection of failure due to lack of TLS support.
16337 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16338 putting the input text in front and in bold.
16340 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16342 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16344 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16347 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16348 unread-command-events rather than pushing yet-another event.
16350 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16352 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16353 the explanation of the possible choices. Make the options passed
16354 to completing-read shorter.
16356 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16358 * textmodes/flyspell.el (flyspell-large-region): Make sure
16359 extended character mode is used if defined (Bug#1339).
16361 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16363 * simple.el (what-cursor-position): Fix the display of the
16364 character info for LRE, LRO, RLE, and RLO characters by appending
16367 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16369 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16370 even in case of error; add debug spec; simplify data flow.
16371 (with-timeout-handler): Remove.
16373 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16375 Fix Bug#6019, Bug#9315.
16377 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16378 complete `buffer-file-name', the local file name part could look
16379 remotely (for example on VMS).
16381 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16382 `tramp-run-real-handler'.
16383 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16384 already quoted by '"'.
16386 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16387 Let `file-name-handler-alist' be nil, the local file name part
16388 could look remotely (for example on VMS).
16390 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16392 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16394 (flyspell-post-command-hook): ...to here.
16396 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16398 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16400 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16401 using completion. Protect against "slow" callers.
16402 Remove the "message hack".
16404 2011-10-11 Juri Linkov <juri@jurta.org>
16406 * isearch.el (isearch-lazy-highlight-word): New variable.
16407 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16410 2011-10-11 Glenn Morris <rgm@gnu.org>
16412 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16413 like f90-previous-statement does.
16415 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16417 * eshell/eshell.el (eshell-command): History should be saved
16418 only in interactive use, to avoid error.
16420 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16422 * minibuffer.el (completion-file-name-table): Fix last change,
16423 i.e. ignore normal errors but not the other ones.
16425 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16427 * window.el (special-display-buffer-names)
16428 (special-display-regexps): Remove some remnants of earlier
16429 changes from doc-strings.
16430 (quit-windows-on): New function.
16432 * vc/vc.el (vc-revert, vc-rollback):
16433 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16434 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16435 (Bug#6183) (Bug#7074) (Bug#7447)
16437 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16439 * window.el (frame-auto-hide-function): Add version tag.
16442 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16444 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16447 2011-10-09 Leo Liu <sdl.web@gmail.com>
16449 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16452 2011-10-08 Glenn Morris <rgm@gnu.org>
16454 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16455 before the first code statement zero indent. (Bug#9690)
16457 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16459 * simple.el (count-words-region): Always count in the region.
16460 Report the number of lines and characters too.
16461 (count-words): New command, which counts in the buffer if the
16462 region is inactive, as count-words-region used to.
16463 (count-words--message): New function. Handle plurals.
16464 (count-lines-region): Make it an alias for count-words-region.
16466 * bindings.el (esc-map): Replace count-lines-region with
16467 count-words-region.
16469 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16471 * window.el (window--delete): Delete dedicated frame
16472 unconditionally when argument KILL is non-nil. (Bug#9699)
16473 (switch-to-buffer): Fix doc-string typo.
16475 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16477 * eshell/eshell.el (eshell-command): Avoid using hooks.
16479 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16481 * bindings.el ([M-left],[M-right]): Bind to left-word and
16482 right-word respectively.
16484 2011-10-07 Glenn Morris <rgm@gnu.org>
16486 * cus-start.el (debug-on-quit): Fix custom type.
16488 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16490 * subr.el (define-key-after): Clarify that the function is not
16491 useful for non-menu keymaps.
16493 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16495 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16497 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16498 in current minibuffer (Fix bug with recursive minibuffers).
16500 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16502 * progmodes/gdb-mi.el (gdb): Doc fix.
16504 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16506 * window.el (frame-auto-hide-function): New option replacing
16507 frame-auto-delete. Suggested by Stefan Monnier.
16508 (window--delete): Call frame-auto-hide-function instead of
16509 investigating frame-auto-delete.
16510 (window-point-1, set-window-point-1): New functions.
16511 (window-in-direction, record-window-buffer, window-state-get-1)
16512 (display-buffer-record-window): Use window-point-1 instead of
16514 (set-window-buffer-start-and-point): Use set-window-point-1.
16516 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16518 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16520 2011-10-05 Glenn Morris <rgm@gnu.org>
16522 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16523 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16525 2011-10-05 Leo Liu <sdl.web@gmail.com>
16527 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16528 works with buffer object.
16530 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16532 * mpc.el (mpc-tool-bar-map): Add labels.
16534 2011-10-04 Glenn Morris <rgm@gnu.org>
16536 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16538 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16540 * window.el (window--delete): New function.
16541 (frame-auto-delete): Resuscitate option.
16542 (bury-buffer, replace-buffer-in-windows)
16543 (quit-window): Rewrite using window--delete.
16544 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16545 Pass display-buffer-mark-dedicated to window--display-buffer-2
16548 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16550 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16551 returns a list (bug#9554). Add remote file name completion.
16552 * comint.el (comint--table-subvert): Curry and get quote&unquote
16553 functions as arguments.
16554 (comint--complete-file-name-data): Adjust call accordingly.
16555 * pcomplete.el (pcomplete--table-subvert): Remove.
16556 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16558 * minibuffer.el (completion-table-case-fold): Use currying.
16559 (completion--styles-type, completion--cycling-threshold-type):
16561 (completion-styles, completion-category-overrides)
16562 (completion-cycle-threshold): Use them.
16563 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16564 completion-table-case-fold.
16566 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16568 * minibuffer.el (completion-category-overrides): Fix type of styles
16569 and add more user friendly tags (bug#9660).
16571 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16573 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16574 (mule-input-method-string): New widget.
16575 (default-input-method, language-info-custom-alist): Use it.
16577 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16579 * pcomplete.el: Require comint.
16580 (pcomplete--common-suffix): Remove.
16581 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16582 (pcomplete--table-subvert): Sync with comint--table-subvert.
16583 (pcomplete--entries): Use comint-completion-file-name-table.
16584 * comint.el (comint-unquote-filename): Simplify.
16585 (comint-completion-file-name-table): New function (bug#9616).
16586 (comint--complete-file-name-data): Use it.
16588 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16589 (pcmpl-gnu-tar-buffer): Remove.
16590 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16591 around. Make sure pcomplete-suffix-list is only changed temporarily.
16592 Don't look inside the tar's file if it's too large.
16594 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16596 * cus-edit.el (custom-mode-map):
16597 * epa.el (epa-key-list-mode-map):
16598 * man.el (Man-mode-map):
16599 * startup.el (splash-screen-keymap):
16600 * simple.el (special-mode-map): Use scroll-up-command and
16601 scroll-down-command.
16603 * progmodes/idlw-help.el (idlwave-help-mode-map):
16604 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16605 * net/newst-plainview.el (newsticker-mode-map):
16606 * emulation/ws-mode.el (wordstar-mode-map):
16607 * emulation/vi.el (vi-com-map):
16608 * calc/calc-graph.el (calc-graph-show-dumb):
16609 * term/sun.el (terminal-init-sun):
16610 * term/ns-win.el (global-map):
16611 * progmodes/grep.el (grep-mode-map):
16612 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16613 * mail/rmail.el (rmail-mode-map):
16614 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16616 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16617 custom-safe-themes as special.
16619 2011-10-01 Julien Danjou <julien@danjou.info>
16621 * notifications.el (notifications-notify): Fix docstring.
16623 2011-10-01 Per Starbäck <per@starback.se>
16625 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16627 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16629 * startup.el (command-line-1): Fix last fix by inserting
16630 initial-scratch-message into *scratch* before displaying it.
16631 (Bug#9605) and (Bug#9636)
16633 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16635 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16636 window is hscrolled, move by logical lines. (Bug#9607)
16637 (line-move-visual): Update the doc string to the above effect.
16639 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16641 * window.el (display-buffer-record-window): When WINDOW is the
16642 selected window use `point' instead of `window-point'. (Bug#9626)
16644 * startup.el (command-line-1): Use insert-before-markers when
16645 inserting initial-scratch-message. (Bug#9605)
16647 * help.el (help-window): Remove variable.
16649 2011-09-29 Glenn Morris <rgm@gnu.org>
16651 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16653 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16655 * descr-text.el (describe-char-categories): Accept category
16656 descriptions more than one line long.
16658 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16660 * simple.el (delete-trailing-whitespace): Fix last change.
16662 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16663 Don't confuse "y => 3" as the beginning of a `y' operation.
16665 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16666 object has more than 4 slots (bug#9613).
16668 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
16670 * subr.el (with-output-to-temp-buffer):
16671 * net/quickurl.el (quickurl, quickurl-browse-url):
16672 Fix typos in docstrings.
16674 2011-09-27 Eli Zaretskii <eliz@gnu.org>
16676 * minibuffer.el (completion-styles)
16677 (completion-category-overrides): Cross reference each other in doc
16680 2011-09-27 Glenn Morris <rgm@gnu.org>
16682 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16683 to split-string. (Bug#9606)
16685 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16687 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16690 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
16692 * emacs-lisp/package.el (list-packages): Fix echo area message.
16694 2011-09-27 Leo Liu <sdl.web@gmail.com>
16696 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16698 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
16700 * net/dbus.el (dbus-unregister-object): Don't release services for
16701 registered signals. (Bug#9581)
16703 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16705 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16706 function that picks between cfengine 2 and 3 support
16707 automatically. Update docs accordingly.
16709 2011-09-22 Kenichi Handa <handa@m17n.org>
16711 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16713 (indian-itrans-v5-table-for-tamil): New variable.
16714 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16716 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16718 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16719 that's true if the current command involved collapsing of text.
16720 It's reset to false at the beginning of the next command.
16721 (allout-post-command-business): Move the cursor to the beginning
16722 of entry if the cursor is hidden and collapsing activity just
16725 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
16727 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16728 tracking (Bug#9541).
16730 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
16732 * net/newst-reader.el (newsticker-html-renderer)
16733 (newsticker-show-news): Automatically load html rendering package
16734 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16735 because w3m-fill-column is let-bound" and the error "Symbol's value
16736 as variable is void: w3m-fill-column".
16738 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
16740 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16741 Release services only if they are defined. (Bug#9581)
16743 2011-09-23 Richard Stallman <rms@gnu.org>
16745 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16746 distinguish start of paragraph from start of its text.
16748 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16750 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16751 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16752 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16754 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16756 * international/mule-diag.el (mule-diag): Insert a newline after
16757 each fontset description.
16759 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16761 * simple.el (delete-trailing-whitespace):
16762 Document last change; simplify.
16764 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16766 * simple.el (delete-trailing-whitespace): Also delete
16767 extra newlines at the end of the buffer.
16769 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16770 (picture-newline): Use forward-line so as to ignore fields.
16772 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16774 * subr.el (with-wrapper-hook): Fix edebug spec.
16776 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16778 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16781 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
16783 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16784 Fix nasty bug using wrong cached values.
16786 2011-09-23 Alan Mackenzie <acm@muc.de>
16788 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16790 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
16792 * window.el (pop-to-buffer): Ensure right window is selected if we
16793 chose another frame.
16795 2011-09-22 Eli Zaretskii <eliz@gnu.org>
16797 * simple.el (what-cursor-position): Use get-char-property-change
16798 and next-single-char-property-change, to be able to show display
16799 properties that come from overlays as well as text properties.
16801 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
16803 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16805 * cmuscheme.el (run-scheme, switch-to-scheme):
16806 * cus-edit.el (customize-group, custom-buffer-create)
16807 (customize-browse):
16809 * shell.el (shell):
16810 * mail/sendmail.el (mail):
16811 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16813 2011-09-22 Richard Stallman <rms@gnu.org>
16815 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16816 move back only to line beg, don't move back over blank lines.
16818 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
16820 * files.el (copy-directory): Set directory attributes only in case
16821 they could be retrieved from the source directory. (Bug#9565)
16823 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16825 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16826 (hs-find-block-beginning, hs-hide-level-recursive):
16827 Ignore strings as well as comments. (Bug#9502)
16829 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16831 * progmodes/sql.el (sql-comint-postgres):
16832 Convert port number to a string. (Bug#9566)
16834 2011-09-22 Martin Rudalics <rudalics@gmx.at>
16836 * window.el (quit-window): Undedicate window when switching to
16837 previous buffer. Reported by Thierry Volpiatto
16838 <thierry.volpiatto@gmail.com>.
16839 (special-display-popup-frame): When popping up a new frame reset
16840 its previous buffers to nil. Simplify code.
16842 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
16844 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16845 and process filter, as done also in `shell-command'.
16847 2011-09-21 Martin Rudalics <rudalics@gmx.at>
16849 * window.el (set-window-buffer-start-and-point):
16850 Call set-window-start with NOFORCE argument t.
16851 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16852 (quit-window): Reword doc-string. Handle new format of
16853 quit-restore parameter. Don't delete window if it has a
16854 previous buffer we can show instead of the present one.
16855 (display-buffer-record-window): Rewrite using a new format for
16856 the quit-restore window parameter
16857 (special-display-popup-frame, display-buffer-same-window)
16858 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16859 (display-buffer-pop-up-window, display-buffer-use-some-window):
16860 Adapt symbol passed to display-buffer-record-window.
16861 * help.el (help-window-setup): Handle new format of quit-restore
16864 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16866 * faces.el (face-list): Fix docstring (bug#9564).
16868 * window.el (display-buffer--action-function-custom-type):
16869 Don't include internal functions in the Custom interface.
16871 2011-09-20 Juri Linkov <juri@jurta.org>
16873 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16874 (Info-forward-node, Info-backward-node, Info-next-preorder)
16875 (Info-last-preorder): Use it. (Bug#9528)
16877 2011-09-20 Juri Linkov <juri@jurta.org>
16879 * info.el (Info-last-preorder): Visit last menu item only when
16880 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16882 2011-09-20 Julien Danjou <julien@danjou.info>
16884 * password-cache.el (password-cache-remove): Remove entries even if the
16885 value is nil, so that password with a nil value (negative caching) is
16886 possible to invalidate.
16888 2011-09-20 Lawrence Mitchell <wence@gmx.li>
16890 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16891 all whitespace around breakpoint. (Bug#9553)
16892 (f90-find-breakpoint): Only break at whitespace inside a comment.
16894 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16896 * minibuffer.el (completion-file-name-table): Keep track of errors.
16897 (completion-table-with-predicate): Handle the case where pred1 is nil.
16898 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16900 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16902 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16903 (debugger-return-value): Signal an error if the debugging context does
16904 not await any return value.
16906 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16907 * image-mode.el (image-toggle-display-text)
16908 (image-toggle-display-image): Stay away from evil `intangible'.
16910 2011-09-19 Leo Liu <sdl.web@gmail.com>
16912 * replace.el (occur-revert-arguments): Make it permanent-local.
16913 (occur-mode): Don't call font-lock-defontify.
16915 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
16917 * net/ldap.el (ldap-search-internal): Don't push empty search
16920 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16922 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16924 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
16926 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16927 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16929 2011-09-18 Juri Linkov <juri@jurta.org>
16931 * buff-menu.el (Buffer-menu-mode-map):
16932 * dired.el (dired-mode-map):
16933 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16934 (lisp-interaction-mode-map):
16935 * emacs-lisp/package.el (package-menu-mode-map):
16936 * epa.el (epa-key-list-mode-map):
16937 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16938 (menu-bar-options-menu):
16939 * outline.el (outline-mode-menu-bar-map):
16940 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16941 * vc/vc-dir.el (vc-dir-menu-map):
16942 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16943 Capitalize non-function content words in menu item strings.
16945 * dired.el (dired-mode-map): Add menu item for
16946 `image-dired-dired-toggle-marked-thumbs'.
16948 2011-09-18 Juri Linkov <juri@jurta.org>
16950 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16951 to `isearch-case-fold-search' and restore its original value
16952 after the `isearch-mode' call.
16954 2011-09-18 Juri Linkov <juri@jurta.org>
16956 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16957 because `zgrep' returns 1 for successful matches (bug#9226).
16959 2011-09-18 Juri Linkov <juri@jurta.org>
16961 * info.el (Info-extract-menu-node-name): Check the second match
16962 for empty string (second test-case of bug#9528).
16963 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16964 intermediate nodes to the history (first test-case of bug#9528).
16966 2011-09-18 Juri Linkov <juri@jurta.org>
16968 * info.el (Info-mode-syntax-table): New variable.
16969 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
16971 2011-09-18 Juri Linkov <juri@jurta.org>
16973 * info.el (Info-file-supports-index-cookies):
16974 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16975 outputs one more line for long file names (bug#4142).
16977 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
16979 * newcomment.el (comment-normalize-vars): If prompting for
16980 comment-start, set comment-start-skip too (Bug#8424).
16982 2011-09-18 Johan Bockgård <bojohan@gnu.org>
16984 * icomplete.el: Fix previous fix of Bug#5849.
16985 (icomplete-mode): Don't set completion-show-inline-help.
16986 (icomplete-minibuffer-setup): Set completion-show-inline-help
16987 locally during icompletion.
16989 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
16991 * woman.el (woman2-process-escapes): Don't delete unrecognized
16992 escapes (Bug#7843).
16994 * files.el (inhibit-first-line-modes-regexps): Add image files.
16995 (hack-local-variables-prop-line): Return nil for malformed
16996 prop-lines (Bug#9044).
16998 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17000 * net/tramp.el (top): Don't require 'shell.
17001 (tramp-methods): Fix docstring.
17002 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17003 Return complete remote file name. Handle "smb" case.
17004 Use `tramp-tmpdir', if defined for the respective method.
17005 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17007 * net/tramp-compat.el (top): Require 'shell.
17009 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17010 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17011 `tramp-current-host'.
17012 (tramp-get-remote-tmpdir): Remove.
17014 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17015 `tramp-tmpdir' entries.
17016 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17017 (tramp-smb-handle-file-attributes): Ignore errors.
17018 (tramp-smb-wait-for-output): Check also for process end.
17020 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17022 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17023 when sending QUIT (bug#9312).
17025 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17027 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17028 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17029 occur-mode-display-occurrence.
17030 (occur-edit-mode): Add usage message.
17031 (occur-cease-edit): New command.
17032 (occur-after-change-function): Use text properties to find the
17033 position of the prefix text.
17034 (occur-engine): Set stickiness of prefix text properties.
17036 2011-09-17 Glenn Morris <rgm@gnu.org>
17038 * progmodes/etags.el (complete-tag):
17039 Fix call to completion-in-region. (Bug#9526)
17041 2011-09-17 Juri Linkov <juri@jurta.org>
17043 * textmodes/ispell.el (ispell-word): Add to the error message
17044 the word, ispell program name and current dictionary (bug#9121).
17045 (ispell-tex-arg-end): Capitalize "error" in the error message.
17047 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17049 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17052 2011-09-17 Juri Linkov <juri@jurta.org>
17054 * window.el (window-safe-min-height, window-safe-min-width):
17055 Fix typos (followup to bug#9522).
17057 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17059 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17061 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17063 * simple.el (line-move): If goal-column is set, move by logical
17064 lines, not by display lines. (Bug#971)
17065 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17066 to reflect the above change.
17068 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17070 * image.el (imagemagick-register-types): Use regexp-opt.
17072 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17074 * window.el (display-buffer-base-action): Rename from
17075 display-buffer-default-action. Make default value empty.
17076 (display-buffer-overriding-action): Convert to defvar.
17077 (display-buffer-fallback-action): New var.
17079 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17081 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17083 (package--add-to-archive-contents): If there is a duplicate entry
17084 with an older version, remove it.
17085 (package-menu-mark-delete, package-menu-mark-install)
17086 (package-menu-mark-unmark): Make unused args optional.
17087 (package-menu-mark-obsolete-for-deletion):
17088 Use package-menu-get-status instead of a regexp search.
17089 (package-menu-get-status): Use tabulated-list-entry.
17090 (package-menu-mark-upgrades): New command.
17091 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17092 (package-menu-execute): Do installation before deletion.
17093 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17094 instead of checking major-mode.
17095 (package-menu--find-upgrades): New function.
17097 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17099 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17100 passwords in the log buffer.
17101 (smtpmail-process-filter): Update the process marker so that the
17102 "broken by peer" status message is inserted in the right place.
17104 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17106 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17107 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17108 bibtex-completion-at-point-function.
17109 (bibtex-completion-at-point-function): Use them.
17111 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17113 * mpc.el (mpc-constraints-tag-lookup): New function.
17114 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17115 also to browser "album|playlist".
17117 2011-09-14 Juri Linkov <juri@jurta.org>
17119 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17120 (isearch-edit-string): Use length of `isearch-string' when
17121 `isearch-fail-pos' returns nil.
17122 (isearch-message): Remove duplicate code and call
17123 `isearch-fail-pos' with arg `t'.
17125 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17127 * replace.el (occur-mode-goto-occurrence): Don't force using other
17130 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17132 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17134 * window.el (display-buffer-window): Remove.
17135 (display-buffer-record-window): Use help-setup window parameter
17136 instead of variable display-buffer-window.
17137 (display-buffer-function, special-display-buffer-names)
17138 (special-display-function): Mention help-setup parameter instead
17139 of display-buffer-window in doc-string.
17140 * help.el (help-window-setup): New argument help-window.
17141 Use help-window-setup parameter instead of display-buffer-window.
17142 Reword some messages.
17143 (with-help-window): Pass window used for displaying the buffer
17144 to help-window-setup. Don't set display-buffer-window.
17146 2011-09-13 Glenn Morris <rgm@gnu.org>
17148 * emacs-lisp/debug.el (debugger-make-xrefs):
17149 Preserve point. (Bug#9462)
17151 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17153 * window.el (window-deletable-p): Use next-frame.
17155 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17157 * window.el (window-auto-delete): Remove.
17158 (window-deletable-p): Remove argument FORCE. Don't deal with
17159 dedication and previous buffers.
17160 (switch-to-prev-buffer): Don't delete window.
17161 (delete-windows-on): Delete a window's frame if and only if the
17162 window is dedicated.
17163 (replace-buffer-in-windows): Delete buffer's window or frame if
17164 and only if window is dedicated.
17165 (quit-window): Handle quit-restore as before last change.
17166 (bury-buffer): Delete window only if window-deletable-p returns t.
17168 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17170 * window.el (window-deletable-p): Never delete the last frame on a
17173 2011-09-13 Glenn Morris <rgm@gnu.org>
17175 * help.el (describe-key-briefly): Copy previous standard-output change.
17177 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17179 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17181 2011-09-13 Glenn Morris <rgm@gnu.org>
17183 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17184 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17186 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17188 * dired-aux.el (dired-mark-read-string): Don't return default
17189 value on empty input (Bug#9361).
17190 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17191 Omit initial minibuffer contents.
17192 (dired-do-chmod): Signal an error on empty input.
17193 (dired-mark-read-string): Don't return default on empty input.
17195 * files.el (file-modes-symbolic-to-number): Doc fix.
17197 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17199 * international/mule-cmds.el (ucs-completions): Remove.
17200 (read-char-by-name): Use complete-with-action instead; add metadata.
17202 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17204 * window.el (display-buffer--action-function-custom-type)
17205 (display-buffer--action-custom-type): New vars.
17206 (display-buffer-alist, display-buffer-default-action)
17207 (display-buffer-overriding-action): Add defcustom types.
17209 * frame.el (delete-other-frames): Doc fix (Bug#276).
17211 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17213 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17215 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17217 Change modes that used same-window-* vars to use switch-to-buffer.
17219 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17220 Use switch-to-buffer.
17222 * cus-edit.el (customize-group, custom-buffer-create)
17223 (customize-browse, custom-buffer-create-other-window):
17224 Use switch-to-buffer or switch-to-buffer-other-window.
17226 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17227 (Info-prev, Info-up, Info-speedbar-goto-node)
17228 (info-display-manual): Use switch-to-buffer.
17229 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17231 * mail/sendmail.el (mail): Use switch-to-buffer.
17232 (mail-recover): Use switch-to-buffer-other-window.
17234 * cmuscheme.el (run-scheme, switch-to-scheme):
17236 * shell.el (shell):
17237 * net/rlogin.el (rlogin):
17238 * net/telnet.el (telnet, rsh):
17239 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17241 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17243 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17245 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17247 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17248 so don't mention it (bug#9301).
17249 (dired-sort-toggle-or-edit): Clarify string further.
17251 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17252 match `x', `w32' and `ns', like the manual says (bug#9029).
17254 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17255 (process-kill-buffer-query-function): Mention the buffer name in
17258 * image-mode.el (image-next-line): The line parameter is mandatory
17261 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17262 which can be useful (bug#9301).
17264 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17266 * subr.el (match-string): Mention that the current buffer should
17267 be the same as the search was done in (bug#9282).
17269 * facemenu.el: Disable the remove-* commands if the mark isn't
17272 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17274 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17276 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17278 * replace.el (occur-mode-goto-occurrence)
17279 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17280 and display-buffer.
17282 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17285 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17286 special-display and same-window variables.
17287 (mail-other-window): Use switch-to-buffer-other-window.
17288 (mail-other-frame): USe switch-to-buffer-other-frame.
17290 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17291 Use display-buffer-other-frame.
17292 (gdb-display-gdb-buffer): Use pop-to-buffer.
17294 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17296 * progmodes/python.el: Don't set same-window-buffer-names.
17298 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17300 * window.el (display-buffer-alist): Add *Python*.
17302 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17304 * window.el (display-buffer-alist): Add entry for buffers
17305 previously handled same-window-*.
17306 (display-buffer-alist, display-buffer-default-action)
17307 (display-buffer-overriding-action): Mark as risky.
17308 (display-buffer-alist): Document action function changes.
17309 (display-buffer--same-window-action)
17310 (display-buffer--other-frame-action): New variables.
17311 (switch-to-buffer, display-buffer-other-frame): Use them.
17312 (display-buffer): Rename reuse-frame entry to reusable-frames.
17313 (display-buffer-reuse-selected-window): Function deleted.
17314 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17315 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17316 (display-buffer-special): New function.
17317 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17318 display-buffer-reuse-or-pop-window. Split off special-display
17319 part into display-buffer-special.
17320 (display-buffer-use-some-window): Don't perform any special
17321 pop-up-frames handling.
17322 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17323 (display-buffer--maybe-same-window): Rename from
17324 display-buffer-maybe-same-window.
17326 * info.el: Don't set same-window-regexps.
17327 (info-setup): New function.
17328 (info-other-window, info): Call it.
17330 * cus-edit.el: Don't set same-window-regexps.
17331 (customize-group): New argument.
17332 (customize-group-other-window): Use it.
17333 (customize-face, customize-face-other-window): Likewise.
17334 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17338 * progmodes/gud.el: Don't set same-window-regexps.
17343 * mail/sendmail.el:
17344 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17346 2011-09-10 Juri Linkov <juri@jurta.org>
17348 * isearch.el (isearch-edit-string): Remove obsolete mention of
17349 `C-w' (`isearch-yank-word-or-char') from docstring.
17350 (isearch-query-replace): Fix typo in docstring (bug#9466).
17352 2011-09-10 Juri Linkov <juri@jurta.org>
17354 * paren.el (show-paren-function): Don't show escaped parens.
17355 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17357 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17359 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17360 (mm-default-file-encoding): Remove autoload forms, they are
17361 replaced with autoload cookies in mml.el and mm-encode.el.
17362 (mail-add-attachment): New command.
17363 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17364 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17366 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17368 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17370 * simple.el (count-words-region): Use buffer if there's no region
17373 2011-09-09 Juri Linkov <juri@jurta.org>
17375 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17376 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17377 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17379 2011-09-09 Alan Mackenzie <acm@muc.de>
17381 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17382 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17384 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17386 Fix for Savannah bug#9392.
17387 * simple.el (mail-encode-mml): New defvar.
17389 * mail/rmail.el (mail-encode-mml): Add a defvar.
17390 (rmail-enable-mime-composing): Default to t.
17391 (rmail-forward): Use MIME method of forwarding only if both
17392 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17393 Set mail-encode-mml non-nil if the MIME method was used.
17395 * mail/sendmail.el (mml-to-mime): Add autoload form.
17396 (mail-encode-mml): Add a defvar.
17397 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17399 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17400 message through mml-to-mime, and reset mail-encode-mml to nil.
17402 2011-09-09 Glenn Morris <rgm@gnu.org>
17404 * woman.el (woman-if-body): When processing an .el block,
17405 do not delete the next .el block as well. (Bug#9447)
17406 (woman-special-characters): Add oq, cq, and hy characters.
17408 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17410 * window.el (window-deletable-p): Make sure window is live before
17411 invoking window-prev-buffers.
17413 2011-09-08 Leo Liu <sdl.web@gmail.com>
17415 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17417 2011-09-08 Juri Linkov <juri@jurta.org>
17419 * progmodes/compile.el (compilation-environment): Make it
17420 a defcustom (bug#8340).
17422 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17424 * window.el (frame-auto-delete): Rename to window-auto-delete.
17425 Make it control auto-deletion of windows and/or frames.
17426 (window-deletable-p): New argument FORCE. Rewrite conditions
17427 for deleting window/frame. (Bug#9419)
17428 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17429 Rewrite handling of case when window/frame can be deleted.
17430 (delete-windows-on): Call window-deletable-p with new FORCE
17431 argument t. (Bug#9456)
17433 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17435 * help-mode.el (help-mode): Restore autoload.
17437 2011-09-07 Juri Linkov <juri@jurta.org>
17439 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17440 `compilation-environment'. Set buffer-local
17441 `compilation-environment' to `thisenv' later after (funcall mode).
17444 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17445 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17446 instead of replacing its value. (Bug#8340)
17448 2011-09-07 Juri Linkov <juri@jurta.org>
17450 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17451 based on text properties put by `grep-filter' instead of matching
17453 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17454 to the value of `grep-error-screen-columns' (bug#9438).
17456 2011-09-07 Juri Linkov <juri@jurta.org>
17458 * simple.el (next-error-highlight, next-error-highlight-no-select):
17459 Doc fix (bug#9432).
17461 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17463 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17464 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17466 2011-09-07 Leo Liu <sdl.web@gmail.com>
17468 * net/rcirc.el (rcirc-mode): Conditionally initialize
17471 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17473 * emacs-lisp/find-func.el (find-function-C-source): Only set
17474 find-function-C-source-directory after checking that we found a source
17475 file there (bug#9440).
17477 2011-09-06 Alan Mackenzie <acm@muc.de>
17479 * isearch.el (isearch-other-meta-char): Wherever a key list is
17480 unread, "unread" the prefix arg, too. This fixes bug #8901.
17482 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17484 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17486 2011-09-05 Juri Linkov <juri@jurta.org>
17488 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17490 2011-09-05 Juri Linkov <juri@jurta.org>
17492 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17493 keeping point where processing of grep matches begins, and
17494 continue to delete remaining escape sequences from the same point.
17495 (grep-filter): Make leading zero optional in "0?1;31m" because
17496 git-grep emits "\033[1;31m" escape sequences unlike expected
17497 "\033[01;31m" as GNU Grep does (bug#9408).
17498 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17500 2011-09-05 Juri Linkov <juri@jurta.org>
17502 * subr.el (y-or-n-p): Capitalize "yes".
17504 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17506 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17507 `tramp-cache-unload-hook' where appropriate.
17508 (tramp-methods): Rename `tramp-remote-sh' to
17509 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17510 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17512 * net/tramp-sh.el (top): Don't require 'shell.
17513 (tramp-methods): Add `tramp-remote-shell' and
17514 `tramp-remote-shell-args' entries.
17515 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17516 (tramp-sh-handle-shell-command): Remove.
17517 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17518 Use `tramp-remote-shell'.
17520 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17522 * mail/sendmail.el (sendmail-query-once-function): Delete.
17523 (sendmail-query-once): Save directly to send-mail-function.
17524 Update message-send-mail-function too.
17526 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17528 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17530 * progmodes/python.el (python-mode-map): Use correct function to
17531 start python interpreter from menu-bar (as reported by Geert
17533 (inferior-python-mode-map): Fix typo.
17534 (python-shell-map): Remove.
17536 2011-09-03 Deniz Dogan <deniz@dogan.se>
17538 * net/rcirc.el (rcirc-print): Simplify code for
17539 rcirc-scroll-show-maximum-output. There is no need to walk
17540 through all windows to find the right one.
17542 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17544 * help.el (help-return-method): Doc fix.
17546 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17548 * window.el (window-deletable-p): Don't return a non-nil value
17549 when there's a buffer that was shown in the window before.
17551 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17552 Set window's previous buffers to nil.
17554 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17556 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17557 newline before and after the tag line, so it doesn't interfere
17558 with determining the paragraph direction of bidirectional text.
17560 2011-09-03 Leo Liu <sdl.web@gmail.com>
17562 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17564 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17566 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17567 (pop-to-buffer): Change interactive spec. Pass second argument
17568 directly to display-buffer.
17569 (display-buffer): Fix interactive spec. Use functionp to
17570 distinguish between a function and a list of functions.
17572 * abbrev.el (edit-abbrevs):
17573 * arc-mode.el (archive-extract):
17574 * autoinsert.el (auto-insert):
17575 * bookmark.el (bookmark-bmenu-list):
17576 * files.el (find-file):
17577 * view.el (view-buffer):
17578 * progmodes/compile.el (compilation-goto-locus):
17579 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17581 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17583 * window.el (display-buffer-alist): Doc fix.
17584 (display-buffer): Add docstring. Don't treat
17585 display-buffer-default specially.
17586 (display-buffer-reuse-selected-window)
17587 (display-buffer-same-window, display-buffer-maybe-same-window)
17588 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17589 (display-buffer-pop-up-window)
17590 (display-buffer-reuse-or-pop-window)
17591 (display-buffer-use-some-window): New functions.
17592 (display-buffer-default-action): Use them.
17593 (display-buffer-default): Delete.
17594 (pop-to-buffer-1): Fix choice of actions.
17596 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17598 * minibuffer.el (completion--insert-strings): Don't get confused by
17599 completion entries that end with an LF char.
17601 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17603 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17605 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17607 * window.el (display-buffer): Restore interactive spec.
17608 (display-buffer-same-window, display-buffer-other-window):
17610 (pop-to-buffer-1): New function. Use the above.
17611 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17612 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17614 * view.el (view-buffer-other-window, view-buffer-other-frame):
17615 Just use pop-to-buffer.
17617 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17619 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17621 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17623 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17625 2011-08-31 Richard Stallman <rms@gnu.org>
17627 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17628 of the separation of rmail-view-buffer from rmail-buffer.
17629 If you say no to "replace original", the decrypt is in the
17630 view buffer. If you say yes, the decrypt goes into the
17633 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17635 * window.el (display-buffer-window): Rewrite doc-string.
17636 (display-buffer-record-window): New function.
17637 (display-buffer-macro-specifiers)
17638 (display-buffer-even-window-sizes, display-buffer-set-height)
17639 (display-buffer-set-width, display-buffer-in-window)
17640 (display-buffer-reuse-window, display-buffer-split-specifiers)
17641 (display-buffer-side-specifiers, display-buffer-split-window-1)
17642 (display-buffer-split-window, display-buffer-split-atom-window)
17643 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17644 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17645 (display-buffer-other-window-means-other-frame)
17646 (display-buffer-normalize-special)
17647 (display-buffer-normalize-default)
17648 (display-buffer-normalize-argument)
17649 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17650 (display-buffer-normalize-specifiers, display-buffer-frame)
17651 (display-buffer-same-window, display-buffer-same-frame)
17652 (display-buffer-other-window)
17653 (display-buffer-same-frame-other-window)
17654 (display-buffer-other-frame, pop-to-buffer-same-window)
17655 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17656 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17657 (switch-to-buffer-same-frame)
17658 (switch-to-buffer-other-window-same-frame)
17659 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17660 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17661 (display-buffer-alist-set): Remove.
17662 (display-buffer-function, special-display-buffer-names)
17663 (special-display-regexps, special-display-function):
17664 In doc-string refer to display-buffer-window and quit-restore
17666 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17667 (special-display-frame-alist, special-display-popup-frame)
17668 (same-window-buffer-names, same-window-regexps, same-window-p)
17669 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17670 (split-window-preferred-function, split-height-threshold)
17671 (split-width-threshold, window-splittable-p)
17672 (split-window-sensibly, window--try-to-split-window)
17673 (window--frame-usable-p, even-window-heights)
17674 (window--even-window-heights, window--display-buffer-1)
17675 (window--display-buffer-2, display-buffer-other-frame):
17676 Restore old Emacs 23 code, order and doc-strings where applicable.
17677 (display-buffer-default, display-buffer-assq-regexp): New functions.
17678 (display-buffer-alist): Rewrite doc-string.
17679 (display-buffer-default-action)
17680 (display-buffer-overriding-action): New variables.
17681 (display-buffer, switch-to-buffer): Rewrite.
17682 (pop-to-buffer): Restore Emacs 23 behavior but use
17683 window-normalize-buffer-to-display.
17684 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17685 Restore Emacs 23 behavior but use
17686 window-normalize-buffer-to-switch-to.
17687 (pop-to-buffer-same-window): Rewrite.
17688 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17689 Rewrite using Emacs 23 options.
17691 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
17693 * net/tramp.el (tramp-root-regexp): Remove.
17694 (tramp-completion-file-name-regexp-unified)
17695 (tramp-completion-file-name-regexp-separate)
17696 (tramp-completion-file-name-regexp-url): Don't use leading volume
17697 letter on w32 systems. (Bug#5303, Bug#9311)
17698 (tramp-drop-volume-letter): Simplify definition.
17699 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
17701 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17703 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17706 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17708 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
17710 2011-08-29 Juri Linkov <juri@jurta.org>
17712 * isearch.el (isearch-done): Don't display message "Mark saved"
17713 when arg `edit' is non-nil to prevent its flicker in the echo area.
17715 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17717 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17718 obsolete packages for deletion.
17720 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17722 * help-mode.el (help-mode-map): Add special-mode-map to parent.
17723 (help-mode): Derive help-mode from special-mode. Don't invoke
17724 view-mode from help-mode.
17725 (help-xref-override-view-map): Remove.
17726 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17727 view-mode is not used anymore.
17729 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17731 * server.el (server-port): Doc fix.
17733 * cus-theme.el (custom-theme-choose-mode): Inherit from
17734 special-mode (Bug#9124).
17735 (custom-theme-choose-mode-map): Add special-mode to parent.
17737 2011-08-28 Alan Mackenzie <acm@muc.de>
17739 * progmodes/cc-fonts.el
17740 (c-make-font-lock-BO-decl-search-function): New function.
17741 (c-basic-matchers-after - "Fontify the clauses after various
17742 keywords"): Extract the three keyword lists for the 3 erroneous
17743 constructs from the list of four, and use the new function above
17744 in place of an old one.
17746 2011-08-28 Deniz Dogan <deniz@dogan.se>
17748 * net/rcirc.el (rcirc-insert-prev-input)
17749 (rcirc-insert-next-input): Remove unused argument.
17751 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17753 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17755 2011-08-27 Alan Mackenzie <acm@muc.de>
17757 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17758 handle function pointer parameters properly.
17760 2011-08-27 Martin Rudalics <rudalics@gmx.at>
17762 * window.el (display-buffer-reuse-window): Fix case where
17763 selected window was reused with non-nil OTHER-WINDOW argument.
17766 2011-08-27 Deniz Dogan <deniz@dogan.se>
17768 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17769 oftc's NickServ messages.
17771 2011-08-27 Glenn Morris <rgm@gnu.org>
17773 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17775 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
17777 * emacs-lisp/package.el (package-install): Call package-initialize
17778 if called interactively.
17780 2011-08-26 Leo Liu <sdl.web@gmail.com>
17782 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17784 2011-08-25 Juri Linkov <juri@jurta.org>
17786 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17787 `search-whitespace-regexp' (bug#9364).
17789 2011-08-25 Juri Linkov <juri@jurta.org>
17791 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17792 `regexp-search-ring' to their global values to protect from
17793 updating by `read-from-minibuffer' (bug#9185).
17795 2011-08-25 Juri Linkov <juri@jurta.org>
17797 * textmodes/ispell.el (ispell-command-loop): Add newline
17798 at the end of the "Use option `i'..." line.
17800 2011-08-25 Juri Linkov <juri@jurta.org>
17802 * battery.el (display-battery-mode): If `battery-status-function'
17803 or `battery-mode-line-format' is nil, display the message and set
17804 `display-battery-mode' to nil (bug#9363).
17806 2011-08-25 Eli Zaretskii <eliz@gnu.org>
17808 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17809 bidi-string-mark-left-to-right; they are unnecessary now.
17811 2011-08-25 Deniz Dogan <deniz@dogan.se>
17813 * net/quickurl.el: Documentation typo fixes.
17815 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
17817 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17819 2011-08-25 Glenn Morris <rgm@gnu.org>
17821 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17823 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17824 (smtpmail-via-smtp): Handle nil response from smtp.
17826 2011-08-24 Juri Linkov <juri@jurta.org>
17828 * proced.el (proced-marked): Inherit from `error' instead of
17829 `font-lock-warning-face'.
17831 * ibuffer.el (ibuffer-marked-face): Change default face from
17832 `font-lock-warning-face' to `warning'.
17833 (ibuffer-deletion-face): Change default face from
17834 `font-lock-type-face' to `error'.
17836 * battery.el (battery-update): Use the face `error' instead of
17837 `font-lock-warning-face' (bug#6117).
17839 2011-08-24 Juri Linkov <juri@jurta.org>
17841 * faces.el (success): Change face color from "Green3" to
17842 "ForestGreen" on light background (bug#9353).
17844 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
17846 * window.el (quit-window): Rename from quit-restore-window.
17847 Use same arglist as old quit-window.
17848 (frame-auto-delete): Doc fix.
17850 * view.el (view-mode-exit): Use quit-window.
17852 2011-08-24 Juri Linkov <juri@jurta.org>
17854 * isearch.el (isearch-ring-adjust1): Start visiting previous
17855 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17856 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17857 for empty search string (when the last search string is reused
17858 automatically) to adjust the isearch ring to the last element and
17859 prepare the correct index for further M-p commands (bug#9185).
17861 2011-08-24 Kenichi Handa <handa@m17n.org>
17863 * international/ucs-normalize.el: If decomposition property of
17864 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17866 (nfd, nfkd): Likewise.
17868 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17870 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17871 from process filters aren't reliably transmitted to the surrounding
17872 accept-process-output.
17873 (mpc-proc-check): New function.
17874 (mpc-proc-sync): Use it (bug#8293)
17876 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17878 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17879 Add compatibility functions (bug#9313).
17881 2011-08-23 Eli Zaretskii <eliz@gnu.org>
17883 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17885 * international/uni-bidi.el: Regenerate.
17887 2011-08-23 Kenichi Handa <handa@m17n.org>
17889 * international/charprop.el:
17890 * international/uni-bidi.el:
17891 * international/uni-category.el:
17892 * international/uni-combining.el:
17893 * international/uni-comment.el:
17894 * international/uni-decimal.el:
17895 * international/uni-decomposition.el:
17896 * international/uni-digit.el:
17897 * international/uni-lowercase.el:
17898 * international/uni-mirrored.el:
17899 * international/uni-name.el:
17900 * international/uni-numeric.el:
17901 * international/uni-old-name.el:
17902 * international/uni-titlecase.el:
17903 * international/uni-uppercase.el: Regenerate.
17905 2011-08-23 Martin Rudalics <rudalics@gmx.at>
17907 * help.el (help-window-setup): Fix message displayed when other
17908 window is reused. (Bug#9341)
17910 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17912 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17913 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17915 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17917 * shell.el (shell-parse-pcomplete-arguments): New function.
17918 (shell-completion-vars): Use it instead (bug#9160).
17920 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17922 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17923 strings and comments (bug#9333).
17925 * emacs-lisp/debug.el (debug-arglist): New function.
17926 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17927 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17929 2011-08-22 Juri Linkov <juri@jurta.org>
17931 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17932 Revert regexp that highlights output switches to its old
17933 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17935 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17936 to check for empty output (bug#9226).
17938 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
17940 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17941 symbol-constituent as the default, as that stops font-lock from
17942 working properly (Bug#8843).
17944 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17946 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17947 `coding-system-for-*' around the process open call to avoid
17948 auth-source side effects.
17949 (smtpmail-try-auth-methods): Expand the secret password.
17950 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17953 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
17955 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17957 * emacs-lisp/find-func.el (find-function-noselect): New arg
17960 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17961 signal an error for built-in functions (Bug#6664).
17963 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17965 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17966 (smtpmail-try-auth-methods): Use it.
17968 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
17970 * font-lock.el (font-lock-fontify-region)
17971 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17972 (font-lock-default-unfontify-buffer)
17973 (font-lock-default-fontify-region)
17974 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17976 * progmodes/compile.el (compilation-error-properties):
17977 Fix confusion between file struct and message struct (Bug#9319).
17978 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17981 * net/browse-url.el (browse-url-firefox): Don't call
17982 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17984 2011-08-20 Glenn Morris <rgm@gnu.org>
17986 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17988 * tutorial.el (tutorial--default-keys): Update some default bindings.
17990 * files.el (hack-local-variables): Fully ignore case for "mode:".
17992 2011-08-20 Alan Mackenzie <acm@muc.de>
17994 Resolve invalid use of a regexp in regexp-opt.
17996 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17997 detection for a java annotation.
17999 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18000 detection for a java annotation.
18002 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18004 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18006 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18008 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18011 2011-08-20 Alan Mackenzie <acm@muc.de>
18013 Fontify CPP expressions correctly when starting in the middle of
18014 such a construct. Mainly for when jit-lock etc. starts a chunk
18017 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18019 (c-make-font-lock-search-form): New function, extracted from
18020 c-make-font-lock-search-function.
18021 (c-make-font-lock-search-function): Use the above function.
18022 (c-make-font-lock-context-search-function): New function.
18023 (c-cpp-matchers): Enhance the preprocessor expression case with
18025 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18026 which takes an expression.
18028 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18030 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18032 * window.el (display-buffer-reuse-window)
18033 (display-buffer-pop-up-window): Don't reuse or split a side
18036 2011-08-19 Glenn Morris <rgm@gnu.org>
18038 * files.el (hack-local-variables-prop-line, hack-local-variables):
18039 Downcase "Mode:". (Bug#9331)
18041 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18043 * international/characters.el: Add L and R categories.
18045 * subr.el (bidi-string-mark-left-to-right): Rename from
18046 string-mark-left-to-right. Use category search.
18048 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18050 2011-08-18 Juri Linkov <juri@jurta.org>
18052 * faces.el (error, warning, success): New faces with definitions
18053 copied from old default values of `font-lock-warning-face',
18054 `compilation-warning', `compilation-info' (bug#6117).
18056 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18058 * progmodes/compile.el (compilation-error): Inherit from `error'.
18059 (compilation-warning): Inherit from `warning'.
18060 (compilation-info): Inherit from `success'.
18062 * dired.el (dired-marked): Inherit from `warning'.
18063 (dired-flagged): Inherit from `error'.
18065 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18067 * mail/smtpmail.el (auth-source): Require to avoid problems with
18068 binding variables (bug#9298). Also clean up some unused
18071 * net/network-stream.el (network-stream-open-starttls):
18072 Support using starttls.el without using gnutls-cli.
18074 2011-08-17 Juri Linkov <juri@jurta.org>
18076 * progmodes/grep.el (rgrep): Handle the case when
18077 `grep-find-command' is a cons cell (bug#9278).
18079 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18081 * window.el (display-buffer-pop-up-frame): Run frame creation
18082 function with BUFFER current (as special-display-popup-frame
18083 does). Reported by Drew Adams.
18085 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18087 * epa-mail.el: Simplify GnuPG group expansion using
18089 (epa-mail-group-alist, epa-mail-group-modtime)
18090 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18091 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18092 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18095 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18097 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18099 2011-08-16 Alan Mackenzie <acm@muc.de>
18101 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18102 Correct, to avoid the inside of macros.
18104 2011-08-16 Richard Stallman <rms@gnu.org>
18106 * epa-mail.el: Handle GnuPG group definitions.
18107 (epa-mail-group-alist, epa-mail-group-modtime)
18108 (epa-mail-gnupg-conf-file): New variables.
18109 (epa-mail-parse-groups, epa-mail-sync-groups)
18110 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18111 (epa-mail-expand-recipients): New functions.
18112 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18114 * mail/rmail.el (rmail-epa-decrypt): New command.
18116 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18117 Don't bind buffer-read-only, just inhibit-read-only.
18118 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18119 (epa-decrypt-armor-in-region): Make error message clearer.
18121 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18123 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18124 and "a2b" to "ab" for `prefix'.
18126 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18128 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18130 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18131 Fourquet (Bug#8804).
18133 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18135 * startup.el (argi): Declare as global variable (bug#9275).
18137 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18139 * subr.el (string-mark-left-to-right): Search the entire string
18140 for RTL script, not just the terminating character. Doc fix.
18142 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18144 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18146 (js--regexp-literal, js-syntax-propertize-function): Remove.
18147 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18148 (js-mode-map): Don't rebind electric keys.
18149 (js-insert-and-indent): Remove.
18150 (js-mode): Setup electric-layout and electric-indent instead.
18152 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18154 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18156 * epa.el (epa-progress-callback-function): Fix the logic of
18157 displaying progress.
18158 * epa-file.el (epa-file-insert-file-contents): Make progress
18159 display more user-friendly.
18160 (epa-file-write-region): Ditto.
18162 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18164 * subr.el (string-mark-left-to-right): New function.
18166 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18167 Use string-mark-left-to-right.
18168 (list-buffers-noselect): Caller changed.
18170 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18171 Use string-mark-left-to-right.
18172 (tabulated-list-print): Recenter after moving point.
18174 2011-08-10 Juri Linkov <juri@jurta.org>
18176 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18177 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18178 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18180 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18182 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18185 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18187 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18188 character. (Bug#6594)
18190 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18192 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18193 (image-dired--with-db-file): New macro.
18194 (image-dired-write-tags, image-dired-remove-tag)
18195 (image-dired-create-gallery-lists, image-dired-write-comments)
18196 (image-dired-get-comment, image-dired-mark-tagged-files)
18197 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18198 (image-dired-gallery-generate): Use insert-file-contents.
18200 * time.el (display-time-world-list, display-time-world-display):
18201 * time-stamp.el (time-stamp-string):
18202 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18203 set-time-zone-rule (Bug#7337).
18205 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18207 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18208 (epg-error-to-string, epg-errors-to-string): New function.
18209 (epg-wait-for-completion): Reverse errors list.
18210 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18211 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18212 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18213 (epg-sign-keys, epg-generate-key-from-file)
18214 (epg-generate-key-from-string): Format errors by using
18215 epg-errors-to-string (bug#9255).
18216 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18218 2011-08-07 Juri Linkov <juri@jurta.org>
18220 * faces.el (list-faces-display): Remove extra angle bracket
18221 from `help-mode-map'.
18223 * info.el (Info-history-toc-nodes): Doc fix.
18225 * longlines.el (longlines-mode): Doc fix.
18227 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18229 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18230 of statements and in a few more cases (bug#9183).
18232 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18234 (cl-transform-lambda): Use them (bug#9239).
18236 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18238 * window.el (display-buffer-same-window)
18239 (display-buffer-same-frame, display-buffer-other-window)
18240 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18241 (pop-to-buffer-other-window)
18242 (pop-to-buffer-same-frame-other-window)
18243 (pop-to-buffer-other-frame): Make them defuns.
18244 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18246 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18248 * subr.el (make-composed-keymap): Move from C. Change calling
18249 convention, and improve docstring to bring attention to a subtle point.
18250 * minibuffer.el (completing-read-default): Adjust accordingly.
18252 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18254 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18255 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18257 * net/trampver.el: Update release number.
18259 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18261 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18264 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18266 * mail/sendmail.el (sendmail-query-once): Restore the current
18267 buffer after querying (bug#9074).
18269 * dired.el (dired-flagged): Use different faces for marked and
18270 flagged files (bug#6117).
18272 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18275 * ido.el (ido-mode): Switch off the message if called
18278 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18279 before 587, since it appears that that's more likely to work for
18282 * cus-edit.el (custom-file): When running under emacs -q, always
18283 refuse to save the customizations, even if the .emacs file doesn't
18286 * info.el: Remove the `Info-beginning-of-buffer' function
18289 * net/network-stream.el (network-stream-open-starttls):
18290 Use `starttls-available-p' to see whether starttls.el can be used.
18292 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18294 * window.el (display-buffer-in-window): Don't set dedicated status
18295 of window here (Bug#9215).
18296 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18297 (display-buffer-pop-up-side-window)
18298 (display-buffer-in-side-window): Set dedicated status of window here.
18300 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18302 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18303 before binding generated-autoload-file.
18305 2011-08-01 Deniz Dogan <deniz@dogan.se>
18307 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18309 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18311 Sync with Tramp 2.2.2.
18313 * net/trampver.el: Update release number.
18315 2011-07-30 Juri Linkov <juri@jurta.org>
18317 * dired-aux.el (dired-touch-initial): Remove function.
18318 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18319 current time, and `default' to the last modification time of the
18320 current marked file (bug#6887).
18322 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18324 * simple.el (goto-line): Use string-to-number to provide a
18325 numeric argument to read-number (bug#9163).
18327 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18329 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18330 connection process, it could be nil.
18332 2011-07-27 Leo Liu <sdl.web@gmail.com>
18334 Simplify url handling in rcirc-mode.
18336 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18337 (rcirc-browse-url-at-mouse): Remove.
18338 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18340 2011-07-26 Alan Mackenzie <acm@muc.de>
18342 Fontify bitfield declarations properly.
18344 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18345 (c-symbol-chars): Now exported as a lang variable.
18346 (c-not-primitive-type-keywords): New lang variable.
18348 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18349 QT keyword "more" to prevent "more slots: ...." being spuriously
18350 parsed as a bitfield declaration.
18352 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18353 Refactor and enhance to handle bitfield declarations.
18354 (c-punctuation-in): New function.
18355 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18356 declarations properly.
18358 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18360 * calendar/icalendar.el (icalendar--all-events): Take care of
18361 multiple vcalendars in a single file.
18362 (icalendar--convert-float-to-ical): Checkdoc fixes.
18364 2011-07-25 Deniz Dogan <deniz@dogan.se>
18366 * image.el (insert-image): Clarifying docstring.
18368 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18370 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18371 `tramp-send-command-and-check' if there is no error.
18372 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18374 2011-07-22 Alan Mackenzie <acm@muc.de>
18376 Prevent cc-langs.elc being loaded at run time.
18378 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18381 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18382 "(require 'cc-langs)". Quote a form so it will evaluate at
18383 (cc-mode's) compilation time.
18385 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18387 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18388 loading. (Bug#9114)
18390 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18392 * window.el (display-buffer-pop-up-window)
18393 (display-buffer-pop-up-side-window)
18394 (display-buffer-in-side-window): Call display-buffer-set-height
18395 and display-buffer-set-width after setting the new window's
18396 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18398 2011-07-20 Sam Steingold <sds@gnu.org>
18400 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18401 (etags-tags-included-tables): Call `convert-standard-filename' on
18402 the file names contained in TAGS so that windows Emacs can handle
18403 TAGS files created by cygwin ctags.
18405 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18407 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18408 which apparently didn't work.
18410 2011-07-19 Roland Winkler <winkler@gnu.org>
18412 * proced.el (proced-send-signal): For *Marked Processes* buffer
18413 put point at beginning of buffer.
18415 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18417 * proced.el (proced-format): Make header lines align with the text
18420 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18422 * view.el (view-buffer): Allow running in `special' modes if we're
18423 visiting a file (bug#8615).
18425 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18427 * window.el (display-buffer-alist-of-strings-p)
18428 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18430 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18433 2011-07-18 Alan Mackenzie <acm@muc.de>
18435 Fontify declarators properly when, e.g., a jit-lock chunk begins
18436 inside a declaration.
18438 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18440 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18442 (c-complex-decl-matchers): Insert reference to
18443 c-font-lock-enclosing-decls.
18445 * progmodes/cc-engine.el (c-backward-single-comment):
18446 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18447 to nil around calls to (forward-comment -1).
18449 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18451 * image.el (put-image): Doc typo fix.
18453 * progmodes/etags.el (tags-search): Doc typo fix.
18455 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18456 password if we get errors 550 to 554.
18458 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18460 * net/gnutls.el (gnutls-log-level): Remove.
18462 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18463 indentation character (bug#6380).
18465 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18467 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18468 to clarify what the problem is (bug#4291).
18470 * simple.el (current-kill): Clarify what
18471 `interprogram-paste-function' does (bug#7500).
18472 (auto-fill-mode): Document `auto-fill-function' in relation to
18473 `auto-fill-mode' (bug#2470).
18475 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18477 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18478 method if slot is read-only (bug#9035).
18480 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18482 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18483 * window.el (pop-to-buffer): Select window used even if it was
18484 selected before, see discussion of (Bug#8615), (Bug#6954).
18485 Pass argument NORECORD on to select-frame-set-input-focus.
18487 2011-07-15 Glenn Morris <rgm@gnu.org>
18489 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18492 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18494 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18495 (gnutls-negotiate): Use it.
18497 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18499 * net/gnutls.el (gnutls-negotiate):
18500 Upcase `gnutls-algorithm-priority'.
18502 2011-07-15 Glenn Morris <rgm@gnu.org>
18504 * jka-compr.el (jka-compr-verbose): Move from here...
18505 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18506 Add missing :version tag.
18507 * info.el: No need to require jka-compr when compiling.
18509 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18511 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18512 (gnutls-negotiate): Use it.
18514 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18516 * info.el (Info-beginning-of-buffer): New command.
18517 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18518 announcing `b' as the key (bug#8325).
18519 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18521 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18523 * international/mule-cmds.el
18524 (describe-specified-language-support): Make the error message
18525 clearer (bug#8905).
18527 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18529 * isearch.el (isearch-barrier): Add a doc string, since it's
18530 mentioned in a function doc string (bug#8678).
18532 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18534 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18535 buffer argument (Bug#9083) and self-identifying label argument.
18537 2011-07-15 Glenn Morris <rgm@gnu.org>
18539 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18541 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18543 * man.el (Man-fontify-manpage): Fix message when formatting the
18544 man page (bug#7929).
18546 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18548 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18549 argument LRM; if non-nil, append an invisible LRM character to the
18551 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18552 last argument non-nil, when formatting buffer names.
18553 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18554 paragraph direction.
18556 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18558 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18559 the man page name (bug#7929).
18561 * image.el (put-image): Mention the `put-image' overlay property
18564 * scroll-bar.el (set-scroll-bar-mode): Mention that
18565 `scroll-bar-mode' lists the values (bug#7772).
18567 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18568 command (bug#7729).
18570 * rect.el (apply-on-rectangle): Return the point after the last
18572 (string-rectangle): Go to the point after the last operation
18575 * printing.el (pr-toggle-region): Clarify the documentation
18576 slightly (bug#7493).
18578 * time.el (display-time-update):
18579 Allow `display-time-mail-function' to return nil (bug#7158).
18580 Fix suggested by Detlev Zundel.
18582 * vc/diff.el (diff): Clarify the order the file names are read
18585 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18586 the doc string (bug#7015).
18588 * font-lock.el (font-lock-maximum-decoration): Mention what
18589 numeric levels mean (bug#6935).
18591 * startup.el (initial-buffer-choice): Don't mention the `none'
18592 selection, which is against policy.
18594 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18596 * window.el (display-buffer-normalize-special):
18597 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18599 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18601 * subr.el (version<, version<=, version=): Mention "-CVS" and
18602 "-12345" alpha version numbers.
18604 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18606 * bindings.el: Add advertised binding for set-mark-command
18609 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18611 * bindings.el (mode-line-other-buffer):
18612 * bookmark.el (bookmark-bmenu-2-window):
18613 * bs.el (bs-cycle-next, bs-cycle-previous):
18614 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18617 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18620 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18622 * follow.el (follow-debug-message, follow-redisplay):
18623 * jka-cmpr-hook.el (with-auto-compression-mode):
18624 Fix typos in docstrings.
18626 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18628 * subr.el (with-silent-modifications): Clarify somewhat what the
18629 macro inhibits (bug#6525).
18631 * simple.el (eval-expression): Note what it does if called
18632 interactively (bug#6495).
18634 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18636 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18637 Use pop-to-buffer buffer-or-name if it is nil.
18639 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18640 Remove switch-to-buffer.
18642 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18644 * files.el (make-directory): Clarify that an error will be raised
18645 if there's an error (bug#6397).
18647 * startup.el (initial-buffer-choice): Add `none' as a choice
18650 * subr.el (add-hook): Clarify section about buffer-local hooks
18653 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18655 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18657 * tabify.el (untabify): Preserve the current column so that point
18658 doesn't move (bug#6032).
18660 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18662 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18663 Rewrite to avoid awkward possessive "s" (bug#5986).
18665 2011-07-13 Glenn Morris <rgm@gnu.org>
18667 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18668 (dired-insert-directory): Give a message the first time
18669 if ls is found not to support --dired.
18671 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18673 * simple.el (toggle-truncate-lines): Clarify what is toggled
18674 (bug#5580). Text by Drew Adams.
18676 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18678 * simple.el (blink-matching-open): Make the error message from the
18679 last change less verbose.
18681 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18683 * font-lock.el (font-lock-comment-face): Use the high contrast
18684 "yellow" color for font-lock-comment-face on low color terminals
18685 using a dark background color (bug#4221).
18687 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18689 * dired.el (dired-insert-set-properties): Make the doc string
18690 reflect what it does now (bug#5325).
18692 * simple.el (blink-matching-open): Say that we were unable to find
18693 the match within the limit, if we're limited (bug#5122).
18695 * international/mule-cmds.el (prefer-coding-system): Add an
18696 example (bug#4869).
18698 * progmodes/etags.el (tags-search): Document `file-list-form'
18701 2011-07-13 Lawrence Mitchell <wence@gmx.li>
18703 * net/browse-url.el (browse-url-default-browser)
18704 (browse-url-browser-function): Make the default browser choice a
18705 bit more logical (bug#4300). Also clean up the doc string.
18707 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18709 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18710 binary endings (bug#4440).
18712 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18714 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18715 which can be pretty annoying (bug#8971).
18717 * jka-compr.el (jka-compr-verbose): New variable, and use
18718 throughout (bug#8971).
18720 * info.el (Info-find-file): Fall back on the installation
18721 directory if we can't find the info node anywhere else.
18723 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18725 * vc/vc.el (vc-revert-file):
18726 Don't set file time-stamp in the past. (Bug#5181)
18728 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18730 * files.el (after-find-file): Give a better error message when
18731 trying to find a symlink that points to a file that doesn't exist
18734 * progmodes/cc-vars.el: Remove (probably) misleading comment
18737 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18739 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18741 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18743 * mouse-sel.el: Hack restoring functionality, while keeping
18744 compatibility with 2010-07-03 changes to mouse selection.
18745 (mouse-sel-primary-overlay): New var.
18746 (mouse-sel-selection-alist): Use it.
18747 (mouse-sel-mode): Doc fix; remove points that are default features
18750 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18752 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18753 Fix previous fix (bug#2490).
18755 2011-07-12 Roland Winkler <winkler@gnu.org>
18757 * textmodes/bibtex.el (bibtex-initialize):
18758 Use pop-to-buffer-same-window.
18759 (bibtex-search-entries): Fix interactive call.
18761 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18763 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18764 Fontise bytecomp Error lines more correctly (bug#2490).
18765 Fix suggested by Johan Bockgård.
18767 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18769 * dired-x.el (dired-guess-default): Use `delete-dups'.
18771 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18773 * dired.el (dired-mark-prompt):
18774 * dired-aux.el (dired-read-shell-command): Doc fix.
18776 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18778 * mail/sendmail.el (sendmail-query-once):
18779 Use `customize-save-variable' unconditionally, now that it works under
18782 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18784 * cus-edit.el (custom-file): Take an optional no-error variable.
18785 (customize-save-variable): Set the variable, and give a warning if
18786 running under "emacs -q".
18788 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
18790 * loadhist.el (unload-feature-special-hooks):
18791 Add `auto-coding-functions', `fill-nobreak-predicate' and
18792 `find-directory-functions' (bug#5327).
18794 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18796 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18798 * cus-edit.el (custom-guess-name-alist): -alist variables should
18799 use the `alist' type (bug#3120). Suggested by Drew Adams.
18801 * printing.el: Add documentation to all the `pr-toggle-' commands.
18803 2011-07-11 Leo Liu <sdl.web@gmail.com>
18805 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18806 backends where it makes sense (bug#2623).
18808 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18810 * dired-x.el (dired-guess-default): Remove duplicate shell command
18811 entries (bug#2028).
18812 (dired-guess-default): Fix grammar in doc string (bug#2028).
18813 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
18815 * subr.el (remove-duplicates): New conveniency function.
18817 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18819 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18822 2011-07-10 Martin Rudalics <rudalics@gmx.at>
18824 * window.el (display-buffer-normalize-default): Don't invert
18825 meaning of even-window-heights. Reported by Eli Zaretskii
18828 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18830 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18832 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
18834 * window.el (display-buffer): Fix arguments to
18835 display-buffer-reuse-window in last change.
18837 * faces.el (link): Use a less saturated blue on light backgrounds.
18839 * startup.el (fancy-startup-text, fancy-about-text)
18840 (fancy-startup-tail): Use font-lock faces, for background safety.
18842 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18844 * emulation/viper-cmd.el (viper-change-state-to-vi):
18845 Limit triggering of abbrev expansion (Bug#9038).
18847 2011-07-09 Martin Rudalics <rudalics@gmx.at>
18849 * window.el (display-buffer-default-specifiers): Remove.
18850 (display-buffer-macro-specifiers): Remove default specifiers.
18851 (display-buffer-alist): Default to nil.
18852 (display-buffer-reuse-window): New optional argument other-window.
18853 (display-buffer-pop-up-window): Allow splitting internal
18854 windows. Check whether a live window was created.
18855 (display-buffer-other-window-means-other-frame)
18856 (display-buffer-normalize-arguments): Rename to
18857 display-buffer-normalize-argument and rewrite. Set the
18858 other-window specifier.
18859 (display-buffer-normalize-special): New function.
18860 (display-buffer-normalize-options): Rename to
18861 display-buffer-normalize-default and rewrite.
18862 (display-buffer-normalize-options-inhibit): Remove.
18863 (display-buffer-normalize-specifiers): Rewrite.
18864 (display-buffer): Process other-window specifier and call
18865 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18867 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
18868 (display-buffer-alist-set): Don't handle 'unset default values.
18869 (display-buffer-in-window, display-buffer-alist-set):
18870 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
18871 <tassilo@member.fsf.org>.
18873 2011-07-09 Leo Liu <sdl.web@gmail.com>
18875 * register.el (insert-register): Restore accidental change on
18876 2011-06-26. (Bug#9028)
18878 2011-07-09 Glenn Morris <rgm@gnu.org>
18880 * subr.el (remq): Handle the empty list. (Bug#9024)
18882 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18884 * mail/sendmail.el (send-mail-function): No longer delay custom
18886 * custom.el (custom-initialize-delay): Doc fix.
18888 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18890 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18892 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
18894 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18895 human-friendly prompt.
18897 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18899 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18900 provided by a particular plugin.
18902 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18904 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18905 save customizations (with "emacs -Q"), just set the variable
18906 instead of erroring out.
18908 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18910 2011-07-08 Juri Linkov <juri@jurta.org>
18912 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18913 (archive-zip-update-case): Use 7z if found by `executable-find'.
18914 The order of searching the available programs is the same as in
18915 `archive-zip-extract' (bug#8968).
18917 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18919 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18920 (menu-bar-options-menu): Tweak descriptions.
18922 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18924 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18925 menu items into verb phrases (bug#1421). Also refill to fit under
18928 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18930 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18931 (Info-read-node-name): Doc fix (Bug#1084).
18933 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18934 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18935 (end-of-sexp, beginning-of-sexp)
18936 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18937 (forward-symbol, forward-same-syntax, word-at-point)
18938 (sentence-at-point): Doc fix (Bug#1144).
18940 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18942 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18943 should cover it (bug#1281).
18945 * cus-edit.el (custom-show): Mark as obsolete.
18947 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
18948 negotiation fails, then possibly try again with a non-encrypted
18949 connection (bug#9017).
18951 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18954 2011-07-07 Richard Stallman <rms@gnu.org>
18956 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18957 property, and handle its changed format.
18958 Look for the correct line number.
18959 Use file's line contents (but not past first =) to find
18960 correct line in message.
18962 2011-07-07 Kenichi Handa <handa@m17n.org>
18964 * international/characters.el (build-unicode-category-table):
18966 (unicode-category-table): Set it by unicode-property-table-internal.
18968 * international/mule-cmds.el (char-code-property-alist): Move to
18970 (get-char-code-property): Call unicode-property-table-internal to
18971 load a file. Call get-unicode-property-internal where necessary.
18972 (put-char-code-property): Call unicode-property-table-internal to
18973 load a file. Call put-unicode-property-internal where necessary.
18974 put-unicode-property-internal where necessary.
18975 (char-code-property-description):
18976 Call unicode-property-table-internal to load a file.
18978 * international/charprop.el:
18979 * international/uni-bidi.el:
18980 * international/uni-category.el:
18981 * international/uni-combining.el:
18982 * international/uni-comment.el:
18983 * international/uni-decimal.el:
18984 * international/uni-decomposition.el:
18985 * international/uni-digit.el:
18986 * international/uni-lowercase.el:
18987 * international/uni-mirrored.el:
18988 * international/uni-name.el:
18989 * international/uni-numeric.el:
18990 * international/uni-old-name.el:
18991 * international/uni-titlecase.el:
18992 * international/uni-uppercase.el: Regenerate.
18994 * loadup.el: Load international/charprop.el before
18995 international/characters.
18997 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18999 * window.el (next-buffer, previous-buffer): Signal an error if
19000 called from a minibuffer window.
19002 * bindings.el: Revert 2011-07-04 change.
19004 2011-07-06 Richard Stallman <rms@gnu.org>
19006 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19007 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19008 Treat markers like ints.
19009 (rmail-mime-entity): Doc fix.
19011 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19013 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19014 defcustom again for backwards compatibility.
19016 * simple.el (shell-command-on-region): Fill.
19018 * dired-aux.el (dired-kill-line): Add a doc string.
19020 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19021 to "\\sw\\|\\s_" (bug#358).
19023 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19024 (dired-unmark-backward): Ditto.
19025 (dired-flag-backup-files): Ditto.
19027 * dired-x.el (dired-mark-sexp): Ditto.
19029 2011-07-06 Richard Stallman <rms@gnu.org>
19031 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19032 (rmail-mime-entity): New arg TRUNCATED.
19033 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19035 (rmail-mime-save): Warn if entity is truncated.
19036 (rmail-mime-toggle-hidden): Likewise, for showing.
19037 (rmail-mime-process-multipart): Record when an entity is truncated.
19039 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19040 if ENTITY is a string.
19042 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19044 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19045 of faces when `M-C-x'-ing their definitions (bug#8378).
19046 Also clean up the code slightly.
19048 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19049 because that makes the colors go away.
19051 * mail/sendmail.el (send-mail-function): Change the default to
19052 `sendmail-query-once'.
19053 (sendmail-query-once): Add an autoload cookie.
19055 * net/network-stream.el (network-stream-open-starttls): Try using
19056 a plain connection even if the server offered STARTTLS, and we
19057 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19058 capability. This should make smtpmail.el work in slightly more
19061 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19063 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19065 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19067 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19069 * progmodes/sql.el: Version 3.0
19070 (sql-product-alist): Add product :completion-object,
19071 :completion-column, and :statement attributes.
19072 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19073 (sql-mode-syntax-table): Mark all punctuation.
19074 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19076 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19077 (sql-mode-oracle-font-lock-keywords): Improve.
19078 (sql-oracle-show-reserved-words): New function for development.
19079 (sql-product-font-lock): Simplify for source code buffers.
19080 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19082 (sql-highlight-product): Set product specific syntax table.
19083 (sql-mode-map): Add statement movement functions.
19084 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19086 (sql-statement-regexp, sql-beginning-of-statement)
19087 (sql-end-of-statement, sql-signum): New functions.
19088 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19089 (sql-show-sqli-buffer): Bug fix.
19090 (sql-interactive-mode): Store connection data as buffer local.
19091 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19092 with sql-interactive-mode.
19093 (sql-save-connection): Save buffer local settings.
19094 (sql-connection-menu-filter): Change menu entry name.
19095 (sql-product-interactive): Bug fix.
19096 (sql-preoutput-hold): New variable.
19097 (sql-interactive-remove-continuation-prompt): Bug fixes.
19098 (sql-debug-redirect): New variable.
19099 (sql-str-literal): New function.
19100 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19102 (sql-oracle-save-settings, sql-oracle-restore-settings)
19103 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19104 (sql-completion-object, sql-completion-column)
19105 (sql-completion-sqlbuf): New variables.
19106 (sql-build-completions-1, sql-build-completions)
19107 (sql-try-completion): New functions.
19108 (sql-read-table-name): Use them.
19109 (sql-contains-names): New buffer local variable.
19110 (sql-list-all, sql-list-table): Use it.
19111 (sql-oracle-completion-types): New variable.
19112 (sql-oracle-completion-object, sql-sqlite-completion-object)
19113 (sql-postgres-completion-object): New functions.
19115 2011-07-06 Glenn Morris <rgm@gnu.org>
19117 * window.el (pop-to-buffer): Doc fix.
19119 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19121 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19123 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19125 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19127 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19129 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19131 * button.el (button): Inherit from link face. Suggested by Dan
19134 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19136 * progmodes/gdb-mi.el: Fit in 80 columns.
19137 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19140 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19141 if imenu is simply not configured (bug#8941).
19143 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19145 * allout.el (allout-post-undo-hook): New allout outline-change
19146 event hook to signal undo activity.
19147 (allout-post-command-business): Run allout-post-undo-hook if an
19148 undo just occurred.
19149 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19150 * allout-widgets.el (allout-widgets-after-undo-function):
19151 Ensure the integrity of the current item's decoration after it has been
19152 in the vicinity of an undo.
19153 (allout-widgets-mode): Include allout-widgets-after-undo-function
19154 on the new allout-post-undo-hook.
19156 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19158 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19159 Let define-derived-mode define it.
19160 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19161 cycles of abbrev-table inheritance (bug#8998).
19163 2011-07-05 Roland Winkler <winkler@gnu.org>
19165 * textmodes/bibtex.el: Add support for biblatex.
19166 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19167 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19168 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19169 (bibtex-entry-alist, bibtex-field-alist): New variables.
19170 (bibtex-entry-field-alist): Obsolete alias for
19171 bibtex-BibTeX-entry-alist.
19172 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19173 (bibtex-set-dialect): New command.
19174 (bibtex-entry-type, bibtex-entry-head)
19175 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19176 Bind via bibtex-set-dialect.
19177 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19178 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19179 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19180 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19181 Define via bibtex-set-dialect.
19182 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19183 Obey bibtex-no-opt-remove-re.
19184 (bibtex-vec-push, bibtex-vec-incr): New functions.
19185 (bibtex-format-entry, bibtex-field-list)
19186 (bibtex-print-help-message, bibtex-validate)
19187 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19189 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19191 * progmodes/compile.el (compilation-goto-locus):
19192 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19193 * bs.el (bs-cycle-next, bs-cycle-previous):
19194 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19195 * bindings.el (mode-line-other-buffer):
19196 * autoinsert.el (auto-insert):
19197 * arc-mode.el (archive-extract):
19198 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19200 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19202 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19203 Fix check of `emacs-lock-unlockable-modes'.
19204 Coerce true values of `emacs-lock--try-unlocking' to t.
19206 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19208 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19209 * emacs-lock.el: New file.
19211 2011-07-05 Julien Danjou <julien@danjou.info>
19213 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19214 than `boundp' to check if face is set.
19216 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19218 * register.el (registerv-make):
19219 * window.el (window-min-height): Fix typos in docstrings.
19221 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19223 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19226 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19228 * server.el (server-execute): Catch quit and call
19229 `server-return-error' to pass the error back to emacsclient and
19230 close the connection (bug#8942).
19232 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19234 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19235 insecure exception for current topic. Also note that auto-saves
19236 are handled differently.
19238 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19239 State variables for tracking auto-save inhibition situation.
19241 (allout-write-contents-hook-handler): Rename from
19242 'allout-write-file-hook-handler', and describe how it depends on
19243 write-contents-functions sensitivity to non-nil value to prevent
19246 (allout-auto-save-hook-handler): Remove. auto-save does not check
19247 this in individual buffers, only in the starting buffer, so this
19248 is not the right way for us to inhibit auto-save in a buffer
19249 according to its condition.
19251 (allout-mode): Use new allout-write-contents-hook-handler, and
19252 only with write-contents-functions. Remove auto-save provisions -
19253 they're implemented elsewhere.
19255 (allout-before-change-handler): If undo is in progress, note that
19256 for attention of allout-post-command-business.
19258 (allout-post-command-business): If the command we're following was
19259 an undo, check for change in the status of encrypted items and
19260 adjust auto-save inhibitions accordingly.
19262 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19263 according to whether there are or aren't any plain-text topics
19264 pending encryption.
19266 (allout-inhibit-auto-save-info-for-decryption):
19267 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19268 if there are plain-text topics pending encryption.
19270 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19271 buffer-saved-size and some allout state to not inhibit auto-saves
19272 if there are no longer any plain-text topics pending encryption.
19274 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19275 No longer provide for exemption of the current topic.
19277 2011-07-04 Juri Linkov <juri@jurta.org>
19279 Add 7z operations to delete and save changed members (bug#8968).
19280 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19282 (archive-7z-write-file-member): New function.
19283 (archive-7z-summarize): Fix the number of dashes in the
19286 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19288 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19291 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19293 * bindings.el: Ignore next-buffer and previous-buffer in
19294 minibuffer-local-map.
19296 * font-lock.el (font-lock-builtin-face): Change light background
19297 color to dark slate blue (Bug#6693).
19299 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19301 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19303 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19305 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19306 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19307 Add switch-to-buffer.
19309 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19311 * isearch.el (isearch-search-fun-function): Clarify further the
19312 meaning of the function returned.
19314 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19316 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19318 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19319 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19321 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19322 `tramp-default-remote-path' does not exist.
19323 (tramp-send-command-and-read): New optional argument NOERROR.
19324 (tramp-open-connection-setup-interactive-shell)
19325 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19326 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19327 (tramp-process-sentinel): Flush also process' connection property.
19328 (tramp-sh-handle-start-file-process): Do not set process
19329 sentinel. It is done now ...
19330 (tramp-maybe-open-connection): ... here. (Bug#8929)
19332 2011-07-04 MON KEY <monkey@sandpframing.com>
19334 * play/animate.el (animate-string): Doc fixes and allow changing
19335 the buffer name (bug#5417).
19337 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19339 * play/animate.el (animation-buffer-name): Rename from *animate*.
19341 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19343 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19344 This is simpler and helps future-proof the code.
19345 (timer-until): Use time-subtract and float-time.
19346 (timer--time-less-p): Use time-less-p.
19348 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19350 * type-break.el (timep): Use the value of `float-time' to avoid a
19351 byte-compiler warning.
19353 * server.el (server-eval-and-print): Return any result, even nil.
19355 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19357 * type-break.el: Accept time formats that the builtins accept.
19358 (timep, type-break-time-difference): Accept any format that
19359 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19360 This is simpler and helps future-proof the code.
19361 (type-break-time-difference): Round rather than ignoring
19362 subseconds components.
19364 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19366 * info.el (Info-apropos-matches): Make non-interactive, since it
19367 doesn't seem to do anything useful as a command (bug#8829).
19369 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19371 * frame.el (frame-background-mode, frame-set-background-mode):
19372 Move from faces.el.
19373 (frame-default-terminal-background): New function.
19375 * custom.el (custom-push-theme): Don't record faces in `changed'
19376 theme; this doesn't work correctly for per-frame face settings.
19377 (disable-theme): Use face-set-after-frame-default to reset faces.
19378 (custom--frame-color-default): New function.
19380 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19382 * dired.el (dired-flagging-regexp): Remove unused variable
19385 2011-03-29 Kevin Ryde <user42@zip.com.au>
19387 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19388 `perl-Test2' extend to match possible "fail #N" rep count
19391 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19393 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19394 `smtpmail-via-smtp' now returns the error instead of nil.
19396 * isearch.el (isearch-search-fun-function): Clarify the doc string
19399 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19401 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19402 unnecessary spaces (bug#8987).
19404 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19406 * net/network-stream.el (open-network-stream): Use the
19407 :end-of-capability command thoughout.
19409 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19411 * net/network-stream.el (open-network-stream): Add the
19412 :end-of-capability command parameter, used by pop3.el.
19414 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19416 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19418 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19419 for list)" (bug#6475).
19421 * files.el (file-expand-wildcards): Ignore non-readable
19422 sub-directories while trying to find matches instead of signaling
19423 an error (bug#6297).
19425 * man.el (Man-reference-regexp): Allow matching possible
19426 word-wrapped references (bug#6289).
19428 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19429 for consistency with the other vc buffers (bug#6197).
19430 (vc-checkin): Ditto.
19432 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19434 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19436 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19438 * custom.el (defcustom): Clarify that :set is only used in the
19439 Customize user interface (bug#6089).
19441 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19442 associated with a file, refuse to run instead of erroring out
19445 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19446 the doc string, since it appears that using `fill-column' always
19447 controls the width (bug#7845).
19449 * simple.el (shell-command-on-region): Say where the error output
19450 went if `shell-command-default-error-buffer' is set (bug#6857).
19452 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19454 * allout.el (allout-yank-processing): Adjust cursor position for
19455 backwards-deleted space.
19457 (allout-rebullet-heading): Register changes with
19458 allout-exposure-changed-hook, so the modified topic is properly
19461 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19463 * minibuffer.el (completion-in-region): Document PREDICATE
19466 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19467 of keyword/argument pairs (bug#6904).
19469 * replace.el (multi-occur):
19470 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19472 2011-07-02 Drew Adams <drew.adams@oracle.com>
19474 * dired.el (dired-mark-if): Make the message about whether it's
19475 marking or unmarking clearer (bug#8523).
19477 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19479 * disp-table.el (display-table-print-array): New function.
19480 (describe-display-table): Use it to print the vectors more pretty
19483 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19485 * window.el (window-state-get-1): Don't assign clone numbers.
19486 Add clone-of item to list of window parameters.
19487 (window-state-put-2): Don't process clone numbers.
19488 (display-buffer-alist): Fix doc-string.
19490 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19492 * subr.el (remq): Don't allocate if it's not needed.
19493 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19494 (keymap--merge-bindings): New functions.
19495 (keymap-canonicalize): Use them to refine the canonicalization.
19496 * minibuffer.el (minibuffer-local-completion-map)
19497 (minibuffer-local-must-match-map): Move initialization from C.
19498 (minibuffer-local-filename-completion-map): Move initialization from C;
19499 don't inherit from anything here.
19500 (minibuffer-local-filename-must-match-map): Make obsolete.
19501 (completing-read-default): Use make-composed-keymap to combine
19502 minibuffer-local-filename-completion-map with either
19503 minibuffer-local-must-match-map or
19504 minibuffer-local-filename-completion-map.
19506 2011-07-01 Glenn Morris <rgm@gnu.org>
19508 * type-break.el (type-break-time-sum): Use dolist.
19510 * textmodes/flyspell.el (flyspell-word-search-backward):
19511 Replace CL function.
19513 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19515 * mouse.el (mouse--strip-first-event): New function.
19516 (function-key-map): Use it to map fringe clicks to normal clicks
19519 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19520 (vc-bzr-revision-completion-table): Add support for annotate and date.
19522 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19523 inherit from parent.
19525 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19527 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19528 (dired-show-file-type): Doc fixup (bug#8818).
19530 * dired.el (dired-mode): Fix up the doc string as suggested by
19531 Drew Adams (bug#8817).
19533 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19534 cookie, since the manual says that it should be possible to add
19535 this function to `find-file-hook' (bug#8709).
19537 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19539 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19540 here. Noted Ted Zlatanov as the maintainer.
19541 (cfengine-common-settings, cfengine-common-syntax): New functions
19542 to set up common things between `cfengine-mode' and
19544 (cfengine3-mode): New mode.
19545 (cfengine3-defuns cfengine3-defuns-regex
19546 (cfengine3-class-selector-regex cfengine3-category-regex)
19547 (cfengine3-vartypes cfengine3-font-lock-keywords)
19548 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19549 (cfengine3-indent-line): Add from cfengine3.el.
19551 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19553 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19555 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19557 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19559 * window.el (same-window-buffer-names, same-window-regexps)
19560 (same-window-p, special-display-frame-alist)
19561 (special-display-popup-frame, special-display-function)
19562 (special-display-buffer-names, special-display-regexps)
19563 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19564 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19565 (split-window-preferred-function, split-height-threshold)
19566 (split-width-threshold, even-window-heights)
19567 (display-buffer-mark-dedicated, window-splittable-p)
19568 (split-window-sensibly, window-safely-shrinkable-p):
19570 (display-buffer): Don't spread args with function specifier
19571 because special-display-popup-frame won't like it.
19573 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19575 Time-stamp simplifications and fixes.
19576 These improve accuracy slightly, and future-proof the code
19577 against some potential changes to current-time format.
19579 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19580 by using time-since and float-time.
19582 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19583 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19584 + NNN microseconds".
19586 * type-break.el (type-break-time-sum): Rewrite using time-add.
19588 * play/hanoi.el (hanoi-current-time-float): Remove.
19589 All uses replaced by float-time.
19591 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19592 This yields a more-accurate answer.
19593 (rng-time-to-float): Remove; no longer needed.
19595 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19597 * calendar/timeclock.el (timeclock-seconds-to-time):
19598 Defalias to seconds-to-time, since they're the same thing.
19600 * emacs-lisp/elp.el (elp-elapsed-time):
19601 * emacs-lisp/benchmark.el (benchmark-elapse):
19602 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19604 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19606 * window.el (bury-buffer): Don't iconify the only frame.
19607 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19608 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19610 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19612 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19613 Add mouse-yank-primary.
19615 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19617 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19619 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19621 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19622 (find-library-name): Use it to find relative load names when provided
19623 absolute file name (bug#8803).
19625 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19627 * textmodes/flyspell.el (flyspell-word): Consider words that
19628 differ only in case as potential doublons (bug#5687).
19630 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19631 Remove two rather uninteresting debugging-like messages to make
19632 debbugs.el more silent.
19634 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19635 a password-like phrase.
19637 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19639 * progmodes/cc-guess.el: New file.
19641 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19643 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19644 derived from `c-basic-common-init'.
19646 * progmodes/cc-mode.el (top-level): Require cc-guess.
19647 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19649 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19651 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19653 2011-06-30 Alan Mackenzie <acm@muc.de>
19655 * progmodes/cc-engine.el (c-guess-continued-construct):
19656 Correct the handling of template-args-cont, particularly for when font
19657 lock is disabled. Name this case as "CASE G".
19659 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19661 * allout.el (allout-yank-processing): Fix injection of extra space
19662 between bullet and non-whitespace character in first topic when
19663 pasting, ensuring that the actual spacing in the pasted topic
19664 following the bullet char is preserved. This extra space was
19665 causing pasted encrypted topics to get a decrypted status even
19666 when the content was actually still encrypted. Now the decryption
19667 status from before the paste is preserved.
19669 (allout-flag-region): Set all allout overlays so they evaporate
19670 when reduced to zero length (evanescent), to prevent overlay
19673 2011-06-30 Glenn Morris <rgm@gnu.org>
19675 * w32-fns.el (w32-charset-info-alist): Declare.
19677 * find-dired.el (find-grep-options): Simplify.
19679 * term/ns-win.el (ns-set-resource): Declare.
19681 * ses.el (row, col): Declare dynamic variables honestly.
19683 * textmodes/reftex-parse.el (index-tags): Declare.
19685 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
19687 * cus-edit.el (customize-push-and-save): New function.
19689 * files.el (hack-local-variables-confirm): Use it.
19691 * custom.el (load-theme): New arg NO-CONFIRM.
19692 Use customize-push-and-save (Bug#8720).
19693 (custom-enabled-themes): Doc fix.
19695 * cus-theme.el (customize-create-theme)
19696 (custom-theme-merge-theme): Callers to load-theme changed.
19698 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19700 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19701 short URLs have at least one dot in them (bug #7614).
19703 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19704 nil, because using a pty is apparently too slow (bug #895).
19706 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19708 * mail/sendmail.el (sendmail-query-once): New function.
19709 (sendmail-query-once-function): New variable.
19711 2011-06-29 Glenn Morris <rgm@gnu.org>
19713 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19715 * ses.el (top-level): Require cl when compiling.
19716 (ses-set-localvars): Fix error statement.
19717 Call it at compile time to silence a storm of warnings.
19719 2011-06-29 Martin Rudalics <rudalics@gmx.at>
19721 * window.el (normalize-live-buffer): Rename to
19722 window-normalize-buffer.
19723 (normalize-live-frame): Rename to window-normalize-frame.
19724 (normalize-any-window): Rename to window-normalize-any-window.
19725 (normalize-live-window): Rename to window-normalize-live-window.
19726 (make-window-atom): Rename to window-make-atom.
19727 (window-resize-reset): Rename to window--resize-reset.
19728 (window-resize-reset-1): Rename to window--resize-reset-1.
19729 (resize-mini-window): Rename to window--resize-mini-window.
19730 (resize-subwindows-skip-p): Rename to
19731 window--resize-subwindows-skip-p.
19732 (resize-subwindows-normal): Rename to
19733 window--resize-subwindows-normal.
19734 (resize-subwindows): Rename to window--resize-subwindows.
19735 (resize-other-windows): Rename to window--resize-siblings.
19736 (resize-this-window): Rename to window--resize-this-window.
19737 (resize-root-window): Rename to window--resize-root-window.
19738 (resize-root-window-vertically): Rename to
19739 window--resize-root-window-vertically.
19740 (normalize-buffer-to-display): Rename to
19741 window-normalize-buffer-to-display.
19742 (normalize-buffer-to-switch-to): Rename to
19743 window-normalize-buffer-to-switch-to.
19744 Correspondingly update all callers of the functions listed
19746 (display-buffer-alist, display-buffer-normalize-arguments)
19747 (display-buffer-normalize-options, display-buffer)
19748 (display-buffer-alist-set): Use "function" instead of
19751 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
19753 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19754 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19755 debbugs.gnu.org. Mention acknowledgment email.
19757 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19759 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19760 buffer multibyteness, since it shouldn't matter.
19762 2011-06-28 Martin Rudalics <rudalics@gmx.at>
19764 * window.el (display-buffer-in-side-window): Handle dedicated
19765 windows as in display-buffer-reuse-window.
19766 (display-buffer-normalize-alist): Use value of override
19768 (display-buffer-normalize-specifiers): Use value of
19769 other-window-means-other-frame specifier.
19770 (display-buffer-alist): Rewrite some texts in widgets.
19771 (display-buffer): Spread arguments when calling function
19772 specified by fun-with-args.
19774 2011-06-28 Deniz Dogan <deniz@dogan.se>
19776 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19779 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19780 selectors (Bug#5732).
19781 (css-proprietary-nmstart-re): Use `regexp-opt'.
19783 2011-06-27 Jari Aalto <jari.aalto@cante.net>
19785 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19786 (eshell-ls-date-format): New defcustom.
19787 (eshell-ls-file): Use it.
19789 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19791 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19793 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19795 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19796 (ange-ftp-make-tmp-name): New arg.
19797 (ange-ftp-file-local-copy): Use it.
19799 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
19801 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19802 no-conversion (Bug#8870).
19804 2011-06-27 Martin Rudalics <rudalics@gmx.at>
19806 * window.el (window-right, window-left, window-child)
19807 (window-child-count, window-last-child)
19808 (window-iso-combination-p, walk-window-tree-1)
19809 (window-atom-check-1, window-tree-1, delete-window)
19810 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19811 new naming conventions - window-vchild, window-hchild,
19812 window-next and window-prev are now called window-top-child,
19813 window-left-child, window-next-sibling and window-prev-sibling
19815 (resize-window-reset): Rename to window-resize-reset.
19816 (resize-window-reset-1): Rename to window-resize-reset-1.
19817 (resize-window): Rename to window-resize.
19818 (window-min-height, window-min-width)
19819 (resize-mini-window, resize-this-window, resize-root-window)
19820 (resize-root-window-vertically, adjust-window-trailing-edge)
19821 (enlarge-window, shrink-window, maximize-window)
19822 (minimize-window, delete-window, quit-restore-window)
19823 (split-window, balance-windows, balance-windows-area-adjust)
19824 (balance-windows-area, window-state-put-2)
19825 (display-buffer-even-window-sizes, display-buffer-set-height)
19826 (display-buffer-set-width, set-window-text-height)
19827 (fit-window-to-buffer): Rename all "resize-window" prefixed
19828 calls to use the "window-resize" prefix convention.
19829 (display-buffer-alist): Fix symbol for label specifier.
19830 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19831 corresponding specifier.
19832 Reported by Juanma Barranquero <lekktu@gmail.com>.
19834 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19836 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19838 (ses-call-printer): Does not pass an empty string to formatter when the
19839 cell is empty to keep from barking printer Calc math-format-value.
19841 2011-06-27 Richard Stallman <rms@gnu.org>
19843 * battery.el (battery-mode-line-limit): New variable.
19844 (battery-update): Handle it.
19846 * mail/rmailmm.el (rmail-mime-process-multipart):
19847 Handle truncated messages.
19849 2011-06-27 Glenn Morris <rgm@gnu.org>
19851 * progmodes/flymake.el (flymake-err-line-patterns):
19852 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19854 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19856 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
19857 (ses--clean-!, ses--clean-_): New functions.
19858 (ses-range): Add configurability of readout order, and conversion
19861 * ses.el (ses-repair-cell-reference-all): New function.
19862 (ses-cell-symbol): Set macro as safe, so that it can be used in
19865 * ses.el: Update cycle detection algorithm.
19866 (ses-localvars): Add ses--Dijkstra-attempt-nb and
19867 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
19868 (ses-set-localvars): New function.
19869 (ses-make-cell): Add property-list as a cell element.
19870 (ses-cell-property-get-fun, ses-cell-property-get)
19871 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
19872 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19874 (ses-cell-property-set, ses-cell-property-pop)
19875 (ses-cell-property-get-handle): New macro.
19876 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19877 New aliases, used for code readability.
19878 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19880 (ses-self-reference-early-detection): New defcustom.
19881 (ses-formula-references): Robustify against self-referring cells.
19882 (ses-mode): Use ses-set-localvars.
19883 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19884 before lauching the update processing.
19885 (ses-initialize-Dijkstra-attempt): New function.
19886 (ses-recalculate-cell): Update for cycle detection based on
19887 Dijkstra algorithm.
19889 * ses.el: Fix commenting and indenting convention.
19891 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19893 * bs.el (bs-cycle-next): Complete last change.
19895 2011-06-27 Drew Adams <drew.adams@oracle.com>
19897 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19899 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19901 * net/network-stream.el (network-stream-open-starttls):
19902 Don't re-get capabilities unless we've reestablished connection.
19903 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19905 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19906 to binary to possibly avoid line encoding issues on Windows (among
19909 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19911 * net/network-stream.el (open-network-stream): Return an :error
19912 saying what the problem was, if possible.
19914 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19917 * net/network-stream.el (network-stream-open-starttls): If we
19918 wanted to use STARTTLS, and the server offered it, but we weren't
19919 able to because we had no STARTTLS support, then close the connection.
19920 (open-network-stream): Return an :error element, if present.
19922 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19924 * hl-line.el (hl-line-sticky-flag): Doc fix.
19925 (global-hl-line-sticky-flag): New option (Bug#8323).
19926 (global-hl-line-highlight): Obey it.
19928 * vc/vc.el (vc-revert-show-diff): Default to t.
19930 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19932 * allout-widgets.el (allout-widgets-post-command-business):
19933 Stop decorating intermediate isearch matches. They're not being
19934 undecorated when an isearch is continued past, and isearch
19935 automatically collapses them. This leads to "widget leaks", where
19936 decorated items accumulate in collapsed areas. Lines with lots of
19937 hidden widgets can slow down cursor travel, substantially.
19938 Too much complicated machinery would be needed to ensure undecoration,
19939 so we're doing without this nicety.
19941 (allout-widgets-tally-string): Don't try to do a hash-table-count
19942 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19943 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19944 *Messages* when allout-widgets-maintain-tally is t.
19946 2011-06-26 Martin Rudalics <rudalics@gmx.at>
19948 * window.el (display-buffer-normalize-argument): Rename to
19949 display-buffer-normalize-arguments. Handle special meaning of
19950 LABEL argument. Respect special-display-function when popping up
19951 a new frame. Fix code searching for a window showing the buffer
19953 (display-buffer-normalize-specifiers):
19954 Call display-buffer-normalize-arguments.
19955 (display-buffer-in-window): Don't undedicate the window if its
19956 buffer remains the same.
19957 Reported by Drew Adams <drew.adams@oracle.com>.
19958 (display-buffer-alist): Add choice for same-window macro
19960 (display-buffer): Mention special meaning of LABEL argument in
19961 doc-string. Fix quoting. Don't pop up a new frame even as
19964 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
19966 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19967 avoid deleting the current window in some cases (bug#8911).
19969 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19971 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19974 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19976 * net/network-stream.el (network-stream-open-starttls):
19977 Use built-in TLS support if `gnutls-available-p' is true.
19978 (network-stream-open-tls): Ditto.
19980 2011-06-26 Leo Liu <sdl.web@gmail.com>
19982 * register.el (registerv): New struct.
19983 (registerv-make): New function.
19984 (jump-to-register, describe-register-1, insert-register):
19985 Support the jump-func, print-func and insert-func slot of a registerv
19988 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19990 * vc/vc.el (vc-revert-show-diff): New defcustom.
19991 (vc-diff-internal): New arg specifying diff buffer.
19992 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19993 reuse an existing *vc-diff* buffer (Bug#8927).
19995 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19997 2011-06-26 Glenn Morris <rgm@gnu.org>
19999 * progmodes/f90.el (f90-critical-indent): New option.
20000 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20001 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20002 (f90-mode): Doc fix.
20003 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20004 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20005 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20006 (f90-match-end): Handle block, critical.
20008 2011-06-25 Glenn Morris <rgm@gnu.org>
20010 * calendar/diary-lib.el (diary-included-files): Doc fix.
20011 (diary-include-files): New function, extracted from
20012 diary-include-other-diary-files and diary-mark-included-diary-files.
20013 (diary-include-other-diary-files, diary-mark-included-diary-files):
20014 Just call diary-include-files.
20015 (diary-mark-entries): Reset diary-included-files on first call.
20017 * calendar/diary-lib.el (diary-mark-entries)
20018 (diary-mark-included-diary-files):
20019 Visit included diary-files in temp buffers.
20021 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20022 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20023 (f90-start-block-re, f90-imenu-generic-expression)
20024 (f90-looking-at-program-block-start, f90-no-block-limit):
20025 Add support for submodules.
20027 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20028 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20030 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20032 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20033 buffer-file-type before setting its value, to avoid disastrous
20034 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20036 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20038 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20040 * ses.el (ses-unload-function):
20041 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20043 * proced.el (proced-unload-function):
20044 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20046 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20048 * server.el (server-create-window-system-frame): Add parameters arg.
20049 (server-process-filter): Doc fix. Handle frame-parameters.
20051 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20053 Fix bug#8730, bug#8781.
20055 * loadhist.el (unload--set-major-mode): New function.
20056 (unload-feature): Use it.
20058 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20059 (python-unload-function): New function.
20061 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20063 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20065 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20067 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20068 the candidates list.
20070 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20072 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20074 2011-06-23 Richard Stallman <rms@gnu.org>
20076 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20077 (rmail-variables): Set next-error-move-function.
20078 (rmail-what-message): Take argument POS.
20079 (rmail-next-error-move): New function.
20081 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20083 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20084 messages for adjacent non-terminals.
20086 2011-06-23 Richard Stallman <rms@gnu.org>
20088 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20089 (rmail-show-message-1): Preserve buffer modified flag.
20090 (rmail-start-mail): Don't specify use of rmail-mail-return;
20091 that's done by mail-bury now.
20092 (rmail-mail-return): Handle arg NEWBUF.
20094 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20096 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20099 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20101 * window.el (get-lru-window, get-mru-window)
20102 (get-largest-window): Never return a minibuffer window.
20103 (display-buffer-pop-up-window): Fix a bug that could lead to
20104 reusing the minibuffer window.
20105 (display-buffer): Pass original specifier argument to
20106 display-buffer-function instead of the normalized one.
20107 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20109 2011-06-22 Leo Liu <sdl.web@gmail.com>
20111 * minibuffer.el (completing-read-function)
20112 (completing-read-default): Move from minibuf.c.
20114 2011-06-22 Richard Stallman <rms@gnu.org>
20116 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20117 to Rmail even if not started by a special Rmail command.
20119 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20120 Copy the buffer currently showing just one message.
20122 2011-06-22 Roland Winkler <winkler@gnu.org>
20124 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20125 (bibtex-clean-entry): First delete the old key so that a
20126 customized algorithm for generating the new key does not get
20127 confused by the old key.
20128 (bibtex-url): Obey regexp of first step.
20129 (bibtex-search-entries): Do not use add-to-list with local
20132 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20134 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20135 stored a user name, then query for the password first, instead of
20136 waiting for SMTP to give an error message and the trying again.
20138 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20140 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20141 BUFFER in call-process.
20143 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20145 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20147 (smtpmail-try-auth-methods): Require user name and password from
20150 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20152 * window.el (display-buffer-default-specifiers)
20153 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20154 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20155 (split-window): Normalize SIDE argument (Bug#8916).
20157 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20158 (special-display-frame-alist, special-display-popup-frame):
20159 Remove duplicate declarations. These are now in window.el.
20161 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20163 * mail/smtpmail.el (smtpmail-via-smtp):
20164 Set :use-starttls-if-possible so that we always use STARTTLS if the
20165 server supports it. SMTP servers that support STARTTLS commonly
20168 * net/network-stream.el (network-stream-open-starttls): Support
20169 upgrading to STARTTLS always, even if we don't have built-in support.
20170 (open-network-stream): Add the :always-query-capabilities keyword.
20172 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20173 upgrades with `open-network-stream', and rely solely on
20174 auth-source for all credentials. Big changes throughout the file,
20176 (smtpmail-auth-credentials): Remove.
20177 (smtpmail-starttls-credentials): Remove.
20178 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20181 * net/network-stream.el (network-stream-open-starttls):
20182 Provide support for client certificates both for external and built-in
20184 (auth-source): Require.
20185 (open-network-stream): Document the :client-certificate keyword.
20186 (network-stream-certificate): Change cert-cert to cert and
20189 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20191 * net/tramp-cache.el (top): Don't load the persistency file when
20192 "emacs -Q" has been called.
20194 2011-06-21 Tim Harper <timcharper@gmail.com>
20196 * term/ns-win.el (ns-initialize-window-system):
20197 Set application-specific `ApplePressAndHoldEnabled' system
20198 resource to NO as it is not yet supported by the NS port.
20200 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20202 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20203 (list-dynamic-libraries): ...not here.
20205 2011-06-21 Leo Liu <sdl.web@gmail.com>
20207 * subr.el (sha1): Implement sha1 using secure-hash.
20209 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20211 * window.el (display-buffer-alist): In default value do not
20212 enforce searching a window on any but the selected frame.
20213 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20214 (display-buffer-select-window): Remove function.
20215 (display-buffer-in-window): When a window on another frame gets
20216 reused, do not select it any more but just raise its frame if
20217 necessary (Bug#8851) and (Bug#8856).
20218 (display-buffer-normalize-options): Handle pop-up-frames related
20219 options more faithfully.
20220 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20221 window if it is on another frame.
20222 (display-buffer-alist, display-buffer-default-specifiers):
20223 Don't make new frame unsplittable by default.
20224 (display-buffer-normalize-argument): Fix doc-string typo and use
20225 'same-frame-other-window instead of 'other-window when associating
20226 with display-buffer-macro-specifiers.
20228 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20230 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20232 (5x5-mode-map, 5x5-mode-menu): Bind them.
20233 (5x5-draw-grid): Tweak the solver's rendering.
20235 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20237 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20238 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20240 2011-06-21 Drew Adams <drew.adams@oracle.com>
20242 * menu-bar.el: Use function variable instead of switch-to-buffer.
20243 (menu-bar-select-buffer-function): New variable.
20244 (menu-bar-update-buffers): Use it (bug#8876).
20246 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20248 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20251 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20253 * x-dnd.el (x-dnd-version-from-flags)
20254 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20255 and long as number (Bug#8899).
20256 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20258 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20260 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20261 (completion-try-completion, completion-all-completions): Compute the
20262 metadata argument if it's missing; make it optional (bug#8795).
20264 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20265 (widget-complete): Use new :completion-function property.
20266 (widget-completions-at-point): New function.
20267 (default): Use :completion-function instead of :complete.
20268 (widget-default-completions): Rename from widget-default-complete;
20270 (widget-string-complete, widget-file-complete, widget-color-complete):
20272 (file, symbol, function, variable, coding-system, color):
20273 * international/mule-cmds.el (default-input-method, charset)
20274 (language-info-custom-alist):
20275 * cus-edit.el (face): Use new property :completions.
20277 * progmodes/pascal.el (pascal-completions-at-point): New function.
20278 (pascal-mode): Use it.
20279 (pascal-mode-map): Use completion-at-point.
20280 (pascal-toggle-completions): Make obsolete.
20281 (pascal-complete-word, pascal-show-completions):
20282 * progmodes/octave-mod.el (octave-complete-symbol):
20283 Redefine as obsolete alias.
20284 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20285 Signal absence of completion info for old Octave,
20286 (inferior-octave-complete): Redefine as obsolete alias.
20287 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20288 (meta-completions-at-point): Rename from meta-complete-symbol and
20289 adapt it for use on completion-at-point-functions.
20290 (meta-common-mode): Use it.
20291 (meta-looking-at-backward, meta-match-buffer): Remove.
20292 (meta-complete-symbol): Redefine as obsolete alias.
20293 (meta-common-mode-map): Use completion-at-point.
20294 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20295 (makefile-mode-map): Use completion-at-point.
20296 (makefile-completions-at-point): Rename from makefile-complete and
20297 adapt it for use on completion-at-point-functions.
20298 (makefile-mode): Use it.
20299 (makefile-complete): Redefine as obsolete alias.
20301 2011-06-20 Deniz Dogan <deniz@dogan.se>
20303 * net/rcirc.el: Delete trailing whitespaces once and for all.
20305 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20307 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20309 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20311 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20313 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20315 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20317 * window.el (display-buffer-other-window-means-other-frame):
20318 Call display-buffer-normalize-alist.
20319 (display-buffer-normalize-specifiers-1): Rename to
20320 display-buffer-normalize-argument. New argument other-frame.
20322 (display-buffer-normalize-specifiers-2): Rename to
20323 display-buffer-normalize-options.
20324 (display-buffer-normalize-alist-1): New function.
20325 (display-buffer-normalize-specifiers-3): Rename to
20326 display-buffer-normalize-alist.
20327 Call display-buffer-normalize-alist-1.
20328 (display-buffer-normalize-options-inhibit): New variable.
20329 (display-buffer-normalize-specifiers): Rewrite calling
20330 display-buffer-normalize-alist,
20331 display-buffer-normalize-argument, and
20332 display-buffer-normalize-options. Don't call the latter if
20333 display-buffer-normalize-options-inhibit is non-nil.
20334 (frame-auto-delete): New option.
20335 (window-deletable-p): Use frame-auto-delete.
20336 (window-list-no-nils, window-state-ignored-parameters)
20337 (window-state-get-1, window-state-get, window-state-put-list)
20338 (window-state-put-1, window-state-put-2, window-state-put):
20340 (display-buffer-normalize-options): Move special-display-p group
20341 after pop-up-frame group (Bug#8851) and (Bug#8856).
20343 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20345 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20347 (rx-submatch-n): New function.
20350 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20353 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20355 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20357 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20358 anytime existing face settings are present (Bug#8889).
20360 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20361 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20362 Remove unused argument.
20364 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20366 * window.el (display-buffer-default-specifiers):
20367 Remove pop-up-frame. Add pop-up-window-min-height,
20368 pop-up-window-min-width, and another reuse-window specifier
20369 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20370 (display-buffer-normalize-specifiers-2):
20371 Handle split-height-threshold and split-width-threshold also when
20372 pop-up-windows is unset. Add a reuse-window specifier for the
20373 case popping up a new window fails.
20374 (special-display-popup-frame): Remove double quoting.
20375 (display-buffer-normalize-specifiers-1): Fix thinko.
20377 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20379 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20380 according to comint-completion-addsuffix.
20382 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20383 (pcomplete-suffix-list): Mark as obsolete.
20384 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20385 pcomplete-seen in the closure.
20386 (pcomplete-comint-setup): Setup completion-at-point as well.
20387 (pcomplete--entries): New function.
20388 (pcomplete--env-regexp): New var.
20389 (pcomplete-entries): Rewrite to work with partial-completion and
20390 without relying on pcomplete-suffix-list.
20391 (pcomplete-pare-list): Remove, unused.
20393 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20395 * window.el (display-buffer-alist): Set pop-up-window-min-height
20396 and pop-up-window-min-width in default value. Reported by
20397 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20398 other-window-means-other-frame.
20399 (display-buffer-macro-specifiers): Comment out entry for
20400 other-window specifier.
20401 (display-buffer-other-window-means-other-frame): New function.
20402 (display-buffer-normalize-specifiers-1): New arguments
20403 buffer-name and label. Treat other-window case specially.
20404 (display-buffer-normalize-specifiers-2): Treat other-window case
20406 (display-buffer-normalize-specifiers-3): New function.
20407 (display-buffer-normalize-specifiers):
20408 Call display-buffer-normalize-specifiers-3.
20410 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20412 * window.el (same-window-p): Fix two typos introduced when
20413 adding with-no-warnings.
20414 (display-buffer-normalize-specifiers-1): Don't check
20415 pop-up-frames for 'unset initialization.
20416 (display-buffer-normalize-specifiers-2): Major rewrite using
20417 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20418 (pop-up-frames, display-buffer-reuse-frames)
20419 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20420 Suggested by David Engster <deng@randomsample.de>.
20421 (even-window-heights): Initialize to 'unset.
20422 (display-buffer-alist-set): Handle new 'unset initializations.
20423 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20426 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20428 * window.el (display-buffer-normalize-specifiers-1):
20429 Respect current value of pop-up-frames for most reasonable values of
20430 second argument of display-buffer (Bug#8865).
20431 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20432 (switch-to-buffer-other-window-same-frame)
20433 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20435 (display-buffer): Don't check noninteractive when calling
20436 display-buffer-pop-up-frame.
20437 (display-buffer-pop-up-frame): Never pop up a frame in
20438 noninteractive mode (Bug#8857).
20439 (enlarge-window, shrink-window): Don't report an error when the
20440 window can't be resized as requested (Bug#8862).
20442 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20444 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20446 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20448 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20450 2011-06-15 Alan Mackenzie <acm@muc.de>
20452 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20453 for declarators, disable knr checking to speed up for normal files.
20454 2: Refactor, replacing a sequence of nested if forms by a cond form.
20456 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20458 * net/network-stream.el (open-network-stream): Add the keyword
20459 :always-query-capabilities for the case where you want to force a
20460 `plain' network connection, but the protocol still requires the
20461 capabilitiy command (i.e., SMTP and EHLO).
20463 * subr.el (process-live-p): Rename from `process-alive-p' for
20464 consistency with other `-live-p' functions.
20466 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20468 * window.el (same-window-buffer-names, same-window-regexps)
20469 (special-display-frame-alist, special-display-popup-frame)
20470 (special-display-function, special-display-buffer-names)
20471 (special-display-regexps, pop-up-frame-alist)
20472 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20473 (pop-up-windows, split-window-preferred-function)
20474 (split-height-threshold, split-width-threshold, even-window-heights)
20475 (display-buffer-mark-dedicated): Don't encourage the use of
20476 display-buffer-alist from Elisp code.
20478 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20480 * progmodes/python.el (python-mode): Derive from prog-mode.
20481 * progmodes/ps-mode.el (ps-mode):
20482 * progmodes/mixal-mode.el (mixal-mode):
20483 * progmodes/cfengine.el (cfengine-mode):
20484 * progmodes/ld-script.el (ld-script-mode): Likewise.
20486 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20488 * window.el (display-buffer-alist): Trim default value to avoid
20489 popping up a new frame (Bug#8857) or reusing an arbitrary window
20491 (display-buffer): Do not fall back on popping up a new frame in
20492 batch mode (Bug#8857).
20494 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20496 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20497 (custom-theme-summary): New function.
20498 (customize-themes): Use it.
20500 2011-06-13 Glenn Morris <rgm@gnu.org>
20502 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20504 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20506 * help.el (help-window): Remove variable.
20507 (help-window-point-marker, temp-buffer-max-height)
20508 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20509 (help-print-return-message): Don't set help-window.
20510 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20511 (help-window-setup-finish): Remove.
20512 (help-window-display-message, help-window-setup)
20513 (with-help-window): Major rewrite based on new
20514 display-buffer-window variable.
20516 * help-mode.el (help-mode-finish): Remove help-window related
20519 * view.el (view-exits-all-viewing-windows): Remove reference to
20520 view-return-to-alist in doc-string.
20521 (view-return-to-alist): Make obsolete.
20522 (view-buffer): Call pop-to-buffer-same-window and remove
20524 (view-buffer-other-window): Call pop-to-buffer-other-window and
20525 simplify code. Ignore second argument.
20526 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20527 simplify code. Ignore second argument.
20528 (view-return-to-alist-update): Make obsolete.
20529 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20530 Rewrite using quit-restore window parameters.
20531 (view-mode-exit): Rename second argument to EXIT-ONLY.
20532 Rewrite using quit-restore-window.
20533 (View-exit, View-exit-and-edit, View-leave, View-quit)
20534 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20535 appropriate arguments.
20536 (view-end-message): Use quit-restore window parameter.
20538 * window.el (display-buffer-function): Rewrite doc-string.
20539 (display-buffer-window, display-buffer-alist): New variables.
20540 (display-buffer-split-specifiers)
20541 (display-buffer-side-specifiers)
20542 (display-buffer-macro-specifiers): New constants.
20543 (display-buffer-even-window-sizes, display-buffer-set-height)
20544 (display-buffer-set-width, display-buffer-select-window)
20545 (display-buffer-in-window, display-buffer-reuse-window)
20546 (display-buffer-split-window-1, display-buffer-split-window)
20547 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20548 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20549 (display-buffer-in-side-window, normalize-buffer-to-display)
20550 (display-buffer-normalize-specifiers-1)
20551 (display-buffer-normalize-specifiers-2)
20552 (display-buffer-normalize-specifiers, display-buffer-frame):
20554 (display-buffer): Major rewrite.
20555 (display-buffer-other-window, display-buffer-other-frame)
20556 (pop-to-buffer, switch-to-buffer-other-window)
20557 (switch-to-buffer-other-frame): Rewrite.
20558 (display-buffer-same-window, display-buffer-same-frame)
20559 (display-buffer-same-frame-other-window)
20560 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20561 (pop-to-buffer-other-window)
20562 (pop-to-buffer-same-frame-other-window)
20563 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20564 (switch-to-buffer-other-window-same-frame): New functions.
20565 (same-window-p, special-display-p): Rewrite disabling warnings.
20567 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20568 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20570 (same-window-buffer-names, same-window-regexps)
20571 (special-display-frame-alist, special-display-popup-frame)
20572 (special-display-function, special-display-buffer-names)
20573 (special-display-regexps, pop-up-frame-alist)
20574 (pop-up-frame-function, split-window-preferred-function)
20575 (split-height-threshold, split-width-threshold)
20576 (even-window-heights): Make obsolete.
20578 2011-06-12 Glenn Morris <rgm@gnu.org>
20580 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20581 Misc simplifications.
20583 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20585 * window.el (window-safely-shrinkable-p): Restore function which
20586 was inadvertently removed in change from 2011-06-11. Declare as
20589 * calendar/calendar.el (calendar-generate-window):
20590 Use window-iso-combined-p instead of combination of one-window-p and
20591 window-safely-shrinkable-p.
20593 2011-06-12 Glenn Morris <rgm@gnu.org>
20595 * progmodes/fortran.el (fortran-mode-syntax-table):
20596 * progmodes/f90.el (f90-mode-syntax-table):
20597 Set % to punctuation. (Bug#8820)
20598 (f90-find-tag-default): Remove, no longer needed.
20600 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20602 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20604 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20606 * image.el (image-animated-p): Return animation delay in seconds.
20607 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20608 (image-animate-timeout): Remove DELAY argument. Don't assume
20609 every subimage has the same delay; get it from image-animated-p.
20610 (image-animate): Caller changed.
20612 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20614 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20615 to ignored backtrace functions.
20617 2011-06-11 Glenn Morris <rgm@gnu.org>
20619 * calendar/appt.el (appt-disp-window-function): Doc fix.
20620 (appt-check): Handle overlapping appointments. (Bug#8337)
20622 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20624 * window.el (window-tree-1, window-tree): New functions, moving
20625 the latter to window.el.
20626 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20627 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20628 (bw-refresh-edges): Remove.
20629 (balance-windows-1, balance-windows-2): New functions.
20630 (balance-windows): Rewrite in terms of window tree functions,
20631 balance-windows-1 and balance-windows-2.
20632 (bw-adjust-window): Remove.
20633 (balance-windows-area-adjust): New function with functionality of
20634 bw-adjust-window but using resize-window.
20635 (set-window-text-height): Rewrite doc-string.
20636 Use normalize-live-window and resize-window.
20637 (enlarge-window-horizontally, shrink-window-horizontally):
20638 Rename argument to DELTA.
20639 (window-buffer-height): New function.
20640 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20641 Rewrite using new window resize routines.
20642 (kill-buffer-and-window, mouse-autoselect-window-select):
20643 Use ignore-errors instead of condition-case.
20644 (quit-window): Call delete-frame instead of delete-windows-on
20645 for the only buffer on frame.
20647 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20649 * loadup.el (top-level): Load window before files for the sake
20650 of replace-buffer-in-windows.
20652 * files.el (read-buffer-to-switch)
20653 (switch-to-buffer-other-window)
20654 (switch-to-buffer-other-frame, display-buffer-other-frame):
20657 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20658 (previous-buffer): Move to window.el.
20660 * bindings.el (unbury-buffer): Move to window.el.
20662 * window.el (delete-other-windows-vertically): Move after
20663 definition of delete-other-windows.
20664 (other-window, delete-windows-on, replace-buffer-in-windows):
20665 Move here from window.c.
20666 (record-window-buffer, unrecord-window-buffer)
20667 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20668 (switch-to-next-buffer): New functions.
20669 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20670 from simple.el. Call switch-to-next-buffer.
20671 (previous-buffer): Move here from simple.el.
20672 Call switch-to-prev-buffer.
20673 (bury-buffer): Move here from buffer.c. Switch to previous
20674 buffer when window cannot be deleted.
20675 (unbury-buffer): Move here from bindings.el.
20676 (ctl-x-map): Move binding for other-window from window.c to
20678 (read-buffer-to-switch, switch-to-buffer-other-window)
20679 (switch-to-buffer-other-frame): Move here from files.el.
20680 (normalize-buffer-to-switch-to): New functions.
20681 (switch-to-buffer): Move here from buffer.c.
20682 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
20684 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20686 * window.el (window-min-height, window-min-width): Move here
20687 from window.c. Add defcustoms and rewrite doc-strings.
20688 (resize-mini-window, resize-window): New functions.
20689 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20690 Move here from window.c.
20691 (maximize-window, minimize-window): New functions.
20692 (delete-window, delete-other-windows, split-window): Move here
20694 (window-split-min-size): New function.
20695 (split-window-keep-point): Mention split-window-above-each-other
20696 instead of split-window-vertically.
20697 (split-window-above-each-other, split-window-vertically):
20698 Rename split-window-vertically to split-window-above-each-other
20699 and provide defalias for old definition.
20700 (split-window-side-by-side, split-window-horizontally):
20701 Rename split-window-horizontally to split-window-side-by-side
20702 and provide defalias for the old definition.
20703 (ctl-x-map): Move bindings for delete-window,
20704 delete-other-windows and enlarge-window here from window.c.
20705 Replace bindings for split-window-vertically and
20706 split-window-horizontally by bindings for
20707 split-window-above-each-other and split-window-side-by-side.
20709 * cus-start.el (all): Remove entries for window-min-height and
20710 window-min-width. Add entries for window-splits and
20713 2011-06-09 Glenn Morris <rgm@gnu.org>
20715 * calendar/appt.el (appt-mode-line): New function.
20716 (appt-check, appt-disp-window): Use it.
20718 * files.el (hack-one-local-variable-eval-safep):
20719 Allow minor-modes with explicit +/-1 arguments.
20721 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20723 * term/xterm.el (xterm): Add defgroup.
20724 (xterm-extra-capabilities): Add defcustom to supply known xterm
20725 capabilities, skip querying them, or query them (default).
20726 (terminal-init-xterm): Use it.
20727 (terminal-init-xterm-modify-other-keys): New function to set up
20728 modifyOtherKeys support to simplify `terminal-init-xterm'.
20730 2011-06-09 Martin Rudalics <rudalics@gmx.at>
20732 * window.el (resize-window-reset, resize-window-reset-1)
20733 (resize-subwindows-skip-p, resize-subwindows-normal)
20734 (resize-subwindows, resize-other-windows, resize-this-window)
20735 (resize-root-window, resize-root-window-vertically)
20736 (window-deletable-p, window-or-subwindow-p)
20737 (frame-root-window-p): New functions.
20739 2011-06-09 Glenn Morris <rgm@gnu.org>
20741 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20742 (ange-ftp-get-files): Use it.
20744 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20746 * mail/sendmail.el (mail-recover-1, mail-recover):
20747 * files.el (recover-file, recover-session):
20748 Handle dired-listing-switches not being just a single short option.
20750 2011-06-09 Glenn Morris <rgm@gnu.org>
20752 * calendar/appt.el (appt-display-message, appt-disp-window):
20753 Handle lists of appointments.
20755 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20757 * window.el (one-window-p): Move down in code.
20758 Rewrite doc-string.
20759 (window-current-scroll-bars): Rewrite doc-string.
20760 Normalize live window argument.
20761 (walk-windows, get-window-with-predicate, count-windows):
20762 Rewrite doc-string. Use window-list-1.
20763 (window-in-direction-2, window-in-direction, get-mru-window):
20766 2011-06-08 Reuben Thomas <rrt@sc3d.org>
20768 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20769 Doc fix (Bug#8713).
20771 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
20773 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20775 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
20777 * loadhist.el (unload-feature-special-hooks):
20778 Add `comint-output-filter-functions'.
20780 2011-06-08 Ivan Kanis <gnu@kanis.fr>
20782 * calendar/appt.el (appt-check): Move some initializations into the let.
20784 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20786 * window.el (window-height): Defalias to window-total-height.
20787 (window-width): Defalias to window-body-width.
20789 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
20791 * image-mode.el (image-toggle-animation): New command.
20792 (image-mode-map): Bind it to RET.
20793 (image-mode): Update message.
20794 (image-toggle-display-image): Avoid a spurious cache flush.
20795 (image-transform-rotation): Doc fix.
20796 (image-transform-properties): Return quickly in the normal case.
20797 (image-animate-loop): Rename from image-animate-max-time.
20799 * image.el (image-animate-max-time): Move to image-mode.el.
20800 (create-animated-image): Remove unnecessary function.
20801 (image-animate): Rename from image-animate-start. New arg.
20802 (image-animate-stop): Remove; just use image-animate-timer.
20803 (image-animate-timer): Use car-safe.
20804 (image-animate-timeout): Rename argument.
20806 2011-06-07 Martin Rudalics <rudalics@gmx.at>
20808 * window.el (get-lru-window, get-largest-window): Move here from
20809 window.c. Rename first argument to ALL-FRAMES.
20810 Rephrase doc-strings.
20811 (get-buffer-window-list): Rewrite using window-list-1.
20812 Rephrase doc-string.
20813 (window-safe-min-height, window-safe-min-width): New constants.
20814 (window-size-ignore, window-min-size, window-min-size-1)
20815 (window-sizable, window-sizable-p, window-size-fixed-1)
20816 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20817 (window-max-delta-1, window-max-delta, window-resizable)
20818 (window-resizable-p, window-total-height, window-total-width)
20819 (window-body-width): New functions.
20820 (window-full-height-p, window-full-width-p): Rewrite using
20822 (window-body-height): Rewrite using window-body-size.
20824 2011-06-06 Martin Rudalics <rudalics@gmx.at>
20826 * window.el (window-right, window-left, window-child)
20827 (window-child-count, window-last-child, window-any-p)
20828 (normalize-live-buffer, normalize-live-frame)
20829 (normalize-any-window, normalize-live-window)
20830 (window-iso-combination-p, window-iso-combined-p)
20831 (window-iso-combinations)
20832 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20833 (windows-with-parameter, window-with-parameter)
20834 (window-atom-root, make-window-atom, window-atom-check-1)
20835 (window-atom-check, window-side-check, window-check):
20837 (ignore-window-parameters, window-sides, window-sides-vertical)
20838 (window-sides-slots): New variables.
20839 (window-size-fixed): Move down in code. Minor doc-string fix.
20841 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20843 * comint.el (comint-dynamic-complete-as-filename)
20844 (comint-dynamic-complete-filename): Correctly call
20845 completion-in-region.
20847 2011-06-05 Deniz Dogan <deniz@dogan.se>
20849 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20852 2011-06-05 Deniz Dogan <deniz@dogan.se>
20854 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20855 (rcirc): Use it to prompt for encryption.
20857 2011-06-05 Roland Winkler <winkler@gnu.org>
20859 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20860 (bibtex-search-entries): New command bound to C-c C-a.
20861 (bibtex-display-entries): New function.
20863 2011-06-05 Roland Winkler <winkler@gnu.org>
20865 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20866 (bibtex-insert-kill): After yanking insert newline if necessary.
20867 (bibtex-initialize): Call bibtex-string-files-init only once.
20868 (bibtex-mode): Do not call easy-menu-add.
20869 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20870 (bibtex-yank): Set arg properly if nil.
20872 2011-06-05 Roland Winkler <winkler@gnu.org>
20874 * textmodes/bibtex.el (bibtex-search-entry-globally):
20876 (bibtex-search-entry): Use it.
20878 2011-06-05 Roland Winkler <winkler@gnu.org>
20880 * textmodes/bibtex.el (bibtex-entry-format): New option
20882 (bibtex-format-entry, bibtex-reformat): Honor this option.
20883 (bibtex-parse-entry): Return fields in proper order.
20885 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
20887 * doc-view.el (doc-view-remove-if): Move computation of result out
20888 of `dolist' to silence misleading lexical-binding warning.
20890 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
20892 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20893 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20895 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20897 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20900 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20902 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20903 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20904 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20905 (tramp-parse-putty):
20906 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20907 (tramp-completion-function-alist-ssh)
20908 (tramp-completion-function-alist-telnet)
20909 (tramp-completion-function-alist-su)
20910 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20913 * net/tramp-ftp.el:
20915 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20916 load "tramp.el" `tramp-set-completion-function'.
20918 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20920 * shell.el: Require and use pcomplete.
20921 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20922 (shell-completion-vars): Set pcomplete-default-completion-function.
20924 2011-06-04 Deniz Dogan <deniz@dogan.se>
20926 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20929 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20931 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20933 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
20935 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20936 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20937 * vc/log-view.el (log-view-beginning-of-defun):
20938 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20939 (smerge-refine-forward, smerge-refine-chopup-region):
20940 Silence warning for unused `dotimes' counter variables.
20942 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20944 * net/tramp.el (tramp-with-progress-reporter): Rename from
20945 with-progress-reporter. Use `declare'.
20946 * net/tramp-smb.el:
20948 * net/tramp-gvfs.el: Update all uses.
20950 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20952 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20953 buffer isn't killed before making it current.
20955 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20957 Silence various byte-compiler warnings.
20958 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20959 `access-type' and new obsolescence format.
20960 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20962 (byte-compile-check-variable): New `access-type' argument.
20963 Only warn if the access-type is obsolete.
20964 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20965 (byte-compile-variable-set): Adjust callers.
20966 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20967 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20968 setting it as obsolete.
20969 * simple.el (minibuffer-completing-symbol):
20970 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20971 access as obsolete.
20972 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20974 * international/quail.el (quail-mouse-choose-completion): Remove unused
20975 code referring to obsolete var.
20976 (quail-choose-completion-string): Remove.
20977 * server.el (server-clients-with, server-kill-buffer-query-function)
20978 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20979 * proced.el (proced-send-signal):
20980 * emacs-lisp/lisp.el (lisp-complete-symbol):
20981 Replace completion-annotate-function with completion-extra-properties.
20983 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20985 * simple.el (goto-line): Use read-number.
20986 (overriding-map-is-bound): Remove.
20987 (saved-overriding-map): Change default.
20988 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20989 Take the map as argument.
20990 (universal-argument, negative-argument, digit-argument): Use it.
20991 (restore-overriding-map): Adjust.
20992 (do-auto-fill): Use fill-forward-paragraph.
20993 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20995 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20996 (minibuffer-inactive-mode): New major mode.
20997 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20998 the *Messages* buffer" hack.
20999 (mouse-popup-menubar): Don't burp if the event is a normal key.
21001 Miscellaneous tweaks.
21002 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21003 lexical scoping as in subr.el's dolist and dotimes.
21004 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21005 Silence compiler warning.
21006 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21007 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21008 * international/ccl.el (ccl-compile): Trivial simplification.
21009 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21010 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21011 `printflag' argument.
21012 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21013 Purecopy the whole obsolescence data.
21015 2011-06-01 Leo Liu <sdl.web@gmail.com>
21017 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21018 improve doc-string as suggested by Marco Pessotto
21019 <melmothx@gmail.com>.
21020 (rcirc-print): Fix last change.
21022 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21024 * minibuffer.el (complete-with-action): Return nil for the metadata and
21025 boundaries of non-functional tables.
21026 (completion-table-dynamic): Return nil for the metadata.
21027 (completion-table-with-terminator): Add default case, using
21028 complete-with-action.
21029 (completion--metadata): New function.
21030 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21031 to try and avoid pathological performance problems.
21032 (completion--embedded-envvar-table): Return `category' metadata.
21034 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21036 * subr.el (process-alive-p): New tiny convenience function.
21038 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21040 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21041 content but also its previous major mode.
21043 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21045 * emacs-lisp/debug.el (debug): Restore the previous content of the
21046 *Backtrace* buffer when we exit with C-M-c.
21048 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21050 * minibuffer.el: Add metadata method to completion tables.
21051 (completion-category-overrides): New defcustom.
21052 (completion-metadata, completion--field-metadata)
21053 (completion-metadata-get, completion--styles)
21054 (completion--cycle-threshold): New functions.
21055 (completion-try-completion, completion-all-completions):
21056 Add `metadata' argument to choose completion-styles.
21057 (completion--do-completion): Use metadata to choose cycling.
21058 (completion-all-sorted-completions): Use metadata for sorting.
21059 Remove :completion-cycle-penalty which is not needed any more.
21060 (completion--try-word-completion): Add `metadata' argument.
21061 (minibuffer-completion-help): Check metadata for annotation function
21063 (completion-file-name-table): Return `category' metadata.
21064 (minibuffer-completing-file-name): Make obsolete.
21065 * simple.el (minibuffer-completing-symbol): Make obsolete.
21066 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21067 completion-try-completion.
21069 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21071 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21073 2011-05-30 Leo Liu <sdl.web@gmail.com>
21075 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21076 (rcirc-print): Decode all incoming messages (bug#8744).
21077 (rcirc-decode-coding-system): Allow value nil for automatic coding
21080 2011-06-01 Glenn Morris <rgm@gnu.org>
21082 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21084 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21086 * image.el (image-animate-max-time): Allow nil and t values.
21088 (create-animated-image): Doc fix.
21089 (image-animate-start): Remove second arg; just use
21090 image-animate-max-time.
21091 (image-animate-timeout): Doc fix. Args changed.
21093 * image-mode.el (image-toggle-display-image): Ensure that the
21094 image spec passed to the animate timer is the same object as in
21095 the buffer's display property (Bug#6981).
21096 (image-transform-properties): Doc fix.
21098 * image.el (image-animate-max-time): Default to nil.
21100 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21102 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21103 entire buffer list (Bug#8184).
21105 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21107 * image.el (imagemagick-types-inhibit)
21108 (imagemagick-register-types): Doc fix.
21110 2011-05-29 Deniz Dogan <deniz@dogan.se>
21112 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21115 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21117 * select.el: Don't perform clipboard-manager saving in hooks;
21118 leave the hooks empty.
21120 2011-05-28 Leo Liu <sdl.web@gmail.com>
21122 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21123 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21124 (occur-edit-mode): New major mode (Bug#8463).
21125 (occur-after-change-function): New function.
21126 (occur-engine): Give Occur tags a read-only property.
21128 2011-05-28 Kevin Ryde <user42@zip.com.au>
21130 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21132 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21134 * bindings.el (help-echo): Make the initial non-indicator dash
21135 empty on graphical terminals (Bug#7295).
21137 * files.el (auto-mode-alist): Move config rule after the
21138 in-stripping one (Bug#8547).
21140 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21142 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21143 setting (Bug#8740).
21145 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21147 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21148 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21151 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21153 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21155 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21157 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21158 (hs-hide-block-at-point, hs-find-block-beginning)
21159 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21162 2011-05-28 Glenn Morris <rgm@gnu.org>
21164 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21166 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21168 * help-fns.el (describe-function-1): If the function is a derived
21169 major mode, print the parent mode.
21171 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21172 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21174 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21176 * minibuffer.el (completion--capf-wrapper): Check applicability before
21177 returning non-nil for non-exclusive completion data.
21178 * progmodes/etags.el (tags-completion-at-point-function):
21179 * info-look.el (info-lookup-completions-at-point): Mark as
21181 (info-complete): Adjust accordingly.
21183 * info-look.el: Convert to lexical-binding and completion-at-point.
21184 (info-lookup-completions-at-point): New function.
21185 (info-complete): Use it and completion-in-region.
21187 2011-05-28 Drew Adams <drew.adams@oracle.com>
21189 * isearch.el: Let M-e start with point at the first mismatched char.
21190 (isearch-fail-pos): New function.
21191 (isearch-edit-string): Use it.
21193 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21195 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21197 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21199 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21200 traversal functions for avl-trees.
21201 (avl-tree--stack): New struct.
21202 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21203 (avl-tree-enter): Add optional `updatefun' arg.
21204 (avl-tree--do-enter): Add optional `updatefun' arg.
21205 Change return value.
21206 (avl-tree-delete): Add optional `test' and `nilflag' args.
21207 (avl-tree--do-delete): Add `test' and `nilflag' args.
21208 Change return value.
21209 (avl-tree-member): Add optional `nilflag'
21210 (avl-tree-member-p): New function.
21211 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21212 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21213 (avl-tree-stack-empty-p): New functions.
21215 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21216 avl-tree--del-balance1 and make it work both ways.
21217 (avl-tree--del-balance2): Remove.
21218 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21219 make it work both ways.
21220 (avl-tree--enter-balance2): Remove.
21221 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21223 (avl-tree--mapc, avl-tree-map): Add direction argument.
21225 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21227 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21229 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21231 * select.el: Support clipboard managers with built-in function
21232 x-clipboard-manager-save, via delete-frame-functions and
21234 (xselect-convert-to-targets): Add MULTIPLE target to list.
21235 (xselect-convert-to-save-targets): New function.
21237 2011-05-27 Kenichi Handa <handa@m17n.org>
21239 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21240 let-binding rfc2047-encode-encoded-words to nil.
21242 2011-05-27 Glenn Morris <rgm@gnu.org>
21244 * mail/emacsbug.el: Don't require url-util.
21246 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21248 * files.el (set-auto-mode):
21249 Also respect mode: entries at the end of the file. (Bug#8586)
21251 2011-05-26 Glenn Morris <rgm@gnu.org>
21253 * files.el (hack-local-variables-prop-line, hack-local-variables):
21254 Downcase mode names, as seems to be traditional.
21255 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21257 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21258 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21260 2011-05-25 Julien Danjou <julien@danjou.info>
21262 * textmodes/rst.el (rst-define-level-faces): Do not define face
21263 symbol if it is already defined.
21265 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21267 * play/5x5.el (5x5-new-game, 5x5-randomize):
21268 Reset 5x5-solver-output to nil when a new grid is cast.
21269 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21270 these debugging traces, as defmacro breaks the compiled code.
21272 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21274 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21276 2011-05-24 Leo Liu <sdl.web@gmail.com>
21278 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21279 (vc-bzr-sha1): Adapt.
21281 * sha1.el: Remove. Function `sha1' is now builtin.
21283 * bindings.el: Provide sha1 feature.
21285 2011-05-24 Kenichi Handa <handa@m17n.org>
21287 * mail/sendmail.el: Require `rfc2047'.
21288 (mail-insert-from-field): Do not perform RFC2047 encoding.
21289 (mail-encode-header): New function.
21290 (sendmail-send-it): Set buffer-file-coding-system of the work
21291 buffer to the return value of select-message-coding-system.
21292 Call mail-encode-header.
21294 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21296 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21298 * mail/supercite.el (sc-default-cite-frame):
21299 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21301 2011-05-24 Glenn Morris <rgm@gnu.org>
21303 * progmodes/python.el (brm-menu): Declare.
21305 * emulation/viper.el (viper-set-hooks): Declare.
21307 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21308 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21309 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21310 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21311 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21312 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21314 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21316 Add an :exit-function for completion-at-point.
21318 * minibuffer.el (completion--done): New fun.
21319 (completion--do-completion): Use it. New arg `expect-exact'.
21320 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21321 since completion--do-completion does it for us now.
21322 (minibuffer-force-complete): Use completion--done and
21323 completion--replace. Handle sole-completion case with more care.
21324 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21325 (completion-extra-properties): New var.
21326 (completion-annotate-function): Make obsolete.
21327 (minibuffer-completion-help): Adjust accordingly.
21328 Use completion-list-insert-choice-function.
21329 (completion-at-point, completion-help-at-point):
21330 Bind completion-extra-properties.
21331 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21332 * simple.el (completion-list-insert-choice-function): New var.
21333 (completion-setup-function): Preserve it.
21334 (choose-completion): Pay attention to it, shuffle the code a bit.
21335 (choose-completion-string): New arg `insert-function'.
21337 * textmodes/bibtex.el: Convert to lexical binding.
21338 (bibtex-mode-map): Use completion-at-point.
21339 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21340 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21341 (bibtex-complete): Define as obsolete alias.
21342 (bibtex-complete-internal): Remove.
21343 (bibtex-format-entry): Remove unused sub-group in regexp.
21344 * shell.el (shell--command-completion-data)
21345 (shell-environment-variable-completion):
21346 * pcomplete.el (pcomplete-completions-at-point):
21347 * comint.el (comint--complete-file-name-data): Use :exit-function
21348 instead of completion-table-with-terminator so it also works for
21351 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21353 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21355 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21358 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21360 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21362 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21363 customization variable and implement: If non-nil, auto-fill will
21364 be inhibited while on topic's header line.
21366 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21368 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21369 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21370 always have a solution in grid size = 5 cases.
21371 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21372 (5x5-solver-output, 5x5-log-buffer): New vars.
21373 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21374 Make these variables buffer local to achieve 5x5 multi-session-ness.
21375 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21376 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21377 (5x5-solve-suggest): New funs.
21378 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21379 randomize a grid so that we ensure that there is always a solution.
21380 (5x5-make-random-grid): Allow other movement than flipping.
21382 2011-05-23 Kevin Ryde <user42@zip.com.au>
21384 * emacs-lisp/advice.el (ad-read-advised-function):
21385 Use `function-called-at-point' as the default, if it has
21386 advice and passes PREDICATE.
21388 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21390 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21391 byte-compile-lambda if it's actually a lambda.
21393 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21394 Fix function quoting. Use backquote better.
21396 2011-05-22 Yuanle Song <sylecn@gmail.com>
21398 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21399 matching (Bug#8516).
21401 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21403 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21404 different face (Bug#8178).
21406 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21408 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21409 defface (Bug#8144).
21411 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21413 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21414 funcall as well (bug#8712). Warn when performing those conversions.
21415 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21417 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21419 2011-05-22 Glenn Morris <rgm@gnu.org>
21421 * files.el (hack-local-variables-prop-line): Small simplifications.
21422 (hack-local-variables, hack-local-variables-prop-line):
21423 If MODE-ONLY, return the mode, rather than just `t'.
21425 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21427 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21429 2011-05-21 Glenn Morris <rgm@gnu.org>
21431 * files.el (hack-local-variables-prop-line, hack-local-variables):
21432 If only interested in the mode, don't bother doing the other stuff.
21434 * image-mode.el (image-after-revert-hook):
21435 Redraw all frames on which the image is visible. (Bug#8567)
21437 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21439 * wid-edit.el (widget-checklist-match-inline):
21440 Fix 2011-04-19 change. (Bug#8649)
21442 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21444 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21445 Also allow singlespace after single-letter capitals followed by a dot.
21447 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21448 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21450 2011-05-20 Nix <nix@esperi.org.uk>
21452 * files.el (basic-save-buffer-2):
21453 Fix handling of break-hardlink-on-save with non-existent files.
21455 2011-05-19 Deniz Dogan <deniz@dogan.se>
21457 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21458 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21460 2011-05-19 Glenn Morris <rgm@gnu.org>
21462 * progmodes/f90.el (f90-type-def-re):
21463 Handle "type, bind(c)". (Bug#8691)
21465 * emacs-lisp/autoload.el (batch-update-autoloads):
21466 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21468 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21470 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21471 property for the correct connection in case of multihops.
21473 2011-05-18 Glenn Morris <rgm@gnu.org>
21475 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21476 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21478 Rationalize calendar handling of day and month abbrev-arrays.
21479 * calendar/calendar.el (calendar-customized-p): New function.
21480 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21481 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21483 (calendar-abbrev-length, calendar-day-abbrev-array)
21484 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21485 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21486 Elements may no longer be nil.
21487 (calendar-day-name, calendar-month-name):
21488 Update for changed nature of abbrev arrays.
21489 * calendar/diary-lib.el (diary-name-pattern):
21490 Update for changed nature of abbrev arrays.
21491 (diary-mark-entries-1): Update calendar-make-alist calls.
21492 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21493 * calendar/cal-html.el (cal-html-day-abbrev-array):
21494 Simply inherit from calendar-day-abbrev-array.
21496 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21498 * progmodes/grep.el (grep-mode): Disable default
21499 compilation-directory-matcher setting (bug#8684).
21501 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21503 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21504 instead of "head" and "tail". There were problems with SunOS 5.9,
21505 and it performs better.
21507 2011-05-17 Glenn Morris <rgm@gnu.org>
21509 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21511 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21512 Replace obsolete function.
21514 * shell.el (pcomplete-parse-arguments-function): Declare.
21516 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21517 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21518 (appt-check): Doc fixes.
21519 (appt-disp-window-function, appt-delete-window-function):
21520 Remove needless special case in custom :type.
21521 (appt-display-count): Default to 0, not nil.
21522 (appt-check): Reset appt-display-count to 0, not nil.
21524 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21526 * progmodes/python.el (python-font-lock-keywords):
21527 Add the Python 3.X keyword "nonlocal" (bug#8639).
21529 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21531 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21533 2011-05-16 Kevin Ryde <user42@zip.com.au>
21535 * info-look.el (makefile-automake-mode): New setups, looking in
21536 automake manual, then makefile-mode.
21537 (makefile-mode): Remove automake manual, have it just in
21538 makefile-automake-mode since there's various things different or
21539 not relevant to plain make.
21540 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21541 believe a hypothetical automake-mode would go to makefile-mode,
21542 not the other way around.
21544 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21546 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21547 hunk-end tags (Bug#8672).
21549 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21550 vc-annotate-show-diff-revision-at-line (Bug#8671).
21552 2011-05-14 Glenn Morris <rgm@gnu.org>
21554 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21555 in the middle of an existing one with multiple authors. (Bug#8645)
21556 (change-log-font-lock-keywords): Also handle multiple author lines
21557 with leading tabs. (Bug#8644)
21559 * calendar/appt.el (appt-check): Rename some local variables.
21560 Some simplification/reordering.
21562 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21563 (feedmail-sendmail-f-doesnt-sell-me-out)
21564 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21565 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21566 (feedmail-queue-runner-message-sender): Set :version.
21567 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21568 (bbdb-dwim-net-address, vm-mail): Declare.
21569 (feedmail-binmail-gnulinuxish-template):
21570 Rename from feedmail-binmail-linuxish-template.
21571 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21572 Use insert-buffer-substring.
21574 2011-05-14 Bill Carpenter <bill@carpenter.org>
21576 * mail/feedmail.el (feedmail-patch-level): Increase.
21577 (feedmail-debug): New custom group.
21578 (feedmail-confirm-outgoing-timeout)
21579 (feedmail-sendmail-f-doesnt-sell-me-out)
21580 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21581 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21582 (feedmail-sender-line, feedmail-from-line)
21583 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21584 (feedmail-spray-this-address)
21585 (feedmail-spray-address-fiddle-plex-list)
21586 (feedmail-queue-use-send-time-for-date)
21587 (feedmail-queue-use-send-time-for-message-id)
21588 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21589 (feedmail-buffer-eating-function):
21591 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21592 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21593 (feedmail-message-action-scroll-down): New functions.
21594 (feedmail-queue-directory, feedmail-queue-draft-directory):
21595 Use expand-file-name.
21596 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21597 Remove C-v help entry.
21598 (feedmail-queue-buffer-file-name): New variable.
21599 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21600 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21601 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21602 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21603 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21604 (feedmail-message-action-toggle-spray)
21605 (feedmail-run-the-queue-no-prompts)
21606 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21607 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21608 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21609 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21610 (feedmail-envelope-deducer, feedmail-fiddle-from)
21611 (feedmail-fiddle-sender, feedmail-default-date-generator)
21612 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21613 (feedmail-fiddle-spray-address)
21614 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21615 (feedmail-fiddle-list-of-fiddle-plexes)
21616 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21617 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21618 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21619 Change default. Doc fix.
21620 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21621 (feedmail-binmail-linuxish-template): New constant.
21622 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21623 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21624 (feedmail-send-it): Add debug call.
21625 Use feedmail-queue-buffer-file-name, and
21626 feedmail-send-it-immediately-wrapper.
21627 (feedmail-message-action-send): Add debug call.
21628 Use feedmail-send-it-immediately-wrapper.
21629 (feedmail-queue-express-to-queue): Add debug call.
21630 Run feedmail-queue-express-hook.
21631 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21632 (feedmail-message-action-help-blat):
21633 Rename from feedmail-queue-send-edit-prompt-help-first.
21634 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21635 Check line-endings. Handle errors better.
21636 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21637 Doc fix. Add debug call.
21638 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21639 Use feedmail-queue-send-edit-prompt-inner.
21640 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21641 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21642 from feedmail-queue-send-edit-prompt.
21643 (feedmail-queue-send-edit-prompt-help)
21644 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21645 (feedmail-tidy-up-slug): Add debug call.
21646 Respect feedmail-queue-slug-suspect-regexp.
21647 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21648 (feedmail-dump-message-to-queue): Add debug call.
21649 Expand queue-directory.
21650 (feedmail-dump-message-to-queue): Change message slightly.
21651 Use feedmail-say-chatter.
21652 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21653 (feedmail-send-it-immediately-wrapper): New function.
21654 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21655 Insert empty string rather than newline. Handle full-frame case.
21656 Use catch/throw. Use feedmail-say-chatter.
21657 (feedmail-fiddle-from): Try mail-host-address.
21658 (feedmail-default-message-id-generator): Doc fix.
21659 Bind system-time-locale. Handle missing end.
21660 (feedmail-fiddle-x-mailer): Add debug call.
21661 Handle feedmail-x-mailer-line being nil.
21662 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21663 Add debug call. Use buffer-substring-no-properties.
21664 (feedmail-say-debug, feedmail-say-chatter): New functions.
21665 (feedmail-find-eoh): Give an explicit error.
21667 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
21669 * net/newst-treeview.el (newsticker-treeview-face): Change default
21670 family from helvetica to sans.
21671 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
21672 etc/images/newsticker.
21674 * net/newst-reader.el (newsticker-feed-face): Change default
21675 family from helvetica to sans.
21677 * net/newst-plainview.el (newsticker-new-item-face)
21678 (newsticker-old-item-face, newsticker-immortal-item-face)
21679 (newsticker-obsolete-item-face, newsticker-date-face)
21680 (newsticker-statistics-face): Change default family from
21682 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
21683 etc/images/newsticker.
21685 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21686 (newsticker--process-auto-mark-filter-match): Tell user about
21689 2011-05-13 Didier Verna <didier@xemacs.org>
21691 Common Lisp indentation improvements on defmethod and lambda-lists.
21692 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21694 (lisp-lambda-list-keyword-parameter-indentation)
21695 (lisp-lambda-list-keyword-parameter-alignment)
21696 (lisp-lambda-list-keyword-alignment): New customizable user options.
21697 (lisp-indent-defun-method): Improve docstring.
21698 (extended-loop-p): Fix comment.
21699 (lisp-indent-lambda-list-keywords-regexp): New variable.
21700 (lisp-indent-lambda-list): New function.
21701 (lisp-indent-259): Use it.
21702 (lisp-indent-defmethod): Support for more than one
21703 method qualifier and properly indent methods lambda-lists.
21704 (defgeneric): Provide a missing common-lisp-indent-function property.
21706 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21708 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21709 bounds for the empty string (bug#8667).
21711 2011-05-13 Glenn Morris <rgm@gnu.org>
21713 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21715 * mail/sendmail.el (sendmail-program): Try executable-find first.
21716 (sendmail-send-it): `sendmail-program' cannot be unbound.
21718 * calendar/appt.el (appt-make-list): Simplify.
21719 (appt-time-msg-list): Doc fix.
21720 (appt-check): Change mode-line message at the time of the appointment.
21722 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21724 * progmodes/ld-script.el (ld-script-keywords)
21725 (ld-script-builtins): Update keywords list.
21727 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21729 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21731 * shell.el (shell-completion-vars): New function.
21733 * simple.el (read-shell-command): Use it.
21734 (blink-matching-open): No need for " [...]" in minibuffer-message.
21736 2011-05-12 Glenn Morris <rgm@gnu.org>
21738 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21739 (appt-check): Simplify.
21741 2011-05-12 Eli Zaretskii <eliz@gnu.org>
21743 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
21744 literal "/dev/null".
21746 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21748 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21751 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
21753 * progmodes/which-func.el (which-function):
21754 Use add-log-current-defun instead of add-log-current-defun-function,
21755 which might not be defined (Bug#8260).
21757 2011-05-12 Glenn Morris <rgm@gnu.org>
21759 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21760 Let byte-compile-initial-macro-environment always take precedence.
21762 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21764 * net/rcirc.el: Add support for SSL/TLS connections.
21765 (rcirc-server-alist): New field `encryption'.
21766 (rcirc): Check `encryption' settings.
21767 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21768 Merge make-local-variable into `set'.
21769 (rcirc--connection-open-p): New function.
21770 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21771 the process is not a network process (e.g. running gnutls-cli).
21772 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21773 Make rcirc-(en|de)code-coding-system local here.
21774 (rcirc-mode): Merge make-local-variable into `set'.
21775 (rcirc-parent-buffer): Make permanent buffer-local.
21776 (rcirc-multiline-minor-mode): Don't do it here.
21777 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21778 there's no server buffer.
21780 2011-05-11 Glenn Morris <rgm@gnu.org>
21782 * newcomment.el (comment-kill): Prefix "unused" local.
21784 * term/w32console.el (get-screen-color): Declare.
21786 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21787 Handle symbol elements of byte-compile-initial-macro-environment.
21789 2011-05-10 Leo Liu <sdl.web@gmail.com>
21791 * bookmark.el (bookmark-bmenu-mode-map):
21792 Bind bookmark-bmenu-search to `/'.
21794 * mail/footnote.el: Convert to utf-8 encoding.
21795 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21796 (Footnote-unicode): New function.
21797 (footnote-style-alist): Add unicode style to the list.
21798 (footnote-style): Doc fix.
21800 2011-05-10 Jim Meyering <meyering@redhat.com>
21802 Fix doubled-word typos.
21803 * international/quail.el (quail-insert-kbd-layout): and and -> and
21804 * kermit.el: and and -> and
21805 * net/ldap.el (ldap-search-internal): to to -> to
21806 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21807 * progmodes/js.el (js-mode): and and -> and
21808 * textmodes/artist.el (artist-move-to-xy): at at -> at
21809 (artist-draw-region-trim-line-endings): if if -> if
21810 And Safetyc -> Safety.
21811 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21813 2011-05-10 Glenn Morris <rgm@gnu.org>
21814 Stefan Monnier <monnier@iro.umontreal.ca>
21816 * files.el (hack-one-local-variable-eval-safep):
21817 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21819 2011-05-10 Glenn Morris <rgm@gnu.org>
21821 * calendar/diary-lib.el (diary-list-entries-hook)
21822 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21823 (diary-nongregorian-marking-hook, diary-list-entries)
21824 (diary-include-other-diary-files, diary-mark-entries)
21825 (diary-mark-included-diary-files): Doc fixes.
21827 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21829 * misc.el: Require tabulated-list.el during compilation.
21831 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21833 * progmodes/compile.el (compilation-start):
21834 Run compilation-filter-hook for the async case too.
21835 (compilation-filter-hook): Doc fix.
21837 2011-05-09 Deniz Dogan <deniz@dogan.se>
21839 * wdired.el: Remove outdated installation comment. Fix usage
21842 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21844 * misc.el: Implement new command `list-dynamic-libraries'.
21845 (list-dynamic-libraries--loaded-only-p): New variable.
21846 (list-dynamic-libraries--refresh): New function.
21847 (list-dynamic-libraries): New command.
21849 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21851 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21852 Fix the ant regexp to handle end-line and end-column info from jikes.
21853 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21854 higher priority to avoid clobbering by gnu.
21856 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21858 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21859 if the face has existing theme settings (Bug#8454).
21861 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21863 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21864 Only match variables declared via `my' or `our' (Bug#8261).
21866 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21867 special file names `.' and `..' (Bug#8259).
21869 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21871 * progmodes/grep.el (grep-mode-font-lock-keywords):
21872 Remove buffer-changing entries.
21873 (grep-filter): New function.
21874 (grep-mode): Add it to compilation-filter-hook.
21876 * progmodes/compile.el (compilation-filter-hook)
21877 (compilation-filter-start): New defvars.
21878 (compilation-filter): Call compilation-filter-hook prior to
21879 updating the process mark.
21881 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21883 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21885 2011-05-07 Eli Zaretskii <eliz@gnu.org>
21887 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21888 mailclient-send-it even if window-system is nil. (Bug#8595)
21890 * term/w32console.el (terminal-init-w32console):
21891 Call get-screen-color and use its output to set the frame
21892 background-mode. (Bug#8597)
21894 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21896 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21897 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21899 (defgeneric, eieio--defmethod): Use them.
21900 (eieio-defgeneric): Remove.
21901 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21903 2011-05-07 Glenn Morris <rgm@gnu.org>
21905 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21906 Use let rather than let*.
21907 (timeclock-find-discrep): Remove unused local.
21909 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21911 * calendar/appt.el (appt-time-msg-list): Doc fix.
21913 2011-05-06 Noah Friedman <friedman@splode.com>
21915 * apropos.el (apropos-print-doc): Only use
21916 emacs-lisp-docstring-fill-column when it is bound to an integer,
21917 per that variable's documentation.
21919 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21921 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
21922 and warnings are not silently discarded (e.g. use -d instead of -P).
21924 2011-05-06 Glenn Morris <rgm@gnu.org>
21926 * calendar/appt.el (appt-message-warning-time): Doc fix.
21927 (appt-warning-time-regexp): New option.
21928 (appt-make-list): Respect appt-message-warning-time.
21930 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21932 (diary-add-to-list): Strip comments from the displayed string.
21933 (diary-mode): Set comment-start and comment-end.
21935 * vc/diff-mode.el (smerge-refine-subst): Declare.
21936 (diff-refine-hunk): Don't require smerge-mode when compiling.
21938 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
21940 * simple.el (list-processes): Return nil as the docstring says.
21942 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21944 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21946 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21947 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21948 determining of binary transfer. (Bug#7383)
21950 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21952 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21953 Fix port computation bug. (Bug#8618)
21955 2011-05-05 Glenn Morris <rgm@gnu.org>
21957 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21959 * simple.el (shell-dynamic-complete-functions)
21960 (comint-dynamic-complete-functions): Declare.
21962 * net/network-stream.el (gnutls-negotiate):
21963 * simple.el (tabulated-list-print): Fix declarations.
21965 * progmodes/gud.el (syntax-symbol, syntax-point):
21966 Remove unnecessary and incorrect declarations.
21968 * emacs-lisp/check-declare.el (check-declare-scan):
21969 Handle byte-compile-initial-macro-environment in bytecomp.el.
21971 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21973 Fix earlier half-done eieio-defmethod change (bug#8338).
21974 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21975 Streamline and change calling convention.
21976 (defmethod): Adjust accordingly and simplify.
21977 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21978 new eieio--defmethod.
21979 (slot-boundp): Minor CSE simplification.
21981 2011-05-05 Milan Zamazal <pdm@zamazal.org>
21983 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21984 (glasses-make-readable): Use glasses-separate-capital-groups.
21986 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
21988 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21989 (warning-series): Doc fix.
21990 (display-warning): Don't try to create the buffer if we just found it.
21992 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
21994 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21995 (autoload-find-generated-file): New function.
21996 (generate-file-autoloads): Bind generated-autoload-file to
21998 (update-file-autoloads, update-directory-autoloads):
21999 Use autoload-find-generated-file. If called interactively, prompt for
22000 output file (Bug#7989).
22001 (batch-update-autoloads): Doc fix.
22003 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22005 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22007 2011-05-04 Glenn Morris <rgm@gnu.org>
22009 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22010 function, so it follows changes in calendar-date-style.
22011 (diary-fancy-date-matcher): New function.
22012 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22013 (diary-fancy-font-lock-fontify-region-function):
22014 Use diary-fancy-date-pattern as a function.
22016 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22017 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22019 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22021 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22022 instead of positional arguments. Allow :keylist and :crlfiles
22024 (open-gnutls-stream): Call it.
22026 * net/network-stream.el (network-stream-open-starttls): Adjust to
22027 call `gnutls-negotiate' with :process and :hostname arguments.
22029 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22031 * minibuffer.el (completion--message): New function.
22032 (completion--do-completion, minibuffer-complete)
22033 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22034 (completion--do-completion): Don't ignore completion-auto-help when in
22037 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22038 internal encoding (e.g. tibetan zero is not whitespace).
22039 (global-whitespace-mode): Prefer save-current-buffer.
22040 (whitespace-trailing-regexp): Remove useless save-match-data.
22041 (whitespace-empty-at-bob-regexp): Minor simplification.
22043 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22045 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22047 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22049 * textmodes/ispell.el (ispell-add-per-file-word-list):
22050 Use `concat' to create string for insertion.
22052 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22054 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22055 Avoid open-line which runs post-self-insert-hook.
22056 (bibtex-fill-entry): Remove unused `end' var.
22058 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22060 * textmodes/ispell.el (ispell-add-per-file-word-list):
22061 Protect against `nil' value of `comment-start' (Bug#8579).
22063 2011-05-03 Leo Liu <sdl.web@gmail.com>
22065 * isearch.el (isearch-yank-pop): New command.
22066 (isearch-mode-map): Bind it to `M-y'.
22067 (isearch-forward): Mention it.
22069 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22071 * simple.el (minibuffer-complete-shell-command): Remove.
22072 (minibuffer-local-shell-command-map): Use completion-at-point.
22073 (read-shell-command): Setup completion vars here instead.
22074 (read-expression-map): Bind TAB to symbol completion.
22076 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22077 error directly rather via storing it into `results'.
22079 2011-05-02 Leo Liu <sdl.web@gmail.com>
22081 * vc/diff.el: Fix description.
22083 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22085 * server.el (server-eval-at): New function.
22087 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22089 * net/network-stream.el (open-network-stream): Take a :nowait
22090 parameter and pass it on to `make-network-process'.
22091 (network-stream-open-plain): Ditto.
22093 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22095 * faces.el (face-spec-set-match-display): Don't match toolkit
22096 options on terminal frames.
22098 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22100 * progmodes/pascal.el: Use lexical binding.
22101 (pascal-mode-map): Remove author preferences.
22103 * pcomplete.el (pcomplete-std-complete): Don't abuse
22104 completion-at-point.
22106 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22108 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22109 removing code that has been dead since 1991 or so.
22111 * startup.el (command-line): When warning about "_emacs", use a
22112 delayed warning to allow the user to filter it out.
22114 2011-04-28 Deniz Dogan <deniz@dogan.se>
22116 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22117 user has not joined.
22119 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22121 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22122 aren't any completions at point.
22124 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22126 * subr.el (display-delayed-warnings): New function.
22127 (delayed-warnings-hook): New variable.
22129 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22131 * minibuffer.el (completion-at-point, completion-help-at-point):
22132 Don't presume that a given completion-at-point-function will always
22133 use the same calling convention.
22135 * pcomplete.el (pcomplete-completions-at-point):
22136 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22137 pcomplete-seen is non-nil.
22138 (pcomplete-comint-setup): Also recognize the new comint/shell
22139 completion functions.
22140 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22141 pcomplete-seen is non-nil.
22143 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22145 * calendar/icalendar.el (diary-lib): Add require statement.
22146 (icalendar--create-uid): Read out a uid from a text-property on
22147 the first character in the entry. This allows for code to add its
22148 own uid to the entry.
22149 (icalendar--convert-float-to-ical): Add export of
22150 `diary-float'-entries save for those with the optional DAY
22153 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22155 * subr.el (shell-quote-argument): Use alternate escaping strategy
22156 when we spot a variable reference in a string.
22158 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22160 * cus-start.el (all): Define customization for debug-on-event.
22162 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22164 * subr.el (shell-quote-argument): Escape correctly under Windows.
22166 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22168 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22170 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22172 * net/tramp.el (tramp-process-actions): Add POS argument.
22173 Delete region between POS and (pos).
22175 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22176 Use `nil' position in `tramp-process-actions' call.
22177 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22179 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22180 position in `tramp-process-actions' call.
22182 * net/trampver.el: Update release number.
22184 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22186 * custom.el (defcustom): Obey lexical-binding.
22188 Fix octave-inf completion problems reported by Alexander Klimov.
22189 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22190 Inherit from octave-mode-syntax-table.
22191 (inferior-octave-mode): Set info-lookup-mode.
22192 (inferior-octave-completion-at-point): New function.
22193 (inferior-octave-complete): Use it and completion-in-region.
22194 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22195 comint-filename-completion.
22196 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22197 symbol elements which shouldn't be word elements.
22198 (octave-font-lock-keywords, octave-beginning-of-defun)
22199 (octave-function-header-regexp): Adjust regexps accordingly.
22200 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22202 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22204 * net/gnutls.el (gnutls-errorp): Declare before first use.
22206 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22208 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22209 verify-error, and verify-hostname-error parameters. Check whether
22210 default trustfile exists before going to use it. Add missing
22211 argument to gnutls-message-maybe call. Return value.
22212 Reported by Claudio Bley <claudio.bley@gmail.com>.
22213 (open-gnutls-stream): Add usage example.
22215 * net/network-stream.el (network-stream-open-starttls): Give host
22216 parameter to `gnutls-negotiate'.
22217 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22218 * subr.el (shell-quote-argument): Escape correctly under Windows.
22220 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22222 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22223 Use correct match group (bug#8438).
22225 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22227 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22228 (package-menu--generate): New arg specifying packages to show.
22229 (package-menu-refresh, package-menu-execute, list-packages):
22231 (package-show-package-list): New function, replacing deleted
22232 package--list-packages (renamed because it is non-internal).
22234 * finder.el (finder-list-matches): Use package-show-package-list
22235 instead of deleted package--list-packages.
22237 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22238 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22239 (vc-annotate-mode-map): Bind it to RET.
22241 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22243 * progmodes/etags.el (next-file): Don't use set-buffer to change
22244 buffers (Bug#8478).
22246 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22248 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22250 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22251 (apropos-accumulator): Doc fix.
22252 (apropos-function, apropos-macro, apropos-command)
22253 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22254 (apropos-plist): Add face property.
22255 (apropos-symbols-internal): Fix indentation.
22256 (apropos-print): Simplify help, and recognize apropos-multi-type.
22257 (apropos-print-doc): Use button-type-get to extract the button's
22258 face property. Fill docstring (Bug#8352).
22260 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22262 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22264 * play/mpuz.el (mpuz-silent): Doc fix.
22265 (mpuz-mode-map): Use mapc.
22266 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22267 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22268 Fix typos in docstrings.
22270 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22271 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22273 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22275 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22277 * minibuffer.el (completion--do-completion): Avoid the "Next char
22278 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22280 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22281 mouse-2 into unread-command-events, it is interpreted correctly.
22283 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22284 (image-toggle-display): Doc fix.
22286 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22288 * textmodes/page.el (what-page): Use line-number-at-pos to
22289 calculate line number (Bug#6825).
22291 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22293 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22294 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22295 Pass argument NO-DEFAULT to `find-tag-interactive'.
22297 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22299 Lexical-binding cleanup.
22301 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22302 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22303 * progmodes/ada-prj.el (ada-prj-initialize-values)
22304 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22305 (ada-prj-show-value):
22306 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22307 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22308 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22309 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22310 * progmodes/bug-reference.el (bug-reference-push-button):
22311 * progmodes/fortran.el (fortran-line-length):
22312 * progmodes/glasses.el (glasses-change):
22313 * progmodes/octave-mod.el (octave-fill-paragraph):
22314 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22315 (python-pdbtrack-grub-for-buffer, python-sentinel):
22316 * progmodes/sql.el (sql-save-connection):
22317 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22318 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22319 Mark unused parameters.
22321 * progmodes/compile.el (compilation--flush-directory-cache)
22322 (compilation--flush-parse, compile-internal): Mark unused parameters.
22323 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22324 (compilation-next-error-function): Remove unused variable `timestamp'.
22326 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22327 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22329 * progmodes/dcl-mode.el (dcl-end-of-command):
22330 Remove unused variable `start'.
22331 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22332 (dcl-option-value-basic, dcl-option-value-offset)
22333 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22334 Mark unused parameters.
22335 (dcl-save-local-variable): Remove unused variable `val'.
22338 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22339 Mark unused parameters.
22340 (delphi-ignore-changes): Move before first use.
22341 (delphi-charset-token-at): Remove unused variable `start'.
22342 (delphi-else-start): Remove unused variable `if-count'.
22343 (delphi-comment-block-start, delphi-comment-block-end):
22344 Remove unused variable `kind'.
22345 (delphi-indent-line): Remove unused variable `new-point'.
22347 * progmodes/ebrowse.el (ebrowse-files-list)
22348 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22349 Mark unused parameters. Don't quote `lambda'.
22350 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22351 Don't quote `lambda'.
22352 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22353 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22354 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22355 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22356 Use `ignore-errors'.
22357 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22358 (ebrowse-view/find-file-and-search-pattern)
22359 (ebrowse-view/find-member-declaration/definition):
22360 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22361 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22362 Rename parameter PREFIX-ARG to PREFIX.
22363 (ebrowse-tags-read-name): Remove unused variables `start' and
22365 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22368 * progmodes/etags.el (local-find-tag-hook): Declare.
22369 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22370 Mark unused parameters.
22372 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22373 (executable-interpret): Mark unused parameter.
22375 * progmodes/flymake.el (flymake-process-sentinel)
22376 (flymake-after-change-function)
22377 (flymake-create-temp-with-folder-structure)
22378 (flymake-get-include-dirs-dot): Mark unused parameters.
22379 (flymake-safe-delete-directory): Remove unused variable `err'.
22381 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22382 (speedbar-timer-fn, speedbar-line-text)
22383 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22384 (speedbar-center-buffer-smartly): Declare functions.
22385 (gdb-find-watch-expression): Remove unused variable `array'.
22386 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22387 (gdb-starting): Mark unused parameters.
22388 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22389 (gdb-table-string): Remove unused variable `res'.
22390 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22391 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22392 (gdb-display-buffer): Remove unused variable `cur-size'.
22394 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22395 allow lexical-binding compilation.
22396 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22397 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22398 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22399 Mark unused parameters.
22400 (gud-gdb-marker-filter): Remove unused variable `match'.
22401 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22402 lambda expressions and funcall them, instead of using `fset'.
22404 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22405 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22407 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22408 variable `header-beg'; use `let'.
22410 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22411 `restart', `last-sexp' and `at-do'.
22413 * progmodes/js.el (js--debug): Mark unused parameter.
22414 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22415 (js--splice-into-items): Remove unused variable `item'.
22416 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22418 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22419 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22420 (makefile-complete): Remove unused variable `try'.
22421 (makefile-fill-paragraph, makefile-match-function-end):
22422 Mark unused parameters.
22424 * progmodes/octave-inf.el (inferior-octave-complete):
22425 Remove unused variable `proc'.
22426 (inferior-octave-output-digest): Mark unused parameter.
22428 * progmodes/perl-mode.el (perl-calculate-indent):
22429 Remove unused variable `err'.
22431 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22432 (prolog-indent-line): Mark unused parameters.
22433 (prolog-indent-line): Remove unused variable `beg'.
22435 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22436 (reporter-dont-compact-list): Declare.
22438 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22439 Remove unused variable `char'.
22440 (sh-debug): Mark unused parameter.
22441 (sh-get-indent-info): Remove unused variable `start'.
22442 (sh-calculate-indent): Remove unused variable `var'.
22444 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22445 (simula-electric-keyword): Remove unused variable `null'.
22446 (simula-search-backward, simula-search-forward): Remove unused
22447 variables `begin' and `end'.
22449 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22450 Remove unused variable `pos'.
22451 (vera-electric-tab, vera-comment-uncomment-region):
22452 Mark unused parameters.
22453 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22455 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22457 * emacs-lisp/package.el (package--builtins, package-alist)
22458 (package-load-descriptor, package-built-in-p, package-activate)
22459 (define-package, package-installed-p)
22460 (package-compute-transaction, package-buffer-info)
22461 (package--push): Doc fix. Distinguish more clearly between
22462 version strings and version lists.
22464 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22466 Lexical-binding cleanup.
22468 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22469 (5x5-make-mutate-best):
22470 * play/fortune.el (fortune-in-buffer):
22471 * play/gomoku.el (gomoku-init-display):
22472 * play/solitaire.el (solitaire, solitaire-do-check):
22473 * play/tetris.el (tetris-default-update-speed-function):
22474 Mark unused parameters.
22476 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22477 (bubbles--shift): Remove unused variable `char-org'.
22478 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22479 (bubbles--show-images): Remove unused variable `char'.
22481 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22482 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22483 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22484 (decipher-analyze-buffer): Use ?\s.
22485 (decipher-make-checkpoint): Remove unused variable `mapping'.
22487 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22489 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22490 Remove unused variable `result'; use `let'.
22492 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22493 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22494 (gametree-children-shown-p, gametree-compute-reduced-score):
22495 Use `ignore-errors'.
22497 * play/handwrite.el (ps-lpr-switches): Declare.
22498 (handwrite): Remove unused variables `pmin' and `lastp'.
22500 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22502 * play/landmark.el (landmark-init-display)
22503 (landmark-update-naught-weights): Mark unused parameters.
22504 (landmark-y): Remove unused variable `noise'. Simplify.
22505 (landmark-human-plays): Remove unused variable `score'.
22507 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22508 (mpuz-try-proposal): Remove unused variable `game'.
22510 * play/zone.el (life-patterns): Declare.
22512 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22514 * vc/vc.el (ediff-vc-internal): Declare function.
22516 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22518 * shell.el: Use lexical-binding and std completion UI.
22519 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22520 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22521 comint-preoutput-filter-functions rather than on
22522 comint-output-filter-functions.
22523 (shell-command-completion, shell--command-completion-data)
22524 (shell-filename-completion, shell-environment-variable-completion)
22525 (shell-c-a-p-replace-by-expanded-directory): New functions.
22526 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22527 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22528 (shell-dynamic-complete-environment-variable): Use them.
22529 (shell-dynamic-complete-as-environment-variable)
22530 (shell-dynamic-complete-as-command): Remove.
22531 (shell-match-partial-variable): Match past point.
22532 * comint.el: Clean up use of completion-at-point-functions.
22533 (comint-completion-at-point): New function.
22534 (comint-mode): Use it completion-at-point-functions.
22535 (comint-dynamic-complete): Make it obsolete.
22536 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22537 (comint-c-a-p-replace-by-expanded-history): New function.
22538 (comint-dynamic-complete-functions)
22539 (comint-replace-by-expanded-history): Use it.
22540 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22541 termination strings. Try harder to avoid second try-completion.
22542 (completion-in-region-mode-map): Disable bindings that don't work yet.
22544 * comint.el: Use lexical-binding. Require CL.
22545 (comint-dynamic-complete-functions): Use comint-filename-completion.
22546 (comint-completion-addsuffix): Tweak custom type.
22547 (comint-filename-completion, comint--common-suffix)
22548 (comint--common-quoted-suffix, comint--table-subvert)
22549 (comint--complete-file-name-data): New functions.
22550 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22551 (comint-dynamic-list-filename-completions): Use them.
22552 (comint-dynamic-simple-complete): Make obsolete.
22554 * minibuffer.el (completion-in-region-mode):
22555 Keep completion-in-region-mode--predicate global.
22556 (completion-in-region--postch):
22557 Assume completion-in-region-mode--predicate is not null.
22559 * progmodes/flymake.el (flymake-start-syntax-check-process):
22560 Obey `dir'. Simplify.
22562 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22563 we're in VC after all.
22565 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22567 * vc/vc.el (vc-diff-build-argument-list-internal)
22568 (vc-version-ediff, vc-ediff): New commands.
22569 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22571 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22573 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22576 * obsolete/erc-hecomplete.el: Make obsolete.
22577 * obsolete/: Standardize obsolescence info in the header.
22579 2011-04-20 Glenn Morris <rgm@gnu.org>
22581 * calendar/solar.el (solar-horizontal-coordinates):
22582 Use the longitude argument rather than `calendar-longitude'.
22583 (solar-date-next-longitude): Remove unused locals.
22585 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22587 * whitespace.el: New version 13.2.1.
22589 2011-04-20 felix <EmacsWiki> (tiny change)
22591 * whitespace.el (global-whitespace-mode): Keep highlight when
22592 switching between major modes on a file.
22594 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22596 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22597 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22598 multi-line comments as well.
22600 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22602 Lexical-binding cleanup.
22604 * arc-mode.el (archive-mode-revert):
22605 * cmuscheme.el (scheme-interactively-start-process):
22606 * custom.el (custom-initialize-delay):
22607 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22608 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22609 * emacs-lock.el (emacs-lock-clear-sentinel):
22610 * ezimage.el (defezimage):
22611 * follow.el (follow-avoid-tail-recenter):
22612 * fringe.el (set-fringe-mode-1):
22613 * generic-x.el (bat-generic-mode-compile):
22614 * help-mode.el (help-info-variable, help-do-xref)
22615 (help-mode-revert-buffer):
22616 * help.el (view-emacs-todo):
22617 * iswitchb.el (iswitchb-completion-help):
22618 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22619 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22620 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22621 * locate.el (locate-update):
22622 * longlines.el (longlines-encode-region)
22623 (longlines-after-change-function):
22624 * outline.el (outline-isearch-open-invisible):
22625 * ps-def.el (declare-function, charset-dimension, char-width)
22627 * ps-mule.el (ps-mule-plot-string):
22628 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22629 (recentf-edit-list-select, recentf-edit-list-validate)
22630 (recentf-open-files-action):
22631 * rect.el (delete-whitespace-rectangle-line)
22632 (rectangle-number-line-callback):
22633 * register.el (window-configuration-to-register)
22634 (frame-configuration-to-register):
22635 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22636 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22637 (xselect-convert-to-targets, xselect-convert-to-delete)
22638 (xselect-convert-to-filename, xselect-convert-to-charpos)
22639 (xselect-convert-to-lineno, xselect-convert-to-colno)
22640 (xselect-convert-to-os, xselect-convert-to-host)
22641 (xselect-convert-to-user, xselect-convert-to-class)
22642 (xselect-convert-to-name, xselect-convert-to-integer)
22643 (xselect-convert-to-atom, xselect-convert-to-identity):
22644 * subr.el (declare, ignore, process-kill-without-query)
22645 (text-clone-maintain):
22646 * terminal.el (te-get-char, te-tic-sentinel):
22647 * tool-bar.el (tool-bar-make-keymap):
22648 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22649 * type-break.el (type-break-mode, type-break-noninteractive-query):
22650 * view.el (View-back-to-mark):
22651 * wid-browse.el (widget-browse-action, widget-browse-widget)
22652 (widget-browse-widgets, widget-browse-sexp):
22653 * widget.el (define-widget-keywords):
22654 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22655 Mark unused parameters.
22657 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22658 (align-areas): Remove unused variable `look'.
22659 (align-region): Remove unused variables `real-end' and `pos-list'.
22661 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22663 * bindings.el (mode-line-modified, mode-line-remote):
22664 Mark unused parameters.
22665 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22667 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22668 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22670 * comint.el (comint-history-isearch-pop-state)
22671 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22672 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22673 (comint-substitute-in-file-name): Doc fix.
22675 * completion.el (cmpl-statistics-block): Mark unused parameter.
22676 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22677 (save-completions-to-file, load-completions-from-file):
22678 Remove unused local variable `e'.
22680 * composite.el (compose-chars): Remove unused variable `len'.
22681 (lgstring-insert-glyph): Remove unused variable `g'.
22682 (compose-glyph-string): Remove unused variables `ascent',
22683 `descent', `lbearing' and `rbearing'.
22684 (compose-glyph-string-relative): Remove unused variables
22685 `lbearing', `rbearing' and `wadjust'.
22686 (compose-gstring-for-graphic): Remove unused variables `header',
22687 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22688 (compose-gstring-for-terminal): Remove unused variables `header'
22689 and `nchars'. Use `let', not `let*'.
22691 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22692 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22693 (Custom-buffer-done, custom-buffer-create-internal)
22694 (custom-browse-visibility-action, custom-browse-group-tag-action)
22695 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22696 (widget-magic-mouse-down-action, custom-toggle-parent)
22697 (custom-add-parent-links, custom-toggle-hide-variable)
22698 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22699 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22700 (custom-face-menu-create, custom-variable-menu-create, get)
22701 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22702 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22703 (customize-apropos): Remove unused variable `tests'.
22704 (custom-group-value-create): Remove unused variable `hidden-p'.
22705 (sort-fold-case): Declare.
22707 * cus-theme.el (custom-reset-standard-faces-list)
22708 (custom-reset-standard-variables-list): Declare.
22709 (customize-create-theme, custom-theme-revert, custom-theme-write)
22710 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22711 Mark unused parameters.
22713 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22715 * delim-col.el (delimit-columns-max): Move defvar before first use.
22717 * descr-text.el (describe-char-categories): Don't quote `lambda'.
22718 (describe-char): Don't quote `lambda'. Mark unused parameter.
22720 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22721 (auto-insert): Declare.
22722 (desktop-restore-file-buffer): Rename desktop-* parameters;
22724 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22725 (desktop-buffer): Rename desktop-* parameters.
22727 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22728 (dframe-reposition-frame-xemacs, dframe-help-echo)
22729 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22730 Mark unused parameters.
22732 * dired-aux.el (backup-extract-version-start, overwrite-query)
22733 (overwrite-backup-query, rename-regexp-query)
22734 (rename-non-directory-query): Declare.
22735 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22736 (dired-add-entry): Remove unused variable `orig-file-name'.
22737 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22738 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22739 `dired-copy-preserve-time' directly.
22740 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22741 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22743 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22744 (dired-virtual-revert, dired-make-relative-symlink):
22745 Mark unused parameters.
22746 (manual-program): Declare.
22747 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22748 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22749 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22751 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22753 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22755 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22758 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22760 * electric.el (Electric-command-loop): Rename parameter
22761 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22763 * expand.el (expand-in-literal): Remove unused variable `here'.
22765 * facemenu.el (facemenu-add-new-color):
22766 Remove unused variable `docstring'.
22768 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22769 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22770 (face-attr-construct): Mark unused parameter. Doc fix.
22771 (read-color): Remove unused variable `hex-string'.
22773 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22774 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22775 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22776 (display-buffer-other-frame): Remove unused variable `old-window'.
22777 (kill-buffer-hook): Declare.
22778 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22779 Mark unused parameters.
22780 (after-find-file): Pass 1 to `auto-save-mode', not t.
22782 * files-x.el (auto-insert): Declare.
22783 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22785 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
22786 variable `buf'. Mark unused parameter.
22787 (find-lisp-insert-directory): Mark unused parameter.
22789 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22790 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22791 (format-common-tail): Remove, unused.
22792 (format-deannotate-region): Remove unused variable `loc'.
22793 (format-annotate-region): Remove unused variable `p'.
22794 (format-annotate-single-property-change): Remove unused variables
22795 `default' and `tail'.
22797 * forms.el (read-file-filter): Declare.
22798 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22800 * frame.el (frame-creation-function-alist): Mark unused parameter.
22801 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22803 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22804 Remove unused parameters.
22805 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22806 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22808 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22809 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22810 (hfy-prepare-tag-map): Mark unused parameters.
22811 (htmlfontify-buffer): Use `called-interactively-p'.
22813 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22814 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22815 (ibuffer-do-occur): Mark unused parameters.
22816 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22817 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22819 * ibuffer.el: Don't quote `lambda'.
22820 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22821 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22822 Mark unused parameters.
22824 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22825 (ido-completing-read): Mark unused parameters.
22826 (ido-copy-current-word): Mark unused parameters;
22827 remove unused variable `name'.
22828 (ido-sort-merged-list): Remove unused parameter `dirs'.
22830 * ielm.el (ielm-input-sender): Mark unused parameter.
22831 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22832 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22833 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22834 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22835 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22837 * image-dired.el (image-dired-display-thumbs): Remove unused
22838 variables `curr-file' and `count'.
22839 (image-dired-remove-tag): Remove unused variable `start'.
22840 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22841 variable `curr-file'
22842 (image-dired-rotate-original): Remove unused variable `temp-file'.
22843 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22844 Remove unused variable `file'.
22845 (image-dired-gallery-generate): Remove unused variable `curr'.
22846 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22848 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22850 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22852 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22854 * isearch.el (minibuffer-history-symbol): Declare.
22855 (isearch-edit-string): Remove unused variable `err'.
22856 (isearch-message-prefix, isearch-message-suffix):
22857 Mark unused parameters.
22859 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22861 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22863 * makesum.el (double-column): Remove unused variable `cnt'.
22865 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22866 (ido-ignore-item-temp-list): Declare.
22868 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22869 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22870 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22871 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22874 * mouse-sel.el (mouse-extend-internal):
22875 Remove unused variable `orig-window-frame'.
22877 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22878 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22879 Move declarations before first use.
22880 (pcomplete-opt): Mark unused parameters; doc fix.
22882 * proced.el (proced-revert): Mark unused parameter.
22883 (proced-send-signal): Remove unused variable `err'.
22885 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22886 Rename parameter PREFIX-ARG to ARG.
22887 (ps-basic-plot-string, ps-basic-plot-whitespace):
22888 Mark unused parameters.
22890 * replace.el (replace-count): Define.
22891 (occur-revert-function): Mark unused parameters.
22892 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22893 (isearch-case-fold-search, isearch-string): Declare.
22894 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22895 bind `case-fold-search'. Remove unused variables `beg' and `end',
22897 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22898 COUNT and bind `replace-count'.
22899 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22902 * savehist.el (print-readably, print-string-length): Declare.
22904 * shadowfile.el (shadow-expand-cluster-in-file-name):
22905 Remove unused variable `cluster'.
22906 (shadow-copy-file): Remove unused variable `i'.
22907 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22908 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22909 (shadow-define-literal-group, shadow-define-regexp-group)
22910 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22912 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22913 (shell): Use `called-interactively-p'.
22914 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22916 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22917 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22918 (delete-backward-char): Remove unused variable `ocol'.
22919 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22920 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22921 (event-apply-hyper-modifier, event-apply-shift-modifier)
22922 (event-apply-control-modifier, event-apply-meta-modifier):
22923 Mark unused parameters.
22924 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22925 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22927 * speedbar.el (speedbar-ignored-directory-expressions)
22928 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22929 (speedbar-find-file, speedbar-dir-follow)
22930 (speedbar-directory-buttons-follow, speedbar-tag-find)
22931 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22932 (speedbar-buffers-line-directory, speedbar-buffer-click):
22933 Mark unused parameters.
22934 (speedbar-tag-file): Remove unused variable `mode'.
22935 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22937 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22939 * talk.el (talk): Remove unused variable `display'.
22941 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22942 (tar-write-region-annotate): Mark unused parameter.
22944 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22945 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22946 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22947 warning by another.
22949 * time-stamp.el (time-stamp-string-preprocess):
22950 Remove unused variable `require-padding'.
22952 * tree-widget.el (widget-glyph-enable): Declare.
22953 (tree-widget-action): Mark unused parameter.
22955 * w32-fns.el (x-get-selection): Mark unused parameter.
22956 (autoload-make-program, generated-autoload-file): Declare.
22958 * wdired.el (wdired-revert): Mark unused parameters.
22959 (wdired-xcase-word): Remove unused variable `err'.
22961 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22962 (whitespace-help-scroll): Remove unused variable `data-help'.
22964 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22965 (widget-image-insert, widget-after-change, default)
22966 (widget-default-format-handler, widget-default-notify)
22967 (widget-default-prompt-value, widget-info-link-action)
22968 (widget-url-link-action, widget-function-link-action)
22969 (widget-variable-link-action, widget-file-link-action)
22970 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22971 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22972 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22973 (widget-insert-button-action, widget-delete-button-action, visibility)
22974 (widget-documentation-link-action, widget-documentation-string-action)
22975 (widget-const-prompt-value, widget-regexp-match, symbol)
22976 (widget-coding-system-prompt-value)
22977 (widget-key-sequence-value-to-external, sexp)
22978 (widget-sexp-value-to-internal, character, vector, cons)
22979 (widget-choice-prompt-value, widget-boolean-prompt-value)
22980 (widget-color--choose-action): Mark unused parameters.
22981 (widget-item-match-inline, widget-choice-match-inline)
22982 (widget-checklist-match, widget-checklist-match-inline)
22983 (widget-group-match): Rename parameter VALUES to VALS.
22984 (widget-field-value-set): Remove unused variable `size'.
22985 (widget-color-action): Remove unused variables `value' and `start'.
22987 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
22988 variable `dir'. Doc fix.
22989 (windmove-find-other-window): Don't pass it.
22991 * window.el (count-windows): Mark unused parameter.
22992 (bw-adjust-window): Remove unused variable `err'.
22994 * woman.el (woman-file-name): Remove unused variable `default'.
22995 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22996 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22997 (global-font-lock-mode): Declare.
22998 (woman-decode-region): Mark unused parameter.
22999 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23001 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23002 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23003 (x-dnd-handle-moz-url): Remove unused variable `title'.
23004 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23006 * xml.el (xml-parse-tag, xml-parse-attlist):
23007 Remove unused variable `pos'.
23009 2011-04-19 Glenn Morris <rgm@gnu.org>
23011 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23012 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23013 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23014 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23015 * calendar/cal-html.el (cal-html-insert-minical):
23016 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23017 (calendar-mark-date-pattern):
23018 Prefix "unused" locals.
23020 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23021 optional argument `style'.
23023 * calendar/appt.el (appt-make-list):
23024 * calendar/cal-china.el (calendar-chinese-date-string):
23025 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23026 (diary-hebrew-yahrzeit):
23027 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23028 * calendar/calendar.el (calendar-generate-window):
23029 * calendar/time-date.el (time-to-days):
23030 Remove unused local variables.
23032 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23034 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23035 glyphless-char-display table.
23036 (tabulated-list-glyphless-char-display): New var.
23038 2011-04-18 Sam Steingold <sds@gnu.org>
23040 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23041 to acknowledgments.
23043 2011-04-17 Glenn Morris <rgm@gnu.org>
23045 * calendar/diary-lib.el (diary-sexp-entry):
23046 * calendar/holidays.el (holiday-sexp):
23047 Set debug-on-error rather than the removed stack-trace-on-error.
23049 2011-04-16 Glenn Morris <rgm@gnu.org>
23051 * progmodes/f90.el: Use lexical-binding.
23052 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23054 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23056 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23057 (mail-mode): Setup mailalias completion here instead.
23058 * mail/mailalias.el: Use lexical-binding.
23059 (pattern, mailalias-done): Declare dynamic.
23060 (mail-completion-at-point-function): New function, from mail-complete.
23061 (mail-complete): Use it.
23062 (mail-completion-expand): New function.
23063 (mail-get-names): Use it.
23064 (mail-directory, mail-directory-process, mail-directory-stream):
23065 Don't use `pattern' for lexically bound arg.
23067 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23069 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23070 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23071 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23073 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23074 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23075 (byte-interactive-p): Define them again, for use when inlining
23078 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23080 * loadup.el: Use `string-to-number', not `string-to-int'.
23082 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23084 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23085 gud-gdb-complete-command.
23086 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23087 (gud-gdb-completion-at-point): New function.
23088 (gud-gdb-completions): Remove.
23090 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23092 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23093 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23094 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23095 whether `executable-find' is bound.
23097 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23099 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23101 * minibuffer.el (completion-in-region-mode-predicate)
23102 (completion-in-region-mode--predicate): New vars.
23103 (completion-in-region, completion-in-region--postch)
23104 (completion-in-region-mode): Use them.
23105 (completion--capf-wrapper): Also return the hook function.
23106 (completion-at-point, completion-help-at-point):
23107 Adjust and provide a predicate.
23109 Preserve arg names for advice of subr and lexical functions (bug#8457).
23110 * help-fns.el (help-function-arglist): Consolidate the subr and
23111 new-byte-code cases. Add argument `preserve-names' to extract names
23112 from the docstring when needed.
23113 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23114 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23115 (ad-arglist): Use help-function-arglist's new arg.
23116 (ad-definition-type): Use cond.
23118 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23120 * autorevert.el (auto-revert-handler):
23121 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23122 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23123 Don't quote lambda.
23125 * image-mode.el (image-transform-set-scale):
23126 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23128 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23130 * net/network-stream.el (network-stream-open-starttls): Only do
23131 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23132 Upgrades via gnutls-cli are too slow to be done opportunistically.
23134 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23136 * dframe.el (dframe-current-frame): Remove spurious quote.
23138 2011-04-12 Glenn Morris <rgm@gnu.org>
23140 * calendar/cal-tex.el (cal-tex-end-document):
23141 Try to automatically use latin1 input if needed.
23143 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23144 Don't try to cons a mark onto an empty element.
23146 2011-04-11 Leo Liu <sdl.web@gmail.com>
23148 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23150 (ido-kill-buffer-at-head): Support killing virtual buffers.
23152 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23154 * minibuffer.el (completion-show-inline-help): New var.
23155 (completion--do-completion, minibuffer-complete)
23156 (minibuffer-force-complete, minibuffer-complete-word):
23157 Inhibit minibuffer messages if completion-show-inline-help is nil.
23159 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23160 to avoid interference from inline help (Bug#5849).
23162 2011-04-10 Leo Liu <sdl.web@gmail.com>
23164 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23167 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23169 * image-mode.el (image-toggle-display-image): Signal an error if
23171 (image-transform-mode, image-transform-resize)
23172 (image-transform-set-rotation): Doc fix.
23173 (image-transform-set-resize): Delete.
23174 (image-transform-set-scale, image-transform-fit-to-height)
23175 (image-transform-fit-to-width): Handle image-toggle-display-image
23176 and image-transform-resize directly.
23178 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23180 * doc-view.el (doc-view-fit-width-to-window)
23181 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23182 New functions for fitting the shown image to the Emacs window size.
23183 (doc-view-mode-map): Add bindings for the new functions.
23185 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23187 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23188 Fix typo in docstring.
23190 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23192 * files.el (file-size-human-readable): Produce one digit after
23193 decimal, like "ls -lh" does.
23195 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23196 the file size representation.
23198 * simple.el (list-processes): If async subprocesses are not
23199 available, error out with a clear error message.
23201 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23203 * help.el (help-form-show): New function, to be called from C.
23204 Put help-form output in a buffer named differently than *Help*.
23206 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23208 * files.el (file-size-human-readable): New function.
23210 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23211 computing the representation inline. Don't require `cl'.
23213 2011-04-08 Glenn Morris <rgm@gnu.org>
23215 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23217 * net/browse-url.el (browse-url-firefox):
23218 Test system-type, not system-configuration.
23220 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23221 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23222 Use log-edit-empty-buffer-p. (Bug#7598)
23224 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23225 (rlogin-mode-map): Initialize in the defvar.
23226 (rlogin): Use ignore-errors.
23228 * replace.el (occur-mode-map): Some fixes for menu items.
23230 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23232 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23234 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23236 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23237 issuing unused warnings.
23239 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23242 * simple.el: Lisp reimplement of list-processes. Based on an
23243 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23244 (process-menu-mode): New major mode.
23245 (list-processes--refresh, list-processes):
23246 (process-menu-visit-buffer): New functions.
23248 * files.el (save-buffers-kill-emacs): Don't assume any return
23249 value of list-processes, which is undocumented anyway.
23251 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23253 * emacs-lisp/tabulated-list.el: New file.
23255 * emacs-lisp/package.el: Use Tabulated List mode.
23256 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23257 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23258 table format using Tabulated List mode variables.
23259 (package--push): New macro, replacing package-list-maybe-add.
23260 (package-menu--generate): Use package--push. Renamed from
23261 package--generate-package-list.
23262 (package-menu-refresh, list-packages): Use it.
23263 (package-menu--print-info): Rename from package-print-package.
23264 Return insertion data instead of inserting it directly.
23265 (package-menu-describe-package, package-menu-execute):
23266 Use tabulated-list-get-id.
23267 (package-menu-mark-delete, package-menu-mark-install)
23268 (package-menu-mark-unmark, package-menu-backup-unmark)
23269 (package-menu-mark-obsolete-for-deletion):
23270 Use tabulated-list-put-tag.
23271 (package--list-packages, package-menu-revert)
23272 (package-menu-get-package, package-menu-get-version)
23273 (package-menu-sort-by-column): Functions deleted.
23274 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23275 (package-menu--status-predicate, package-menu--version-predicate)
23276 (package-menu--name-predicate)
23277 (package-menu--description-predicate): Handle arguments in the
23278 Tabulated List format.
23279 (package-list-packages-no-fetch): Call list-packages.
23281 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23283 * files.el (after-find-file-from-revert-buffer): Remove variable.
23284 (after-find-file): Don't bind it.
23285 (revert-buffer-in-progress-p): New variable.
23286 (revert-buffer): Bind it.
23287 Pass nil for `after-find-file-from-revert-buffer'.
23289 * saveplace.el (save-place-find-file-hook): Use new variable
23290 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23292 2011-04-06 Glenn Morris <rgm@gnu.org>
23294 * Makefile.in (AUTOGEN_VCS): New variable.
23295 (autoloads): Use $AUTOGEN_VCS.
23297 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23298 * calendar/calendar.el (calendar-mode-map):
23299 Check for toolkit scroll bars. (Bug#8305)
23301 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23303 * minibuffer.el (completion-in-region--postch)
23304 (completion-in-region-mode): Remove unnecessary messages.
23306 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23308 * font-lock.el (font-lock-refresh-defaults):
23309 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23310 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23312 * info.el (Info-directory-list, Info-read-node-name-2)
23313 (Info-split-parameter-string): Doc fixes.
23314 (Info-virtual-nodes): Reflow docstring.
23315 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23316 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23317 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23318 Fix typos in docstrings.
23319 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23320 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23321 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23322 (Info-restore-desktop-buffer): Mark unused parameters.
23323 (Info-directory-find-file, Info-directory-find-node)
23324 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23325 (Info-virtual-index-find-node, Info-apropos-find-file)
23326 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23327 Mark unused parameters; fix typos in docstrings.
23328 (Info-virtual-index): Remove unused local variable `nodename'.
23330 2011-04-05 Deniz Dogan <deniz@dogan.se>
23332 * net/rcirc.el: Update my e-mail address.
23333 (rcirc-mode-map): Remove M-o binding.
23335 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23337 * startup.el (command-line): Save the cursor's theme-face
23338 directly, instead of using face-override-spec.
23340 * custom.el (load-theme): Minor optimization in assigning faces.
23342 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23344 * help-fns.el (describe-variable): Complete all variables having
23345 documentation, including keywords.
23346 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23348 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23350 Convert to lexical-binding.
23352 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23353 (bs--get-marked-string, bs--get-modified-string)
23354 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23355 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23356 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23358 * ehelp.el (electric-help-execute-extended)
23359 (electric-help-ctrl-x-prefix):
23360 * hexl.el (hexl-revert-buffer-function):
23361 * linum.el (linum-after-change, linum-after-scroll):
23362 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23364 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23366 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23373 * epg.el: Use lexical binding.
23375 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23377 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23379 * textmodes/flyspell.el (flyspell-word): Recognize default
23380 dictionary case for flyspell-mark-duplications-exceptions.
23381 Use regexp matching for languages.
23382 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23383 default dictionary (Bug#7926).
23385 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23387 * emacs-lisp/package.el (package--with-work-buffer):
23388 Recognize https URLs.
23390 * net/network-stream.el: Move from gnus/proto-stream.el.
23391 Change prefix to network-stream throughout.
23392 (open-protocol-stream): Merge into open-network-stream, leaving
23393 open-protocol-stream as an alias. Handle nil BUFFER args.
23395 * subr.el (open-network-stream): Move to net/network-stream.el.
23397 2011-04-02 Glenn Morris <rgm@gnu.org>
23399 * find-dired.el (find-exec-terminator): New option.
23400 (find-ls-option): Test for -ls support.
23401 (find-ls-subdir-switches): Test for -b in find-ls-option.
23402 (find-dired, find-grep-dired): Doc fixes.
23403 (find-dired): Use find-exec-terminator.
23405 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23406 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23407 (find-name-arg): Remove purecopy.
23409 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23410 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23411 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23412 accordingly. Don't add the null-device if not needed.
23414 * files.el (save-some-buffers): Doc fix.
23416 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23418 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23420 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23422 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23423 Use `dolist' rather than `mapcar'.
23425 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23427 Add lexical binding.
23429 * subr.el (apply-partially): Use new closures rather than CL.
23430 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23431 (dolist, dotimes): Use slightly different expansion for lexical code.
23432 (functionp): Move to C.
23433 (letrec): New macro.
23434 (with-wrapper-hook): Use it and apply-partially instead of CL.
23435 (eval-after-load): Preserve lexical-binding.
23436 (save-window-excursion, with-output-to-temp-buffer): Turn them
23439 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23441 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23443 (help-add-fundoc-usage): Don't add `Not documented'.
23444 (help-function-arglist): Handle closures, subroutines, and new
23445 byte-code-functions.
23446 (help-make-usage): Remove leading underscores.
23447 (describe-function-1): Handle closures.
23448 (describe-variable): Use special-variable-p for completion.
23450 * files.el (lexical-binding): Declare safe.
23452 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23453 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23454 (pcase): Add `let' pattern.
23455 Change memoization so it actually works.
23456 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23457 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23460 * emacs-lisp/macroexp.el: Use lexical binding.
23461 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23462 Don't convert ' to #' without checking that it's indeed quoting
23465 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23466 Use eval-sexp-add-defvars.
23467 (eval-sexp-add-defvars): New fun.
23469 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23471 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23473 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23474 than the internal `byte-compile-lambda'.
23475 (defmethod): Don't hide code under quotes.
23476 (eieio-defmethod): New `code' argument.
23478 * emacs-lisp/eieio-comp.el: Remove.
23480 * emacs-lisp/edebug.el (edebug-eval-defun)
23481 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23482 (edebug-toggle): Avoid `eval'.
23484 * emacs-lisp/disass.el (disassemble-internal): Handle new
23486 (disassemble-1): Handle new byte codes.
23488 * emacs-lisp/cl.el (pushnew): Silence warning.
23490 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23491 (cl-byte-compile-throw): Remove.
23492 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23494 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23497 * emacs-lisp/cconv.el: New file.
23499 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23500 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23501 (byte-compile-initial-macro-environment):
23502 Handle declare-function here.
23503 (byte-compile--lexical-environment): New var.
23504 (byte-stack-ref, byte-stack-set, byte-discardN)
23505 (byte-discardN-preserve-tos): New lap codes.
23506 (byte-interactive-p): Don't use any more.
23507 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23509 (byte-compile-lapcode): Use them and handle new lap codes.
23510 (byte-compile-obsolete): Remove.
23511 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23512 (byte-compile-arglist-warn): Check late def of inlinable funs.
23513 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23514 since they should have been expanded by now.
23515 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23516 (byte-compile-from-buffer): Remove unused second arg.
23517 (byte-compile-preprocess): New function.
23518 (byte-compile-toplevel-file-form): New function to distinguish
23519 file-form calls from outside from file-form calls from hunk-handlers.
23520 (byte-compile-file-form): Simplify.
23521 (byte-compile-file-form-defsubst): Remove.
23522 (byte-compile-file-form-defmumble): Simplify now that
23523 byte-compile-lambda always returns a byte-code-function.
23524 (byte-compile): Preprocess.
23525 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23526 Remove, not used any more.
23527 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23528 (byte-compile-make-args-desc): New funs.
23529 (byte-compile-lambda): Handle lexical functions. Always return
23530 a byte-code-function.
23531 (byte-compile-reserved-constants): New var, to make up room for
23532 closed-over variables.
23533 (byte-compile-constants-vector): Obey it.
23534 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23535 (byte-compile-macroexpand-declare-function): New function.
23536 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23537 byte-code-functions.
23538 (byte-compile-form): Check obsolescence here.
23539 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23540 (byte-compile-variable-ref): Remove.
23541 (byte-compile-dynamic-variable-op): New fun.
23542 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23543 (byte-compile-variable-set): New funs.
23544 (byte-compile-discard): Add 2 args.
23545 (byte-compile-stack-ref, byte-compile-stack-set)
23546 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23547 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23548 macroexpand-all instead.
23549 (byte-compile-quote-form): Remove.
23550 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23551 (byte-compile-bind, byte-compile-unbind): New funs.
23552 (byte-compile-let): Handle let* and lexical binding.
23553 (byte-compile-let*): Remove.
23554 (byte-compile-catch, byte-compile-unwind-protect)
23555 (byte-compile-track-mouse, byte-compile-condition-case):
23556 Handle a new :fun-body form, used for lexical scoping.
23557 (byte-compile-save-window-excursion)
23558 (byte-compile-with-output-to-temp-buffer): Remove.
23559 (byte-compile-defun): Simplify.
23560 (byte-compile-stack-adjustment): New fun.
23561 (byte-compile-out): Use it.
23562 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23564 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23567 * emacs-lisp/byte-opt.el: Use lexical binding.
23568 (byte-inline-lapcode): Remove (to bytecomp).
23569 (byte-compile-inline-expand): Pay attention to inlining to/from
23570 lexically bound code.
23571 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23573 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23574 any more and don't call compiler-macros.
23575 (byte-compile-splice-in-already-compiled-code): Remove.
23576 (byte-code): Don't inline any more.
23577 (disassemble-offset): Receive `bytes' as argument rather than via
23579 (byte-compile-tag-number): Declare before first use.
23580 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23581 `return' even if make-spliceable.
23582 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23583 obsolete interactive-p.
23584 (byte-optimize-lapcode): Optimize new lap-codes.
23585 Don't trip up on new form of `byte-constant' lap code.
23587 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23589 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23591 * custom.el (custom-initialize-default, custom-declare-variable):
23594 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23596 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23597 (COMPILE_FIRST): Add macroexp and cconv.
23598 * makefile.w32-in: Mirror changes in Makefile.in.
23600 * vc/cvs-status.el:
23604 * vc/smerge-mode.el:
23605 * textmodes/bibtex-style.el:
23606 * textmodes/css-mode.el:
23614 * emacs-lisp/smie.el:
23617 * abbrev.el: Use lexical binding.
23619 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23621 * info.el (info-display-manual): New function.
23623 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23625 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23627 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23629 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23630 an entry for that server in rcirc-authinfo. (Bug#8385)
23632 2011-03-31 Glenn Morris <rgm@gnu.org>
23634 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23636 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23638 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23640 * progmodes/python.el (python-default-interpreter)
23641 (python-python-command-args, python-jython-command-args)
23642 (python-which-shell, python-which-args, python-which-bufname)
23643 (python-file-queue, python-comint-output-filter-function)
23644 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23645 variables and functions.
23647 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23649 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23650 (completion-in-region-mode): New minor mode.
23651 (completion-in-region): Use it.
23652 (completion-in-region--data, completion-in-region-mode-map): New vars.
23653 (completion-in-region--postch): New function.
23654 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23656 (completion--capf-wrapper): New function.
23657 (completion-at-point): Use it to track well-behavedness of
23659 (completion-help-at-point): New command.
23661 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23663 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23664 syntax class to search for whitespace on a single line
23665 (Message-ID: <4D938140.4030905@redhat.com>).
23667 2011-03-30 Leo Liu <sdl.web@gmail.com>
23669 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23671 (edit-abbrevs-map): Bind them here.
23672 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23674 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23676 * allout.el (allout-hide-by-annotation, allout-flag-region):
23677 Reduce possibility of overlay leakage by making them volatile.
23679 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23680 hash is not shared between buffers. Mode initialization is
23681 responsible for giving it a useful starting value.
23682 (allout-item-span): Reduce possibility of overlay leakage by
23683 making them volatile.
23684 (allout-widgets-count-buttons-in-region): Add diagnostic function
23685 for tracking down button overlay leaks.
23687 2011-03-29 Leo Liu <sdl.web@gmail.com>
23689 * ido.el (ido-read-internal): Use the default history var
23690 minibuffer-history if no HISTORY is specified.
23692 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23694 * net/imap.el (imap-shell-open, imap-process-connection-type):
23695 Use imap-process-connection-type for 'shell' streams as well as
23696 Kerberos, SSL, other subprocesses.
23698 2011-03-28 Leo Liu <sdl.web@gmail.com>
23700 * abbrev.el (abbrev-table-empty-p): New function.
23701 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23702 nonempty ones. (Bug#5937)
23704 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23706 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23708 2011-03-27 Leo Liu <sdl.web@gmail.com>
23710 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23711 for foreground and background colors.
23712 (ansi-color-make-color-map): Adapt.
23714 2011-03-25 Leo Liu <sdl.web@gmail.com>
23716 * midnight.el (midnight-time-float): Remove. Note it calculates
23717 the microsecond component incorrectly and seconds-to-time does the
23719 Remove redundant (require 'timer).
23721 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23722 (ido-completions): Remove unused arguments. (Bug#8329)
23724 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23726 * minibuffer.el (completion--flush-all-sorted-completions):
23727 Remove itself from hook.
23728 (completion-at-point): Let the functions perform the completion
23729 immediately and return nil or t.
23730 * comint.el (comint-dynamic-complete-functions): Now identical to
23731 completion-at-point-functions.
23732 (comint-dynamic-list-input-ring): Remove unused var `index'.
23733 (comint--match-partial-filename, comint--unquote&expand-filename):
23734 New funs, split from comint-match-partial-filename.
23735 (comint-dynamic-complete): Use completion-at-point.
23736 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23738 2011-03-24 Drew Adams <drew.adams@oracle.com>
23740 * thingatpt.el: Support `defun'.
23742 2011-03-23 Leo Liu <sdl.web@gmail.com>
23744 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23746 * help-mode.el (help-mode-finish): Tweak regexp.
23748 2011-03-23 Glenn Morris <rgm@gnu.org>
23750 * eshell/esh-opt.el (eshell-eval-using-options):
23751 Do not bind unused local variable `eshell-option-stub'.
23753 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23755 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23757 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23758 keymap variable in `with-no-warnings' to avoid a warning when the
23759 keymap has been already `defconst'ed.
23761 2011-03-22 Leo Liu <sdl.web@gmail.com>
23763 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23764 encode all chars in abbrevs; otherwise use emacs-mule or
23765 utf-8-emacs. (Bug#8308)
23767 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23769 * simple.el (backward-delete-char-untabify):
23770 Avoid warning about using `delete-backward-char'.
23772 * image.el (image-type-file-name-regexps): Make it variable.
23773 `imagemagick-register-types' modifies it, and the user may want
23774 to add new extensions for known image types.
23775 (imagemagick-register-types): Throw error if not using ImageMagick.
23777 2011-03-22 Leo Liu <sdl.web@gmail.com>
23779 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23780 located before rcirc-prompt-end-marker.
23781 (rcirc-complete): Error if point is not after rcirc prompt.
23782 Handle the case when table is nil.
23783 (rcirc-user-authenticated): Define to fix compiler warning.
23785 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
23787 * custom.el (custom--inhibit-theme-enable): Make it affect only
23788 custom-theme-set-variables and custom-theme-set-faces.
23789 (provide-theme): Ignore custom--inhibit-theme-enable.
23790 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23791 (custom-enabling-themes): Delete variable.
23792 (enable-theme): Accept only loaded themes as arguments.
23793 Ignore the special custom-enabled-themes variable.
23794 (custom-enabled-themes): Forbid themes from setting this.
23795 Eliminate use of custom-enabling-themes.
23796 (custom-push-theme): Quote "changed" custom var entry.
23798 2011-03-21 Leo Liu <sdl.web@gmail.com>
23800 * ido.el (ido-read-internal): Add ido-selected to history instead
23803 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23805 * subr.el (deferred-action-list, deferred-action-function):
23808 2011-03-21 Leo Liu <sdl.web@gmail.com>
23810 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23811 change on 2011-02-13 (bug#8309).
23813 * minibuffer.el (read-file-name-function): Change default value.
23814 (read-file-name--defaults): Rename from read-file-name-defaults.
23815 (read-file-name-default): Rename from read-file-name.
23816 (read-file-name): Call read-file-name-function.
23818 2011-03-21 Glenn Morris <rgm@gnu.org>
23820 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23823 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
23825 * cus-theme.el: Add missing provide statement.
23826 (customize-create-theme): Extract theme value correctly.
23827 (custom-theme-visit-theme): Autoload.
23828 (customize-create-theme): Prompt before inserting default faces.
23830 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23832 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23833 units and musical notes.
23835 2011-03-20 Leo Liu <sdl.web@gmail.com>
23837 * ido.el (ido-read-internal): Use completing-read-default.
23838 (ido-completing-read): Fix compatibility with completing-read.
23840 2011-03-20 Christian Ohler <ohler@gnu.org>
23842 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23843 (ert-delete-all-tests): Use `called-interactively-p' rather than
23845 (ert--make-xrefs-region): Respect END.
23847 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23849 * dired-aux.el (dired-create-directory): Signal an error if the
23850 directory already exists (Bug#8246).
23852 * facemenu.el (list-colors-display): Call list-faces-display
23853 inside with-help-window.
23854 (list-colors-print): Use display property to align the final
23855 column, instead of checking window-width.
23857 2011-03-19 Eli Zaretskii <eliz@gnu.org>
23859 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
23860 windows-nt systems.
23861 (emerge-protect-metachars): Quote correctly for ms-dos and
23862 windows-nt systems.
23864 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
23866 * info.el (info-initialize): Replace all uses of `:' with
23867 path-separator for compatibility with non-Unix systems.
23868 Cache quoting of path-separator. (Bug#8258)
23870 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
23872 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23873 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23874 (mouse-avoidance-mode): Fix typos in docstrings.
23876 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23878 * startup.el (package-subdirectory-regexp): Move from package.el.
23879 Omit \\` and \\', and let callers add them.
23881 * emacs-lisp/package.el (package-strip-version)
23882 (package-load-all-descriptors): Add \\` and \\' to
23883 package-subdirectory-regexp before using it.
23884 (package-untar-buffer): New arg DIR; ensure that file untars only
23885 into this expected directory. Remove superfluous delete-region.
23886 (package-unpack): Caller changed.
23887 (package-tar-file-info): Use package-subdirectory-regexp.
23889 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
23891 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23892 diff-mode-shared-map (bug#8284).
23893 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
23895 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23897 * calendar/time-date.el (format-seconds): Use assoc instead of
23898 assoc-string, since assoc-string doesn't exist in XEmacs.
23900 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
23902 * custom.el (custom-known-themes): Reflow docstring.
23903 (custom-theme-load-path): Fix typo in docstring.
23904 (load-theme): Fix typo in error message.
23905 (custom-available-themes, custom-variable-theme-value):
23906 Use `let', not `let*'.
23908 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23910 * calc/README: Mention inclusion of musical notes.
23912 * calc/calc-units.el (calc-lu-quant): Rename from
23913 `calc-logunits-quantity'.
23914 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23915 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23916 (calc-db): Rename from `calc-dblevel'.
23917 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23918 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23919 (calc-np): Rename from `calc-nplevel'.
23920 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23921 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23922 (calc-lu-plus): Rename from `calc-logunits-add'.
23923 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23924 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23925 (calc-lu-minus): Rename from `calc-logunits-sub'.
23926 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23927 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23928 (calc-lu-times): Rename from `calc-logunits-mul'.
23929 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23930 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23931 (calc-lu-divide): Rename from `calc-logunits-div'.
23932 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23933 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23935 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23936 functions being autoloaded.
23938 * calc/calc.el (calc-lu-power-reference): Rename from
23939 `calc-logunits-power-reference'.
23940 (calc-lu-field-reference): Rename from
23941 `calc-logunits-field-reference'.
23943 * calc/calc-help.el (calc-l-prefix-help):
23944 Mention musical note functions.
23946 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23948 * minibuffer.el (completion-all-sorted-completions):
23949 Use :completion-cycle-penalty text property if present.
23951 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23953 * allout.el (allout-yank-processing): Adjust for new rebulleting
23954 regime so bullet being yanked is used without prompting the user
23957 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
23959 * startup.el (command-line): Warn the user that _emacs is deprecated.
23961 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
23963 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23964 (delphi-verbose, delphi-comment-face, delphi-string-face)
23965 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23966 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23967 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23968 (delphi-new-comment-line, delphi-font-lock-defaults)
23969 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23970 Fix typos in docstrings.
23972 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23974 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
23975 Invert the roles of character and string values for INSTEAD, so a
23976 string is used for the more common case of a defaulting prompt.
23978 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23980 * progmodes/ruby-mode.el (ruby-backward-sexp):
23981 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23982 * play/gamegrid.el (gamegrid-make-face):
23983 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23984 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23985 * notifications.el (notifications-notify):
23986 * net/xesam.el (xesam-search-engines):
23987 * net/quickurl.el (quickurl-list-insert):
23988 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23990 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
23992 * startup.el (command-line): Update package subdirectory regexp.
23994 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23996 * allout.el (allout-abbreviate-flattened-numbering)
23997 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23999 * subr.el (read-char-choice): Only show the cursor after the prompt,
24000 not after the answer.
24002 2011-03-15 Kevin Ryde <user42@zip.com.au>
24004 * help-fns.el (variable-at-point): Skip leading quotes, if any
24007 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24009 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24012 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24014 * shell.el (shell): When called interactively, offer to change the
24015 shell file name on remote hosts.
24017 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24019 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24020 integration for LDAP parameters. The host, base, user or binddn,
24021 and secret tokens can be specified in a netrc file, for instance.
24022 This is optional because an `auth-source' parameter must be
24023 specified in the search attributes.
24025 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24027 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24029 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24031 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24032 into declaration. Remove redundant and harmful binding.
24034 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24036 * files.el (file-ownership-preserved-p): Pass `integer' as an
24037 explicit 2nd argument to `file-attributes'. If the file's owner
24038 is the Administrators group on Windows, and the current user is
24039 Administrator, consider that a match.
24041 * server.el (server-ensure-safe-dir): Consider server directory
24042 safe on MS-Windows if its owner is the Administrators group while
24043 the current Emacs user is Administrator. Use `=' to compare
24044 numerical UIDs, since they could be integers or floats.
24046 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24048 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24050 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24052 Sync with Tramp 2.2.1.
24054 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24056 * net/trampver.el: Update release number.
24058 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24060 * progmodes/compile.el (compilation--previous-directory): Fix up
24061 various nil/dead-marker mismatches (bug#8014).
24062 (compilation-directory-properties, compilation-error-properties):
24063 Don't call it at a position past the one we're about to change.
24065 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24066 Disable obsolescence warnings in the file that declares it.
24068 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24070 * allout-widgets.el (allout-widgets-tally):
24071 Initialize allout-widgets-tally as a hash table rather than nil to
24072 prevent mode-line redisplay warnings. Also, clarify the module
24073 description and fix a comment typo.
24075 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24077 * help-fns.el (describe-variable): Don't complete keywords.
24078 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24080 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24082 * emacs-lisp/package.el (package-version-join): Impose a standard
24083 string representation for pre/alpha/beta version lists.
24084 (package-unpack-single): Standardize the directory name by passing
24085 it through package-version-join.
24086 (package-strip-rcs-id): Accept any version string that does not
24087 signal an error in version-to-list.
24089 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24091 * simple.el (delete-trailing-whitespace): Return nil for the
24092 benefit of `write-file-functions'.
24094 2011-03-10 Glenn Morris <rgm@gnu.org>
24096 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24098 * vc/vc-git.el (vc-git-program): New option.
24099 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24100 (vc-git--call): Use it.
24102 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24104 * cus-edit.el (Custom-newline): If no button at point, look
24105 for a subgroup button at start-of-line. (Bug#2298)
24107 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24109 2011-03-10 Julien Danjou <julien@danjou.info>
24111 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24112 `cursor-type' is nil.
24114 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24116 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24118 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24120 * allout.el: Change so yank of distinctive-bullet items
24121 preserves the existing header prefix, rebulleting it if necessary,
24122 rather than replacing it. This is necessary for proper operation
24123 of cooperative addons like allout-widgets.
24124 (allout-make-topic-prefix, allout-rebullet-heading):
24125 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24126 value as alternate bullet to be used, instead of prompting the user
24127 for a bullet character.
24129 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24131 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24132 Do not use `tramp-file-name-port', because this returns also
24133 `tramp-default-port'.
24135 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24137 * net/rcirc.el (rcirc-handler-001): Remove useless
24138 with-rcirc-process-buffer.
24139 (rcirc-check-auth-status): Swap arguments to string-match.
24141 2011-03-09 Glenn Morris <rgm@gnu.org>
24143 * shell.el (shell-mode):
24144 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24146 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24147 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24149 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24151 * emacs-lisp/package.el (package-refresh-contents)
24152 (package-menu-execute): Use condition-case-no-debug.
24154 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24156 * simple.el (shell-command-to-string): Use `process-file'.
24158 * emacs-lisp/package.el (package-tar-file-info): Handle also
24161 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24162 Use `equal' for upload base check.
24164 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24166 * textmodes/texinfo.el (texinfo-environments):
24167 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24169 2011-03-08 Glenn Morris <rgm@gnu.org>
24171 * cus-start.el (cursor-in-non-selected-windows):
24172 Fix :set quoting oddness. (Bug#8192)
24174 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24175 in some setf expressions. (Bug#2159)
24177 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24179 * custom.el (custom-available-themes): Return themes in
24180 alphabetical order.
24182 See ChangeLog.15 for earlier changes.
24184 ;; Local Variables:
24188 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24190 This file is part of GNU Emacs.
24192 GNU Emacs is free software: you can redistribute it and/or modify
24193 it under the terms of the GNU General Public License as published by
24194 the Free Software Foundation, either version 3 of the License, or
24195 (at your option) any later version.
24197 GNU Emacs is distributed in the hope that it will be useful,
24198 but WITHOUT ANY WARRANTY; without even the implied warranty of
24199 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24200 GNU General Public License for more details.
24202 You should have received a copy of the GNU General Public License
24203 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.