1 2013-02-16 Glenn Morris <rgm@gnu.org>
3 * image-mode.el (image-mode-map): Give it a menu.
5 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
7 * net/tramp-cache.el (tramp-connection-properties): New customer
9 (tramp-get-connection-property): Use it.
11 * net/tramp-compat.el (top): Require 'trampver.
13 * net/tramp-sh.el (tramp-remote-process-environment): Set
14 tramp-autoload cookie.
16 2013-02-16 Kevin Ryde <user42@zip.com.au>
18 * info-look.el (info-lookup-select-mode): If major-mode has no
19 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
21 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
23 * replace.el (read-regexp): Tighten the regexp that matches tag.
24 When tag is retrieved with `find-tag-default', use regexp that
25 matches tag at point. Also update docstring (Bug#13687).
27 2013-02-16 Eli Zaretskii <eliz@gnu.org>
29 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
30 add watch for the file, not its parent directory, since w32notify
31 sets up the watch for the directory internally. (Bug#13725)
33 2013-02-16 Glenn Morris <rgm@gnu.org>
35 * image.el (image-default-frame-delay): New variable.
36 (image-animated-p): Use image-default-frame-delay.
37 (image-minimum-frame-delay): New constant.
38 (image-animate-timeout): Use image-minimum-frame-delay.
40 * image.el (image-nth-frame): New, split from image-animate-timeout.
41 (image-animate-timeout): Use image-nth-frame.
42 * image-mode.el (image-goto-frame, image-next-frame)
43 (image-previous-frame): New commands.
44 (image-mode-map): Add new frame commands.
46 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
48 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
49 If col-desc already has help-echo, use it. (Bug#13563)
51 2013-02-16 Glenn Morris <rgm@gnu.org>
53 * image.el (image-current-frame): New variable.
54 (image-animate-timeout): Set image-current-frame.
55 * image-mode.el (image-mode): For animated images,
56 display a frame counter via mode-line-process.
58 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
60 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
62 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
64 2013-02-15 Alan Mackenzie <acm@muc.de>
66 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
67 global minor mode has been enabled, call the minor mode function
68 for a new buffer once only, after the major mode hook, whilst
69 allowing that hook explicitly to disable the minor mode.
70 (MODE-disable-in-buffer): New (generated) function.
71 (disable-MODE): New (generated) buffer local variable.
73 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
75 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
76 `iswitchb-next-match' and `iswitchb-prev-match' resply.
77 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
78 `ido-next-match' and `ido-prev-match' resply.
79 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
80 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
81 `icomplete-backward-completions' (Bug#13708).
83 2013-02-15 Glenn Morris <rgm@gnu.org>
85 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
87 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
89 * net/goto-addr.el (goto-address-fontify): Add start and end args.
90 (goto-address-fontify-region): Use them instead of narrowing, so
91 syntax-ppss has access to the whole buffer.
93 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
95 * progmodes/python.el: Explain how to restore "cc-mode"-like
96 forward-sexp movement in header documentation (Bug#13642).
97 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
98 comments and strings (GH bug 114).
100 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
102 * progmodes/python.el (python-info-current-defun): Fix current
103 defun detection (Bug#13618).
105 2013-02-15 Chong Yidong <cyd@gnu.org>
107 * xml.el (xml-parse-string): Fix typo in handling of bad character
110 2013-02-15 Glenn Morris <rgm@gnu.org>
112 * play/fortune.el (fortune-compile): Simplify and fix previous change.
114 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
116 * net/tramp.el (tramp-debug-message):
117 Add `tramp-condition-case-unless-debug'.
118 (tramp-debug-on-error): New defvar.
119 (tramp-condition-case-unless-debug): New defun.
120 (tramp-file-name-handler): Use it.
122 2013-02-14 Juri Linkov <juri@jurta.org>
124 * info.el (Info-isearch-filter): Treat non-nil values of
125 `search-invisible' including its default value `open'
126 like the value `t' to match hidden text. (Bug#13402)
128 2013-02-14 Glenn Morris <rgm@gnu.org>
130 * help-fns.el (find-lisp-object-file-name): Give special treatment
131 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
133 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
135 * net/quickurl.el (quickurl-save-urls):
136 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
138 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
140 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
141 depth for unfinished percent literal. Not using it in the caller.
142 (ruby-move-to-block): Jump over multiline literals of all types,
143 ignoring code-looking contents inside them.
144 (ruby-add-log-current-method): Improve performance at the expense
145 of accuracy. `ruby-block-contains-point' is relatively slow, so
146 only use it for method and singleton class blocks.
148 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
150 Use ControlMaster where applicable. (Bug#13677)
152 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
153 replacing `tramp-detect-ssh-controlmaster'.
154 (tramp-default-method): Use it.
156 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
157 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
159 [scpc, rsyncc]: Remove methods.
160 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
162 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
163 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
165 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
167 * emacs-lisp/package.el (package--initialized): Move before first use.
169 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
171 * icomplete.el (icomplete-hide-common-prefix): New user option.
172 (icomplete-first-match): New face.
173 (icomplete-completions): Correct handling of "complete but not
176 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
178 * descr-text.el (describe-char): Display the script (bug#13698).
180 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
182 * tmm.el: Use lexical-binding and current-active-maps.
183 (tmm-menubar): Use map-keymap and pcase.
184 (tmm--completion-table): New function.
185 (tmm-prompt): Use it to fix the menu order.
186 (tmm-get-keybind): Use current-active-maps.
188 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
190 Add dired-hide-details-mode. (Bug#6799)
192 * locate.el (locate-mode): Set parent mode property to dired-mode.
194 * find-dired.el (find-dired): Call dired-insert-set-properties on
195 initial information line. Set process mark on end of buffer.
196 (find-dired-sentinel):
197 Call dired-insert-set-properties on summary.
199 * dired.el (dired-hide-details-hide-symlink-targets)
200 (dired-hide-details-hide-information-lines): New options.
201 (dired-insert-directory):
202 Set properties after final treatment of output.
203 (dired-insert-set-properties):
204 Set dired-hide-details-* properties.
205 (dired-mode-map): Bind dired-hide-details-mode.
206 (dired-mode): Set buffer-invisibility-spec to a list.
207 (dired-next-line): Skip hidden lines.
208 (dired-previous-line): Use dired-next-line.
209 (dired-hide-details-mode): New minor mode.
210 (dired-hide-details-update-invisibility-spec): New function.
212 2013-02-13 Glenn Morris <rgm@gnu.org>
214 * play/yow.el: Move to obsolete/. (Bug#9384)
216 2013-02-13 Juri Linkov <juri@jurta.org>
218 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
219 to select `ediff-control-frame' and set input focus correctly on Xfce.
222 2013-02-13 Juri Linkov <juri@jurta.org>
224 * image-mode.el (image-mode-map):
225 * doc-view.el (doc-view-mode-map):
226 * vc/ediff-util.el (ediff-setup-keymap):
227 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
229 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
231 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
232 performance. Instead of recalculating indentation fully for each
233 line, sum up indentation depth based only on visited lines.
234 (ruby-parse-partial): Increase the depth after "do" even when END
236 (ruby-parse-partial): When END is in the middle of a percent
237 literal, increase the depth if the delimiter chars belong to the
240 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
242 * play/fortune.el (fortune-compile): Also make the compiled file
243 if it does not exist at all, not just if it is old. (Bug#5338)
245 2013-02-13 Glenn Morris <rgm@gnu.org>
247 * emacs-lisp/package.el (package-menu-execute): Doc fix.
249 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
251 * lisp/emacs-lisp/package.el (package-menu-execute):
252 Add optional noquery argument. (Bug#13625)
254 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
256 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
257 if DIR exists and PARENTS is non-nil.
259 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
261 * progmodes/js.el (js--multi-line-declaration-indentation):
262 Silence byte-compiler warning.
264 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
266 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
268 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
269 only if it doesn't exist.
271 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
274 2013-02-12 Tassilo Horn <tsdh@gnu.org>
276 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
277 UserInstallation when calling soffice to work around LibreOffice
280 2013-02-12 Glenn Morris <rgm@gnu.org>
282 * files.el (basic-save-buffer):
283 Offer to create a non-existing directory. (Bug#3016)
285 * calc/calc-graph.el (calc-graph-show-dumb):
286 * calendar/calendar.el (calendar-mode-map):
287 * cus-edit.el (custom-mode-map):
288 * ehelp.el (electric-help-map):
289 * emulation/vip.el (vip-mode-map):
290 * epa.el (epa-key-list-mode-map):
291 * info.el (Info-mode-map):
292 * mail/rmail.el (rmail-mode-map):
293 * mail/rmailsum.el (rmail-summary-mode-map):
294 * man.el (Man-mode-map):
295 * net/newst-plainview.el (newsticker-mode-map):
296 * progmodes/cpp.el (cpp-edit-mode-map):
297 * progmodes/grep.el (grep-mode-map):
298 * progmodes/idlw-help.el (idlwave-help-mode-map):
299 * simple.el (special-mode-map):
300 * startup.el (splash-screen-keymap):
301 * view.el (view-mode-map):
302 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
304 2013-02-11 Elias Pipping <pipping@lavabit.com>
306 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
309 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
311 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
313 2013-02-11 Glenn Morris <rgm@gnu.org>
315 * vc/diff.el (diff-use-labels): New variable.
316 (diff-no-select): Use --label rather than -L, and first
317 check that it is supported. (Bug#11067)
319 * files.el (enable-dir-local-variables): New variable.
320 (hack-dir-local-variables): Respect enable-dir-local-variables.
321 * tutorial.el (help-with-tutorial):
322 Ignore directory-local variables. (Bug#11127)
324 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
325 (vc-svn-global-switches): ... to here. (Bug#13513)
327 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
329 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
330 Handle "foo (bar, default: xxx): " prompts.
332 2013-02-10 Chong Yidong <cyd@gnu.org>
334 * files.el (basic-save-buffer-1): Do not set
335 buffer-file-coding-system-explicit (Bug#4533).
337 * mail/emacsbug.el (report-emacs-bug): Change binding of
338 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
340 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
342 * calc/calc.el (calc-allow-units-as-numbers): New variable.
343 * calc/calc-units.el (calc-convert-units): Use new variable.
345 2013-02-09 Eli Zaretskii <eliz@gnu.org>
347 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
349 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
352 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
353 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
354 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
355 coding-system-for-write instead.
357 * jka-compr.el (jka-compr-write-region): Don't bind
360 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
363 * files.el (file-name-buffer-file-type-alist): Remove defvar.
364 (insert-file-contents-literally): Remove reference to
365 file-name-buffer-file-type-alist.
367 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
369 (find-buffer-file-type-match, find-buffer-file-type): Remove.
370 (find-buffer-file-type-coding-system): Remove references to
371 find-buffer-file-type-match, find-buffer-file-type, and
373 Don't put find-buffer-file-type-coding-system into
374 file-coding-system-alist.
375 (find-file-binary, find-file-text): Bind coding-system-for-read
376 instead of file-name-buffer-file-type-alist.
378 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
380 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
381 converter (Bug#13622).
382 (doc-view-unoconv-program): Make obsolete alias.
383 (doc-view-odf->pdf-converter-program): New variable.
384 (doc-view-odf->pdf-converter-function): New variable.
385 (doc-view-mode-p): Use it.
386 (doc-view-odf->pdf-converter-unoconv):
387 Rename from `doc-view-odf->pdf-converter-unoconv'.
388 (doc-view-odf->pdf-converter-soffice): New function.
389 (doc-view-convert-current-doc):
390 Use `doc-view-odf->pdf-converter-function'.
392 2013-02-09 Chong Yidong <cyd@gnu.org>
394 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
395 view-echo-area-messages (Bug#13340).
397 * help.el (view-echo-area-messages): Use display-buffer.
399 * dired-x.el (dired-do-run-mail): Prompt for confirmation
402 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
404 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
405 Eval body right away, now that we do eager macroexpansion (bug#13605).
407 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
408 (fundamental-mode): Use run-mode-hooks.
410 * eshell/esh-proc.el (eshell/kill): Fix last change.
411 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
413 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
415 * eshell/esh-proc.el (eshell/kill): Rewrite.
417 * eshell/em-ls.el (show-almost-all): Declare.
418 (eshell-do-ls): Add support for -A argument.
420 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
422 * icomplete.el (icomplete-forward-completions)
423 (icomplete-backward-completions): Handle corner case (bug#13602).
425 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
427 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
428 be nil. Handle this. (Bug#13636)
430 2013-02-07 Richard Stallman <rms@gnu.org>
432 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
433 `save-buffer-coding-system'.
435 2013-02-07 Alan Mackenzie <acm@muc.de>
437 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
438 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
439 (c-parse-state-get-strategy): Don't return 'BOD any more.
440 (c-append-lower-brace-pair-to-state-cache):
441 Extra parameter HERE instead of narrowing.
442 Widen to top of buffer before searching backwards for a brace pair.
443 (c-state-push-any-brace-pair): Add HERE parameter to function call.
444 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
445 Narrow to parameter HERE, in place of being called narrowed.
446 (c-remove-stale-state-cache): Extra parameter HERE in place of
447 narrowing. Check there's an open brace in the cache before
448 searching for its match.
449 (c-invalidate-state-cache-1): Add HERE parameter to function call.
450 (c-parse-state-1): Don't narrow here for 'forward strategy,
451 instead passing extra parameter HERE to several functions.
452 Remove 'BOD strategy.
454 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
456 * emacs-lisp/package.el (describe-package-1): Tell what archive is
457 used to install the package.
459 2013-02-06 Glenn Morris <rgm@gnu.org>
461 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
462 if we can't get user input. (Bug#6567)
464 * startup.el (command-line): If simple.el is missing,
465 test and warn about for some possible causes.
467 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
469 * cus-start.el (all): Add ns-use-native-fullscreen.
471 2013-02-05 Glenn Morris <rgm@gnu.org>
473 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
475 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
476 Fix directory creation in fallback case.
478 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
480 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
481 (vc-update-change-log): Use dolist.
483 2013-02-04 Chong Yidong <cyd@gnu.org>
485 * thingatpt.el: Rewrite the URL detection routines, absorbing some
487 (thing-at-point-beginning-of-url-regexp): New var.
488 (thing-at-point-uri-schemes): Update list of URI schemes.
489 (thing-at-point-url-regexp): Variable deleted.
490 (thing-at-point-markedup-url-regexp): Disallow newlines.
491 (thing-at-point-newsgroup-regexp)
492 (thing-at-point-newsgroup-heads)
493 (thing-at-point-default-mail-uri-scheme): New variables.
494 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
495 method to find the possible bounds of the URI at point.
496 New optional argument to find ill-formed URIs.
497 (thing-at-point-url-at-point): Rewrite. New arguments for finding
498 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
499 the scheme-adding heuristics from ffap-url-at-point.
500 (thing-at-point--bounds-of-well-formed-url): New function.
501 Do parens matching to decide whether to include parens in the URI
504 * ffap.el: Require thingatpt.
505 (ffap-url-at-point): Delegate URI detection to thing-at-point.
506 All URI-valid characters are now recognized (Bug#5673).
507 (ffap-string-at-point): Use use-region-p.
508 (ffap-url-regexp): Extra character is handled by thing-at-point.
509 (ffap-string-at-point-mode-alist): Allow parentheses.
510 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
511 Convert to aliases; code moved to thingatpt.el.
512 (ffap-gnus-hook): Use setq-local.
514 2013-02-04 Glenn Morris <rgm@gnu.org>
516 * emacs-lisp/ert.el (ert--explain-format-atom):
517 Don't try to print non-characters as characters. (Bug#13543)
519 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
521 * net/tramp.el (tramp-debug-message): Extend function exclude list.
522 (tramp-backtrace): New defun.
523 (tramp-handle-insert-file-contents): Use `visit' when inserting
526 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
527 Use `remote-file-name-inhibit-cache'.
529 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
531 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
534 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
535 current-load-list (bug#13366).
537 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
539 * progmodes/compile.el (compilation-error-regexp-alist-alist):
540 Identify g++ template instantiation trace. (Bug#12287)
541 (compilation-mode-hook, compilation-start-hook)
542 (compilation-window-height): Simplify docstrings. (Bug#13379)
544 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
546 * mouse.el (mouse-drag-track): Always deactivate the mark before
547 running the final event's command since that command is in charge of
548 activating the mark if needed (bug#13523).
550 2013-02-02 Juri Linkov <juri@jurta.org>
552 * replace.el (perform-replace): Move let-bindings of isearch-*
553 variables deeper to the loop that searches for the next match.
554 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
555 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
558 * isearch.el (isearch-search-fun-default): Check for null
559 first element of isearch-cmds as a precaution when it's used
560 with inactive isearch.
562 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
564 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
565 error when buffer in question is narrowed so position 1 is out of
568 2013-02-02 Glenn Morris <rgm@gnu.org>
570 * textmodes/remember.el (remember-clipboard): Doc fix.
572 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
574 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
575 properties (bug#13179).
577 2013-02-02 Juri Linkov <juri@jurta.org>
579 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
580 instead of hard-coded default face `match'. (Bug#9438)
582 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
584 * vc/vc-arch.el (vc-arch-registered):
585 * vc/vc-bzr.el (vc-bzr-registered):
586 * vc/vc-cvs.el (vc-cvs-registered):
587 * vc/vc-git.el (vc-git-registered):
588 * vc/vc-hg.el (vc-hg-registered):
589 * vc/vc-mtn.el (vc-mtn-registered):
590 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
593 * info.el (Info-next-reference, Info-prev-reference): Add numeric
594 prefix argument. (Bug#11656)
596 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
598 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
600 2013-02-01 Glenn Morris <rgm@gnu.org>
602 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
603 if the backend is known not to support it.
605 * imenu.el (imenu-default-create-index-function):
606 Tweak infinite loop test to check for forward motion as well as none.
608 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
610 * net/soap-client.el (soap-invoke): Encode the string for
611 `url-request-data' as UTF-8.
612 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
614 2013-02-01 Glenn Morris <rgm@gnu.org>
616 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
618 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
620 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
622 * net/tramp.el (tramp-tramp-file-p): Comment check for
623 `string-as-unibyte'. The function does not exist on XEmacs, and
624 likely we need another approach.
626 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
627 `tramp-gw-*' variables are bound.
629 2013-01-31 Glenn Morris <rgm@gnu.org>
631 * files.el (basic-save-buffer-2): Choose coding system for
632 writing the file before backing it up, to reduce delay between
633 backing up and writing the new version. (Bug#13522)
635 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
637 * simple.el (cycle-spacing): New command.
638 (just-one-space): Use it.
640 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
642 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
643 (opascal-newline-always-indents): Remove custom.
644 (opascal-tab, opascal-newline): Remove commands.
645 (opascal-new-comment-line): Insert "\n" instead of calling newline.
646 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
647 (opascal-save-match-data): Remove, use save-match-data instead.
648 (opascal-save-state): Use with-silent-modifications.
650 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
653 2013-01-30 Juri Linkov <juri@jurta.org>
655 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
656 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
657 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
659 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
661 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
662 column if we're just deleting the backslashes.
663 (makefile-fill-paragraph): Use eolp.
665 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
667 * autorevert.el (auto-revert-use-notify): Fix docstring.
669 2013-01-30 Leo Liu <sdl.web@gmail.com>
671 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
673 2013-01-30 Glenn Morris <rgm@gnu.org>
675 * mouse.el (mouse-drag-line): Avoid pushing same event onto
676 unread-command-events twice in some cases. This tries to implement
677 the 2012-07-26 changes in a different way. (Bug#13560)
679 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
681 * progmodes/python.el
682 (python-pdbtrack-comint-output-filter-function): Enhancements on
683 stacktrace detection. (thanks @gnovak)
685 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
687 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
688 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
690 (jit-lock-register): Use setq-local.
692 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
694 * calc-units.el (math-default-units-table): Remove initial value.
695 (calc-convert-units): Treat expressions where all the units cancel as
696 if they didn't have units.
698 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
700 * net/tramp.el (tramp-process-connection-type): Fix docstring.
701 (tramp-completion-reread-directory-timeout): Fix type.
702 (tramp-connection-min-time-diff): New defcustom.
704 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
706 2013-01-30 Glenn Morris <rgm@gnu.org>
708 * imenu.el (imenu-default-create-index-function):
709 Put back a version of the infinite loop test removed 2013-01-23.
711 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
713 * progmodes/python.el (python-shell-parse-command):
714 Find python-shell-interpreter with modified environment.
716 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
718 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
720 2013-01-29 Alan Mackenzie <acm@muc.de>
722 Amend to fontify /regexp/s in actions correctly.
723 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
724 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
725 are no longer included.
726 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
727 What used to be these variables without "-line" in the name.
728 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
729 (c-awk-non-arith-op-bra-re): Now also matches {.
730 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
731 "return", and "case".
732 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
734 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
735 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
737 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
739 * autorevert.el (auto-revert-use-notify):
740 Use `custom-initialize-default' for initialization. (Bug#13583)
742 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
744 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
745 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
746 in `tramp-file-name-handler'.
747 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
749 (tramp-compute-multi-hops): Check, whether
750 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
752 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
754 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
757 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
759 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
760 checks made superfluous by the \_< operator.
761 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
762 temporarily) broken indentation.
763 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
764 Highlight nested constants, too. \_< broke that.
766 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
768 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
771 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
773 * autorevert.el (auto-revert-handler): Notifications which result
774 from a saved file shall not be taken into account. (Bug#13557)
776 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
778 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
779 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
780 (lisp-mode): Pass t for it. (Bug#13556)
782 2013-01-25 Alan Mackenzie <acm@muc.de>
784 AWK Mode: Fix indentation bug at top level. Bug #12274.
786 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
789 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
791 * net/socks.el (socks-nslookup-host): Use string-to-number.
793 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
795 * autorevert.el (auto-revert-remote-files)
796 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
797 (auto-revert-notify-enabled, auto-revert-use-notify)
798 (auto-revert-notify-watch-descriptor-hash-list)
799 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
800 (auto-revert-notify-event-descriptor)
801 (auto-revert-notify-event-action)
802 (auto-revert-notify-event-file-name): Doc fix.
803 (global-auto-revert-mode): Reorder checks.
804 (auto-revert-notify-rm-watch): Respect changed values of
805 `auto-revert-notify-watch-descriptor-hash-list'.
806 (auto-revert-notify-add-watch): Check for
807 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
808 `inotify-add-watch'. Watch `default-directory' instead of
809 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
810 has a changed meaning now. (Bug#13540)
811 (auto-revert-notify-handler): Change implementation wrt events
812 returning from a directory.
813 (auto-revert-handler): Reorder implementation for checks of remote
815 (auto-revert-buffers): Fix parentheses error.
817 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
819 * progmodes/python.el: Enhancements to header documentation about
820 skeletons. (Bug#5716)
822 * imenu.el (imenu-default-create-index-function): Remove useless
823 infinite loop check. (Bug#13438)
825 2013-01-25 Alan Mackenzie <acm@muc.de>
827 Fix a bug in the state cache mechanism. Refactor this a bit.
829 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
830 `cache-pos' element from the return value.
831 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
832 buffer to enable proper searching from beyond HERE. Amend the
833 test for detecting the sought brace pair. Amend the value written
834 to the "brace desert cache" when the brace isn't found.
835 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
836 and several other variables analogously.
837 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
838 parameter to a locally calculated variable.
839 (c-parse-state-1): Change the calling conventions to the two
840 defuns involving `cache-pos'.
842 2013-01-25 Chong Yidong <cyd@gnu.org>
844 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
846 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
848 * paren.el (show-paren-function): Make sure to set 'priority and
849 'face only if the overlay does exist.
851 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
853 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
855 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
857 (tramp-sh-handle-set-file-acl): Improve error checking.
859 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
861 * doc-view.el (doc-view-display): Force mode line update until all
862 document is converted. Suggested by Stefan Monnier (Bug#13164).
864 2013-01-23 Bastien Guerry <bzg@gnu.org>
866 * paren.el (show-paren-function): Make sure an overlay exists
867 before trying to delete it. Also use `pos' as a position only
868 when it is an integer.
870 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
872 * play/gametree.el (gametree-break-line-here): Use point-marker.
874 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
876 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
877 Mark descriptive parts with `display' property.
879 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
881 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
882 New variable to map standard dict names to hunspell ones.
883 (ispell-set-spellchecker-params): Make sure specific dict names
884 are used for standard dicts with hunspell.
886 2013-01-21 Tassilo Horn <tsdh@gnu.org>
888 * textmodes/reftex-cite.el (reftex-format-citation): Add format
889 chars for note (%N) and url (%U).
890 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
892 2013-01-21 Juri Linkov <juri@jurta.org>
894 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
895 in addition to existing separate binding `meta f10' in `global-map'.
898 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
900 Improve XEmacs compatibility.
902 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
904 * net/tramp-adb.el (top): Require `time-date'.
905 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
906 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
907 Use `tramp-file-name-handler'.
908 (tramp-adb-maybe-open-connection):
909 Use `tramp-compat-set-process-query-on-exit-flag'.
911 * net/tramp-sh.el (tramp-sh-handle-file-acl):
912 Use `tramp-compat-funcall'.
914 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
915 `tramp-compat-funcall'.
917 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
919 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
920 reimplementation using "adb shell command ..." instead of running
921 remote shell interactively.
923 2013-01-20 Glenn Morris <rgm@gnu.org>
925 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
926 Add native profiler menu entries.
928 * profiler.el (profiler-running-p): New function.
929 (profiler-cpu-profile): Use profiler-running-p.
930 (profiler-report-mode-map): Add some more menu entries.
932 2013-01-19 Glenn Morris <rgm@gnu.org>
934 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
935 fixes 2012-12-07 change. (Bug#13499)
937 2013-01-19 Leo Liu <sdl.web@gmail.com>
939 * dired.el (dired-get-marked-files): Prune erroneous values due to
940 last change. (Bug#13152)
942 2013-01-19 Glenn Morris <rgm@gnu.org>
944 * progmodes/etags.el (tags-table-check-computed-list):
945 Preserve point in tags buffer. (Bug#13412)
947 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
949 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
950 Chong Yidong <cyd@gnu.org>
952 * image-mode.el (image-next-file, image-previous-file):
953 New commands (Bug#8453).
954 (image-mode-map): Bind them to n and p.
955 (image-mode--images-in-directory): New helper function.
957 2013-01-19 Chong Yidong <cyd@gnu.org>
959 * image-mode.el (image-mode-fit-frame): Add a frame argument.
960 Suggested by Drew Adams (Bug#7730). Handle window decorations;
961 save and restore the old window configuration.
963 2013-01-18 Leo Liu <sdl.web@gmail.com>
965 * progmodes/js.el: Tweak autoload cookie for alias.
967 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
969 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
970 buffer local, again. This was lost with the fix on 2013-01-12.
972 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
974 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
975 order to support several eshell buffers in parallel.
977 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
979 * autorevert.el (auto-revert-use-notify): In the :set function, do
980 not modify `kill-buffer-hook'.
981 (auto-revert-notify-rm-watch):
982 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
983 (auto-revert-notify-add-watch): Do not call
984 `auto-revert-notify-rm-watch', but add it to a buffer local
987 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
989 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
990 call to `eval' rather than a backquoted lambda.
992 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
994 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
995 to return an explicit nil.
996 (advice--remove-function): Change accordingly.
998 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
999 the use of nadvice.el.
1001 * progmodes/which-func.el (which-function): Silence imenu errors
1004 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1006 * progmodes/sql.el: (sql-imenu-generic-expression):
1007 (sql-mode-font-lock-object-name): Match schema qualified names.
1008 (sql-connect): Use string keys.
1009 (sql-product-interactive): Wait for interpreter prompt.
1010 (sql-comint-oracle): Set process coding based on NLS_LANG.
1012 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1014 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1015 (sql-interactive-remove-continuation-prompt):
1016 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1018 2013-01-14 Leo Liu <sdl.web@gmail.com>
1020 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1023 2013-01-14 Glenn Morris <rgm@gnu.org>
1025 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1026 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1028 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1030 * progmodes/python.el (python-nav-end-of-statement):
1031 Fix cornercase when handling multiline strings.
1033 2013-01-13 Richard Stallman <rms@gnu.org>
1035 * mail/sendmail.el (mail-position-on-field): Add doc string.
1037 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1038 Get current message boundaries and pass them to
1039 message-forward-make-body-mime. Minor style changes.
1041 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1043 * cus-start.el (all): Avoid warnings about
1044 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1046 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1048 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1050 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1052 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1053 (jit-lock--debug-fontifying): New var.
1054 (jit-lock--debug-fontify): New function.
1055 * subr.el (condition-case-unless-debug): Don't prevent catching the
1056 error, just let the debbugger run.
1057 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1058 timer code and don't drop errors silently.
1060 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1062 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1063 `permanent-local' property.
1064 (auto-revert-notify-handler): Use `file-equal-p'.
1066 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1068 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1069 file notification by ACTION. For filtering by file name, compare
1070 only the non-directory part of the file name.
1072 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * autorevert.el: Use cl-lib instead of cl.
1076 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1077 (vc-bzr-checkin): Use it.
1078 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1079 will preserve match-data.
1081 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1083 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1084 (js--declaration-keyword-re): New var.
1085 (js--multi-line-declaration-indentation): New function.
1086 (js--proper-indentation): Use it.
1088 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1090 * calc/calc.el (calc-highlight-selections-with-faces)
1092 * comint.el (comint-history-isearch-message):
1093 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1094 * ffap.el (ffap-string-at-point-region, ffap-next)
1095 (ffap-string-at-point, ffap-string-around)
1096 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1098 * font-lock.el (font-lock-keywords-alist)
1099 (font-lock-removed-keywords-alist):
1100 * help-mode.el (help-xref-symbol-regexp):
1101 * info.el (Info-find-emacs-command-nodes):
1102 * international/mule.el (add-to-coding-system-list):
1103 * isearch.el (isearch-message-function, isearch-fail-pos):
1104 * misearch.el (multi-isearch-next-buffer-function):
1105 * newcomment.el (comment-box):
1106 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1107 (pr-setting-database):
1108 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1109 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1110 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1111 (pike-font-lock-keywords-3):
1112 * progmodes/compile.el (compile):
1113 * progmodes/etags.el (tags-table-files)
1114 (tags-table-files-function, tags-included-tables-function):
1115 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1116 (gdb-restore-windows):
1117 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1118 (ps-n-up-filling-database):
1119 * server.el (server-buffer, server-log):
1120 * simple.el (newline, delete-backward-char, delete-forward-char)
1121 (minibuffer-history-isearch-message, kill-line, track-eol)
1122 (temporary-goal-column):
1123 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1124 (flyspell-default-deplacement-commands):
1125 * textmodes/ispell.el (ispell-accept-output):
1126 * textmodes/sgml-mode.el (html-tag-help):
1127 * vc/compare-w.el (compare-ignore-whitespace)
1128 (compare-ignore-case, compare-windows-dehighlight):
1129 * vc/diff.el (diff):
1130 * whitespace.el (whitespace-point)
1131 (whitespace-font-lock-refontify, whitespace-bob-marker)
1132 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1134 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1136 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1137 (auto-revert-notify-rm-watch): Ignore errors.
1138 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1139 inotify, and '(size last-write-time) for w32notify.
1140 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1141 watch fails - this is a fallback to the file modification check.
1142 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1143 (auto-revert-notify-event-action)
1144 (auto-revert-notify-event-file-name): New defuns.
1145 (auto-revert-notify-handler): Use them. Implement first
1146 plausibility checks.
1147 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1149 2013-01-11 Julien Danjou <julien@danjou.info>
1151 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1152 max are almost equal. Also return the correct value for V which is
1153 already between 0 and 1.
1155 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1157 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1159 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1161 * autorevert.el (auto-revert-notify-rm-watch)
1162 (auto-revert-notify-add-watch): Fix typos in w32notify function
1165 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1167 * autorevert.el (auto-revert-notify-enabled): Move up.
1168 (auto-revert-use-notify): New defcustom.
1169 (auto-revert-mode, global-auto-revert-mode)
1170 (auto-revert-notify-add-watch, auto-revert-handler)
1171 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1172 `auto-revert-notify-enabled'.
1174 2013-01-10 Elias Pipping <pipping@exherbo.org>
1176 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1177 * doc-view.el (doc-view-document->bitmap):
1178 Use doc-view-single-page-converter-function instead of
1179 single-page-converter arg; adjust callers.
1181 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1183 * progmodes/which-func.el (which-function): Understand Semantic's use
1184 of overlays in imenu--index-alist.
1186 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1188 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1189 (Man-man-k-use-anchor): New var.
1190 (Man-parse-man-k): New function.
1191 (Man-completion-table): Use it.
1192 (man): Flush the completion cache between uses.
1194 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1196 * autorevert.el: Add file watch support.
1197 (auto-revert-notify-enabled): New defconst.
1198 (auto-revert-notify-watch-descriptor-hash-list)
1199 (auto-revert-notify-watch-descriptor)
1200 (auto-revert-notify-modified-p): New defvars.
1201 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1202 (auto-revert-notify-handler): New defuns.
1203 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1204 when mode is disabled.
1205 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1206 (auto-revert-buffers): Add file watches for active buffers.
1208 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1210 * cus-start.el (toplevel): Only allow float values for
1211 scroll-up-aggressively and scroll-down-aggressively.
1212 Allow any number for line-spacing.
1214 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1216 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1217 (doc-view-pdf->png-converter-function): Use mupdf if available.
1218 (doc-view-djvu->png-converter-function)
1219 (doc-view-ps->png-converter-function): Remove.
1220 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1221 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1222 (doc-view-already-converted-p): Adjust accordingly.
1223 (doc-view-mode-p): Simplify.
1224 (doc-view-enlarge): Use setq-local.
1225 (doc-view-pdf->png-converter-ghostscript)
1226 (doc-view-djvu->png-converter-ddjvu)
1227 (doc-view-pdf->png-converter-mupdf): Rework to call
1228 doc-view-start-process directly.
1229 (doc-view-pdf/ps->png): Simplify accordingly.
1230 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1231 (doc-view-document->bitmap): Rename from doc-view-document->png.
1232 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1233 (doc-view-set-slice-from-bounding-box): Fix completion table.
1234 (doc-view-mode): Use add-hook for after-revert-hook.
1236 2013-01-10 Glenn Morris <rgm@gnu.org>
1238 * emacs-lisp/authors.el (authors-ignored-files)
1239 (authors-valid-file-names, authors-renamed-files-alist):
1240 Add some more entries.
1242 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1244 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1245 `t' pseudo-window entry.
1247 2013-01-10 Alan Mackenzie <acm@muc.de>
1249 Fix bugs in the c-parse-state mechanism. Reuse some markers
1250 instead of continually generating new ones.
1252 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1253 (c-state-old-cpp-end-marker): New variables.
1254 (c-append-lower-brace-pair-to-state-cache): Start a backward
1255 search for "}" definitively outside CPP constructs.
1256 (c-remove-stale-state-cache): Inform the caller of a need to
1257 search back for a brace pair in certain circumstances.
1258 (c-state-maybe-marker): New macro.
1259 (c-parse-state): Reuse markers when appropriate.
1261 2013-01-10 Glenn Morris <rgm@gnu.org>
1263 * simple.el (execute-extended-command): Doc fix.
1264 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1266 2013-01-10 Chong Yidong <cyd@gnu.org>
1268 * faces.el (read-face-name): Doc fix.
1270 2013-01-10 Roland Winkler <winkler@gnu.org>
1272 * emacs-lisp/crm.el: Allow any regexp for separators.
1273 (crm-default-separator): All spaces around the default comma separator.
1274 (crm--completion-command): New macro.
1275 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1276 (crm-complete-and-exit): Handle non-single-char separators.
1278 2013-01-09 Elias Pipping <pipping@lavabit.com>
1280 * doc-view.el: Add support for DjVu (bug#13164).
1281 (doc-view-djvu->png-converter-function): New config var.
1282 (doc-view-single-page-converter-function, doc-view--image-type)
1283 (doc-view--image-file-extension): New vars.
1284 (doc-view-mode): Initialize them.
1285 (doc-view-goto-page): Use them.
1286 (doc-view-mode-p): Add support for ddjvu.
1287 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1288 (doc-view-set-up-single-converter): New funs.
1289 (doc-view-pdf/ps->png): Extend for djvu.
1290 (doc-view-document->png): Rename from doc-view-pdf->png.
1291 (doc-view-convert-current-doc): Handle djvu.
1292 (doc-view-insert-image, doc-view-display)
1293 (doc-view-already-converted-p): Don't hardcode png.
1294 (doc-view-set-doc-type): Recognize djvu docs.
1296 2013-01-09 Elias Pipping <pipping@lavabit.com>
1298 * doc-view.el: Add support for mupdf converter (bug#13164).
1299 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1300 (doc-view-ps->png-converter-function): New config vars.
1301 (doc-view-pdf->png-converter-ghostscript)
1302 (doc-view-ps->png-converter-ghostscript)
1303 (doc-view-pdf->png-converter-mupdf): New functions.
1304 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1306 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1308 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1309 first in session cache: When `tramp-own-remote-path' is in
1310 `tramp-remote-path', the remote path is only set in the session
1313 2013-01-09 Glenn Morris <rgm@gnu.org>
1315 * emacs-lisp/trace.el (trace-function-foreground)
1316 (trace-function-background): Doc fix.
1318 2013-01-09 Juri Linkov <juri@jurta.org>
1320 * international/mule-cmds.el (read-char-by-name): Move let-binding
1321 of completion-ignore-case around completing-read to fix regression
1322 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1323 `string-match-p' using the nil value of `case-fold-search' and
1324 `completion-ignore-case' in `completion-pcm--all-completions'.
1327 2013-01-09 Glenn Morris <rgm@gnu.org>
1329 * progmodes/compile.el (compilation-parse-errors):
1330 Fix typo. (Bug#13369)
1332 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1334 * comint.el (comint-send-input): Check size of buffer before
1335 waiting for process output, in case already accepted. (Bug#13290)
1337 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1340 * net/tramp-adb.el (tramp-adb-get-toolbox):
1341 Fix misspelling of 'unknown'.
1343 2013-01-08 Juri Linkov <juri@jurta.org>
1345 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1346 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1347 Use underline style wave on terminals that support it. (Bug#13000)
1349 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1351 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1352 the predicate returns nil.
1354 * simple.el: Use lexical-binding.
1355 (primitive-undo): Use pcase.
1356 (minibuffer-history-isearch-push-state): Use a closure.
1358 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1360 * simple.el (primitive-undo): Move from undo.c.
1362 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1364 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1365 (cvs-mode-remove-handled): Use it (bug#13380).
1367 * emacs-lisp/nadvice.el (advice--tweak): New function.
1368 (advice--remove-function, advice--subst-main): Use it.
1370 * emacs-lisp/advice.el: Update commentary.
1372 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1374 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1375 Remove spurious entry.
1377 2013-01-08 Glenn Morris <rgm@gnu.org>
1379 * net/tramp.el (tramp-default-host-alist): Add :version.
1381 2013-01-08 Juri Linkov <juri@jurta.org>
1383 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1384 single completion. (Bug#12456)
1385 (info--manual-names): Expand node completions into an explicit list
1386 before appending it to another list. Filter out internal buffers
1387 with the leading space in the buffer name. (Bug#10771)
1389 2013-01-08 Juri Linkov <juri@jurta.org>
1391 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1392 that defaults to the Top node.
1393 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1394 the short format (FILENAME) goes to the Top node.
1395 (Info-build-node-completions): Rename arg `file' to `filename'.
1398 2013-01-07 Bastien Guerry <bzg@gnu.org>
1400 * menu-bar.el (menu-bar-search-documentation-menu):
1401 Use `apropos-user-option' and fix the help message.
1403 2013-01-07 Bastien Guerry <bzg@gnu.org>
1405 * apropos.el (apropos-do-all): Update docstring.
1406 (apropos-user-option-button): New face.
1407 (apropos-user-option): Rename from `apropos-variable' and update
1409 (apropos-variable): Rewrite, now show all variables by default.
1410 (apropos-print): Mention "User option" instead of "Variable" when
1411 printing doc for user options. (Bug#13276)
1413 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1415 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1416 Handle filename correctly, when parsing "source -> target" symlink
1418 (tramp-adb-handle-set-file-times): New defun.
1420 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1422 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1423 advice list when the interactive-spec of ad-Advice-* changes.
1425 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1427 * wid-edit.el (widget-default-get): Work for inlined elements.
1430 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1432 * net/tramp.el (tramp-default-host-alist): New defcustom.
1433 (tramp-find-host): Use it.
1434 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1435 `eshell-directory-change-hook'.
1437 * net/tramp-adb.el (top): Add adb specific entry in
1438 `tramp-default-host-alist'.
1439 (tramp-adb-file-name-host): Remove function.
1440 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1441 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1443 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1445 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1447 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1449 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1451 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1452 consist of more than one digit.
1453 (tramp-adb-file-name-handler-alist):
1454 Use `tramp-handle-file-exists-p' consistently.
1455 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1456 (tramp-adb-handle-file-exists-p): Remove function.
1457 (tramp-adb-file-name-host): New defun.
1458 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1460 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1462 2013-01-06 Chong Yidong <cyd@gnu.org>
1464 * vc/vc.el (vc-next-action): Detect buffer modifications
1465 conflicting with locking VCS operation (Bug#11490).
1467 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1469 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1471 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1472 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1474 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1476 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1477 parsing of ls output using regular expression (handle filenames
1478 with spaces). Use virtual device number.
1479 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1482 2013-01-04 Daiki Ueno <ueno@gnu.org>
1484 * epg.el: Silence byte-compiler warnings.
1485 (epg--start): Use delete-char instead of delete-backward-char.
1486 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1488 2013-01-04 Daiki Ueno <ueno@gnu.org>
1490 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1491 Suggested by Eli Zaretskii <eliz@gnu.org>.
1493 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1495 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1496 non-negative integers. Otherwise, the default values are used.
1497 (tramp-convert-file-attributes): Convert uid and gid to integers.
1499 2013-01-04 Glenn Morris <rgm@gnu.org>
1501 * term.el (term-handle-colors-array): Ensure face attributes
1502 are fully specified, not nil. (Bug#13337)
1504 * term.el (term-default-fg-color, term-default-bg-color):
1507 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1508 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1509 rather than 'jka-compr being loaded. (Bug#13338)
1511 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1513 * icomplete.el (icomplete-completions):
1514 Honor icomplete-prospects-height once more following
1515 2012-11-29 changes. (Bug#13224)
1517 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1519 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1520 of called-interactively-p as well (bug#13237).
1522 * view.el (view--enable, view--disable): Rename from view-mode-enable
1523 and view-mode-disable and assume it's called from view-mode.
1524 (view-mode-enable, view-mode-disable): Redefine as obsolete
1525 compatibility layer above view-mode.
1526 (view-mode-enter): Call `view-mode'.
1528 * files.el (after-find-file): Call `view-mode'.
1530 * doc-view.el (doc-view-scale-internally): New var.
1531 (doc-view-enlarge, doc-view-insert-image): Obey it.
1533 2013-01-03 Daiki Ueno <ueno@gnu.org>
1535 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1538 2013-01-03 Glenn Morris <rgm@gnu.org>
1540 * mail/rmail.el (rmail-set-header-1): Ignore case.
1541 Handle multi-line headers. (Bug#13330)
1543 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1544 Handle paragraph starting at beginning of buffer.
1546 * subr.el (eval-after-load): Don't purecopy the form, so that it
1547 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1549 * emacs-lisp/byte-run.el (defun): Place cl declarations
1550 after any interactive spec. (Bug#13265)
1552 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1554 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1555 defun. Don't check for DECL if DOCSTRING isn't a string.
1558 2013-01-02 Glenn Morris <rgm@gnu.org>
1560 * eshell/em-cmpl.el (eshell-pcomplete):
1561 More thoroughly imitate pcomplete. (Bug#13293)
1563 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1564 Return nil for empty path elements. (Bug#13296)
1566 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1568 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1569 order to improve efficiency (Based on Daniel Colascione's
1570 <dancol@dancol.org> patch). (Bug#13182)
1572 2013-01-02 Glenn Morris <rgm@gnu.org>
1574 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1576 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1578 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1579 neither DOCSTRING nor DECL was given. (Bug#13316)
1581 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1583 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1585 (tramp-do-copy-or-rename-file): Ignore errors when calling
1586 `set-file-extended-attributes'.
1588 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1589 Add handler for `file-acl'.
1590 (tramp-smb-handle-file-acl): New defun.
1592 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1594 * calc/README: Mention ISO 8601 week-numbering dates.
1596 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1598 * view.el (view-mode-enable): New argument run-view-mode-hook.
1599 Run view-mode-hook only when it's non-nil (Bug#13315).
1600 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1603 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1605 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1606 (No device connected, invalid device name). (Bug #13299)
1608 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1610 * window.el (window-resizable--p): Rename to window-resizable-p.
1611 (window-resize-no-error): New function.
1613 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1614 broken in fix from 2012-12-28.
1616 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1618 * subr.el (special-form-p): Don't signal errors on undef aliases.
1620 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1622 * calc/calc-forms.el (math-parse-date): Try using
1623 `math-parse-iso-date' when it looks like it might be needed.
1624 Allow times of 24:00.
1625 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1628 2012-12-30 Glenn Morris <rgm@gnu.org>
1630 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1631 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1632 (rmail-summary-displayed, rmail-summary): Declare.
1633 (mairix-rmail-display): Just require rmail.
1635 2012-12-30 Chong Yidong <cyd@gnu.org>
1637 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1638 check for the tarball contents.
1640 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1642 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1643 tarfile content listings (Bug#13136).
1645 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1647 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1648 Insert the undecoded text of the message being forwarded. (Bug#9521)
1650 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1652 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1653 integers, if they are real numbers. (Bug#13282)
1655 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1656 Return `t' on success.
1658 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1659 Add handler for `set-file-selinux-context'.
1661 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1663 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1664 (tramp-sh-handle-set-file-acl): Return `t' on success.
1666 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1668 * files.el (backup-buffer-copy, basic-save-buffer-2):
1669 If set-file-extended-attributes fails, fall back on set-file-modes
1670 instead of signaling an error. (Bug#13298)
1671 (basic-save-buffer): Likewise.
1673 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1675 * progmodes/python.el: Support other commands triggering
1676 python-indent-line so indentation cycling continues to work.
1677 (python-indent-trigger-commands): New defcustom.
1678 (python-indent-line): Use it.
1680 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1682 * progmodes/python.el (python-shell-send-region): Add blank lines
1683 for non sent code so backtraces remain correct.
1685 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1687 * progmodes/python.el: Remove cl dependency.
1688 (python-syntax-count-quotes): Replace incf call.
1689 (python-fill-string): Replace setf call.
1691 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1693 * info.el (info-other-window): New arg, for consistency with info.
1695 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1697 * mail/rmail.el (rmail-maybe-display-summary):
1698 Rewrite (Bug#13066).
1700 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1702 * epg.el (epg--start): Modify process-environment locally.
1704 2012-12-28 Daiki Ueno <ueno@gnu.org>
1706 * epg.el: Support pinentry-curses.
1707 Suggested by Werner Koch in
1708 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1709 (epg-agent-file, epg-agent-mtime): New variable.
1710 (epg--start): Record the modified time of gpg-agent socket file,
1711 to restore Emacs frame after pinentry-curses termination.
1712 (epg-wait-for-completion): Restore Emacs frame here.
1714 2012-12-27 Juri Linkov <juri@jurta.org>
1716 * info.el (Info-file-completions): New variable.
1717 (Info-read-node-name-1): Complete node names in the Info file
1718 when a file name is given. Call `Info-build-node-completions'
1720 (Info-build-node-completions): Add new arg `file'. When it is
1721 non-nil, visit it in a temporary buffer and cache its completions in
1722 `Info-current-file-completions'. Move most of the function body to
1723 `Info-build-node-completions-1'.
1724 (Info-build-node-completions-1): New function with the body from
1725 `Info-build-node-completions'. (Bug#12456)
1727 2012-12-27 Juri Linkov <juri@jurta.org>
1729 * frame.el (frame-maximization-style): Remove user option.
1730 (cycle-frame-maximized): Remove function.
1731 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1732 (toggle-frame-fullscreen): New command bound to <f11> instead of
1733 `toggle-frame-maximized'.
1734 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1736 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1738 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1740 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1741 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1742 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1743 for `file-accessible-directory-p'. (Bug#13275)
1745 2012-12-27 Sam Steingold <sds@gnu.org>
1747 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1748 continuations, see <http://stackoverflow.com/questions/3582436>.
1750 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1752 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1753 "module" and "def" to have indentation before them.
1754 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1756 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1758 2012-12-27 Alan Mackenzie <acm@muc.de>
1760 Speed up fontification where there's large brace blocks.
1761 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1762 to a call of c-beginning-of-decl-1.
1764 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1766 * comint.el (comint-adjust-window-point): New function.
1767 (comint-postoutput-scroll-to-bottom):
1768 Call comint-adjust-window-point (Bug#13248).
1770 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1772 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1774 (auto-mode-alist): Associate .gemspec files with ruby-mode
1775 (https://bugs.ruby-lang.org/issues/5453).
1777 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1779 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1780 Suppress coloring, if possible (required for BusyBox based systems like
1782 (tramp-adb-handle-file-attributes)
1783 (tramp-adb-handle-insert-directory)
1784 (tramp-adb-handle-file-name-all-completions): Use it.
1785 (tramp-adb-get-toolbox): New defun. Check for remote shell
1786 implementation (BusyBox or Toolbox).
1788 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1790 * startup.el (initial-buffer-choice): Allow function as value
1792 (command-line-1): Handle case where initial-buffer-choice
1793 specifies a function.
1794 * server.el (server-execute): Handle case where
1795 initial-buffer-choice specifies a function.
1797 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1799 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1801 (smtpmail-try-auth-methods): Forget the user name/password if the
1802 login is unsuccessful (bug#12424).
1804 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1806 * notifications.el (notifications-notify): Protect body with
1807 `with-demoted-errors'.
1809 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1810 Check properties of remote device. Restart connection, if there is a
1813 2012-12-21 Chong Yidong <cyd@gnu.org>
1815 * sort.el (sort-subr): Doc fix (Bug#13056).
1817 2012-12-21 Bastien Guerry <bzg@gnu.org>
1819 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1821 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1823 * simple.el (process-file): Overwrite stderr file, if exists.
1825 2012-12-21 Daiki Ueno <ueno@gnu.org>
1827 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1828 (epg-error): Set `error-message' property.
1830 2012-12-21 Chong Yidong <cyd@gnu.org>
1832 * international/mule-cmds.el (read-char-by-name): Signal an error
1833 if the user does not supply a valid character (Bug#13177).
1835 * simple.el (transpose-subr-1): Preserve marker positions by
1836 changing the insertion sequence (Bug#13122).
1838 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1840 * simple.el (kill-region): Deactivate mark even for empty regions
1843 2012-12-21 Chong Yidong <cyd@gnu.org>
1845 * help-fns.el (describe-variable): Make sure we get the right
1846 buffer name (Bug#13105). Suggested by Kelly Dean.
1848 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1850 * comint.el (comint-redirect-previous-input-string): New variable.
1851 (comint-redirect-setup, comint-redirect-cleanup)
1852 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1853 (comint-redirect-preoutput-filter): Fix verbose message.
1855 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1857 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1858 is too long for Tramp. See discussion in
1859 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1861 * progmodes/compile.el (compilation-start): Remove line escape
1864 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1866 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1869 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1871 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1872 following non-comment text (bug#13207).
1873 (lm-header-multiline): Continuation lines need to be indented more than
1875 (lm-homepage): New function.
1876 (lm-with-file): Don't be confused if narrowing is in effect.
1878 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1880 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1881 very beginning of a hunk (e.g. killing the first line).
1883 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1885 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1886 and text properties from returned ACL string.
1887 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1888 for "setfacl" command.
1890 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1892 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1893 `tramp-cleanup-this-connection', when the process has died.
1896 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1898 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1900 2012-12-17 Kevin Ryde <user42@zip.com.au>
1902 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1904 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1906 Add support for preserving ACL entries of files.
1908 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1909 `set-file-acl' handlers.
1911 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1912 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1914 * net/tramp-compat.el (tramp-compat-copy-file):
1915 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1917 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1918 Add `file-acl' and `set-file-acl' handlers.
1919 (tramp-gvfs-handle-copy-file):
1920 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1921 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1924 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1925 Add `file-acl' and `set-file-acl' handlers.
1926 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1927 (tramp-sh-handle-set-file-acl): New defuns.
1928 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1929 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1931 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1932 Add `file-acl' and `set-file-acl' handlers.
1933 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1935 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1937 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1938 use pop-to-buffer with NORECORD argument t. As buffer name, use
1939 *Metahelp* with a leading space (Bug#13190).
1941 2012-12-16 Romain Francoise <romain@orebokech.com>
1943 * files.el (file-extended-attributes)
1944 (set-file-extended-attributes): New functions.
1945 (backup-buffer): Use them to handle both SELinux context and ACL
1947 (backup-buffer-copy): Work with an alist of extended attributes,
1948 rather than an SELinux context.
1949 (basic-save-buffer-2): Ditto.
1951 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1953 * battery.el (battery-bsd-apm): New function.
1955 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1957 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1958 standard date formats.
1960 2012-12-15 Juri Linkov <juri@jurta.org>
1962 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1963 `isearch-insert-char-by-name'.
1964 (with-isearch-suspended): New defmacro with body mostly from
1965 `isearch-edit-string' except the part that sets
1966 `isearch-new-string' and `isearch-new-message'.
1967 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1968 body that sets `isearch-new-string' and `isearch-new-message'.
1969 (isearch-insert-char-by-name): New command.
1970 * international/mule-cmds.el (read-char-by-name): Let-bind
1971 `enable-recursive-minibuffers' to t.
1972 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1974 2012-12-15 Juri Linkov <juri@jurta.org>
1976 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1979 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1981 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1982 the prompt. (Bug#13045)
1984 2012-12-14 Glenn Morris <rgm@gnu.org>
1986 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1987 Try to include filename in non-bytecomp warning. (Bug#13132)
1989 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1991 Fix permissions bugs with setgid directories etc. (Bug#13125)
1992 * files.el (backup-buffer): Don't rely on 9th output of
1993 file-attributes, as it's now a placeholder. Instead, use the new
1994 optional arg of file-ownership-preserved-p.
1995 (file-ownership-preserved-p): New optional arg GROUP.
1996 Fix mishandling of setuid directories that would cause this
1997 function to return t when it should have returned nil.
1998 Document what happens if the file does not exist, and when
1999 it's not known whether the ownership will be preserved.
2000 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2002 (tramp-get-local-gid): Use group-gid for integer, as that's
2003 faster and more reliable.
2005 2012-12-14 Julien Danjou <julien@danjou.info>
2007 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2008 Update keywords list, data type and PL/pgSQL.
2010 2012-12-14 Dave Abrahams <dave@boostpro.com>
2012 * vc/ediff-util.el (ediff-buffer-type): New function.
2013 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2014 rather than taking it as as argument.
2015 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2017 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2019 * json.el: Add pretty-print option (bug#12634).
2020 (json-encoding-separator, json-encoding-default-indentation)
2021 (json--encoding-current-indentation, json-encoding-pretty-print)
2022 (json-encoding-lisp-style-closings): New vars.
2023 (json--with-indentation): New macro.
2024 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2025 (json-encode-array): Use it to obey json-encoding-pretty-print.
2026 (json-pretty-print-buffer, json-pretty-print): New commands.
2028 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2030 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2031 Extract `ruby-syntax-propertize-expansions'.
2032 (ruby-syntax-propertize-expansions): Only change syntax on
2033 certain string delimiters, to punctuation. This way the common
2034 functions like forward-word and thing-at-point still work.
2035 (ruby-match-expression-expansion): Improve readability.
2036 (ruby-block-contains-point): New function.
2037 (ruby-add-log-current-method): Handle several edge cases.
2039 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2041 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2042 unload-feature finishes even when aborting an ongoing edebug session.
2043 Also, do not worry about edebug-mode, unload-feature takes care of it.
2045 2012-12-13 Andreas Schwab <schwab@suse.de>
2047 * net/tls.el (tls-program): Update customize type.
2049 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2051 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2052 (edebug-setup-hook, cl-read-load-hooks): Use it.
2053 (edebug-unload-function): New function. (Bug#13163)
2055 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2057 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2058 Otherwise, there could be errors in autoloading. (Bug#13151)
2060 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2062 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2065 2012-12-13 Alan Mackenzie <acm@muc.de>
2067 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2068 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2069 around `forward-comment' not recognizing ^M as whitespace.
2071 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2073 * progmodes/python.el (python-skeleton-class)
2074 (python-skeleton-def): Do not add space after defun name.
2076 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2078 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2079 (cl--symbol-function): Remove (now that funbound is like nil).
2081 2012-12-12 Glenn Morris <rgm@gnu.org>
2083 * button.el (button--area-button-p): Fix typo.
2085 2012-12-12 Sam Steingold <sds@gnu.org>
2087 * frame.el (frame-maximization-style): New user option.
2088 (toggle-frame-maximized): Toggle frame maximization according to
2089 `frame-maximization-style', bound to <f11>.
2090 (cycle-frame-maximized): Cycle between all maximization styles and
2091 non-maximized frame, bound to shift-<f11>.
2093 2012-12-12 David Cadé <codename68@gmail.com>
2095 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2097 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2099 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2100 (eieio-override-prin1): Don't quote kewords and booleans.
2101 (object-write) <eieio-default-superclass>: Don't put closing parens
2102 on new line, avoid needless empty lines, align values that are objects
2103 with the slot keyword (instead of beginning on the same line).
2104 (eieio-list-prin1): Align value with slot keyword; increase
2105 eieio-print-depth before printing members of the list.
2107 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2109 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2110 a display text-property.
2111 (report-emacs-bug-hook): Don't bother deleting it any more.
2113 * hilit-chg.el (highlight-save-buffer-state): Delete.
2114 Use with-silent-modifications instead.
2115 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2117 * button.el: Handle buttons in display text-properties.
2118 (button--area-button-p, button--area-button-string):
2119 Use (STRING . STRING-POS) representation instead of just STRING.
2121 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2123 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2124 subdirectory be skipped.
2126 2012-12-11 Glenn Morris <rgm@gnu.org>
2128 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2130 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2131 Treat preprocessor lines embedded in continuations like comments.
2132 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2134 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2136 * calc/calc.el (calc-standard-date-formats): Add more date
2138 * calc/calc-forms.el (math-parse-iso-date): New function.
2139 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2140 (math-parse-iso-date-validate): Add extra error checking.
2141 (calc-date-notation): Add ability to access new date formats.
2143 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2145 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2146 font-lock as well as when there's no text-property.
2148 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2150 * hi-lock.el: Refine the choice of default face.
2151 (hi-lock-keyword->face): New function. Use it wherever we used
2153 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2154 (hi-lock--last-face): Remove var.
2155 (hi-lock--unused-faces): New var to replace it.
2156 (hi-lock-read-face-name): Use/maintain it.
2157 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2158 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2159 if it has another face.
2161 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2163 * subr.el (w32notify-handle-event): New function.
2164 (inotify-handle-event): Doc fix.
2166 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2168 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2170 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2172 * simple.el (just-one-space): Doc fix.
2174 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2176 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2178 2012-12-10 Le Wang <l26wang@gmail.com>
2180 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2181 narrowed buffer (bug#12361).
2183 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2185 * vc/vc-hooks.el (vc-state): Doc fix.
2187 2012-12-10 Glenn Morris <rgm@gnu.org>
2189 * mail/rmail.el (rmail-maybe-display-summary):
2190 Preserve buffer, in case select-window changes it. (Bug#13066)
2192 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2194 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2195 cl-load-hook where they belong.
2197 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2199 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2201 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2203 Parallelize byte compilation on MS-Windows.
2204 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2205 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2206 (WINS_BASIC): Define as concatenation of the above.
2207 (compile): Subdivide into 4 separate and independent jobs that can
2209 (compile0-CMD, compile0-SH): New targets for compiling
2210 COMPILE_FIRST files, which are prerequisites for the rest of the
2212 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2213 New targets for parallel compilation with cmd.exe.
2214 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2215 compiling under a Unixy shell.
2217 2012-12-09 Chong Yidong <cyd@gnu.org>
2219 * simple.el (set-mark-default-inactive): Delete this
2220 accidentally-introduced option.
2221 (set-mark-command, exchange-point-and-mark): Remove calls.
2223 2012-12-09 Glenn Morris <rgm@gnu.org>
2225 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2226 Respect a defcustom's :set function, if appropriate. (Bug#109)
2227 (eval-defun): Doc fix.
2229 2012-12-08 Juri Linkov <juri@jurta.org>
2231 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2232 (Info-fontify-node, Info-bookmark-make-record): Remove the
2233 file extension from Info-current-file (Bug#13016).
2235 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2237 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2238 point, still provide some default.
2239 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2240 names, since we don't use it right now. Actually return the list.
2241 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2243 2012-12-07 Chong Yidong <cyd@gnu.org>
2245 * novice.el (disabled-command-function): Remove a spurious help
2246 xref (Bug#13043). Suggested by Kelly Dean.
2248 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2249 syntax is specified (Bug#13025).
2251 * info.el (Info-set-mode-line): Remove the file extension from
2252 Info-current-file if there is one (Bug#13016).
2254 2012-12-07 Glenn Morris <rgm@gnu.org>
2256 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2257 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2258 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2259 and rmail-mime-decoded. (Bug#9841)
2261 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2262 (batch-unrmail, unrmail): Doc fixes.
2263 (unrmail): Respect unrmail-mbox-format.
2264 * mail/rmail.el (rmail-mbox-format): New option.
2265 (rmail-show-message-1): Respect rmail-mbox-format.
2267 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2269 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2271 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2273 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2274 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2275 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2276 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2277 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2278 (cl-progv): Don't rely on dynamic scoping to find the body.
2279 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2280 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2281 (cl-declaim): Use backquotes.
2282 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2283 Use "cl--" prefix for the object's tag.
2285 * ses.el: Use advice-add/remove.
2286 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2287 (copy-region-as-kill, yank): Use advice-add.
2288 (ses-unload-function): Use advice-remove.
2290 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2292 * button.el: Make them work in header-lines (bug#12817).
2293 (button-map): Add bindings for header-line and mode-line use.
2294 (button-get, button-put, button-label): `button' may now be a string.
2295 (button-activate): Don't make it a defsubst.
2296 (button--area-button-p, button--area-button-string): New functions.
2297 (make-text-button): Fix the return value when `beg' was a string.
2298 (push-button): Handle the mode-line case.
2300 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2302 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2303 (sql-signum): Remove. Use `cl-signum' instead.
2304 (sql-read-passwd): Remove; use read-passwd instread.
2305 (sql-get-login-ext): Use read-string.
2306 (sql-get-login): Use dolist and pcase.
2307 (sql--completion-table): Rename from sql-try-completion.
2308 Use complete-with-action.
2309 (sql-mode): Don't change abbrev-all-caps globally.
2310 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2311 (sql-postgres-completion-object): Initialize vars in their `let'.
2312 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2313 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2314 (sql-comint-interbase): Use a single append, without setq.
2315 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2317 * hi-lock.el: Rework the default face and the serialize regexp code.
2318 (hi-lock--auto-select-face-defaults): Remove.
2319 (hi-lock-string-serialize-serial): Remove.
2320 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2322 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2324 (hi-lock-set-pattern): Adjust accordingly.
2325 (hi-lock--regexps-at-point): Simplify accordingly.
2326 (hi-lock--auto-select-face-defaults): Remove.
2327 (hi-lock--last-face): New var to replace it.
2328 (hi-lock-read-face-name): Rewrite (bug#11095).
2329 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2331 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2333 * net/tramp.el (tramp-replace-environment-variables):
2334 Hide compiler warning.
2335 (tramp-file-name-for-operation): Remove `executable-find',
2336 `start-process', `call-process' and `call-process-region'.
2338 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2340 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2343 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2345 2012-12-06 Chong Yidong <cyd@gnu.org>
2347 * ffap.el (ffap-replace-file-component): Fix typo.
2349 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2351 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2352 fix open-paren-like token test (bug#12785).
2354 2012-12-06 Glenn Morris <rgm@gnu.org>
2356 * mail/rmailsum.el (rmail-new-summary): Tweak for
2357 rmail-maybe-display-summary changing buffer. (Bug#13066)
2359 2012-12-06 Juri Linkov <juri@jurta.org>
2361 * info.el (Info-fontify-node): Don't hide the last newline.
2364 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2366 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2367 so as to enable message-read-from-minibuffer to expand mail aliases.
2369 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2371 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2372 the `intangible' property.
2373 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2375 2012-12-05 Deniz Dogan <deniz@dogan.se>
2377 * net/rcirc.el (rcirc-urls): Update documentation.
2378 (rcirc-condition-filter): New function.
2379 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2380 and exclude consecutive duplicate URLs (Bug#6082).
2382 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2384 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2385 Check return code of copy command.
2387 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2388 Use group `tramp'. Add version.
2390 2012-12-05 Chong Yidong <cyd@gnu.org>
2392 * ffap.el (ffap-url-regexp): Don't require matching at front of
2394 (ffap-url-p): If only a substring matches, return that.
2395 (ffap-url-at-point): Use the return value of ffap-url-p.
2396 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2397 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2398 (ffap-guess-file-name-at-point): Likewise.
2399 (ffap-replace-file-component): Fix typo.
2401 * info.el (info-display-manual): Add existing Info buffers, whose
2402 files may not be in Info-directory-list, to the completion.
2403 (info--manual-names): New helper function.
2405 2012-12-05 Glenn Morris <rgm@gnu.org>
2407 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2408 New functions, for detecting and resolving conflicts. (Bug#10709)
2410 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2412 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2413 (hi-lock-auto-select-face-defaults): New buffer local variable.
2414 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2415 (hi-lock-unface-buffer): Prompt user with useful defaults.
2416 With prefix arg, unhighlight all hi-lock patterns in buffer.
2418 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2420 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2422 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2424 * Makefile.in (TRAMP_SRC):
2425 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2427 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2429 * net/tramp-adb.el: New package.
2431 2012-12-04 Chong Yidong <cyd@gnu.org>
2433 * terminal.el: Move to obsolete/.
2435 * longlines.el: Move to obsolete/.
2437 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2438 Remove code referring to longlines mode.
2440 2012-12-03 Juri Linkov <juri@jurta.org>
2442 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2444 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2446 * textmodes/ispell.el (ispell-init-process)
2447 (ispell-start-process, ispell-internal-change-dictionary):
2448 Make sure personal dictionary name is expanded after initial
2449 `default-directory' value. Use expanded strings for
2450 keep/restart checks and for value (Bug#13019).
2452 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2454 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2456 2012-12-03 Leo Liu <sdl.web@gmail.com>
2458 * files.el (dir-locals-read-from-file): Check file non-empty
2459 before reading. (Bug#13038)
2461 2012-12-03 Glenn Morris <rgm@gnu.org>
2463 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2464 Remove any version extension before checking filename. (Bug#13006)
2465 (jka-compr-compression-info-list): Belated :version bump.
2467 2012-12-03 Chong Yidong <cyd@gnu.org>
2469 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2471 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2472 (buffer-menu): Doc fix (Bug#12294).
2474 2012-12-03 Roland Winkler <winkler@gnu.org>
2476 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2477 of diary-show-all-entries in the diary buffer (Bug#12994).
2479 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2481 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2482 "<STDIN>". This is binary safe.
2484 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2486 * calc/calc-forms.el (math-absolute-from-iso-dt)
2487 (math-date-to-iso-dt, math-parse-iso-date-validate)
2488 (math-iso-dt-to-date): New functions.
2489 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2490 (math-fd-isoweekday): New variables.
2491 (calc-date-notation, math-parse-standard-date, math-format-date)
2492 (math-format-date-part): Add support for more formatting codes.
2494 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2496 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2497 current buffer's file name when called interactively (Bug#12488).
2499 2012-12-02 Juri Linkov <juri@jurta.org>
2501 * info.el (info-display-manual): Don't clobber an existing Info
2502 buffer (Bug#10770). Add completion (Bug#10771).
2504 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2506 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2507 before using it for comparison (Bug#5297).
2509 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2511 * textmodes/css-mode.el (css-current-defun-name): New function.
2514 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2515 (html-mode): Use it.
2517 2012-12-01 Chong Yidong <cyd@gnu.org>
2519 Modularize add-log-current-defun (Bug#2224).
2520 Suggested by Jari Aalto.
2522 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2523 (add-log-current-defun): Move mode-specific code to other files.
2524 (add-log-lisp-like-modes, add-log-c-like-modes)
2525 (add-log-tex-like-modes): Variables deleted.
2527 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2528 (lisp-mode-variables): Use it.
2530 * progmodes/cc-mode.el (c-common-init):
2531 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2532 add-log-current-defun-function.
2534 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2537 * progmodes/perl-mode.el (perl-current-defun-name): New.
2538 (perl-mode): Use it.
2540 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2541 Use lisp-current-defun-name.
2543 * textmodes/tex-mode.el (tex-current-defun-name): New.
2544 (tex-common-initialization): Use it.
2546 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2547 (texinfo-mode): Use it.
2549 2012-12-01 Chong Yidong <cyd@gnu.org>
2551 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2552 * progmodes/autoconf.el (autoconf-mode):
2553 * progmodes/js.el (js-mode):
2554 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2555 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2556 * progmodes/perl-mode.el (perl-mode):
2557 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2558 * textmodes/css-mode.el (css-mode):
2559 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2560 (sgml-tags-invisible, sgml-guess-indent):
2561 * textmodes/tex-mode.el (tex-common-initialization)
2562 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2563 (doctex-mode, plain-tex-mode, latex-mode):
2564 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2566 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2568 * vc/vc-hg.el (vc-hg-next-revision):
2569 Ensure use of default "tip" output format. (Bug#6968)
2571 2012-12-01 Kim F. Storm <storm@cua.dk>
2573 * startup.el (fancy-startup-tail): Add a clickable link
2576 2012-12-01 Chong Yidong <cyd@gnu.org>
2578 * startup.el (fancy-startup-tail): Improve the message about
2579 auto-save files (Bug#2176).
2581 * files.el (recover-session): Improve the descriptive message, and
2582 use substitute-command-keys.
2584 2012-12-01 Glenn Morris <rgm@gnu.org>
2586 * ido.el (ido-file-internal):
2587 Handle other-window, other-frame for dired. (Bug#13036)
2589 2012-11-30 Glenn Morris <rgm@gnu.org>
2591 * icomplete.el (icomplete-separator): Fix :version.
2593 2012-11-30 Chong Yidong <cyd@gnu.org>
2595 * shell.el (shell): For C-u M-x shell, use an inactive shell
2596 buffer as the default (Bug#1975).
2597 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2598 (shell-mode): Use them to reapply ansi colorization if Shell mode
2601 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2603 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2605 2012-11-30 Samuel Bronson <naesten@gmail.com>
2607 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2608 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2610 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2612 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2613 by move-to-column (Bug#3234).
2615 2012-11-30 Chong Yidong <cyd@gnu.org>
2617 * longlines.el (longlines-wrap-line, longlines-encode-region):
2618 Preserve text properties (Bug#1425).
2620 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2622 * vc/vc.el (vc-register): Allow registering a file which is
2623 already registered with a different backend (Bug#10589).
2625 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2626 Stefan Monnier <monnier@iro.umontreal.ca>
2628 * icomplete.el: Change separator; add ido-style commands.
2629 (icomplete-show-key-bindings): Remove custom var.
2630 (icomplete-get-keys): Remove function.
2631 (icomplete-forward-completions, icomplete-backward-completions):
2633 (icomplete-minibuffer-map): New var.
2634 (icomplete-minibuffer-setup): Use it.
2635 (icomplete-exhibit): Don't delay if the list of completions is known.
2636 (icomplete-separator): New custom.
2637 (icomplete-completions): Use it.
2638 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2639 (minibuffer-force-complete-and-exit): New command.
2640 (minibuffer--complete-and-exit): New function extracted from
2641 minibuffer-complete-and-exit.
2642 (minibuffer-complete-and-exit): Use it.
2644 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2645 error message when the file doesn't exist (bug#12974).
2647 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2649 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2651 2012-11-29 Glenn Morris <rgm@gnu.org>
2653 * files.el (hack-dir-local-variables): Warn if try to set
2654 coding via dir-locals, since it doesn't work. (Bug#7169)
2656 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2657 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2658 Set buffer-local value of desktop-save-buffer.
2659 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2661 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2662 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2664 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2665 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2667 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2670 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2672 * calc/calc-forms.el (calc-date-notation): Fix regexp
2673 used to find time codes. Fix symbol for seconds.
2675 2012-11-27 Glenn Morris <rgm@gnu.org>
2677 * emacs-lisp/derived.el (derived-mode-make-docstring):
2678 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2680 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2682 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2683 lexically scoped variables (bug#13005).
2685 2012-11-27 Glenn Morris <rgm@gnu.org>
2687 * vc/vc-hooks.el (vc-mistrust-permissions):
2688 Default to t, to avoid data-loss. (Bug#11490)
2690 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2692 * progmodes/python.el (python-indent-guess-indent-offset):
2693 If indentation is guessed make python-indent-offset buffer-local.
2695 Fix Imenu regression.
2696 * progmodes/python.el (python-nav-beginning-of-defun):
2697 Fix forward movement when statement(s) separates point from defun.
2698 (python-imenu-prev-index-position): New function.
2700 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2702 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2704 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2705 Don't set buffer-file-type. Return nil. (Bug#12989)
2707 2012-11-27 Glenn Morris <rgm@gnu.org>
2709 * hippie-exp.el (hippie-expand-try-functions-list):
2710 Re-autoload it. (Bug#12982)
2712 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2714 * descr-text.el (describe-char-padded-string):
2715 Call internal-char-font only on GUI frames. (Bug#11964)
2717 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2719 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2720 and obsoletion message.
2722 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2724 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2725 the constructs to keep outside of the `cl-block' (bug#12977).
2727 2012-11-27 Chong Yidong <cyd@gnu.org>
2729 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2730 keep reading until we get the up-event anyway, in order to process
2731 the up-event for mouse-1-click-follows-link (Bug#12971).
2733 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2735 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2736 base function is not yet defined (bug#12965).
2737 (ad-activate-advised-definition): Use ad-compile-function.
2738 (ad-activate): Use cond.
2740 2012-11-25 Leo Liu <sdl.web@gmail.com>
2742 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2745 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2747 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2748 reftex-section-info-function in order to be compatible with
2749 Texinfo integration.
2751 * textmodes/reftex.el (reftex-section-pre-regexp)
2752 (reftex-section-post-regexp, reftex-section-info-function):
2754 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2755 reftex-section-post-regexp, and reftex-section-info-function in order
2756 to be compatible with Texinfo integration.
2758 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2759 use reftex-section-pre-regexp variable in order to be compatible with
2760 Texinfo integration.
2762 2012-11-25 Chong Yidong <cyd@gnu.org>
2764 * faces.el: Make face-spec-set more analogous to setq.
2765 (face-spec-set): Change the third arg to specify whether this
2766 function is being called via defface, customize, or a third party.
2767 Set the appropriate symbol properties. Clear the override spec if
2768 setting via Custom. Initialize face if necessary. (Bug#4988)
2769 (face-spec-recalc): Allow theme faces to completely replace the
2770 defface spec, in the same way as custom faces (Bug#8454).
2772 * cus-face.el (custom-declare-face): Move face initialization to
2774 (custom-theme-set-faces): Don't initialize the face name here, as
2775 that is now done in face-spec-set.
2777 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2778 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2779 Simplify by using the new arg to face-spec-set.
2781 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2782 reset face-override-spec too, and use custom-declare-face.
2784 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2786 * term/ns-win.el (ns-initialize-window-system): Move creation of
2787 fontsets here (Bug#11964).
2789 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2791 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2794 2012-11-24 Chong Yidong <cyd@gnu.org>
2796 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2799 * custom.el (custom-theme-set-variables): Use a topological sort
2800 for ordering by custom dependencies (Bug#12952).
2801 (custom--sort-vars, custom--sort-vars-1): New functions.
2803 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2805 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2806 lexical-binding (bug#12938).
2808 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2810 * image-mode.el (image-transform-check-size): Use assertions only
2811 for images of type imagemagick.
2813 Otherwise no error, image-transform-fit-to-{width,height} is
2814 silently ignored, as before. Doc fix.
2816 2012-11-24 Chong Yidong <cyd@gnu.org>
2818 * faces.el (color-defined-p): Doc fix (Bug#12853).
2820 2012-11-24 Juri Linkov <juri@jurta.org>
2822 * dired.el (dired-mark): Add optional arg `interactive'.
2823 Check for `use-region-p' if `interactive' is non-nil.
2824 (dired-unmark, dired-flag-file-deletion): Add optional arg
2825 `interactive'. Call `dired-mark' with the arg `interactive'.
2828 * wdired.el: Revert 2012-10-17 change partly and replace it with
2829 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2830 (wdired-finish-edit): Add marks for new file names to
2831 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2832 after `revert-buffer'.
2833 (wdired-do-renames): Remove calls to `dired-remove-file',
2834 `dired-add-file', `dired-add-entry'. (Bug#11795)
2836 2012-11-24 Alan Mackenzie <acm@muc.de>
2838 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2840 Fix bugs in the state cache. Enhance a debugging mechanism.
2841 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2842 "brace at column zero" strategy for C++.
2843 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2844 (c-parse-state-point): New variable.
2845 (c-record-parse-state-state): Record old parse state with
2846 `copy-tree'. Record previous value of point.
2847 (c-debug-parse-state-double-cons): New debugging function.
2848 (c-debug-parse-state): Call the above new function.
2849 (c-toggle-parse-state-debug): Output a confirmatory message.
2851 * progmodes/cc-mode.el (c-before-change, c-after-change):
2852 Call c-invalidate-state-cache from `c-before-change' instead of
2855 2012-11-23 Chong Yidong <cyd@gnu.org>
2857 * find-cmd.el (find-constituents): Add executable, ipath,
2858 readable, samefile, writable, daystart, regextype (Bug#12856).
2860 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2862 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2864 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2866 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2867 definition. This fixes a bootstrap failure.
2868 (calc-gregorian-switch): In menu, put dates before regions.
2869 This is easier to follow, lines up better in the menu, and lets us
2870 coalesce regions that switch at the same time. Give country
2871 names, not "Vatican", as that's better for non-expert users.
2872 Use names that are stable between the date of switch and now, e.g.,
2873 Bohemia and Moravia (which existed then and now) and not
2874 Czechoslovakia (which didn't exist then and doesn't exist now).
2875 What is now the U.S. mostly did not switch at the same time as
2876 Britain, so omit the U.S. Correct spelling of "Britain".
2877 Catholic Switzerland was too much of a mess, so omit it.
2879 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2881 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2882 after the variable is changed.
2884 2012-11-21 Daniel Colascione <dancol@dancol.org>
2886 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2887 in SQL declarations for font-lock.
2888 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2890 2012-11-21 Glenn Morris <rgm@gnu.org>
2892 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2893 (face-italic-p): Add optional argument "inherit".
2895 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2896 Remove -p suffix from names, for consistency with other set-face-*.
2897 (set-face-inverse-video): Fix interactive spec.
2898 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2899 * textmodes/table.el (table--update-cell-face):
2900 Use set-face-inverse-video rather than now obsolete alias.
2902 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2904 * simple.el (line-move): Don't call line-move-partial if
2905 scroll-conservatively is in effect. (Bug#12927)
2907 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2909 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2910 Fallback on completion-at-point rather than
2911 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2912 (eshell-cmpl-initialize): Setup completion-at-point.
2914 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2916 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2918 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2920 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2921 are remote, check out-of-band property for both.
2923 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2925 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2928 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2930 More minor time fixes.
2931 * calendar/time-date.el: Commentary fix.
2932 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2933 too much other code depends on (0 0) time stamps.
2934 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2935 Add a couple of FIXME comments.
2937 Minor cleanup for times as lists of four integers.
2938 * files.el (dir-locals-directory-cache):
2939 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2941 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2942 * ps-bdf.el (bdf-file-newer-than-time):
2943 Process four-integers time stamps, not two. Doc fixes.
2945 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2947 * uniquify.el (uniquify-managed): Use defvar-local.
2948 (rename-buffer, create-file-buffer): Advise with advice-add.
2949 (uniquify-unload-function): Unadvise accordingly.
2951 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2952 (trace-buffer): Don't purecopy.
2953 (trace-entry-message, trace-exit-message): Add `context' arg.
2954 (trace--timer): New var.
2955 (trace-make-advice): Adjust for use in nadvice.
2956 Add `context' argument. Delay `display-buffer' via a timer.
2957 (trace-function-internal): Use advice-add.
2958 (trace--read-args): New function.
2959 (trace-function-foreground, trace-function-background): Use it.
2960 (trace-function): Rename to trace-function-foreground and redefine as
2961 an alias to that new name.
2962 (untrace-function, untrace-all): Adjust to the use of nadvice.
2964 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2966 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2968 * subr.el (called-interactively-p-functions): New var.
2969 (internal--called-interactively-p--get-frame): New macro.
2970 (called-interactively-p, interactive-p): Rewrite in Lisp.
2971 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2972 (called-interactively-p-functions): Use it.
2973 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2974 (called-interactively-p-functions): Use it.
2975 * allout.el (allout-called-interactively-p): Don't assume
2976 called-interactively-p is a subr.
2978 2012-11-20 Glenn Morris <rgm@gnu.org>
2980 * profiler.el (profiler-report-mode-map): Add a menu.
2981 No need to bind `q' because we derive from special-mode.
2982 (profiler-report-find-entry): Handle calls from the menu-bar.
2984 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2986 * emacs-lisp/byte-run.el (defun-declarations-alist):
2987 Allow a compiler-macro to be a lambda expression.
2989 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2991 (python-syntax-context): Add compiler-macro.
2992 (python-font-lock-keywords): Simplify with De Morgan.
2994 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2996 * files.el (load-file): Require match in minibuffer selection, as was
2997 the case in Emacs-20 before we changed the spec to allow .elc files
3000 * json.el: Don't require cl since we don't use it.
3001 * color.el: Don't require cl.
3002 (color-complement): `caddr' -> `nth 2'.
3004 * calendar/time-date.el (time-to-seconds): De-obsolete.
3006 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3008 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3010 (math-date-to-julian-dt): Adjust the initial approximation for the
3011 year to deal with the new definition of the DATE.
3013 2012-11-19 Daniel Colascione <dancol@dancol.org>
3015 * term/w32-win.el (cygwin-convert-path-from-windows):
3016 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3018 2012-11-18 Chong Yidong <cyd@gnu.org>
3020 * filecache.el (file-cache--read-list): New function.
3021 (file-cache-add-directory-list, file-cache-add-file-list)
3022 (file-cache-delete-file-list, file-cache-delete-directory-list):
3023 Use it to read a list of files or directories (Bug#12846).
3024 (file-cache-add-file, file-cache-add-directory)
3025 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3026 (file-cache-delete-directory): Print an message.
3028 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3030 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3031 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3033 2012-11-18 Glenn Morris <rgm@gnu.org>
3035 * image.el (insert-image, insert-sliced-image): Doc fix.
3037 2012-11-18 Chong Yidong <cyd@gnu.org>
3039 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3042 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3044 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3045 response when the target file is in a subdirectory (Bug#12757).
3047 2012-11-18 Chong Yidong <cyd@gnu.org>
3049 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3051 2012-11-18 Glenn Morris <rgm@gnu.org>
3053 * emacs-lisp/cl-lib.el (face-underline-p):
3054 Use set-face-underline rather than the alias set-face-underline-p.
3056 * window.el (with-temp-buffer-window): Doc fix.
3057 * subr.el (with-output-to-temp-buffer):
3058 Add doc xref to with-temp-buffer-window.
3060 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3062 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3063 * calc/calc.el (math-format-date-cache): Declare.
3065 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3067 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3068 It also uses January 1, 1 AD as its day number 1.
3069 * calc/calc-forms.el (math-julian-date-beginning)
3070 (math-julian-date-beginning-int): Implement this.
3072 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3074 * descr-text.el (quail-find-key):
3075 * dired.el (desktop-file-name):
3076 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3077 * generic-x.el (comint-mode, comint-exec):
3078 * image-dired.el (widget-forward):
3079 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3080 (speedbar-change-expand-button-char)
3081 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3082 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3083 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3084 (widget-field-action, widget-value-set):
3085 * speedbar.el (imenu--make-index-alist):
3086 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3087 (ring-length, ring-insert):
3088 * vcursor.el (compare-windows-skip-whitespace):
3089 * woman.el (dired-get-filename):
3092 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3094 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3096 * calc/calc.el (calc-gregorian-switch): New variable.
3098 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3099 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3100 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3101 (math-leap-year-p): Add option to distinguish between Julian
3102 and Gregorian calendars.
3103 (math-day-number): Use `math-day-in-year' to do the computations.
3104 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3105 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3106 to do the computations.
3107 (math-date-to-dt): Use `math-date-to-julian-dt' and
3108 `math-date-to-gregorian-dt' to do the computations.
3109 (calcFunc-weekday, math-format-date-part): Use the new version of
3110 the DATE to determine the weekday.
3111 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3114 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3116 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3117 Cygwin; otherwise use 'file:'. (Bug#12914)
3118 (cygwin-convert-path-from-windows): Declare, to avoid
3119 byte-compiler warnings.
3121 2012-11-17 Andreas Politz <politza@fh-trier.de>
3123 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3124 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3125 prefix and negative numeric prefix args (Bug#12795).
3127 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3129 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3130 Don't signal an error with a score that is too low to add to the
3131 list of top scores. (Bug#12779)
3133 2012-11-17 Chong Yidong <cyd@gnu.org>
3135 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3137 * filecache.el (file-cache-add-file): Handle relative file name in
3138 the argument (Bug#12694).
3140 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3142 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3144 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3146 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3148 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3150 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3152 * window.el (enlarge-window, shrink-window): Don't mention return
3153 value in doc-string (Bug#12896).
3154 (window--display-buffer): Don't resize frames - it won't work
3155 with all window managers and defeat pop-up-frame-alist.
3156 (display-buffer-alist): In doc-string explain that CONDITION can
3157 be a function and which arguments are passed to it (Bug#12854).
3158 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3159 expressions (Bug#12854).
3160 (display-buffer): Pass ACTION argument to
3161 display-buffer-assq-regexp.
3163 2012-11-16 Glenn Morris <rgm@gnu.org>
3165 * window.el (fit-frame-to-buffer-bottom-margin)
3166 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3168 * faces.el (face-underline-p): Use face-attribute-specified-or.
3170 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3172 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3174 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3176 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3178 2012-11-16 Glenn Morris <rgm@gnu.org>
3180 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3181 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3183 * faces.el (face-underline-p): Doc fix. Handle :underline being
3184 things other than `t' (a string, a list).
3185 (face-inverse-video-p): Doc fix.
3186 (set-face-underline): Rename it back from set-face-underline-p.
3187 Doc fix. Allow interactive input of values other than t.
3188 (read-face-attribute): Apply formatting to :underline,
3189 since like :box and :stipple it can take list values.
3191 * term.el (ansi-term): Don't let C-x escape-char binding
3192 clobber the more standard C-c binding. (Bug#12842)
3194 * subr.el (set-temporary-overlay-map): Doc fix.
3196 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3198 * window.el (record-window-buffer)
3199 (display-buffer-record-window): When copying the markers to
3200 window-point preserve window-point-insertion-type. (Bug#12588)
3202 2012-11-16 Glenn Morris <rgm@gnu.org>
3204 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3205 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3206 Use new names for hooks rather than obsolete aliases.
3208 2012-11-15 Daniel Colascione <dancol@dancol.org>
3210 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3211 prefix instead of "file:" so that when FILE-NAME begins with "//",
3212 as it does when the target file is on a network share, url-handler
3215 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3217 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3218 a preactivated advice from an old advice.el; they're not compatible!
3220 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3222 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3223 Fix string-spec case.
3225 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3227 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3229 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3230 (advice--buffer-local-function-sample): New var.
3231 (advice--set-buffer-local, advice--buffer-local): New functions.
3232 (add-function, remove-function): Use them.
3234 2012-11-15 Drew Adams <drew.adams@oracle.com>
3236 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3238 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3240 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3241 potential binding of print-gensym to t, and prettify (back)quotes in
3242 case they appear in args's default values (bug#12884).
3244 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3246 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3247 (advice-eval-interactive-spec): New function.
3248 (advice--make-interactive-form): Support around advice (bug#12844).
3250 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3252 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3253 more strict. Add docstring.
3254 (ruby-expression-expansion-re): Extract from
3255 `ruby-match-expression-expansion'.
3256 (ruby-syntax-propertize-function): After everything else, search
3257 for expansions in string literals, mark their insides as
3258 whitespace syntax and save match data for font-lock.
3259 (ruby-font-lock-keywords): Use the 2nd group from expression
3261 (ruby-match-expression-expansion): Use the match data saved to the
3262 text property in ruby-syntax-propertize-function.
3264 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3266 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3269 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3271 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3272 start/end keyword a bit harder. Works with different values of N.
3274 (ruby-end-of-block): Update accordingly.
3276 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3278 * woman.el (woman-file-name): Don't mess with unread-command-events
3281 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3282 Remove out of date self-require hack.
3283 (ad-do-advised-functions): Use simple `dolist'.
3284 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3285 (ad-advice-definition): Redefine as functions.
3286 (ad-advice-classes): Move before first use.
3287 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3288 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3289 (ad--defalias-fset): Remove functions.
3290 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3291 (ad-get-orig-definition): Rewrite.
3292 (ad-make-advised-definition-docstring): Change base docstring.
3293 (ad-real-orig-definition): Rewrite.
3294 (ad-map-arglists): Change name of called function.
3295 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3296 (ad-make-advised-definition): Simplify.
3297 (ad-assemble-advised-definition): Tweak for new calling context.
3298 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3299 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3300 function and call ad-activate if needed.
3301 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3302 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3303 (ad-compile-function): Compile ad-Advice-*.
3304 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3305 (ad-start-advice, ad-stop-advice): Remove.
3307 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3309 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3310 period before class method names, not after. Remove handling of
3311 one impossible case. Add comments.
3313 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3315 * emacs-lisp/advice.el: Remove support for freezing.
3316 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3317 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3318 Remove support for `freeze'.
3320 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3321 override the default.
3322 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3324 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3327 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3329 (advice--strip-macro): New function.
3330 (advice--defalias-fset): Use them to handle macros.
3331 (advice-add): Use them.
3332 (advice-member-p): Correctly handle macros.
3334 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3336 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3337 Never font-lock the beginning of singleton class as heredoc.
3339 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3341 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3343 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3345 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3346 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3347 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3349 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3351 Fix end-of-defun misbehavior.
3352 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3353 python-beginning-of-defun-function. Handle nested defuns
3355 (python-nav-end-of-defun): Rename from
3356 python-end-of-defun-function. Ensure forward movement.
3357 (python-info-current-defun): Reimplement to work as intended
3358 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3359 parent defuns as soon as possible.
3361 2012-11-13 Glenn Morris <rgm@gnu.org>
3363 * progmodes/flymake.el (flymake-error-bitmap)
3364 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3365 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3367 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3369 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3370 backward, always stop at indentation. Reverts the change from
3371 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3373 2012-11-13 Glenn Morris <rgm@gnu.org>
3375 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3376 Add ibuffer-filter-by-derived-mode.
3378 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3379 the same name shadowing each other.
3381 * window.el (with-temp-buffer-window): Doc tweak.
3383 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3385 * help.el (temp-buffer-max-height):
3386 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3387 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3389 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3391 * emacs-lisp/nadvice.el: New package.
3392 * subr.el (special-form-p): New function.
3393 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3394 (elp-all-instrumented-list): Remove var.
3395 (elp-not-profilable): Remove elp-wrapper.
3396 (elp-profilable-p): Use autoloadp and special-form-p.
3397 (elp--advice-name): New const.
3398 (elp-instrument-function): Use advice-add.
3399 (elp--instrumented-p): New predicate.
3400 (elp-restore-function): Use advice-remove.
3401 (elp-restore-all, elp-reset-all): Use mapatoms.
3402 (elp-set-master): Use elp--instrumented-p.
3403 (elp--make-wrapper): Rename from elp-wrapper, return a function
3404 suitable for advice-add. Use cl-inf.
3405 (elp-results): Use mapatoms+elp--instrumented-p.
3406 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3407 (debug-function-list): Remove var.
3408 (debug): Rename arg, and then let-bind it explicitly inside.
3409 (debugger-setup-buffer): Rename arg.
3410 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3411 (debugger-frame-number): Adjust to new debug-on-entry setup.
3412 (debug--implement-debug-on-entry): Rename from
3413 implement-debug-on-entry, add argument.
3414 (debugger-special-form-p): Remove, use special-form-p instead.
3415 (debug-on-entry): Use advice-add.
3416 (debug--function-list): New function.
3417 (cancel-debug-on-entry): Use it, along with advice-remove.
3418 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3419 (debugger-list-functions): Use debug--function-list instead of
3420 debug-function-list.
3421 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3422 (ad-special-form-p): Remove, use special-form-p instead.
3423 (ad-set-advice-info): Use add-function and remove-function.
3424 (ad--defalias-fset): Adjust accordingly.
3426 2012-11-10 Glenn Morris <rgm@gnu.org>
3428 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3429 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3430 (report-emacs-bug-create-existing-bugs-buffer)
3431 (report-emacs-bug-parse-query-results)
3432 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3434 * term.el (term-default-fg-color, term-default-bg-color):
3435 Make obsolete, rather than just saying "deprecated" in the doc.
3437 * term.el (term): Rename from `term-face'.
3438 (term-current-face, ansi-term-color-vector)
3439 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3442 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3444 * server.el (server-create-window-system-frame): Handle Nextstep
3445 specially (Bug#12780).
3447 2012-11-10 Glenn Morris <rgm@gnu.org>
3449 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3450 Unautoload, and make obsolete. (Bug#7449)
3452 2012-11-10 Chong Yidong <cyd@gnu.org>
3454 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3455 rename from diff-remove-trailing-whitespace (Bug#12831).
3457 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3459 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3460 miscompilation of trace.el.
3462 2012-11-10 Glenn Morris <rgm@gnu.org>
3464 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3466 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3468 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3471 2012-11-10 Chong Yidong <cyd@gnu.org>
3473 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3474 a defcustom with an appropriate :set function.
3475 (minibuffer-default--in-prompt-regexps): New function.
3477 2012-11-10 Glenn Morris <rgm@gnu.org>
3479 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3480 (define-modify-macro): Doc fixes.
3482 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3483 (gv-define-simple-setter): Update doc of `fix-return'.
3485 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3487 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3488 twice when `fix-return' is set (bug#12813).
3490 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3491 gv-define-simple-setter (bug#12812).
3493 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3496 2012-11-10 Glenn Morris <rgm@gnu.org>
3498 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3500 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3501 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3502 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3503 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3505 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3507 2012-11-10 Leo Liu <sdl.web@gmail.com>
3509 * ido.el (ido-set-matches-1): Improve flex matching performance by
3510 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3512 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3514 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3515 (ad--defalias-fset): New function.
3516 (ad-safe-fset): Remove.
3517 (ad-make-freeze-definition): Use cl-letf*.
3519 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3521 * subr.el (dolist): Don't bind VAR in RESULT.
3523 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3524 (fset, documentation): Don't save real def since we don't advise.
3525 (ad-do-advised-functions): Remove problematic `result-form'.
3526 (ad-safe-fset): `ad-real-fset' => `fset'.
3527 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3528 uses CL's dolist internally.
3529 (ad-arglist): Remove unused arg `name'.
3530 (ad-docstring, ad-make-advised-docstring):
3531 `ad-real-documentation' => `documentation'.
3532 (warning-suppress-types): Declare.
3533 (ad-set-arguments): Simple CSE.
3534 (ad-recover-normality): Sanity check.
3536 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3537 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3539 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3541 * ses.el: symbol to coordinate mapping is made by symbol property
3542 `ses-cell'. This means that the same mapping is done for all SES
3543 sheets. That is good enough for cells with standard A1 names, but
3544 not for named cell. So a hash map is added for the latter.
3545 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3546 (ses-sym-rowcol): Use hashmap for named cell.
3547 (ses-is-cell-sym-p): New defun.
3548 (ses-decode-cell-symbol): New defun.
3549 (ses-create-cell-variable): Add cell to hashmap when name is not
3551 (ses-rename-cell): Check that cell new name is not already in
3552 spreadsheet with the use of ses-is-cell-sym-p
3553 (ses-rename-cell): Use hash map for named cells, but accept also
3554 renaming back to A1-like.
3556 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3558 * emacs-lisp/advice.el: Use new dynamic docstrings.
3559 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3560 Use dynamic-docstring-function instead of ad-advice-info.
3561 (ad--make-advised-docstring): New function extracted from
3562 ad-make-advised-docstring.
3563 (ad-make-advised-docstring): Use it.
3564 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3566 (sql-help): Use it with dynamic-docstring-function.
3568 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3570 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3572 * files.el (hack-one-local-variable--obsolete): New function.
3573 (hack-one-local-variable): Use it for obsolete settings.
3575 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3578 * progmodes/js.el (js--filling-paragraph): New var.
3579 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3580 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3583 2012-11-08 Julien Danjou <julien@danjou.info>
3585 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3586 `auto-mode-alist' (Bug#12835).
3588 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3590 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3591 (perl--prettify-symbols-alist): New const.
3592 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3594 (perl-font-lock-keywords-2): Use them.
3595 (perl-electric-noindent-p): New function.
3596 (perl-mode): Use it to set up electric-indent-mode.
3597 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3598 (perl-mode-map): Remove bindings for them.
3599 (perl-imenu-generic-expression, perl-outline-level):
3600 Match functions&packages in column>0.
3602 * env.el (env--substitute-vars-regexp): New const.
3603 (substitute-env-vars): Use it. Add `only-defined' arg.
3604 * net/tramp.el (tramp-replace-environment-variables): Use it.
3606 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3607 Byte-compile *before* eval in eval-and-compile.
3608 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3609 (byte-compile-file-form-autoload): Don't hide actual definition.
3610 (byte-compile-maybe-guarded): Accept `functionp' as well.
3612 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3614 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3616 * notifications.el (notifications-get-server-information-method):
3618 (notifications-get-capabilities): Fix docstring.
3619 (notifications-get-server-information): New defun.
3621 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3623 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3626 * textmodes/ispell.el: Experimental support for support debugging.
3627 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3629 (ispell-print-if-debug): New function to print stuff to
3630 `ispell-debug-buffer' if debugging is enabled.
3631 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3632 show some debugging info.
3633 (ispell-buffer-with-debug): New function that creates a debugging
3634 buffer and calls `ispell-buffer' with debugging enabled.
3636 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3637 comment in autoconf mode. (Bug#12768)
3639 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3641 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3642 frame-first-window, frame-root-window, frame-selected-window,
3643 minibuffer-selected-window, minibuffer-window,
3644 window-absolute-pixel-edges, window-at, window-body-height,
3645 window-body-width, window-display-table, window-combination-limit,
3646 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3647 window-inside-edges, window-inside-pixel-edges, window-left-child,
3648 window-left-column, window-margins, window-next-buffers,
3649 window-next-sibling, window-new-normal, window-new-total,
3650 window-normal-size, window-parameter, window-parameters, window-parent,
3651 window-pixel-edges, window-point, window-prev-buffers,
3652 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3653 window-start, window-text-height, window-top-child, window-top-line,
3654 window-total-height, window-total-width and window-use-time to the list
3655 of functions without side-effects.
3656 (toplevel): Add window-valid-p to the list of error-free functions
3657 without side-effects.
3659 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3661 * textmodes/ispell.el (ispell-program-name):
3662 Update spellchecker parameters when customized.
3664 2012-11-04 Glenn Morris <rgm@gnu.org>
3666 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3668 2012-11-04 Chong Yidong <cyd@gnu.org>
3670 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3671 same-window-* variables.
3673 2012-11-04 Juri Linkov <juri@jurta.org>
3675 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3676 (isearch-describe-key, isearch-describe-mode): Use a display
3677 action instead of binding same-window-* variables (Bug#10040).
3679 2012-11-03 Glenn Morris <rgm@gnu.org>
3681 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3682 Rename handler properties back from cl-- to cl-. (Bug#12788)
3684 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3686 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3688 * term/pc-win.el: Don't load term/internal from here.
3690 * loadup.el: Load term/internal from here.
3692 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3694 * progmodes/python.el (inferior-python-mode): Fix hang in
3695 jit-lock (Bug#12645).
3697 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3699 * window.el (switch-to-visible-buffer)
3700 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3702 2012-11-03 Glenn Morris <rgm@gnu.org>
3704 * emacs-lisp/cl-lib.el (cl--random-time):
3705 Rename from cl-random-time. (Bug#12773)
3706 (cl--gensym-counter, cl--random-state): Update callers.
3707 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3709 2012-11-03 Chong Yidong <cyd@gnu.org>
3711 * cus-start.el: Make cursor-type customizable (Bug#11633).
3713 2012-11-02 Glenn Morris <rgm@gnu.org>
3715 * filecache.el: No need to load find-lisp when compiling.
3716 (find-lisp-find-files): Autoload it.
3717 (file-cache-add-directory-recursively): Don't require find-lisp.
3719 * image.el (image-type-from-file-name): Trivial simplification.
3721 * emacs-lisp/bytecomp.el (byte-compile-eval):
3722 Decouple "noruntime" and "cl-functions" warnings.
3724 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3726 * play/gomoku.el (gomoku-display-statistics): Update mode line
3727 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3729 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3731 * window.el (quit-restore-window): If the window has been
3732 created on an existing frame and ended up as the sole window on
3733 that frame, do not delete it (Bug#12764).
3735 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3737 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3738 Rename from sh--inside-arithmetic-expression, handle more cases
3741 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3742 (sh-font-lock-open-heredoc): Use it (bug#12770).
3744 2012-10-30 Glenn Morris <rgm@gnu.org>
3746 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3748 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3750 2012-10-29 Chong Yidong <cyd@gnu.org>
3752 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3753 function key is stored in a keyboard macro (Bug#4894).
3755 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3757 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3759 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3761 (diff-unified->context, diff-context->unified)
3762 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3764 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3766 * files.el (find-alternate-file): Only ask one question (bug#12487).
3768 2012-10-29 Chong Yidong <cyd@gnu.org>
3770 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3771 Suggested by Dan Nicolaescu (Bug#6326).
3773 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3775 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3777 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3779 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3781 * face-remap.el (face-remap-add-relative): Handle the case where a
3782 face-remapping-alist entry is a cons cell (Bug#12762).
3784 2012-10-29 Kevin Ryde <user42@zip.com.au>
3786 * woman.el (woman-parse-numeric-value): Handle picas correctly
3789 2012-10-29 Glenn Morris <rgm@gnu.org>
3791 * emacs-lisp/cl.el (defsetf): Doc fix.
3793 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3795 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3796 syntax to the matching opener, if any (bug#12547).
3797 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3798 matching open as a "case-(".
3799 (sh-smie-rc-grammar): Add a corresponding rule for it.
3801 2012-10-28 Daniel Hackney <dan@haxney.org>
3803 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3804 "PKGNAME-autoloads.el" in case we created it.
3806 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3808 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3809 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3810 (completion--twq-all): Disable too-strict assertions.
3812 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3814 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3816 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3817 text to match the real keybindings.
3819 2012-10-27 Juri Linkov <juri@jurta.org>
3821 * wdired.el (wdired-keep-marker-rename): New defcustom.
3822 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3825 * dired.el (dired-keep-marker-rename): Add reference to
3826 `wdired-keep-marker-rename' in the docstring.
3827 Add default character value ?R to display initially in
3828 Customization UI instead of ?@.
3830 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3832 * window.el (display-buffer): In doc-string describe
3833 window-height and window-width alist entries.
3835 * time.el (display-time-world): Restore fit-window-to-buffer
3838 2012-10-27 Chong Yidong <cyd@gnu.org>
3840 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3842 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3844 * minibuffer.el (completion-category-overrides): New completion
3845 category `bookmark' (bug#11131).
3847 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3849 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3850 Silence bogus compiler warnings for ad-do-it.
3852 * bookmark.el (bookmark-completing-read): Set the completion category
3853 to `bookmark' (bug#11131).
3855 2012-10-26 Bastien <bzg@altern.org>
3856 Stefan Monnier <monnier@iro.umontreal.ca>
3858 * face-remap.el: Use lexical-binding.
3859 (text-scale-adjust): Improve docstring. Use itself for the temporary
3860 overlay-map bindings, so as to repeat the "Use..." message each time.
3862 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3864 * emacs-lisp/macroexp.el (macroexp--expand-all):
3865 Obey byte-compile-warning-enabled-p (bug#12486).
3867 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3868 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3870 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3872 * mouse.el (mouse-drag-line): Move last form into preceding when
3875 * help.el (resize-temp-buffer-window): Fix doc-string.
3877 2012-10-25 David Engster <deng@randomsample.de>
3879 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3880 Remove. This feature is already integrated in imenu.
3882 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3883 always loaded. Require `speedbar' unconditionally.
3885 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3889 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3891 * net/ldap.el (ldap-search-internal): The official ldif format starts
3892 with a "version: 1" header (bug#12724).
3894 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3897 2012-10-25 Glenn Morris <rgm@gnu.org>
3899 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3901 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3903 * minibuffer.el (minibuffer-force-complete): Use one more marker
3904 for the temporary-overlay-map command (bug#12619).
3906 2012-10-24 Chong Yidong <cyd@gnu.org>
3908 * time.el (display-time-world-mode): Derive from special-mode.
3909 (display-time-world): Use display-buffer (Bug#12708).
3910 (display-time-world-mode-map): Variable deleted.
3911 (display-time-world-display): Wrap the final delete-char inside
3914 2012-10-24 Chong Yidong <cyd@gnu.org>
3916 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3919 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3921 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3923 * minibuffer.el (completion--all-sorted-completions-location): New var.
3924 (completion--cache-all-sorted-completions)
3925 (completion--flush-all-sorted-completions): Use it.
3926 (completion-in-region, completion-in-region--postch)
3927 (completion-at-point, completion-help-at-point): Use markers in
3928 completion-in-region--data (bug#12619).
3930 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3932 * progmodes/compile.el (compilation-start): Try to handle common
3933 quoting of `cd' argument (bug#12640).
3935 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3938 2012-10-23 Glenn Morris <rgm@gnu.org>
3940 * progmodes/gud.el (gud-menu-map):
3941 Check gdb-active-process is bound. (Bug#12358)
3943 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3945 * repeat.el (repeat): Set real-this-command (bug#12232).
3947 * htmlfontify.el (hfy-post-html-hook):
3948 * filesets.el (filesets-cache-fill-content-hook):
3949 * arc-mode.el (archive-extract-hook):
3950 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3951 * net/rcirc.el (rcirc-sentinel-functions)
3952 (rcirc-receive-message-functions, rcirc-activity-functions)
3953 (rcirc-print-functions):
3954 * net/dbus.el (dbus-event-error-functions):
3955 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3956 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3957 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3958 * term/sun.el (sun-raw-prefix-hooks):
3959 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3961 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3963 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3964 Set `tramp-chunksize' to 1. This improves the performance.
3965 (tramp-smb-wait-for-output): Add timeout to
3966 `tramp-accept-process-output' calls.
3968 2012-10-23 Chong Yidong <cyd@gnu.org>
3970 * faces.el (font-list-limit): Define as an obsolete variable.
3972 * startup.el (command-line):
3973 * cus-start.el: Don't refer to font-list-limit.
3975 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3977 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3979 * subr.el (internal-temp-output-buffer-show): Rename from
3980 temp-output-buffer-show, since previously compiled files expect this name.
3982 2012-10-23 Glenn Morris <rgm@gnu.org>
3984 * image.el (image-type-from-file-name): If multiple types match,
3985 return the first one that is supported. (Bug#9045)
3987 2012-10-22 Glenn Morris <rgm@gnu.org>
3989 * image.el (imagemagick-enabled-types): Doc fix.
3991 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3993 * progmodes/which-func.el (which-func-current): The hash-table may have
3994 an explicit nil (bug#12338).
3996 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3998 * electric.el (electric-pair-delete-selection-self-insert-function):
3999 Rename to electric-pair-will-use-region, return a boolean.
4000 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4002 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4003 (delete-selection-pre-hook): Use use-region-p.
4004 (delete-selection-self-insert-function): Remove.
4005 (self-insert-command): Obey self-insert-uses-region-functions.
4006 (self-insert-iso): Revert to previous setting, since we don't actually
4007 know what that command does.
4008 (delete-selection-self-insert-hooks): Remove.
4010 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4012 * delsel.el (delete-selection-helper): New function, extracted from
4013 delete-selection-pre-hook.
4014 (delete-selection-pre-hook): Use it.
4015 (delete-selection-self-insert-function): New function.
4016 (delete-selection-self-insert-hooks): New hook.
4017 (self-insert-command, self-insert-iso): Use it.
4018 * electric.el (electric-pair-syntax): New function, extracted from
4019 electric-pair-post-self-insert-function.
4020 (electric-pair-post-self-insert-function): Use it.
4021 (electric-pair-delete-selection-self-insert-function): New function.
4022 (electric-pair-mode): Require delsel and setup
4023 delete-selection-self-insert-hooks (bug#11520).
4025 2012-10-20 Chong Yidong <cyd@gnu.org>
4027 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4028 no changes to show (Bug#12586).
4030 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4031 list explicitly (Bug#12571).
4033 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4035 * progmodes/flymake.el (flymake-create-temp-inplace):
4038 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4040 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4042 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4044 * calc/calc-units.el (math-extract-units): Properly extract powers
4047 2012-10-20 Daniel Colascione <dancol@dancol.org>
4049 * frame.el (make-frame): Set x-display-name as we used to in order
4050 to unbreak creating an X11 frame from an Emacs daemon started
4053 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4055 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4056 the same completion-field (bug#12221).
4058 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4060 * emacs-lisp/debug.el (debug): Record height of debugger window
4061 also when debugger will be back (Bug#8789).
4063 2012-10-18 Chong Yidong <cyd@gnu.org>
4065 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4066 Convert to defcustom.
4067 (gdb-get-source-file): Don't bind pop-up-windows.
4069 * progmodes/gud.el (gud-display-line): Don't specially re-use
4070 other frames for the gdb-mi case (Bug#12648).
4072 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4074 * emacs-lisp/advice.el: Clean up commentary a bit.
4075 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4076 (byte-code-function-p): Never redefine.
4078 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4080 2012-10-18 Glenn Morris <rgm@gnu.org>
4082 * dired.el (dired-sort-toggle): Some ls implementations only allow
4083 a single option string. (Bug#12666)
4085 * minibuffer.el (completion-cycle-threshold): Doc fix.
4087 2012-10-17 Kenichi Handa <handa@gnu.org>
4089 * international/mule.el (set-keyboard-coding-system):
4090 Recover input meta mode when the new coding system doesn not use 8-bit.
4091 Supply TERMINAL arg to set-input-meta-mode.
4093 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4095 * wdired.el (wdired-old-marks): New variable.
4096 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4097 (wdired-do-renames): Move point with renamed file and don't lose
4098 mark status (Bug#11795).
4100 2012-10-16 Juri Linkov <juri@jurta.org>
4102 * replace.el (query-replace-help): Mention multi-buffer replacement
4103 keys in the Help message. (Bug#12655)
4105 2012-10-15 Chong Yidong <cyd@gnu.org>
4107 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4109 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4111 * window.el (display-buffer): Doc fix.
4113 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4114 Adjust the msft regexp to the output of Studio 2010, and move msft
4115 before edg-1. See the discussion on emacs-devel,
4116 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4119 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4121 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4122 (oset): Move uses of object-class-fast macro after its definition.
4124 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4126 2012-10-13 Chong Yidong <cyd@gnu.org>
4128 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4129 enabled, re-enable it (Bug#11963).
4131 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4133 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4134 non-nil, restore window configuration (Bug#12623).
4136 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4138 * help-fns.el (describe-variable, describe-function-1):
4139 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4141 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4143 2012-10-12 Glenn Morris <rgm@gnu.org>
4145 * mail/rmailsum.el (rmail-header-summary):
4146 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4148 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4150 * progmodes/python.el (python-mode-map):
4151 Replace subtitute-key-definition with proper command remapping.
4152 (python-nav--up-list): Fix behavior for blocks on the same level.
4154 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4156 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4158 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4159 changes to the format of load-history.
4161 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4162 completion-ignore-case in case that var is buffer-local (bug#12615).
4164 2012-10-11 Kenichi Handa <handa@gnu.org>
4166 * international/eucjp-ms.el: Re-generated.
4168 2012-10-10 Kenichi Handa <handa@gnu.org>
4170 * select.el (xselect--encode-string): If a coding is specified for
4171 selection, and that is compatible with COMPOUND_TEXT, use it.
4173 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4175 * window.el (switch-to-buffer-preserve-window-point): New option.
4177 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4179 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4181 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4182 Don't document nil as a useful value (bug#12583).
4184 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4186 * net/tramp.el (tramp-debug-message):
4187 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4188 (with-tramp-progress-reporter): Rename from
4189 `tramp-with-progress-reporter'.
4190 (with-tramp-file-property, with-tramp-connection-property):
4191 Move from tramp-cache.el, rename from `with-file-property' and
4192 `with-connection-property', respectively.
4194 * net/tramp-cache.el: Remove `with-file-property' and
4195 `with-connection-property'.
4198 * net/tramp-gvfs.el:
4200 * net/tramp-smb.el: Adapt callees.
4202 * net/trampver.el: Update release number.
4204 2012-10-09 Glenn Morris <rgm@gnu.org>
4206 * w32-fns.el (set-message-beep):
4207 * term/w32-win.el (set-message-beep): Update declarations.
4209 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4211 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4212 (mode-line-widen, mode-line-input-method-map)
4213 (mode-line-coding-system-map, mode-line-remote)
4214 (mode-line-unbury-buffer, mode-line-bury-buffer)
4215 (mode-line-next-buffer, mode-line-previous-buffer):
4216 Replace save-selected-window+select-window => with-selected-window.
4218 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4219 * progmodes/cc-vars.el (bq-process): Remove, unused.
4221 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4223 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4225 Implemented `backward-up-list'-like navigation.
4226 * progmodes/python.el (python-nav-up-list)
4227 (python-nav-backward-up-list): New functions.
4228 (python-mode-map): Define substitute key for backward-up-list to
4229 python-nav-backward-up-list.
4231 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4233 * progmodes/python.el (python-fill-paragraph): Rename from
4234 python-fill-paragraph-function. Fixed fill-paragraph for
4235 decorators (Bug#12605).
4237 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4239 * progmodes/python.el (python-shell-output-filter): Handle extra
4240 carriage return in OSX (Bug#12409).
4242 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4244 Fix shell handling of unbalanced quotes and parens in output.
4245 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4246 (python-syntax-propertize-function): Use it.
4247 (python-shell-output-syntax-table): New var.
4248 (inferior-python-mode): Prevent unbalanced parens/quotes from
4249 previous output mess with current input context.
4251 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4253 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4254 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4256 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4258 * ffap.el (ffap-replace-file-component): Support Tramp file name
4259 syntax, not only ange-ftp's one.
4261 2012-10-08 Glenn Morris <rgm@gnu.org>
4263 * cus-start.el (message-log-max): Set :version.
4265 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4267 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4269 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4270 the minibuffer window (Bug#10851).
4272 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4274 Enhancements on forward-sexp movement.
4275 * progmodes/python.el (python-nav-beginning-of-statement)
4276 (python-nav-end-of-statement): Return point-marker.
4277 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4278 (python-info-current-symbol)
4279 (python-info-statement-starts-block-p): Rename from
4280 python-info-beginning-of-block-p.
4281 (python-info-statement-ends-block-p): Rename from
4282 python-info-end-of-block-p.
4283 (python-info-beginning-of-statement-p)
4284 (python-info-end-of-statement-p)
4285 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4288 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4290 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4291 frame-selected-windows.
4293 2012-10-08 Daniel Colascione <dancol@dancol.org>
4295 * battery.el (battery-status-function): Check for
4296 w32-battery-status itself, not system-time windows-nt.
4298 * frame.el: Require cl-lib.
4299 (display-format-alist): New variable mapping frame types to
4300 functions that initialize them.
4301 (window-system-for-display): New function: interprets
4302 display-format-alist.
4303 (make-frame-on-display): Remove existing display-selection logic
4304 and just forward to make-frame, which will now DTRT.
4305 (make-frame): Restructure to use window-system-for-display to
4306 figure out how to create a frame on a given display.
4307 (display-mouse-p): Look for frame-type w32, not a particular
4310 * loadup.el: Load w32 lisp code when we have the w32 feature.
4312 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4313 system-type windows-nt.
4315 * server.el (server-create-window-system-frame): Look for window
4317 (server-proces-filter): Only force a window system when windows-nt
4318 _and_ w32. Explain why.
4320 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4321 of window systems we configure for the mode.
4323 * startup.el (command-line): Mark window system is initialized
4324 after we've done it.
4326 * common-win.el (x-select-text): Look for w32, not windows-nt.
4328 * ns-win.el: Require cl-lib. Add ourselves to
4329 display-format-alist.
4330 (ns-initialize-window-system): Assert we're not initialized twice.
4332 * w32-win.el: Enable lexical binding; require cl-lib; add
4333 ourselves to display-format-alist.
4334 (w32-handle-dropped-file): Convert incoming dropped files from
4335 Windows paths to Cygwin ones before passing them on to the rest of
4337 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4338 (w32-initialize-window-system): Assert we're not initialized twice.
4340 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4341 (x-initialize-window-system): Assert we're not initialized twice.
4343 * w32-common-fns.el: New File.
4344 (w32-version, w32-using-nt, w32-get-clipboard-data)
4345 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4346 (w32-charset-info-alist, x-last-selected, text)
4347 (x-get-selection-value, x-selection-value): Move here.
4349 * w32-fns.el: Require w32-common-fns.
4350 (w32-version, w32-using-nt, w32-get-clipboard-data)
4351 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4352 (w32-charset-info-alist, x-last-selected, text)
4353 (x-get-selection-value, x-selection-value): Move to
4357 (w32-allow-system-shell, w32-system-shells): Define only in
4360 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4362 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4363 (read-passwd): Remove a few more potential sources of leaks.
4365 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4367 * progmodes/python.el (inferior-python-mode)
4368 (python-shell-make-comint): Fix initialization of local
4369 variables copied from parent buffer.
4371 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4373 * term/ns-win.el (ns-read-file-name): Update declaration to match
4375 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4376 it is set when font is acted upon.
4378 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4380 Enhancements to indentation.
4381 * progmodes/python.el (python-indent-context): Give priority to
4382 inside-string context. Make comments indentation markers.
4383 (python-indent-region): Do not mess with strings, unless it's the
4384 enclosing set of quotes.
4386 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4388 * window.el (internal--before-save-selected-window)
4389 (internal--after-save-selected-window): New functions extracted from
4390 save-selected-window. Make sure we return the `alist' we construct.
4391 (save-selected-window): Use them.
4393 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4394 Use with-selected-window.
4396 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4397 forms that define macros (bug#12593).
4399 2012-10-07 Kenichi Handa <handa@gnu.org>
4401 * international/mule-conf.el (compound-text-with-extensions):
4402 Add :mime-charset property as x-ctext.
4404 2012-10-07 Stefan Merten <smerten@oekonux.de>
4406 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4407 (rst-indent-literal-normal, rst-indent-literal-minimized)
4408 (rst-indent-comment): Correct :version tag.
4409 (rst-official-cvs-rev): Correct version string.
4411 2012-10-07 Glenn Morris <rgm@gnu.org>
4413 * mail/rmailmm.el (rmail-mime-process-multipart):
4414 Do not confuse a multipart message with an epilogue
4415 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4417 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4419 Fix shell output retrieval and comint-prompt-regexp init.
4420 * progmodes/python.el (inferior-python-mode):
4421 (python-shell-make-comint): Fix initialization of
4422 comint-prompt-regexp from copied file local variables.
4423 (python-shell-fetched-lines): Remove var.
4424 (python-shell-output-filter-in-progress): Rename from
4425 python-shell-fetch-lines-in-progress.
4426 (python-shell-output-filter-buffer): Rename from
4427 python-shell-fetch-lines-string.
4428 (python-shell-fetch-lines-filter): Delete function.
4429 (python-shell-output-filter): New function.
4430 (python-shell-send-string-no-output): Use them.
4432 2012-10-07 Glenn Morris <rgm@gnu.org>
4434 * hi-lock.el (hi-lock-process-phrase):
4435 Try to make it less fragile. (Bug#7161)
4437 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4439 2012-10-06 Glenn Morris <rgm@gnu.org>
4441 * ehelp.el (electric-help-mode): Use help-mode rather than
4442 non-existent mode `help'.
4443 (electric-help-map): Use button-buffer-map. (Bug#10917)
4445 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4446 (reftex-create-bibtex-footer): Fix custom types.
4448 * progmodes/sh-script.el (sh-indent-after-continuation):
4449 Add explicit :group.
4451 * textmodes/rst.el (rst-preferred-decorations)
4452 (rst-shift-basic-offset): Clarify obsolescence versions.
4454 * profiler.el (profiler): Add missing group :version tag.
4455 * avoid.el (mouse-avoidance-banish-position):
4456 * proced.el (proced-renice-command):
4457 * calc/calc.el (calc-ensure-consistent-units):
4458 * calendar/icalendar.el (icalendar-import-format-uid):
4459 * net/tramp.el (tramp-save-ad-hoc-proxies):
4460 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4461 * progmodes/flymake.el (flymake-error-bitmap)
4462 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4463 * progmodes/sh-script.el (sh-indent-after-continuation):
4464 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4465 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4466 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4467 (vhdl-array-index-record-field-in-sensitivity-list)
4468 (vhdl-indent-comment-like-next-code-line):
4469 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4470 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4471 (reftex-cite-key-separator, reftex-create-bibtex-header)
4472 (reftex-create-bibtex-footer):
4473 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4474 (rst-indent-literal-normal, rst-indent-literal-minimized)
4475 (rst-indent-comment): Add missing custom :version tags.
4477 * calendar/timeclock.el (timeclock-modeline-display):
4478 Add missing obsolete alias for renamed user option.
4480 * strokes.el (strokes-modeline-string):
4481 * emulation/crisp.el (crisp-mode-modeline-string):
4482 * eshell/esh-mode.el (eshell-status-in-modeline):
4483 Aliases to defcustoms must come before the defcustom.
4485 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4486 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4487 (cal-tex-cursor-week-monday): Doc fixes.
4488 (cal-tex-cursor-week2-summary): Doc fix.
4489 Rename from cal-tex-cursor-week-at-a-glance.
4491 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4492 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4494 * calendar/calendar.el (calendar-mode-map):
4495 Add cal-tex-cursor-week2-summary.
4497 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4499 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4501 * subr.el (read-passwd-map): New var.
4502 (read-passwd): Use `read-string' again.
4503 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4505 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4507 * register.el (append-to-register, prepend-to-register):
4508 Deactivate mark, as does `copy-to-register' (bug#12389).
4510 2012-10-06 Chong Yidong <cyd@gnu.org>
4512 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4514 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4516 * international/characters.el: Fix simple mistake ((car chars) ->
4517 elt), delete duplicated code.
4519 2012-10-06 Glenn Morris <rgm@gnu.org>
4521 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4523 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4525 * color.el (color-hsl-to-rgb): Fix incorrect results for
4526 small and large hue values. (Bug#12559)
4528 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4530 Enhancements to docstring formatting when filling paragraphs.
4531 * progmodes/python.el (python-fill-docstring-style): Rename from
4532 python-fill-string-style. Added new style.
4533 (python-fill-string): Use new style. Better checks for
4536 2012-10-05 Glenn Morris <rgm@gnu.org>
4538 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4540 * color.el (color-name-to-rgb, color-rgb-to-hex)
4541 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4542 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4543 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4544 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4546 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4548 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4550 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4551 to get the correct size across symlinks.
4553 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4555 2012-10-04 Juri Linkov <juri@jurta.org>
4557 * replace.el (query-replace-interactive): Declare obsolete.
4558 (query-replace-read-from): Add the last incremental search string
4559 to the list of default values accessible via M-n.
4560 (map-query-replace-regexp): Use `read-regexp'.
4561 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4562 (map-query-replace-regexp, replace-string, replace-regexp):
4563 Fix docstrings to replace mentions of `query-replace-interactive'
4564 with alternatives. (Bug#12526)
4566 2012-10-04 Juri Linkov <juri@jurta.org>
4568 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4569 (dired-pop-to-buffer): Declare obsolete.
4570 (dired-mark-pop-up): Doc fix.
4572 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4574 Allow user to set docstring style for fill-paragraph.
4575 * progmodes/python.el
4576 (python-fill-comment-function, python-fill-string-function)
4577 (python-fill-decorator-function, python-fill-paren-function):
4578 Remove :safe for defcustoms.
4579 (python-fill-string-style): New defcustom
4580 (python-fill-paragraph-function): Enhance context detection.
4581 (python-fill-string): Honor python-fill-string-style settings.
4583 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4585 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4586 after setting its buffer (Bug#10805).
4588 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4590 Fix cornercase for string syntax.
4591 * progmodes/python.el (python-syntax-propertize-function):
4592 Simplify and enhance the regexp for unescaped quotes. Now it also
4593 matches quotes in weird situations like the single quote in
4595 (python-syntax-stringify): Simplify num-quotes detecting code.
4597 2012-10-03 Glenn Morris <rgm@gnu.org>
4599 * help-macro.el (three-step-help):
4600 Revert 2012-09-29 change. (Bug#12567)
4602 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4604 * menu-bar.el (kill-this-buffer): Don't do anything when
4605 `menu-frame' is not alive or visible (Bug#8184).
4607 * emacs-lisp/debug.el (debug): When quitting the debugger window
4608 restore current buffer (Bug#12502).
4610 2012-10-02 Chong Yidong <cyd@gnu.org>
4612 * progmodes/hideif.el (hif-lookup, hif-defined):
4613 Handle semantic-c-takeover-hideif.
4615 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4617 Change sampling interval units from ms to ns.
4618 * profiler.el (profiler-sampling-interval): Change units
4619 from ms to ns, multiplying the default by 1000000 so that
4621 (profiler-report-cpu-line-format): Give enough room for
4622 the maximum counters on 64-bit hosts.
4623 (profiler-report-render-calltree-1): Call them "CPU samples",
4624 not "Time (ms)", since they are not milliseconds now (and
4627 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4629 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4630 Fix querying BBDB for entries without a last name (Bug#11580).
4632 2012-10-02 Chong Yidong <cyd@gnu.org>
4634 * emacs-lisp/eieio.el: Restore Version header.
4636 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4638 * vc/diff-mode.el (diff--auto-refine-data): New var.
4639 (diff-hunk): Use it to delay refinement.
4640 (diff-mode): Remove overlays when we turn off font-lock.
4642 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4643 (table-initialize-table-fixed-width-mode)
4644 (table-set-table-fixed-width-mode): Remove functions.
4645 (table-command-list): Move initialization into declaration.
4646 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4647 (table-with-cache-buffer): Use `declare'.
4648 (table-span-cell): Simplify via CSE.
4649 (table-fixed-width-mode): Use define-minor-mode.
4650 (table-call-interactively, table-funcall, table-apply): Remove.
4651 (table-function): New function, to replace them.
4653 * bookmark.el (bookmark-search-pattern): Remove var.
4654 (bookmark-read-search-input): Remove function.
4655 (bookmark-bmenu-search): Reimplement using a minibuffer.
4657 * faces.el (modeline): Remove obsolete face name.
4659 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4660 and give a non-nil default value.
4661 (add-change-log-entry): Simplify accordingly.
4663 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4665 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4666 (vc-git-log-edit-toggle-amend): New function.
4667 (vc-git-log-edit-toggle-signoff): New function.
4668 (vc-git-log-edit-mode): New major mode.
4669 (vc-git-log-edit-mode-map): Keymap for it.
4670 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4672 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4674 (log-edit-toggle-header): New function.
4675 (log-edit-extract-headers): Accept function values in HEADERS alist.
4677 2012-10-01 David Engster <deng@randomsample.de>
4679 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4680 from symbol property and change message to be more consistent with
4682 (eieio-describe-generic): Add filename for each implementation.
4683 Fix indices for generic and normal methods.
4684 (eieio-method-def, eieio-class-def): New buttons.
4685 (eieio-help-find-method-definition)
4686 (eieio-help-find-class-definition): New functions.
4687 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4688 class, constructor and method definitions.
4690 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4691 information in symbol property.
4692 (scoped-class): Remove.
4693 (eieio-slot-name-index, call-next-method): Check if it is bound.
4695 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4697 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4698 (eieio-custom-mode): New major mode.
4699 (eieio-customize-object): Use it.
4701 2012-10-01 Eric Ludlam <zappo@gnu.org>
4703 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4704 specifying the expected class, and whether subclassing is allowed.
4705 (eieio-persistent-convert-list-to-object):
4706 (eieio-persistent-validate/fix-slot-value)
4707 (eieio-persistent-slot-type-is-class-p): New functions.
4708 (eieio-named::slot-missing): Doc fix.
4710 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4711 Stop using unused publd variable.
4713 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4714 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4715 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4716 (eieio-speedbar-handle-click): Do not specify a class for the
4717 method. Fixes method invocation order problems with EDE.
4719 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4721 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4722 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4724 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4726 * bookmark.el (bookmark-version-control): Give tags in the
4727 :type choices (Bug#12309), and improve doc string.
4728 (bookmark-write-file): Bind `print-circle' to `t' to allow
4729 circular custom bookmark types. (Bug#12503)
4731 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4733 Revert the FOLLOW-SYMLINKS change for file-attributes.
4734 * files.el (remote-file-name-inhibit-cache, after-find-file):
4735 * time.el (display-time-file-nonempty-p): Undo last change.
4737 * profiler.el (profiler-sampling-interval): Change default back to 1.
4738 See Stefan Monnier in
4739 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4741 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4743 Shell output catching a la gud-gdb.
4744 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4745 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4747 (python-shell-fetch-lines-filter): New function.
4748 (python-shell-send-string-no-output): Use them.
4750 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4752 * profiler.el (profiler-sampling-interval): Rename from
4753 profiler-sample-interval.
4754 (profiler-sampling-interval): Default to 10.
4755 (profiler-find-profile): New command (was profiler-find-log).
4756 (profiler-find-profile-other-window): New command.
4757 (profiler-find-profile-other-frame): New command.
4758 (profiler-profile): Introduce API-level data structure.
4760 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4762 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4763 * files.el (remote-file-name-inhibit-cache):
4764 * time.el (display-time-file-nonempty-p): Use it.
4765 * files.el (after-find-file): Don't chase links before calling
4766 file-exists-p, as file-exists-p already does the right thing.
4768 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4770 Merge from standalone RefTeX repository.
4772 The following ChangeLog entries are shortened versions of the
4773 original ones with file paths adapted. A not so strongly edited
4774 version of the original ChangeLog can be found in the commit log.
4776 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4777 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4778 Correctly handle new value type returned by `reftex-citation'.
4780 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4781 that entries with whitespace at various places are found.
4782 Doc fix. Include entries that are cross-referenced from cited entries.
4783 Include @String definitions in the resulting bib file. Add header
4784 and footer defined in `reftex-create-bibtex-header' and
4785 `reftex-create-bibtex-footer'.
4786 (reftex-do-citation): Make it possible again to insert
4787 non-existent entries. Save match data when asking for optional
4788 arguments. Return all keys, not just the first one.
4789 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4790 all citations in the same line.
4791 (reftex-parse-bibtex-entry): Accept additional optional argument
4792 `raw' and keep quotes or braces if it is non-nil. Match fields
4793 containing hyphens besides word constituents.
4794 (reftex-get-string-refs): New function.
4795 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4796 and ask if it should be reread in case it did.
4797 (reftex-pop-to-bibtex-entry)
4798 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4799 entries with spaces or tabs in front of arguments.
4800 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4801 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4802 Match entries containing numbers and symbol constituents.
4803 (reftex-do-citation, reftex-figure-out-cite-format):
4804 Use `reftex-cite-key-separator'.
4806 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4807 (reftex-mouse-view-crossref): Explain why point is set.
4809 * textmodes/reftex-global.el: Whitespace changes.
4811 * textmodes/reftex-index.el: Move provide statement to end of
4813 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4814 (reftex-index-visit-phrases-buffer): Set marker when visiting
4815 buffer. This allows for returning from the phrases file to the
4816 file one was just editing instead of the file where the last
4817 phrases was added from.
4818 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4819 punctuation syntax as it usually is not used as string quote in
4820 TeX-related modes and may occur unmatched. The change also
4821 prevents fontification of quoted content.
4822 (reftex-index-phrases-mode): Use it.
4824 * textmodes/reftex-parse.el (reftex-parse-from-file):
4825 Move backward one char if a `\' was matched after a section macro.
4826 (reftex-parse-from-file): Use beginning of match instead of end as
4829 * textmodes/reftex-ref.el: Adapt creation of
4830 `reftex-<package>-<macro>' functions to new structure of
4831 `reftex-ref-style-alist'.
4832 (reftex-reference): Use `reftex-ref-style-list' function.
4833 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4834 reference macro if `reftex-ref-macro-prompt' is non-nil.
4835 (reftex-reference): Pass refstyle to `reftex-format-special'.
4836 Determine reference macro by looking at
4837 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4838 Use only one special format function.
4839 (reftex-varioref-vref, reftex-fancyref-fref)
4840 (reftex-fancyref-Fref): Remove definitions. The functions are now
4841 generated from `reftex-ref-style-alist'.
4842 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4844 (reftex-format-special): New function.
4846 * textmodes/reftex-sel.el
4847 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4848 of `reftex-ref-style-alist'. Remove code for testing macro type.
4849 (reftex-select-toggle-varioref)
4850 (reftex-select-toggle-fancyref): Remove.
4851 (reftex-select-cycle-ref-style-internal)
4852 (reftex-select-cycle-ref-style-forward)
4853 (reftex-select-cycle-ref-style-backward): New functions.
4854 (reftex-select-label-map): Use `v' and `V' for general cycling
4855 through reference styles. Add `p' for switching between number
4856 and page reference types.
4858 * textmodes/reftex-toc.el (reftex-re-enlarge):
4859 Call `enlarge-window' only if there is something to do because in Emacs
4860 the horizontal version throws an error even if the parameter is 0.
4862 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4863 (reftex-plug-into-AUCTeX): Doc fix.
4864 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4865 string. Adapt to new name.
4866 (reftex-ref-style-alist): Change structure so that it is not
4867 possible to use multiple different package names within a style.
4868 Remove the symbols for symbols for macro type distinction.
4869 Add characters for macro selection.
4870 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4871 (reftex-create-bibtex-footer): New variables.
4872 (reftex-format-ref-function): Mention third argument of special
4874 (reftex-ref-style-alist, reftex-ref-style-default-list):
4876 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4877 to new implementation. Mark as obsolete. Add compatibility code
4878 for honoring the variable values in case they are set.
4879 (reftex-cite-format-builtin, reftex-bibliography-commands):
4880 Add support for ConTeXt.
4881 (reftex-format-ref-function, reftex-format-cite-function):
4883 (reftex-cite-key-separator): New variable.
4885 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4886 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4887 `reftex-syntax-table' because parens have to retain their paren
4888 syntax in order for parsing of BibTeX entries like @book(...) to
4890 (reftex-in-comment): Do not error out if `comment-start-skip' is
4891 not set. Deal correctly with escaped comment characters.
4892 (reftex-tie-multifile-symbols): Add doc string.
4893 Initialize `reftex-ref-style-list'.
4894 (reftex-untie-multifile-symbols): Add doc string.
4895 (reftex-add-index-macros): Doc fix.
4896 (reftex-ref-style-activate, reftex-ref-style-toggle)
4897 (reftex-ref-style-list): New functions.
4898 (reftex-mode-menu): Use them. Adapt to new structure of
4899 `reftex-ref-style-alist'.
4900 (reftex-select-with-char): Kill the RefTeX Select buffer when
4902 (reftex-remove-if): New function.
4903 (reftex-erase-all-selection-and-index-buffers)
4904 (reftex-mode-menu): Reference styles are now computed from
4905 `reftex-ref-style-alist'. Fix typo.
4906 (reftex-report-bug): New function.
4907 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4908 algorithms with O(n log n). Introduce optional argument SORT (not
4911 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4913 Enhancements for triple-quote string syntax.
4914 * progmodes/python.el (python-syntax-propertize-function):
4915 Match both quote cases in one regexp.
4916 (python-syntax-stringify): Handle matches properly.
4918 2012-09-30 Juri Linkov <juri@jurta.org>
4920 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4921 to nil around the call to `insert' to prevent
4922 directory time modification by lock_file. (Bug#2295)
4923 * tar-mode.el (tar-summarize-buffer): Idem.
4925 2012-09-30 Juri Linkov <juri@jurta.org>
4927 * facemenu.el (list-colors-sort): Add option "Luminance".
4928 (list-colors-sort-key): Implement it.
4930 * vc/diff-mode.el (diff-refine-removed):
4931 * vc/ediff-init.el (ediff-fine-diff-A):
4932 * vc/smerge-mode.el (smerge-refined-removed):
4933 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4935 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4937 * term/ns-win.el (x-file-dialog): New function.
4939 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4941 * ido.el (ido-max-directory-size): Default to nil; the current
4942 default is small for POSIX systems, and impractical on Windows 7
4943 now that lstat returns directory sizes for NTFS.
4945 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4947 In buffer display functions handle window-height/window-width
4948 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4949 * window.el (window--display-buffer): New argument ALIST.
4950 Obey window-height and window-width alist entries.
4951 (window--try-to-split-window): New argument ALIST.
4952 Bind window-combination-limit to t when the window's size shall be
4953 changed and window-combination-limit equals `window-size'.
4954 (display-buffer-in-atom-window)
4955 (display-buffer-in-major-side-window)
4956 (display-buffer-in-side-window, display-buffer-same-window)
4957 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4958 (display-buffer-pop-up-window, display-buffer-below-selected)
4959 (display-buffer-at-bottom, display-buffer-in-previous-window)
4960 (display-buffer-use-some-window): Adjust all callers of
4961 window--display-buffer and window--try-to-split-window.
4962 (fit-frame-to-buffer): New option.
4963 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4965 (display-buffer-in-major-side-window): Evaluate window-height /
4966 window-width alist entries.
4968 * help.el (temp-buffer-resize-frames)
4969 (temp-buffer-resize-regexps): Remove options.
4970 (temp-buffer-resize-mode): Adjust doc-string.
4971 (resize-temp-buffer-window): Don't consult
4972 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4973 temp-buffer-resize-frames.
4975 * dired.el (dired-mark-pop-up):
4976 Call display-buffer-below-selected with a fit-window-to-buffer alist
4979 2012-09-30 Chong Yidong <cyd@gnu.org>
4981 * server.el (server-host): Document the security implications.
4982 (server-auth-key): Doc fix.
4984 * startup.el (initial-buffer-choice): Doc fix.
4986 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4988 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4991 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4993 * help-fns.el (help-fns--obsolete): Fix last change.
4995 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4997 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4998 (minor-mode-map-alist): Remove redundant code.
5000 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5001 visited in a buffer.
5002 (cvs-insert-visited-file): New function.
5003 (find-file-hook): Use it.
5005 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5007 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5009 (log-edit-empty-buffer-p): Don't require a space after a header.
5011 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5013 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5015 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5016 a proper minor-mode.
5018 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5020 2012-09-29 Glenn Morris <rgm@gnu.org>
5022 * winner.el (winner-mode): Remove variable (let define-minor-mode
5024 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5026 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5027 (winner-mode): Use define-minor-mode.
5029 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5030 the full definition in loaddefs, rather than duplicating it.
5032 * help-macro.el (three-step-help): No need to autoload defcustom.
5034 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5035 (inferior-lisp-program, inferior-lisp-load-command)
5036 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5037 No need to autoload defcustoms.
5039 * hippie-exp.el (hippie-expand-try-functions-list)
5040 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5041 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5042 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5043 (hippie-expand-only-buffers): No need to autoload defcustoms.
5044 * progmodes/vhdl-mode.el (vhdl-line-expand):
5045 Explicitly load hippie-exp, so it does not get autoloaded
5046 while hippie-expand-try-functions-list is let-bound.
5048 2012-09-28 Glenn Morris <rgm@gnu.org>
5050 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5052 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5053 Only "cl.el" counts as cl these days.
5055 2012-09-28 Juri Linkov <juri@jurta.org>
5057 Display archive errors in the echo area instead of inserting
5060 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5061 to STDERR-TEST that can be a regexp matching a successful output.
5062 Create a temporary file and redirect stderr to it. Search for
5063 STDERR-TEST in the stderr output and display it in the echo area
5064 if no match is found.
5065 (archive-extract-by-file): New function like
5066 `archive-extract-by-stdout' but extracting archives to files
5067 and looking for successful matches in stdout. Function body is
5068 mostly copied from `archive-rar-extract'.
5069 (archive-rar-extract): Use `archive-extract-by-file'.
5070 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5072 2012-09-28 Leo Liu <sdl.web@gmail.com>
5074 * pcomplete.el (pcomplete-show-completions):
5075 Use minibuffer-message to make pcomplete usable in minibuffer.
5077 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5079 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5081 * type-break.el: Use lexical-binding.
5082 (type-break-mode): Use define-minor-mode.
5084 * emacs-lisp/pcase.el (pcase--mark-used): New.
5085 (pcase--u1): Use it (bug#12512).
5087 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5088 in load-history with the right file name.
5090 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5092 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5093 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5094 (doc-view-get-bounding-box): Make bounding box slicing work for
5095 ODF and DVI documents.
5097 2012-09-28 Glenn Morris <rgm@gnu.org>
5099 * type-break.el (type-break-mode, type-break-interval)
5100 (type-break-good-rest-interval, type-break-keystroke-threshold):
5101 No need to autoload.
5102 (type-break-good-rest-interval, type-break-keystroke-threshold):
5105 2012-09-28 Chong Yidong <cyd@gnu.org>
5107 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5110 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5112 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5114 2012-09-27 Glenn Morris <rgm@gnu.org>
5116 * faces.el (x-display-name): Declare (for without-x builds).
5118 * linum.el (linum-format): Don't autoload it. Improve :type.
5120 * progmodes/tcl.el: Don't require outline when compiling.
5121 (outline-regexp, outline-level): Declare.
5122 * textmodes/sgml-mode.el: Don't require outline when compiling.
5123 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5125 * term.el (term-ansi-reset):
5126 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5128 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5129 files for RCS and SCCS. (Bug#9781)
5131 2012-09-27 Chong Yidong <cyd@gnu.org>
5133 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5134 change; value should be t.
5136 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5138 * image-mode.el: Use lexical-binding.
5139 (image-mode-winprops): Use t to stand for the window of
5140 a buffer that's not displayed.
5141 * doc-view.el (doc-view-new-window-function): Handle the new
5143 (doc-view-enlarge): Make it a real nop if the size is not changed.
5144 (doc-view-display): Handle the case where the buffer is not (yet?)
5145 displayed in any window.
5146 (doc-view-saved-settings): New var.
5147 (doc-view-mode): Use it.
5148 (doc-view-fallback-mode): Set it.
5150 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5151 Set lexical-binding.
5152 (minibuffer-eldef-shorten-default): New var.
5153 (minibuffer-default-in-prompt-regexps): Use it for new default.
5154 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5156 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5158 * international/uni-bidi.el:
5159 * international/uni-category.el:
5160 * international/uni-name.el:
5161 * international/uni-numeric.el: Regenerate.
5163 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5164 Stefan Monnier <monnier@iro.umontreal.ca>
5166 * profiler.el: New file.
5168 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5170 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5171 (testcover-reinstrument): Simplify with CSE.
5173 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5175 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5177 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5179 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5180 (verilog-auto-input, verilog-auto-insert-lisp)
5181 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5182 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5183 (verilog-auto-unused, verilog-auto-wire)
5184 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5185 newline. Reported by Andrew Jones.
5186 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5187 Reported by Brad Dobbie.
5188 (verilog-batch-delete-trailing-whitespace):
5189 Create verilog-batch-delete-trailing-whitespace.
5190 Reported by Brad Dobbie.
5191 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5192 parameters from another module. Reported by Dan Katz.
5193 (verilog-auto, verilog-auto-assign-modport)
5194 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5195 AUTOINOUTMODPORT for UVM interface module shell generation.
5196 Reported by Brad Dobbie.
5197 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5199 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5200 Reported by Matt Martin.
5202 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5204 * window.el (window--resize-child-windows): When resizing child
5205 windows proportionally, process them in reverse order to
5206 preserve the "when splitting a window the new one gets the odd
5208 (window--resize-root-window-vertically): When resizing the
5209 minibuffer window try to affect only windows at the bottom of the
5212 2012-09-25 Chong Yidong <cyd@gnu.org>
5214 * subr.el (declare): Doc fix.
5216 * help-fns.el (help-fns--obsolete): Handle macros properly.
5218 2012-09-25 Chong Yidong <cyd@gnu.org>
5220 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5221 this function obsolete.
5223 * calendar/cal-x.el (calendar-two-frame-setup)
5224 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5225 * calendar/calendar.el (american-calendar, european-calendar)
5226 (calendar-for-loop):
5227 * comint.el (comint-dynamic-simple-complete)
5228 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5229 * desktop.el (desktop-load-default):
5230 * dired-x.el (dired-omit-here-always)
5231 (dired-hack-local-variables, dired-default-directory):
5232 * emacs-lisp/derived.el (derived-mode-class):
5233 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5234 * emacs-lock.el (toggle-emacs-lock):
5235 * epa.el (epa-display-verify-result):
5236 * epg.el (epg-sign-keys, epg-start-sign-keys)
5237 (epg-passphrase-callback-function):
5238 * eshell/esh-util.el (eshell-for):
5239 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5240 (eshell-add-to-window-buffer-names):
5241 * files.el (locate-file-completion):
5242 * imenu.el (imenu-example--create-c-index)
5243 (imenu-example--create-lisp-index)
5244 (imenu-example--lisp-extract-index-name)
5245 (imenu-example--name-and-position):
5246 * international/mule-cmds.el (princ-list):
5247 * international/mule-diag.el (decode-codepage-char):
5248 * international/mule-util.el (detect-coding-with-priority):
5249 * iswitchb.el (iswitchb-read-buffer):
5250 * mail/mailalias.el (mail-complete):
5251 * mail/sendmail.el (mail-sent-via):
5252 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5253 (mouse-major-mode-menu):
5254 * password-cache.el (password-read-and-add):
5255 * pcomplete.el (pcomplete-parse-comint-arguments):
5256 * progmodes/sh-script.el (sh-maybe-here-document):
5257 * replace.el (query-replace-regexp-eval):
5258 * savehist.el (savehist-load):
5259 * simple.el (choose-completion-delete-max-match):
5260 * term.el (term-dynamic-simple-complete):
5261 * vc/ediff-init.el (ediff-check-version):
5262 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5263 * vc/vc.el (vc-diff-switches-list):
5264 * view.el (view-return-to-alist-update): Likewise.
5266 * subr.el (eval-next-after-load, makehash, insert-string)
5267 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5269 (mode-line-inverse-video): Variable deleted.
5271 * international/mule-util.el (string-to-sequence): Remove.
5273 * calendar/calendar.el (calendar-version):
5274 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5275 (icalendar-convert-diary-to-ical):
5276 * cus-edit.el (custom-mode):
5277 * ansi-color.el (ansi-color-unfontify-region):
5278 * international/latin1-disp.el (latin1-char-displayable-p):
5279 * progmodes/cwarn.el (turn-on-cwarn-mode):
5280 * progmodes/which-func.el (which-func-update-1):
5281 Use define-obsolete-function-alias.
5283 * net/newst-backend.el (newsticker-cache-filename):
5284 * net/newst-treeview.el (newsticker-groups-filename):
5285 Fix incorrect obsolescence declaration.
5287 * allout.el (allout-passphrase-hint-string): Likewise.
5288 (allout-init): Use a declare form to mark obsolete.
5290 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5291 this applies to functions.
5293 * iswitchb.el (iswitchb-read-buffer): Move code of
5294 iswitchb-define-mode-map here, and delete that obsolete function.
5296 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5297 font-lock-reference-face.
5299 2012-09-25 Glenn Morris <rgm@gnu.org>
5301 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5304 * eshell/em-term.el (eshell-term-name):
5305 Default to term-term-name. (Bug#12485)
5307 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5309 * progmodes/python.el (python-shell-send-buffer): Better handling
5310 of "if __name__ == '__main__':" conditionals when sending the buffer.
5312 2012-09-24 Glenn Morris <rgm@gnu.org>
5314 * eshell/esh-cmd.el (eshell-find-alias-function):
5315 Tighten up file-name regexp. (Bug#12499)
5317 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5319 Enhancements for triple-quote string syntax.
5320 * progmodes/python.el (python-quote-syntax): Remove.
5321 (python-syntax-propertize-function): New value.
5322 (python-syntax-count-quotes, python-syntax-stringify):
5325 2012-09-24 Chong Yidong <cyd@gnu.org>
5327 * mail/supercite.el (sc-version): Remove obsolete function.
5328 (sc-describe): Don't mark as obsolete, since it is bound.
5329 (sc-submit-bug-report): Remove.
5331 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5332 (cvs-commit-buffer-require-final-newline): Remove.
5333 (log-edit-require-final-newline)
5334 (log-edit-changelog-full-paragraphs): Default to t.
5336 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5337 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5338 * vc/vc.el (vc-checkout-carefully): Likewise.
5340 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5341 (emerge-version): Remove.
5343 * progmodes/compile.el (compile-internal): Remove.
5344 (compilation-parse-errors-function): Fix typo.
5346 * international/mule.el (set-char-table-default): Remove.
5347 (set-coding-priority, make-coding-system, generic-char-p)
5348 (charset-list, charset-bytes, charset-id): Use declare to mark
5349 functions as obsolete.
5351 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5352 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5353 * vc/vc-hooks.el (vc-default-registered): Don't use
5354 vc-master-templates.
5356 * font-lock.el (font-lock-reference-face):
5357 Use define-obsolete-variable-alias.
5359 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5360 * calendar/calendar.el (calendar-font-lock-keywords):
5361 * calendar/diary-lib.el (diary-font-lock-keywords)
5362 (diary-fancy-font-lock-keywords):
5363 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5364 * textmodes/reftex-index.el (reftex-insert-index):
5365 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5366 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5367 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5368 * progmodes/prolog.el (prolog-font-lock-keywords):
5369 * progmodes/idlwave.el (idlwave-idl-keywords):
5370 * progmodes/ada-mode.el (ada-font-lock-keywords):
5371 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5373 2012-09-24 Glenn Morris <rgm@gnu.org>
5375 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5377 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5379 * progmodes/python.el (python-indent-line): More consistent cursor
5382 2012-09-23 Stefan Merten <smerten@oekonux.de>
5384 * textmodes/rst.el: Fix compiler warning.
5386 2012-09-23 Roland Winkler <winkler@gnu.org>
5388 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5389 Transcribe also LaTeX hyphenation.
5390 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5391 bibtex-reformat-previous-options.
5393 2012-09-23 Roland Winkler <winkler@gnu.org>
5395 * proced.el (proced-renice-command): New variable.
5396 (proced-marked-processes): New function.
5397 (proced-with-processes-buffer): New macro.
5398 (proced-send-signal): Use them.
5399 (proced-renice): New command bound to r.
5401 2012-09-23 Roland Winkler <winkler@gnu.org>
5403 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5404 ibuffer-saved-filter-groups has one element, shortcut the call of
5405 completing-read. (Bug#12331)
5407 2012-09-23 Chong Yidong <cyd@gnu.org>
5409 * bindings.el (mode-line-toggle-read-only):
5410 * bs.el (bs-toggle-readonly):
5411 * buff-menu.el (Buffer-menu-toggle-read-only):
5412 * dired.el (dired-toggle-read-only):
5413 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5415 2012-09-23 Chong Yidong <cyd@gnu.org>
5417 * image.el (image-type-available-p): Adapt to init-image-library
5420 2012-09-22 Juri Linkov <juri@jurta.org>
5422 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5423 `dired-toggle-read-only'. (Bug#12462)
5425 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5427 * subr.el (temp-output-buffer-show): New function.
5428 (with-output-to-temp-buffer): Call temp-output-buffer-show
5429 instead of internal-temp-output-buffer-show.
5431 2012-09-22 Chong Yidong <cyd@gnu.org>
5433 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5436 * repeat.el (repeat): Doc fix (Bug#12348).
5438 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5441 * simple.el (shell-command-on-region): Doc fix.
5442 (read-only-mode): Doc fix.
5444 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5446 * emacs-lisp/timer.el (run-with-idle-timer)
5447 (timer-activate-when-idle): Warn against reinvoking an idle timer
5448 from within its own timer action. (Bug#12447)
5450 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5452 * cus-start.el (window-combination-limit): Add new optional
5454 * window.el (temp-buffer-window-show)
5455 (window--try-to-split-window): Handle new values of
5456 window-combination-limit (Bug#1806).
5457 (split-window): Test window-combination-limit for t instead of
5459 (display-buffer-at-bottom): New buffer display action function.
5460 * help.el (temp-buffer-resize-regexps): New option.
5461 (temp-buffer-resize-mode): Rewrite doc-string.
5462 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5463 Don't resize reused window. Suggested by Glenn Morris.
5465 2012-09-22 Stefan Merten <smerten@oekonux.de>
5467 * textmodes/rst.el: Revamp section title faces.
5468 (rst-official-version)
5469 (rst-package-emacs-version-alist): Sync with official version
5471 (rst-faces-defaults, rst-set-level-default)
5472 (rst-level-face-max, rst-level-face-base-color)
5473 (rst-level-face-base-light, rst-level-face-format-light)
5474 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5475 (rst-adornment-faces-alist): Match new setup.
5476 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5477 (rst-level-5, rst-level-6): New faces.
5479 2012-09-22 Chong Yidong <cyd@gnu.org>
5481 * simple.el (undo): Handle indirect buffers (Bug#8207).
5483 2012-09-21 Leo Liu <sdl.web@gmail.com>
5485 IDO: Disable match re-ordering for buffer switching.
5486 * ido.el (ido-buffer-disable-smart-matches): New variable.
5487 (ido-set-matches-1): Use it. (Bug#2042)
5489 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5491 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5492 Fix 2011-05-17 change. (Bug#12418)
5494 2012-09-21 Leo Liu <sdl.web@gmail.com>
5496 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5498 2012-09-21 Glenn Morris <rgm@gnu.org>
5500 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5501 Be more robust about locating simple.el.
5503 2012-09-21 Glenn Morris <rgm@gnu.org>
5505 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5507 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5509 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5511 2012-09-20 Juri Linkov <juri@jurta.org>
5513 * replace.el (query-replace-read-from): Use `read-regexp' instead
5514 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5515 (occur-read-primary-args): Use `read-regexp' instead of
5517 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5518 `read-from-minibuffer'.
5519 * isearch.el (isearch-occur): Use `read-regexp' instead of
5521 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5522 `read-from-minibuffer'.
5523 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5524 of `read-string'. (Bug#7567)
5526 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5527 and allow accepting a list of strings prepended to a list of
5528 standard default values. Doc fix. (Bug#12321)
5530 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5532 * replace.el (read-regexp): Don't add ": " when PROMPT already
5533 ends with a colon and space. (Bug#12321)
5535 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5537 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5540 2012-09-20 Stefan Merten <smerten@oekonux.de>
5542 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5543 Fixes feature request bug#11711.
5544 (rst-mode): Create `imenu-create-index-function'.
5545 (rst-get-stripped-line): Delete after refactoring.
5546 (rst-section-tree, rst-section-tree-rec)
5547 (rst-section-tree-point): Refactor and document properly.
5548 (rst-imenu-find-adornments-for-position)
5549 (rst-imenu-convert-cell, rst-imenu-create-index):
5552 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5554 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5555 (macroexp--expand-all): Use it.
5556 (macroexp--funcall-and-return): Remove by folding it into its sole
5557 caller (macroexp--warn-and-return).
5558 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5559 Use macroexp--obsolete-warning.
5561 * calc/calc.el: Fix last change by removing the whole chunk, since it
5562 was only needed back when Calc was not bundled.
5564 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5566 * emacs-lisp/debug.el (debug): Restore assignment to
5567 debugger-old-buffer removed on 2012-09-08.
5569 2012-09-20 Juri Linkov <juri@jurta.org>
5571 * dired-aux.el (dired-diff): Remove (require 'diff) since
5572 `diff-latest-backup-file' is now autoloaded.
5574 2012-09-20 Chong Yidong <cyd@gnu.org>
5576 * vc/diff.el (diff-latest-backup-file): Autoload.
5578 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5580 * calc/calc.el: Remove redundant autoload shape check.
5581 (sel-mode): Don't defvar.
5582 (calc-get-stack-element): Add `sel-mode' arg instead.
5583 (calc-top, calc-top-list): Pass it this additional argument.
5584 * calc/calc-store.el (calc-store-map):
5585 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5586 (calc-map-equation, calc-outer-product, calc-inner-product):
5587 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5589 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5591 2012-09-19 Juri Linkov <juri@jurta.org>
5593 * dired-aux.el (dired-diff): Add (require 'diff) because
5594 `diff-latest-backup-file' is not autoloaded.
5595 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5596 of `dired-get-filename' to t to not report error when there is
5597 no default file on the current line.
5599 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5601 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5602 macroexp--eval-if-compile.
5603 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5604 (macroexp--expand-all): Use them (bug#12371).
5606 * doc-view.el (doc-view-guess-paper-size)
5607 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5609 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5611 New feature: set optimal slice from BoundingBox information.
5612 * doc-view.el (doc-view-mode-map): Add keybinding.
5613 (doc-view-menu): Add menu entry.
5614 (doc-view-set-slice): Adapt docstring.
5615 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5616 (doc-view-scale-bounding-box)
5617 (doc-view-set-slice-from-bounding-box): New functions.
5618 (doc-view-paper-sizes): New defvar.
5620 2012-09-19 Glenn Morris <rgm@gnu.org>
5622 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5623 (byte-compile-log-warning): Autoload. (Bug#12371)
5625 * calendar/calendar.el (calendar-american-month-header)
5626 (calendar-european-month-header, calendar-iso-month-header)
5627 (calendar-month-header): New options.
5628 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5629 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5631 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5633 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5635 2012-09-18 Juri Linkov <juri@jurta.org>
5637 * dired-aux.el (dired-diff): Restore original functionality of
5638 getting the default value, but keep new feature of using the
5639 latest existing backup file (`diff-latest-backup-file').
5641 2012-09-18 Juri Linkov <juri@jurta.org>
5643 * dired.el (dired-mark): If the region is active in Transient Mark
5644 mode, mark all files in the active region. Doc fix.
5645 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5646 Doc fix. (Bug#10624)
5648 2012-09-18 Juri Linkov <juri@jurta.org>
5650 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5651 attributes for M-n are pulled from the file at point.
5652 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5653 Suggested by Drew Adams. (Bug#10624)
5655 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5657 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5658 whitespace after "end".
5659 (ruby-do-end-to-brace): Collapse block to one line if it fits
5662 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5664 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5666 (debug): Don't remove debugger window when debugger is expected
5669 2012-09-18 Chong Yidong <cyd@gnu.org>
5671 * custom.el (defface): Doc fix.
5673 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5675 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5677 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5678 to initialize query-on-exit; then test that instead (bug#12288).
5680 2012-09-17 Stefan Merten <smerten@oekonux.de>
5682 * textmodes/rst.el: Add support for `testcover'.
5683 (rst-defcustom-testcover, rst-testcover-add-compose)
5684 (rst-testcover-add-1value): New functions.
5685 (rst-portable-mark-active-p): Replace by `use-region-p'.
5686 (rst-update-section, rst-classify-adornment)
5687 (rst-find-title-line): Mark `1value' forms.
5688 (rst-classify-adornment): Remove superfluous form.
5689 (rst-update-section, rst-get-adornments-around)
5690 (rst-adornment-complete-p, rst-get-next-adornment)
5691 (rst-adjust, rst-promote-region)
5692 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5693 (rst-find-pfx-in-region, rst-section-tree-rec)
5694 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5695 (rst-toc-node, rst-toc, rst-forward-section)
5696 (rst-iterate-leftmost-paragraphs)
5697 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5698 (rst-bullet-list-region)
5699 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5700 (rst-compile-find-conf, rst-compile)
5701 (rst-repeat-last-character): Fix style.
5703 2012-09-17 Chong Yidong <cyd@gnu.org>
5705 * comint.el (comint--complete-file-name-data): Don't add a space
5706 if the status is `sole'; that adds a gratuitous space in the
5707 completion-cycling case (Bug#12092).
5709 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5711 2012-09-17 Richard Stallman <rms@gnu.org>
5713 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5714 only in the mime-shown mode, not in raw mode.
5715 (rmail-mime): Toggle off mime by displaying the message without
5716 mime processing. (Bug#12305)
5718 * mail/rmail.el (rmail-retry-failure):
5719 Turn off mime processing first. (Bug#12037)
5721 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5723 2012-09-17 Chong Yidong <cyd@gnu.org>
5725 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5726 (shell-dynamic-complete-functions): Convert to defcustom.
5727 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5729 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5730 * comint.el (comint-prompt-read-only):
5731 * custom.el (defcustom):
5732 * hi-lock.el (hi-lock-mode):
5733 * ibuffer.el (ibuffer-formats):
5734 * ielm.el (ielm-prompt-read-only):
5735 * novice.el (disable-command):
5736 * saveplace.el (toggle-save-place):
5737 * speedbar.el (speedbar-supported-extension-expressions):
5738 * startup.el (auto-save-list-file-prefix, init-file-user)
5739 (after-init-hook, inhibit-startup-echo-area-message):
5740 * strokes.el (strokes-help):
5741 * time-stamp.el (time-stamp):
5742 * calendar/calendar.el (calendar, diary-file):
5743 * calendar/diary-lib.el (diary-mail-entries, diary)
5744 (diary-list-entries-hook):
5745 * calendar/holidays.el (holidays, calendar-holidays):
5746 * calendar/lunar.el (lunar-phases):
5747 * calendar/solar.el (sunrise-sunset):
5748 * emulation/edt.el (edt-load-keys):
5749 * emulation/viper.el (viper-mode):
5750 * eshell/em-alias.el (eshell-command-aliases-list):
5751 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5752 * international/ogonek.el (ogonek-information):
5753 * net/tramp-cmds.el (tramp-bug):
5754 * net/quickurl.el (quickurl-reread-hook-postfix):
5755 * play/decipher.el (decipher-font-lock-keywords):
5756 * progmodes/cc-styles.el (c-set-style):
5757 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5758 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5759 * progmodes/octave-mod.el (octave-mode):
5760 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5761 * progmodes/verilog-mode.el (verilog-read-defines):
5762 * textmodes/two-column.el (2C-mode): Likewise.
5764 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5766 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5767 that holds many addresses.
5769 2012-09-16 Chong Yidong <cyd@gnu.org>
5771 * align.el (align-areas): Call the indication function with
5772 positions instead of markers for arguments (Bug#12343).
5774 * files.el (parse-colon-path): Use split-string (Bug#12351).
5776 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5777 (display-buffer-function): Mark as obsolete.
5779 * progmodes/compile.el (compilation-parse-errors): Accept list
5780 values similar to font-lock-keywords (Bug#12136).
5781 Suggested by Oleksandr Manzyuk.
5782 (compilation-error-regexp-alist): Doc fix.
5784 2012-09-15 Glenn Morris <rgm@gnu.org>
5786 * version.el (emacs-bzr-version-bzr): New function.
5787 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5789 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5790 checkouts, check the parent dirstate matches the branch.
5791 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5794 * version.el (emacs-bzr-version): Doc fix.
5795 (emacs-bzr-version-dirstate): New function.
5796 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5797 is local try and check that it matches the branch. If not, just
5798 use dirstate information. (Bug#12441)
5800 2012-09-14 Juri Linkov <juri@jurta.org>
5802 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5805 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5807 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5809 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5810 Remove obsolete byte-compiler hack that tried to silence some warnings.
5811 (edebug-submit-bug-report): Remove.
5812 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5813 Remove aliases, use the un-prefixed name instead.
5814 (edebug-pop-to-buffer): Consider other frames.
5815 (edebug-original-read):: Make it more obvious that it's always defined.
5816 (edebug--make-form-data-entry, edebug--form-data-name)
5817 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5818 single-dashed name, and implement with cl-defstruct.
5819 (edebug-set-form-data-entry): Use the standard accessors.
5820 (edebug-make-top-form-data-entry): Use push.
5821 (edebug-no-match): Drop useless `funcall'.
5822 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5824 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5825 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5826 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5827 (easy-menu-define, with-custom-print): Remove redundant specs.
5828 (edebug-outside-overriding-local-map)
5829 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5830 (edebug--display): Bind unread-command-events directly to nil rather
5831 than binding it to unread-command-events and later setting it to nil.
5832 (edebug--display): Kill edebug-eval-buffer here...
5833 (edebug--recursive-edit): ...rather than here.
5834 Bind standard-output and standard-input.
5835 (edebug-eval): Check cl-macroexpand-all is fboundp.
5836 (edebug-temp-display-freq-count): Fix last change.
5838 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5839 * subr.el (noreturn, 1value): Add `debug' spec.
5840 * emacs-lisp/advice.el: Require cl-lib.
5841 (ad-copy-tree): Remove, use copy-tree instead.
5842 (ad-dolist): Remove use dolist or cl-dolist instead.
5843 (ad-do-return): Remove, use cl-return instead.
5844 (defadvice): Add `debug' spec.
5846 2012-09-13 Juri Linkov <juri@jurta.org>
5848 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5851 2012-09-13 Glenn Morris <rgm@gnu.org>
5853 * calc/calc.el (math-compose-expr):
5854 * calc/calc-ext.el (math-compose-expr):
5855 * progmodes/cc-defs.el (cl-macroexpand-all):
5856 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5857 (cl-macroexpand-all): Update declarations.
5859 * vc/vc.el: No need to require ediff.
5860 (ediff-load-version-control): Declare.
5861 (ediff-vc-internal): Fix declaration.
5862 (vc-version-ediff): Require ediff.
5864 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5866 Use a more backwards-compatible timer format (Bug#12430).
5867 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5868 being right after USECS, as that better supports old code that
5869 inadvisedly looked directly at the timer vector.
5871 2012-09-13 Kenichi Handa <handa@gnu.org>
5873 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5874 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5875 `coding-priority' property of these language environment.
5877 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5879 Fix glitches caused by addition of psec to timers (Bug#12430).
5880 * image.el (image-animate-timer):
5881 * time.el (display-time-world-timer):
5882 Use timer--function and timer--args rather than raw access to
5885 2012-09-13 Glenn Morris <rgm@gnu.org>
5887 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5888 If not compiling a file, try using load-file-name.
5890 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5892 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5894 (edebug-update-eval-list): Use `push'.
5896 * emacs-lisp/edebug.el: Use lexical-binding.
5897 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5898 Mark unused args with underscore.
5899 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5900 (edebug-form-data): Use defvar-local.
5901 (edebug-make-before-and-after-form, edebug-make-after-form):
5903 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5904 Not dynamically scoped any more.
5905 (edebug--enter-trace): Add arguments `function' and `args'.
5906 Rename from edebug-enter-trace.
5907 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5908 (edebug--update-coverage): Add `after-index' and `value' args.
5909 Rename from edebug-update-coverage.
5910 (edebug-slow-after): Call it accordingly.
5911 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5912 edebug-recursive-edit.
5913 (edebug--display): Call it accordingly. Add args `value',
5914 `offset-index', and `arg-mode'. Rename from edebug-display.
5915 (edebug-debugger, edebug): Call it accordingly.
5916 (edebug-eval-display-list): Use dolist.
5918 2012-09-12 Juri Linkov <juri@jurta.org>
5920 * info.el (Info-search): Don't check for isearch-mode and
5921 isearch-regexp before let-binding search-spaces-regexp to
5922 Info-search-whitespace-regexp.
5923 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5924 search-whitespace-regexp if isearch-lax-whitespace or
5925 isearch-regexp-lax-whitespace is non-nil.
5926 (Info-mode): Don't set local variable search-whitespace-regexp.
5927 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5929 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5931 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5932 (debugger-env-macro): Remove support for unread-command-char.
5934 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5935 the temporary map re-appearing on emulation-mode-map-alists.
5937 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5940 * ehelp.el (with-electric-help): Accept functions in
5941 electric-help-form-to-execute.
5942 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5943 And replace unread-command-char -> unread-command-events.
5945 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5947 Sync with Tramp 2.2.6.
5949 * net/tramp.el (tramp-accept-process-output): Don't use
5950 JUST-THIS-ONE in the XEmacs case.
5952 * net/trampver.el: Update release number.
5954 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5956 * emacs-lisp/debug.el (debugger-previous-window-height):
5958 (debug): When debugger-jumping-flag is non-nil try to restore
5959 height of debugger window. (Bug#8789)
5961 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5963 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5964 overriding-local-map and pre/post-command-hook here.
5965 (edebug-recursive-edit): Do it here instead (bug#12345).
5966 (edebug-outside-unread-command-char): Remove all uses of
5967 unread-command-char.
5969 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5970 inhibit-debugger is bound instead.
5972 2012-09-11 Bastien Guerry <bzg@gnu.org>
5974 * subr.el (set-temporary-overlay-map): Add a docstring.
5977 2012-09-11 Bastien Guerry <bzg@gnu.org>
5979 * minibuffer.el (completion-table-subvert): Fix docstring.
5982 2012-09-11 Bastien Guerry <bzg@gnu.org>
5984 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
5986 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5988 * progmodes/sql.el: Version 3.1
5989 (sql-db2-escape-newlines): New variable.
5990 (sql-escape-newlines-filter): Use it.
5992 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
5994 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5996 2012-09-10 Dan Nicolaescu <dann@gnu.org>
5998 * vc/diff-mode.el (diff-mode-menu):
5999 Bind diff-remove-trailing-whitespace.
6001 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6003 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6004 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6005 (emacs-lisp-byte-code-mode): New functions.
6006 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6007 (eval-defun-2): Remove bogus interactive spec.
6008 (lisp-indent-line): Remove redundant whole-exp code, now done in
6009 indent-according-to-mode.
6010 (save-match-data): Remove redundant indent data.
6012 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6015 2012-09-09 Juri Linkov <juri@jurta.org>
6017 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6018 (replace-lax-whitespace, query-replace-regexp)
6019 (query-replace-regexp-eval, replace-regexp): Doc fix.
6020 (perform-replace, replace-highlight): Let-bind
6021 isearch-lax-whitespace to replace-lax-whitespace and
6022 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6024 * isearch.el (isearch-query-replace): Let-bind
6025 replace-lax-whitespace to isearch-lax-whitespace and
6026 replace-regexp-lax-whitespace to
6027 isearch-regexp-lax-whitespace. (Bug#10885)
6029 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6031 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6033 2012-09-09 Alan Mackenzie <acm@muc.de>
6035 * progmodes/cc-engine.el (c-state-cache-init):
6036 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6037 (c-record-parse-state-state):
6038 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6040 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6042 * register.el (register-separator): Rename from
6043 separator-register. All uses changed. Doc fix.
6044 (register): Fix version.
6046 2012-09-09 Chong Yidong <cyd@gnu.org>
6048 * replace.el (query-replace-map): Bind four new symbols for
6049 requesting window scrolling.
6051 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6052 query-replace-map (Bug#8948).
6054 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6056 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6057 since they are now in query-replace-map.
6059 * window.el (scroll-other-window-down): Make the arg optional.
6061 2012-09-09 Chong Yidong <cyd@gnu.org>
6063 * files.el (hack-local-variables-confirm): Use quit-window to kill
6064 the *Local Variables* buffer.
6066 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6068 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6069 not just expect to be at its beginning. Adjust callees.
6070 Succeed when do-end block has no space before the pipe character.
6071 (ruby-brace-to-do-end): When the original block is one-liner,
6072 convert to multiline. Reindent the result.
6074 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6076 * register.el (register): New group.
6077 (separator-register): New user option.
6078 (increment-register): Route it to `append-to-register', if
6079 register contains text. Implication is that `C-x r +' can now be
6080 used for appending to a text register (bug#12217).
6081 (append-to-register, prepend-to-register): Add separator based on
6082 `separator-register'.
6084 2012-09-08 Alan Mackenzie <acm@muc.de>
6086 AWK Mode: make auto-newline work when there's "==" in the pattern.
6087 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6089 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6090 Test more rigorously for "=" token.
6092 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6094 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6095 Only fail when reached LIMIT.
6097 2012-09-08 Chong Yidong <cyd@gnu.org>
6099 * dired.el (dired-mode-map): Don't bind M-=.
6101 * dired-aux.el (dired-diff): Use backup file as default.
6103 2012-09-08 Drew Adams <drew.adams@oracle.com>
6105 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6107 2012-09-08 Chong Yidong <cyd@gnu.org>
6109 * subr.el (syntax-after, syntax-class): Doc fix.
6111 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6113 * window.el (display-buffer-in-previous-window): New buffer
6114 display action function.
6116 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6117 (debugger-previous-window): New variable.
6118 (debug): Rewrite using display-buffer-in-previous-window,
6119 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6121 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6123 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6125 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6127 * progmodes/python.el (python-shell-send-string):
6128 When default-directory is remote, create temp file on remote
6130 (python-shell-send-file): When file is remote, pass local view of
6131 file paths to remote Python interpreter. (Bug#12340)
6133 2012-09-07 Chong Yidong <cyd@gnu.org>
6135 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6137 * files.el (after-find-file): Don't fail on a read-only buffer if
6138 require-final-newline is `visit' or `visit-save' (Bug#11156).
6140 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6142 * userlock.el (ask-user-about-supersession-threat):
6143 Use read-char-choice (Bug#12093).
6145 2012-09-07 Chong Yidong <cyd@gnu.org>
6147 * subr.el (buffer-narrowed-p): New function.
6149 * ses.el (ses-widen):
6150 * simple.el (count-words--buffer-message):
6151 * net/browse-url.el (browse-url-of-buffer): Use it.
6153 * simple.el (count-words-region): Don't signal an error if there
6154 is a non-nil prefix arg and the mark is not set.
6156 * help.el (describe-key-briefly): Allow the message to be seen
6157 when invoked from the minibuffer (Bug#7014).
6159 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6161 * progmodes/ruby-mode.el (ruby-end-of-defun)
6162 (ruby-beginning-of-defun): Simplify, allow indentation before
6163 block beginning and end keywords.
6164 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6165 (ruby-end-of-defun): Expect that the point is at the beginning of
6168 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6170 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6172 (cl--make-usage-args): Strip _ from argument names.
6174 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6176 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6177 obsolete alias speedbar-key-map.
6178 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6179 (vhdl-index-menu-init): Don't use obsolete variable
6180 font-lock-maximum-size.
6182 2012-09-06 Chong Yidong <cyd@gnu.org>
6184 * frame.el (window-system-version): Mark as obsolete.
6186 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6187 of obsolete variable speedbar-key-map.
6189 2012-09-06 Juri Linkov <juri@jurta.org>
6191 * replace.el (replace-lax-whitespace): New defcustom.
6192 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6193 (replace-string, replace-regexp): Mention it in docstrings.
6194 (perform-replace, replace-highlight): Let-bind
6195 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6196 to the values of replace-lax-whitespace and regexp-flag.
6197 Don't let-bind search-whitespace-regexp. (Bug#10885)
6199 * isearch.el (isearch-query-replace): Let-bind
6200 replace-lax-whitespace instead of let-binding
6201 replace-search-function and replace-re-search-function.
6202 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6203 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6204 (isearch-toggle-symbol): Set isearch-regexp to nil
6205 in isearch-word mode (like in isearch-toggle-word).
6207 2012-09-06 Juri Linkov <juri@jurta.org>
6209 * replace.el (replace-search-function)
6210 (replace-re-search-function): Set default values to nil.
6211 (perform-replace): Let-bind isearch-related variables based on
6212 replace-related values, call `isearch-search-fun' and let-bind
6213 the result to `search-function'. Remove code that sets
6214 `search-function' and `search-string' separately for
6216 (replace-highlight): Add new argument `delimited-flag' and
6217 rename other arguments to the names used in `perform-replace'.
6218 Let-bind `isearch-word' to the argument `delimited-flag'.
6219 (Bug#10885, bug#10887)
6221 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6223 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6224 ruby-beginning-of-indent, simplify, allow all keywords to have
6225 indentation before them.
6226 (ruby-beginning-of-indent): Adjust for above. Search until the
6227 found point is not inside a string or comment.
6228 (ruby-font-lock-keywords): Allow symbols to start with "@"
6229 character, give them higher priority than variables.
6230 (ruby-syntax-propertize-function)
6231 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6232 matchers. Expression expansions are not comments when inside a
6233 string, and there comment syntax status is irrelevant.
6234 (ruby-match-expression-expansion): New function. Check that
6235 expression expansion is inside a string, and it's not escaped.
6236 (ruby-font-lock-keywords): Use it.
6238 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6240 * help.el (temp-buffer-max-height): New default value.
6241 (temp-buffer-resize-frames): New option.
6242 (resize-temp-buffer-window): Optionally resize frame.
6244 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6245 (fit-frame-to-buffer): New function.
6247 2012-09-05 Glenn Morris <rgm@gnu.org>
6249 * emulation/cua-rect.el (cua--init-rectangles):
6250 * textmodes/picture.el (picture-mode-map):
6251 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6252 like forward-char and backward-char. (Bug#12317)
6254 2012-09-05 Leo Liu <sdl.web@gmail.com>
6256 * progmodes/flymake.el (flymake-warning-re): New variable.
6257 (flymake-parse-line): Use it.
6259 2012-09-05 Glenn Morris <rgm@gnu.org>
6261 * calendar/holidays.el (holiday-christian-holidays):
6262 Rename an entry. (Bug#12289)
6264 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6266 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6269 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6271 * loadup.el: Load macroexp. Remove hack.
6272 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6273 (macroexp--expand-all): Use it to get better warnings.
6274 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6275 (internal-macroexpand-for-load): New functions.
6276 (macroexp--pending-eager-loads): New var.
6277 (emacs-startup-hook): New hack to replace one in loadup.el.
6278 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6279 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6280 (cl-psetf): Simplify.
6281 (cl-defstruct): Add indent rule.
6283 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6285 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6286 over `user-mail-address' for the SMTP MAIL FROM envelope.
6287 (smtpmail-via-smtp): Ditto.
6289 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6291 * progmodes/ruby-mode.el: Clean up keybindings.
6292 (ruby-mode-map): Don't bind ruby-electric-brace,
6293 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6294 backward-kill-word, reindent-then-newline-and-indent.
6295 (ruby-mark-defun): Remove.
6296 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6297 (ruby-mode): Set local beginning-of-defun-function and
6298 end-of-defun-function values.
6300 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6302 * window.el (temp-buffer-window-setup-hook)
6303 (temp-buffer-window-show-hook): New hooks.
6304 (temp-buffer-window-setup, temp-buffer-window-show)
6305 (with-temp-buffer-window): New functions.
6306 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6307 (special-display-popup-frame): Make sure the window used shows BUFFER.
6309 * help.el (temp-buffer-resize-mode): Fix doc-string.
6310 (resize-temp-buffer-window): New optional argument WINDOW.
6312 * files.el (recover-file, save-buffers-kill-emacs):
6313 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6315 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6317 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6318 remote definition of `default-directory', ensure we can connect.
6320 2012-09-02 Juri Linkov <juri@jurta.org>
6322 Toggle whitespace matching mode with M-s SPC.
6323 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6325 * isearch.el (search-whitespace-regexp): Doc fix.
6326 Remove cons cell customization.
6327 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6328 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6330 (isearch-forward, isearch-forward-regexp): Doc fix.
6331 (isearch-toggle-lax-whitespace): New command.
6332 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6333 (re-search-forward-lax-whitespace)
6334 (re-search-backward-lax-whitespace): New functions.
6335 (isearch-whitespace-regexp): Remove function.
6336 (isearch-query-replace): Let-bind replace-search-function and
6337 replace-re-search-function.
6338 (isearch-occur): Let-bind search-spaces-regexp according to the
6339 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6340 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6341 condition for C-q SPC.
6342 (isearch-search-fun-default): Use new functions mentioned above.
6343 (isearch-search-forward, isearch-search-backward): Remove functions.
6344 (isearch-search): Don't let-bind search-spaces-regexp.
6345 (isearch-lazy-highlight-space-regexp): Remove variable.
6346 (isearch-lazy-highlight-lax-whitespace)
6347 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6348 (isearch-lazy-highlight-new-loop): Use them.
6349 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6351 2012-09-02 Chong Yidong <cyd@gnu.org>
6353 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6355 2012-09-02 Glenn Morris <rgm@gnu.org>
6357 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6359 2012-09-01 Glenn Morris <rgm@gnu.org>
6361 * term.el: Tidy up menu definitions.
6362 (term-mode-map): Use easymenu for In/Out, Complete menus.
6363 (term-pager-break-map): Initialize in the defvar.
6364 (term-terminal-menu, term-signals-menu): Define with easymenu.
6365 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6366 (term-pager-menu): New, extracted from term-process-pager.
6367 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6368 (term-update-mode-line): Propertize line/char and page items.
6369 (term-process-pager): Move keymap initialization elsewhere.
6371 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6373 * window.el (switch-to-prev-buffer): Handle additional values of
6374 BURY-OR-KILL argument. Don't switch in minibuffer window.
6375 (switch-to-next-buffer): Don't switch in minibuffer window.
6376 (quit-restore-window): New function based on quit-window.
6377 Handle additional values of former KILL argument.
6378 (quit-window): Call quit-restore-window with appropriate
6379 interpretation of KILL argument.
6380 (display-buffer-below-selected): New buffer display action
6383 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6385 * minibuffer.el (completion-at-point-functions): Complete docstring
6388 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6390 Better seed support for (random).
6391 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6392 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6393 * play/mpuz.el, play/tetris.el, play/zone.el:
6394 * calc/calc-comb.el (math-init-random-base):
6395 * play/blackbox.el (bb-init-board):
6396 * play/life.el (life):
6397 * server.el (server-use-tcp):
6398 * type-break.el (type-break):
6399 Remove unnecessary call to (random t).
6400 * net/sasl.el (sasl-unique-id-function):
6401 Change (random t) to (random), now that the latter is more random.
6402 * play/life.el (life-initialized): Remove no-longer-needed var.
6404 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6406 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6407 Consider frame's buffer predicate when choosing the buffer.
6410 2012-08-30 Richard Stallman <rms@gnu.org>
6412 * simple.el (special-mode-map): Delete binding for `z'.
6414 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6416 * progmodes/compile.el (compilation-always-kill): Doc fix.
6418 2012-08-30 Chong Yidong <cyd@gnu.org>
6420 * window.el (display-buffer-reuse-frames): Make the obsolescence
6421 message more informative.
6423 2012-08-30 Glenn Morris <rgm@gnu.org>
6425 * paren.el (show-paren-delay):
6426 Add a :set function. Doc fix. (Bug#12297)
6428 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6430 * progmodes/compile.el (compilation-always-kill): New var.
6431 (compilation-start): Use it.
6433 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6435 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6436 * files.el (read-only-mode): Move to simple.el.
6438 * files.el (read-only-mode): New minor mode.
6439 (toggle-read-only): Use it and mark obsolete.
6440 (find-file--read-only):
6441 * vc/vc.el (vc-next-action, vc-checkout):
6442 * vc/vc-cvs.el (vc-cvs-checkout):
6443 * obsolete/vc-mcvs.el (vc-mcvs-update):
6444 * ffap.el (ffap--toggle-read-only): Update callers.
6446 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6448 * eshell/esh-ext.el (eshell-external-command): Do not examine
6449 remote shell scripts.
6450 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6452 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6455 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6457 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6459 2012-08-28 Leo Liu <sdl.web@gmail.com>
6461 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6462 completion-at-point. (Bug#12220)
6464 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6466 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6468 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6470 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6471 be buffer-local; add delete-trailing-whitespace (bug#12259).
6473 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6475 * progmodes/hideif.el (hif-compress-define-list):
6476 Fix typo. (Bug#11951)
6478 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6480 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6481 buffer local setting.
6483 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6484 rcirc-encode-coding-system.
6486 2012-08-28 Leo Liu <sdl.web@gmail.com>
6488 * net/rcirc.el (rcirc-split-message): New function.
6489 (rcirc-send-message): Use it. (Bug#12051)
6491 2012-08-28 Juri Linkov <juri@jurta.org>
6493 * info.el (Info-fontify-node): Hide empty lines at the end of
6494 the node. (Bug#12272)
6496 2012-08-27 Drew Adams <drew.adams@oracle.com>
6498 * dired.el (dired-pop-to-buffer): Make window start at beginning
6499 of buffer (Bug#12281).
6501 2012-08-26 Chong Yidong <cyd@gnu.org>
6503 * window.el (special-display-regexps, special-display-frame-alist)
6504 (special-display-buffer-names, special-display-function)
6505 (display-buffer-reuse-frames): Mark as obsolete.
6507 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6509 * help.el (help-print-return-message): Don't treat
6510 display-buffer-reuse-frames specially.
6512 2012-08-26 Chong Yidong <cyd@gnu.org>
6514 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6515 New variable, replacing gdb-frame-parameters.
6516 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6517 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6518 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6519 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6520 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6521 the functions directly with gdb-display-buffer-other-frame-action.
6522 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6523 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6524 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6525 (gdb-display-registers-buffer): Define directly.
6526 (def-gdb-display-buffer): Macro deleted.
6527 (gdb-display-buffer): Remove second and third args, callers don't
6528 use them. Defer to the default display-buffer behavior, apart
6529 from making windows dedicated.
6530 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6532 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6534 * window.el (display-buffer-pop-up-frame): Handle a
6535 pop-up-frame-parameters alist entry.
6536 (display-buffer): Document it.
6538 2012-08-26 Chong Yidong <cyd@gnu.org>
6540 * isearch.el (search-whitespace-regexp): Make string and nil
6541 values apply to both ordinary and regexp search. Allow a cons
6542 cell value to distinguish between the two.
6543 (isearch-whitespace-regexp, isearch-search-forward)
6544 (isearch-search-backward): New functions.
6545 (isearch-occur, isearch-search-fun-default, isearch-search)
6546 (isearch-lazy-highlight-new-loop): Use them.
6547 (isearch-forward, isearch-forward-regexp): Doc fix.
6549 2012-08-26 Chong Yidong <cyd@gnu.org>
6551 * faces.el (help-argument-name): Always inherit from italic
6554 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6556 * window.el (window--even-window-heights): Even heights when
6557 WINDOW and the selected window form a vertical combination.
6558 (display-buffer-use-some-window): Provide that window used gets
6559 sized back by quit-window. (Bug#11880) and (Bug#12091)
6561 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6563 Fix file time stamp problem with bzr and CVS (Bug#12001).
6564 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6565 in the file's time stamp, since the version control system loses
6568 2012-08-22 Juri Linkov <juri@jurta.org>
6570 * info.el (Info-fontify-node): Hide the suffix of the
6571 Info file name in the header line. (Bug#12187)
6573 2012-08-22 Glenn Morris <rgm@gnu.org>
6575 * calendar/cal-tex.el (cal-tex-weekly-common):
6576 Restore leading blank page.
6578 2012-08-22 Le Wang <l26wang@gmail.com>
6580 * misc.el (forward-to-word, backward-to-word): Activate or extend
6581 the region under `shift-select-mode'. (Bug#12231)
6583 2012-08-22 Bastien Guerry <bzg@gnu.org>
6585 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6586 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6587 gives details on why the space is never needed.
6589 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6591 * window.el (walk-window-tree, window-with-parameter):
6592 New optional argument MINIBUF to control whether these functions
6593 should run on the minibuffer window.
6594 (window-at-side-list): Don't operate on minibuffer window.
6595 (window-in-direction): Simplify and rewrite doc-string.
6596 (window--size-ignore): Rename to window--size-ignore-p.
6598 (display-buffer-in-atom-window, window--major-non-side-window)
6599 (window--major-side-window, display-buffer-in-major-side-window)
6600 (delete-side-window, display-buffer-in-side-window):
6602 (window--side-check, window-deletable-p, delete-window)
6603 (delete-other-windows, split-window): Handle side windows and
6604 atomic windows appropriately.
6605 (window--display-buffer): Call display-buffer-record-window also
6606 when the window buffer did not change.
6608 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6610 * help-fns.el (help-fns--key-bindings):
6611 Abbreviate non-symbol remap targets. (Bug#12174)
6613 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6615 * dired.el (dired-mark-remembered): Don't clobber point.
6618 2012-08-22 Glenn Morris <rgm@gnu.org>
6620 * progmodes/bug-reference.el (bug-reference): New custom group.
6621 (bug-reference-bug-regexp): Make it a defcustom.
6623 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6625 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6626 (js-paren-indent-offset, js-square-indent-offset)
6627 (js-curly-indent-offset): Add :safe (Bug#12257).
6629 2012-08-22 Edward O'Connor <hober0@gmail.com>
6631 * json.el (json-key-format): Add error properties.
6632 (json-encode-key): New function.
6633 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6634 Use json-encode-key.
6636 2012-08-22 Glenn Morris <rgm@gnu.org>
6638 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6639 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6640 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6641 Update for above change.
6643 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6645 * cus-face.el (custom-face-attributes): Fix customize type for the
6646 :underline attribute. (Bug#11805)
6648 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6650 * window.el (window-point-1, set-window-point-1): Remove.
6651 (window-in-direction, record-window-buffer)
6652 (set-window-buffer-start-and-point, split-window-below)
6653 (window--state-get-1, display-buffer-record-window):
6654 Replace calls to window-point-1 and set-window-point-1 by calls to
6655 window-point and set-window-point respectively.
6657 2012-08-21 Glenn Morris <rgm@gnu.org>
6659 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6660 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6663 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6664 (cal-tex-shortday): New function.
6665 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6666 (cal-tex-cursor-filofax-daily): Use the above.
6668 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6670 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6671 (cal-tex-cursor-filofax-week): Use them.
6673 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6675 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6676 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6678 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6679 (cal-tex-end-document): Don't rely on buffer name.
6681 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6683 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6684 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6685 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6688 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6689 (cal-tex-cursor-week, cal-tex-cursor-week2)
6690 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6691 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6692 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6693 (cal-tex-insert-preamble, cal-tex-b-document)
6694 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6695 Improve cal-tex-cmd usage.
6697 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6698 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6699 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6700 (cal-tex-weekly-paper): New function.
6701 (cal-tex-cursor-week, cal-tex-cursor-week2)
6702 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6703 (cal-tex-cursor-day): Use it.
6705 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6706 (cal-tex-cursor-filofax-week): Remove leading blank page.
6708 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6709 Add autoload cookie. For now at least, don't use color, since
6710 no other cal-tex function does.
6712 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6713 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6714 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6716 2012-08-21 Juri Linkov <juri@jurta.org>
6718 * info.el (Info-file-attributes): New variable.
6719 (info-insert-file-contents): Add file attributes to
6720 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6721 `Info-toc-nodes' when previous modtime of the Info file is less
6723 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6724 of info.el. (Bug#12230)
6726 2012-08-20 Glenn Morris <rgm@gnu.org>
6728 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6729 * calendar/holidays.el (calendar-holiday-list):
6730 Report errors with display-warning rather than beep'n'sleep.
6732 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6734 * net/tramp.el (tramp-accept-process-output): Accept only output
6735 from PROC. Otherwise, process filters and sentinels might be
6736 confused. (Bug#12145)
6738 2012-08-20 Chong Yidong <cyd@gnu.org>
6740 * descr-text.el (describe-text-properties-1): Use overlays-in to
6741 report on empty overlays (Bug#3322).
6743 2012-08-20 Glenn Morris <rgm@gnu.org>
6745 * mail/rmailout.el (rmail-output-read-file-name):
6746 Trap and report errors in rmail-output-file-alist elements.
6748 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6749 since most non-font-lock faces are not also variables).
6751 2012-08-20 Edward Reingold <reingold@iit.edu>
6753 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6754 New function. (Bug12160)
6756 2012-08-19 Glenn Morris <rgm@gnu.org>
6758 * mail/rmailout.el (rmail-output-read-file-name):
6759 Fix previous change (when the alist is nil or does not match).
6761 2012-08-19 Chong Yidong <cyd@gnu.org>
6763 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6766 2012-08-18 Chong Yidong <cyd@gnu.org>
6768 * simple.el (yank-handled-properties): New defcustom.
6769 (yank-excluded-properties): Add font-lock-face and category.
6772 * subr.el (remove-yank-excluded-properties):
6773 Obey yank-handled-properties. The special handling of font-lock-face
6774 and category is now done this way, instead of being hard-coded.
6775 (insert-for-yank-1): Remove font-lock-face handling.
6776 (yank-handle-font-lock-face-property)
6777 (yank-handle-category-property): New function.
6779 2012-08-17 Glenn Morris <rgm@gnu.org>
6781 * mail/rmailout.el (rmail-output-read-file-name):
6782 Check rmail-output-file-alist against the full message body
6783 in the correct rmail buffer. (Bug#12214)
6785 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6787 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6788 Eliminate superfluous prompt. (Bug#12203)
6790 2012-08-17 Chong Yidong <cyd@gnu.org>
6792 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6793 font spec, set the font directly (Bug#3228).
6795 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6797 * window.el (delete-window): Fix last fix.
6799 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6801 * window.el (window-valid-p): Move to window.c.
6802 (window-child, window-child-count, window-last-child)
6803 (window-normalize-window, window-combined-p)
6804 (window-combinations, window-atom-root, window-min-size)
6805 (window-sizable, window-sizable-p, window-size-fixed-p)
6806 (window-min-delta, window-max-delta, window--resizable)
6807 (window--resizable-p, window-resizable, window-total-size)
6808 (window-full-height-p, window-full-width-p, window-body-size)
6809 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6810 (minimize-window, window-deletable-p, delete-window)
6811 (delete-other-windows, set-window-buffer-start-and-point)
6812 (next-buffer, previous-buffer, split-window, balance-windows-2)
6813 (set-window-text-height, window-buffer-height)
6814 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6815 (truncated-partial-width-window-p): Minor code adjustments.
6816 In doc-strings state whether the argument window has to denote a
6817 live, valid or any window.
6819 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6821 * progmodes/subword.el (subword-forward-function)
6822 (subword-backward-function, subword-forward-regexp)
6823 (subword-backward-regexp): New variables.
6824 (subword-forward, subword-forward-internal, subword-backward-internal):
6825 Use new variables, eg so that different "word" definitions
6826 can be easily used. (Bug#11411)
6828 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6830 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6831 for composite selectors.
6832 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6833 operation just because we can't find a previous revision.
6835 2012-08-15 Chong Yidong <cyd@gnu.org>
6837 * frame.el (set-frame-font): Accept font objects.
6839 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6841 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6843 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6845 * man.el (Man-overstrike-face, Man-underline-face)
6846 (Man-reverse-face): Remove variables.
6847 (Man-overstrike, Man-underline, Man-reverse): New faces.
6848 (Man-fontify-manpage): Use them instead of the variables.
6849 (Man-cleanup-manpage): Comment change.
6850 (Man-ansi-color-map): New variable.
6851 (Man-fontify-manpage): Use it.
6852 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6854 Implement ANSI SGR parameters 22-27 (bug#12146).
6855 * ansi-color.el (ansi-colors): Doc fix.
6856 (ansi-color-context, ansi-color-context-region): Doc fix.
6857 (ansi-color--find-face): New function.
6858 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6859 Rename the local variable `face' to `codes' since it is now a list of
6860 ansi codes. Doc fix.
6861 (ansi-color-get-face): Remove.
6862 (ansi-color-parse-sequence): New function, derived from
6863 ansi-color-get-face.
6864 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6867 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6869 * subr.el (read-passwd): Allow use from a minibuffer.
6871 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6873 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6874 inside comments and strings as identifiers.
6876 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6877 expression to evaluate. This allows to evaluate expressions with
6878 embedded whitespace.
6879 (gud-tooltip-tips): Add a blank before the newline in the
6880 message-box text, for the benefit of message-box emulation on
6883 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6884 messages from GDB, pop them up in a tooltip to give feedback to
6886 (gdb-tooltip-print-1): Quote the expression to evaluate.
6887 This allows to evaluate expressions with embedded whitespace.
6888 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6889 if the TTY name is nil or empty (which happens when communicating
6890 with the inferior via pipes, e.g. on MS-Windows).
6891 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6892 don't send that to the GUD buffer.
6894 2012-08-14 Glenn Morris <rgm@gnu.org>
6896 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6897 Optimize away setq-default with no args, as for setq. (Bug#12195)
6899 2012-08-14 Chong Yidong <cyd@gnu.org>
6901 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6903 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6906 2012-08-14 Glenn Morris <rgm@gnu.org>
6908 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6910 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6912 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6913 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6914 Use cached shell name.
6916 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6918 * progmodes/python.el (python-shell-send-string):
6919 (python-shell-send-setup-code): Do not use `format' with `message'.
6921 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6923 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6924 (ruby-percent-literal-beg-re): New constant.
6925 (ruby-syntax-general-delimiters-goto-beg): Rename to
6926 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6927 (ruby-syntax-propertize-general-delimiters): Rename to
6928 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6929 popular term. Adjust comments everywhere.
6930 (ruby-syntax-propertize-percent-literal): Only propertize when not
6931 inside a simple string or comment. When the literal is unclosed,
6932 leave the text after it unpropertized.
6933 (ruby-syntax-methods-before-regexp): New constant.
6934 (ruby-syntax-propertize-function): Use it to recognize regexps.
6935 Don't look at the text after regexp, just use the whitelist.
6937 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6939 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6940 non-nil always load the compiled file if it exists. (Bug#12197)
6942 2012-08-14 Chong Yidong <cyd@gnu.org>
6944 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6945 (hi-lock-set-pattern): When deciding whether to use font lock or
6946 overlays, look at font-lock-mode instead of font-lock-fontified
6948 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6949 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6951 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6953 * subr.el (internal--after-with-selected-window): Fix typo
6956 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6958 Use `completion-table-dynamic' for completion functions.
6959 * progmodes/python.el
6960 (python-shell-completion--do-completion-at-point)
6961 (python-shell-completion--get-completions):
6963 (python-shell-completion-complete-at-point): New function.
6964 (python-completion-complete-at-point): Use it.
6966 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6968 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6969 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6971 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6973 * subr.el (function-get): Refine `autoload' arg so it can also
6974 autoload functions for gv.el (bug#12191).
6975 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6978 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6979 Prefer pcase-let over destructuring-bind.
6980 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6981 Also, remove whitespace as we go, rather than after accumulating the
6984 * subr.el (internal--before-with-selected-window)
6985 (internal--after-with-selected-window): Fix typo seleted->selected.
6986 (with-selected-window): Adjust callers.
6987 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6989 2012-08-13 Bastien Guerry <bzg@gnu.org>
6991 * window.el (special-display-popup-frame): Minor docstring
6992 enhancement. (Bug#12172)
6994 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6996 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6998 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7001 * files.el (hack-local-variables-filter): Remove useless eval.
7003 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7005 * subr.el (with-selected-window): Fix last change.
7007 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7009 * subr.el (internal--before-with-seleted-window)
7010 (internal--after-with-seleted-window): New functions.
7011 (with-selected-window): Use them, to replace dependency on
7014 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7016 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7017 binding for `newline'.
7018 (ruby-move-to-block): When moving backward, stop at block opening,
7020 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7021 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7022 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7023 `ruby-toggle-block'.
7025 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7027 * ibuffer.el (ibuffer-do-toggle-read-only):
7028 * dired.el (dired-toggle-read-only):
7029 * buff-menu.el (Buffer-menu-toggle-read-only):
7030 * bindings.el (mode-line-toggle-read-only):
7031 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7033 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7035 * descr-text.el (describe-char): Put the overlays over the
7036 "displayed as" character.
7038 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7040 * calc/calc-units.el (math-default-units-table): Give an
7042 (math-put-default-units): Add options to put composite units and
7043 unit systems in the default units table.
7044 (calc-convert-units): Send composite units to
7045 `math-put-default-units' when appropriate.
7047 2012-08-11 Glenn Morris <rgm@gnu.org>
7049 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7051 * tutorial.el (help-with-tutorial):
7052 * emacs-lisp/copyright.el (copyright-update-directory):
7053 * emacs-lisp/autoload.el (autoload-find-generated-file)
7054 (autoload-find-file): Disable local eval: (for insurance).
7056 * files.el (hack-local-variables-filter): If an eval: form is not
7057 known to be safe, and enable-local-variables is :safe, then ignore
7058 the form totally, as is done for non-eval forms. (Bug#12155)
7059 This is CVE-2012-3479.
7061 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7063 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7064 (rx-form): Simplify.
7066 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7068 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7069 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7070 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7071 (ruby-syntax-propertize-function): Adjust for changes in
7072 `ruby-syntax-propertize-heredoc'.
7074 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7076 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7077 binding (use `M-;' instead).
7078 (ruby-singleton-class-p): New function.
7079 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7081 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7083 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7085 2012-08-10 Chong Yidong <cyd@gnu.org>
7087 * progmodes/python.el (python-shell-get-process-name): Don't mess
7088 with same-window-buffer-names.
7090 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7091 (eshell-remove-from-window-buffer-names): Make obsolete.
7092 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7093 (eshell): Just use pop-to-buffer-same-window instead.
7095 2012-08-10 Chong Yidong <cyd@gnu.org>
7097 * bindings.el: Bind M-= back to count-words-region.
7099 * simple.el (count-words-region): Accept a prefix arg for acting
7100 on the entire buffer.
7101 (count-words--buffer-message): New helper function.
7103 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7105 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7106 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7107 (event-start, event-end): Use posn-at-point to return a more
7109 (posnp): New function.
7110 * mouse.el (popup-menu-normalize-position): Use it.
7112 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7114 * mouse.el (popup-menu-normalize-position): New function.
7115 (popup-menu): Use `popup-menu-normalize-position' to normalize
7116 the form for POSITION argument.
7118 * term/x-win.el (x-menu-bar-open):
7119 Use the value returend from (posn-at-point) as position
7120 passed to `popup-menu'.
7122 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7124 * calc/calccomp.el (math-compose-expr): Add extra argument
7125 indicating that parentheses should be put around products in
7126 denominators. Give multiplication precedence over division during
7129 2012-08-09 Chong Yidong <cyd@gnu.org>
7131 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7132 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7133 (Man-untabify-command, manual-program): Convert to defcustom
7136 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7138 * descr-text.el (describe-char): Don't insert extra newlines
7141 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7142 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7144 * align.el (align-region): Delete temporary markers (Bug#10047).
7145 Plus some code cleanups.
7147 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7149 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7150 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7151 (python-shell-internal-last-output): Use make-local-variable
7152 instead of make-variable-buffer-local.
7154 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7156 * progmodes/python.el: Enhancements to forward-sexp.
7157 (python-nav-forward-sexp): Rename from
7158 python-nav-forward-sexp-function.
7159 (python-nav--forward-sexp, python-nav--backward-sexp):
7162 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7164 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7165 modes and simplification modes.
7167 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7169 * delsel.el (delete-selection-pre-hook): Don't propagate the
7170 file-supersession signals (bug#12161).
7172 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7174 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7175 (cl-map-extents): Add compatibility aliases (bug#12135).
7177 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7179 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7180 tests by `ignore-error'.
7181 (tramp-find-shell): Open also a new shell, when cache is already
7182 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7184 2012-08-08 Juri Linkov <juri@jurta.org>
7186 * bookmark.el: Add `defaults' property to the bookmark record.
7187 (bookmark-current-buffer): Doc fix.
7188 (bookmark-make-record): Add `defaults' property with default values
7189 to the bookmark record.
7190 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7191 with `bookmark-insert-current-bookmark'.
7192 (bookmark-set): Get `defaults' property from the bookmark record
7193 and use it in `read-from-minibuffer'.
7194 (bookmark-insert-current-bookmark): Remove function.
7196 * info.el (Info-bookmark-make-record): Add `defaults' property
7197 with values of canonical Info node name, the current Info file
7198 name and the current Info node name. (Bug#12107)
7200 2012-08-08 Juri Linkov <juri@jurta.org>
7202 * files.el (basic-save-buffer): Use `buffer-name' as the default
7203 of `read-file-name' when buffer is not visiting a file (bug#12128).
7205 2012-08-08 Juri Linkov <juri@jurta.org>
7207 * info.el (Info-isearch-search): Doc fix.
7208 (Info-search): Change search-failed message from "initial node" to
7209 "end of node" (bug#12078).
7210 (Info-isearch-search): Change `isearch-string-state' to
7211 `isearch--state-string'.
7213 2012-08-08 Glenn Morris <rgm@gnu.org>
7215 * language/persian.el: Remove file.
7216 * language/misc-lang.el: Move unique part of persian.el here.
7217 * loadup.el: Remove language/persian.
7219 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7221 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7223 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7225 * progmodes/python.el: Fix defsubst warning.
7226 (python-syntax-context) Rename from python-info-ppss-context.
7227 (python-syntax-context-type): Rename from
7228 python-info-ppss-context-type.
7229 (python-syntax-comment-or-string-p): Rename from
7230 python-info-ppss-comment-or-string-p.
7232 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7234 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7236 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7238 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7239 a defcustom that is quoted with backquote.
7241 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7242 Fix handling of interactive spec when the body uses return.
7243 (math-do-arg-check, math-define-function-body): Use backquote forms.
7244 * calc/calc-ext.el (math-defcache): Likewise.
7245 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7246 * allout.el (allout-new-exposure): Likewise.
7247 * calc/calcalg2.el (math-tracing-integral): Likewise.
7248 * info.el (Info-last-menu-item): Likewise.
7249 * emulation/vip.el (vip-loop): Likewise.
7250 * textmodes/artist.el (artist-funcall): Likewise.
7251 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7252 Construct menu-item directly.
7254 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7257 2012-08-07 Chong Yidong <cyd@gnu.org>
7259 * simple.el (deactivate-mark): Preserve text properties when
7260 saving the primary selection (Bug#8384).
7262 2012-08-07 Kevin Ryde <user42@zip.com.au>
7264 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7265 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7266 and continue processing (Bug#12110).
7268 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7270 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7271 syntax-propertize-function (bug#10095).
7273 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7275 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7276 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7277 describe-function-1.
7278 (describe-function-1): Use them. Move compiler macro after sig.
7279 (help-fns--compiler-macro): Use function-get. Assume we're already in
7280 standard-output. Adjust layout to new call order.
7282 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7283 re-binding a symbol that has a symbol-macro (bug#12119).
7285 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7287 * language/persian.el: New file. (Bug#11812)
7288 * loadup.el: Add language/persian.el.
7290 2012-08-06 Chong Yidong <cyd@gnu.org>
7292 * window.el (window--maybe-raise-frame): New function.
7293 (window--display-buffer): Split off from here.
7294 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7295 (display-buffer-pop-up-window, display-buffer-use-some-window):
7296 Obey an inhibit-switch-frame action alist entry.
7297 (display-buffer): Update doc.
7299 * replace.el (occur-after-change-function): Avoid losing focus by
7300 using the inhibit-switch-frame display parameter (Bug#12139).
7302 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7304 Make internal shell process buffer names start with space.
7305 * progmodes/python.el (python-shell-make-comint): Add optional
7307 (run-python-internal): Use it.
7308 (python-shell-internal-get-or-create-process): Check for new
7309 internal buffer names.
7311 2012-08-06 Glenn Morris <rgm@gnu.org>
7313 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7314 Do less getting and setting of environment variables.
7316 2012-08-05 Chong Yidong <cyd@gnu.org>
7318 * proced.el (proced): Add substitution string to docstring to
7319 trigger autoloading of the proced library on C-h f (Bug#1768).
7321 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7322 Don't show defvars which have no second argument (Bug#8638).
7324 * imenu.el (imenu-generic-expression): Move documentation here
7325 from imenu--generic-function.
7326 (imenu--generic-function): Refer to imenu-generic-expression.
7328 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7330 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7331 indentation declaration.
7332 (viper-loop): Add indentation declaration (Bug#7025).
7334 2012-08-05 Chong Yidong <cyd@gnu.org>
7336 * help-fns.el (describe-variable): Add hyperlink for
7337 directory-local variables files. Improve buffer-local and
7338 permanent-local reporting; suggested by MON KEY (Bug#6644).
7340 * help-mode.el (help-dir-local-var-def): New button type.
7342 * files.el (kill-buffer-hook): Provide a defvar.
7344 2012-08-05 Glenn Morris <rgm@gnu.org>
7346 * eshell/esh-ext.el (eshell/addpath):
7347 Also update eshell-path-env. (Bug#12013)
7349 2012-08-05 Chong Yidong <cyd@gnu.org>
7351 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7353 * fringe.el (fringe-styles): Add docstring.
7354 (fringe--check-mode): New function.
7355 (set-fringe-mode, set-fringe-style): Use it.
7356 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7358 * files.el (set-auto-mode): Fix invalid setq call.
7360 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7362 * isearch.el: Misc simplification; use defstruct.
7363 (isearch-mode-map): Dense maps now work like sparse ones.
7364 (isearch--state): New defstruct.
7365 (isearch-string-state, isearch-message-state, isearch-point-state)
7366 (isearch-success-state, isearch-forward-state)
7367 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7368 (isearch-wrapped-state, isearch-barrier-state)
7369 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7370 replaced by defstruct's accessors.
7371 (isearch--set-state): Rename from isearch-top-state and change
7373 (isearch-push-state): Use new isearch--get-state.
7374 (isearch-toggle-word): Disable regexp when enabling word.
7375 (isearch-message-prefix): Remove unused arg _c-q-hack.
7376 (isearch-message-suffix): Remove unused arg _ellipsis.
7378 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7380 * simple.el (list-processes--refresh): For a server use :host or
7381 :local as the address.
7382 (list-processes): Doc fix.
7384 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7386 * lisp/mpc.el: Support password in host argument.
7387 (mpc--proc-connect): Parse and use new password element.
7388 Set mpc-proc variable instead of returning process.
7389 (mpc-proc): Adjust accordingly.
7391 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7393 * whitespace.el (whitespace-display-mappings): Use Unicode
7394 codepoints, instead of emacs-mule codepoints. See
7395 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7398 * files.el (file-truename): Don't skip symlink-chasing part on
7399 windows-nt. Incorporate the resolution of 8+3 short aliases on
7400 Windows into the loop that recursively chases symlinks.
7401 Compare directory and its parent case-insensitively on MS-Windows and
7404 2012-08-03 Chong Yidong <cyd@gnu.org>
7406 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7408 * sort.el (sort-regexp-fields): Doc fix.
7410 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7412 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7413 labels regex position point at the expected place.
7415 2012-08-03 MON KEY <monkey@sandpframing.com>
7417 * net/imap.el (imap-interactive-login, imap-authenticate)
7418 (imap-mailbox-lsub, imap-mailbox-list)
7419 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7420 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7421 (imap-parse-response): Doc fix.
7423 2012-08-03 João Távora <joaotavora@gmail.com>
7425 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7426 if sexp scanning does not move point (Bug#5734).
7428 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7430 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7431 Add listings, minted, and ctable packages.
7432 (reftex-label-alist-builtin): Move listings, minted, and ctable
7433 entries before LaTeX.
7434 (reftex-label-alist): Docfix.
7436 2012-08-02 Bastien Guerry <bzg@gnu.org>
7438 * replace.el (occur): Fix docstring (bug#12122).
7440 2012-08-02 Glenn Morris <rgm@gnu.org>
7442 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7444 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7446 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7447 * international/mule-cmds.el: Create
7448 inactivate-current-input-method-function as an obsolete alias for
7449 deactivate-current-input-method-function. See Katsumi Yamaoka in
7450 <http://bugs.gnu.org/10150#46>.
7452 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7454 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7457 2012-08-01 Glenn Morris <rgm@gnu.org>
7459 * progmodes/autoconf.el (autoconf-definition-regexp):
7460 Add AH_TEMPLATE, adjust submatch numbering.
7461 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7462 (autoconf-current-defun-function): Update for above change.
7463 (autoconf-current-defun-function): First skip to end of current word.
7465 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7467 * calendar/cal-html.el (cal-html-insert-agenda-days):
7468 Fix typo. (Bug#12018)
7470 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7472 Shell processes: enhancements to startup and CEDET compatibility.
7473 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7474 (python-shell-make-comint): accept-process-output at startup.
7475 (run-python-internal): Set inferior-python-mode-hook to nil.
7476 (python-shell-internal-get-or-create-process): call sit-for.
7477 (python-preoutput-result): Add obsolete alias.
7478 (python-shell-internal-send-string): Use it.
7479 (python-shell-send-setup-code): Remove call to
7480 accept-process-output.
7482 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7484 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7487 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7489 * calc-mode.el (calc-basic-simplification-mode): Rename from
7490 `calc-limited-simplification-mode'.
7491 (calc-alg-simplification-mode): New function.
7492 (calc-set-simplify-mode): Adjust message.
7494 * calc.el (calc-set-mode-line): Adjust mode line display for
7495 basic simplification mode.
7497 * calc-help.el (calc-m-prefix-help): Update help message.
7499 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7500 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7502 2012-07-31 Bastien Guerry <bzg@gnu.org>
7504 * man.el (man): Fix comment. (bug#12101)
7506 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7508 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7509 Don't return a non-nil value when no suitable buffer was found.
7511 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7513 * progmodes/python.el (run-python-internal): Disable font lock for
7516 2012-07-30 Stefan Merten <smerten@oekonux.de>
7518 * textmodes/rst.el: Silence `checkdoc-ispell'.
7519 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7520 (rst-official-version, rst-official-cvs-rev)
7521 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7522 (rst-mode-map): New key binding.
7524 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7526 Update .PHONY listings in makefiles.
7527 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7528 autoloads, update-subdirs, updates, bzr-update, update-authors,
7529 compile-onefile, compile-calc, backup-compiled-files,
7530 compile-after-backup, compile-one-process, mh-autoloads,
7531 bootstrap-clean, distclean, maintainer-clean.
7533 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7535 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7536 (calc-set-mode-line): Don't display "AlgSimp ".
7538 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7539 (calc-lim-simplify-mode): New function.
7540 (calc-set-simplify-mode): Default to 'alg.
7541 (calc-default-simplify-mode): Make algebraic simplifications
7544 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7545 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7547 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7548 indicate new simplification modes.
7550 * calc/README: Mention new default simplification mode.
7552 * calc/calc.el (math-normalize-error): New variable.
7553 (math-normalize): Set `math-normalize-error' to t
7554 when there's an error.
7556 * calc/calc-alg.el (math-simplify): Don't simplify when
7557 `math-normalize' returns an error.
7559 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7561 * international/mule-cmds.el (set-locale-environment): Revert last
7562 change, since display-graphic-p returns nil when this function is
7563 called during startup. Instead...
7565 * term/w32console.el (terminal-init-w32console): ...setup the
7566 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7568 2012-07-29 Juri Linkov <juri@jurta.org>
7570 * simple.el (goto-line): Don't display default line number in the
7571 prompt because it should be displayed by `read-number' (bug#9952).
7572 Add the current line number to the defaults of `goto-line' to
7573 allow its easier modification by users with `M-n' (bug#9201).
7575 * subr.el (read-number): Support multiple default values like in
7576 other minibuffer reading functions. Replace `read' with
7577 `string-to-number' for consistency with `number-to-string'.
7579 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7581 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7582 * emulation/viper-init.el (viper-deactivate-input-method-action):
7583 Rename from viper-inactivate-input-method-action.
7584 (viper-deactivate-input-method):
7585 Rename from viper-inactivate-input-method.
7586 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7587 * international/mule-cmds.el (deactivate-input-method):
7588 Rename from inactivate-input-method.
7589 Also run input-method-deactivate-hook.
7590 (deactivate-current-input-method-function):
7591 Rename from inactivate-current-input-method-function.
7592 (input-method-deactivate-hook): New hook.
7593 (input-method-inactivate-hook): Mark obsolete.
7594 (inactivate-input-method): Mark obsolete.
7596 * international/quail.el (quail-activate):
7597 Also run quail-deactivate-hook.
7598 (quail-deactivate): Rename from quail-inactivate.
7599 * international/robin.el (robin-activate):
7600 Also run robin-deactivate-hook.
7601 (robin-deactivate): Rename from robin-inactivate.
7603 2012-07-29 Chong Yidong <cyd@gnu.org>
7605 * simple.el (indicate-copied-region): New function.
7606 (kill-ring-save): Split off from here.
7608 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7609 (kill-rectangle): Set deactivate-mark to t on read-only error.
7611 * register.el (copy-to-register, copy-rectangle-to-register):
7612 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7613 (append-to-register, prepend-to-register): Call indicate-copied-region.
7615 2012-07-29 Juri Linkov <juri@jurta.org>
7617 * simple.el (async-shell-command-buffer): New defcustom.
7618 (shell-command): Use it. (Bug#4719)
7620 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7622 * international/mule-cmds.el (set-locale-environment): In a
7623 console session on MS-Windows, set up keyboard and terminal
7624 encoding from the OEM codepage, not the ANSI codepage.
7627 2012-07-28 Chong Yidong <cyd@gnu.org>
7629 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7632 2012-07-28 Leo Liu <sdl.web@gmail.com>
7634 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7635 the alist (bug#12029).
7637 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7639 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7640 (compile-always, compile-first)
7641 ($(lisp)/calendar/cal-loaddefs.el)
7642 ($(lisp)/calendar/diary-loaddefs.el)
7643 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7644 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7645 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7646 instead of on update-subdirs.
7647 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7649 2012-07-28 Chong Yidong <cyd@gnu.org>
7651 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7652 directory if vc-deduce-backend returns nil (Bug#7350).
7654 * simple.el (delete-trailing-lines): New option.
7655 (delete-trailing-whitespace): Obey it (Bug#11879).
7657 2012-07-28 David Engster <deng@randomsample.de>
7659 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7660 Explanation of new 'symbol-qnames feature in doc-strings.
7661 (xml-maybe-do-ns): Return expanded names as plain symbols if
7662 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7663 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7665 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7667 Consistent completion in inferior python with emacs -nw.
7668 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7669 binding in inferior-python-mode-map with "\t".
7670 (python-shell-completion-complete-at-point)
7671 (python-completion-complete-at-point): Remove interactive spec.
7673 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7675 * calc/calccomp.el (math-compose-expr): Undo previous change.
7677 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7679 * progmodes/python.el (python-mode-map): Add keybinding for
7681 (python-shell-make-comint): Fix pop-to-buffer call.
7682 (run-python): Autoload. New arg SHOW.
7683 (python-shell-get-or-create-process): Do not pop python process
7686 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7688 * notifications.el (notifications-on-action-signal)
7689 (notifications-on-closed-signal): Use also the bus address for the map.
7690 (notifications-notify, notifications-close-notification)
7691 (notifications-get-capabilities): Add optional argument BUS.
7693 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7695 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7696 Add support for the lstlisting and minted environments, and for the
7698 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7699 labels written in keyvals syntax.
7701 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7703 * calc/calccomp.el (math-compose-expr): Use parentheses when
7704 there is a product in the denominator of a fraction.
7706 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7708 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7709 ($(lisp)/calendar/diary-loaddefs.el)
7710 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7711 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7712 Fixes failures in parallel bootstrap because subdirs.el is being
7713 rewritten while the autoload files are built at the same time,
7714 which needs to load subdirs.el.
7716 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7718 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7719 (mouse-drag-line): Don't exit tracking when a switch-frame or
7720 switch-window event occurs (Bug#12006).
7722 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7724 * mouse.el (popup-menu): Fix last change.
7726 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7728 Autoload from Lisp with more care. Follow aliases when looking for
7729 function properties.
7730 * subr.el (autoloadp): New function.
7731 (symbol-file): Use it.
7732 (function-get): New function.
7733 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7735 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7736 (lisp-indent-function):
7737 * emacs-lisp/gv.el (gv-get):
7738 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7739 * emacs-lisp/byte-opt.el (byte-optimize-form):
7740 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7741 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7743 * emacs-lisp/cl.el: Don't propagate function properties any more.
7745 * speedbar.el (speedbar-add-localized-speedbar-support):
7746 * emacs-lisp/disass.el (disassemble-internal):
7747 * desktop.el (desktop-load-file):
7748 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7749 (describe-function-1):
7750 * emacs-lisp/find-func.el (find-function-noselect):
7751 * emacs-lisp/elp.el (elp-instrument-function):
7752 * emacs-lisp/advice.el (ad-has-proper-definition):
7753 * apropos.el (apropos-safe-documentation, apropos-macrop):
7754 * emacs-lisp/debug.el (debug-on-entry):
7755 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7756 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7757 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7759 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7761 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7762 function, not an obsolete variable (Bug#12046).
7764 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7766 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7768 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7770 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7771 window only if it is still live (Bug#12034).
7773 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7775 * subr.el (redirect-frame-focus): Add advertised calling
7776 convention (Bug#12030).
7778 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7780 Prefer typical American spelling for "acknowledgment".
7781 * vc/add-log.el (change-log-acknowledgment): Rename from
7782 change-log-acknowledgement, with an alias for the old name.
7784 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7786 * calc-alg.el (math-simplify-divide): Don't cross multiply
7787 in an equation when the lhs is a variable.
7789 2012-07-24 Julien Danjou <julien@danjou.info>
7791 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7794 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7796 * startup.el (command-line): Don't display an empty user name in
7797 the error message about non-existent home directory, when
7798 init-file-user was set to an empty string. See
7799 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7800 for the details and context.
7802 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7804 * ses.el (ses-cell-formula-aset): New macro.
7805 (ses-cell-references-aset): New macro.
7806 (ses-cell-p): New function.
7807 (ses-rename-cell): Do no longer rely on complex operations like
7808 ses-cell-set-formula or ses-set-cell to change the cell and handle
7809 the undo at the same time, but rather use lower level new macros
7810 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7811 the undo directly. Refresh the mode line.
7813 2012-07-21 Leo Liu <sdl.web@gmail.com>
7815 * progmodes/cc-cmds.el (c-defun-name):
7816 Use match-string-no-properties instead for consistency.
7818 2012-07-20 Leo Liu <sdl.web@gmail.com>
7820 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7823 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7825 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7827 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7828 * progmodes/bug-reference.el, misearch.el: Provide themselves
7831 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7832 of narrowed buffer (bug#11966).
7834 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7836 * ses.el (ses-rename-cell): Set new name also in reference list of
7837 cells of which the renamed cell depends.
7839 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7841 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7842 to check whether menu-bar is shown or not. If not shown,
7843 show the menu-bar as a popup menu instead of using tmm.
7844 * mouse.el (popup-menu): Accept `point' as `position' argument.
7846 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7848 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7849 up inside string symbol literal (bug#11923).
7851 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7853 * startup.el (fancy-startup-text): Read the whole tutorial, not
7854 just its first 256 bytes. Prevents gibberish in display of the
7857 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7859 Drop idle buffer compaction due to an absence of the
7861 * compact.el: Remove.
7863 2012-07-19 Sam Steingold <sds@gnu.org>
7865 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7866 vc-bzr-pull & vc-bzr-merge-branch.
7867 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7868 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7869 for consistency with compilation-error-regexp-alist.
7870 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7871 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7872 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7873 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7875 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7877 * emacs-lisp/chart.el: Use lexical-binding.
7878 (chart-emacs-storage): Don't hardcode the list of entries.
7880 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7882 Next round of tweaks caused by Fgarbage_collect changes.
7883 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7885 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7887 Compact buffers when idle.
7888 * compact.el: New file.
7890 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7892 * subr.el (eventp): Presume that if it looks vaguely like an event,
7893 it's an event (bug#10190).
7895 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7897 Enhancements to ppss related code (thanks Stefan).
7898 * progmodes/python.el (python-indent-context)
7899 (python-indent-calculate-indentation, python-indent-dedent-line)
7900 (python-indent-electric-colon, python-nav-forward-block)
7901 (python-mode-abbrev-table)
7902 (python-info-assignment-continuation-line-p): Simplify checks
7904 (python-info-continuation-line-p): Cleanup.
7905 (python-info-ppss-context): Do not catch 'quote.
7906 (python-info-ppss-context-type)
7907 (python-info-ppss-comment-or-string-p): Simplify.
7909 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7911 * progmodes/python.el: Enhancements to eldoc support.
7912 (python-info-current-symbol): New function.
7913 (python-eldoc-at-point): Use python-info-current-symbol.
7914 (python-info-current-defun): Fix cornercase on first defun scan.
7915 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7916 and signal error when no inferior python process is available.
7918 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7920 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7921 assume it's always t.
7922 (vc-git-registered): Remove caching, the function is only called
7924 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7926 2012-07-18 Chong Yidong <cyd@gnu.org>
7928 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7930 * simple.el (count-words): Report on narrowing (Bug#9959).
7932 * bindings.el: Bind M-= to count-words.
7934 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7936 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7938 * progmodes/sh-script.el (sh-imenu-generic-expression):
7939 Capture a function with `function' keyword and without parentheses
7940 like "function FOO" (bug#11856).
7942 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7944 * window.el (split-window-sensibly): Make WINDOW argument
7947 2012-07-18 Chong Yidong <cyd@gnu.org>
7949 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7951 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7952 and make C-x 8 RET exit isearch (Bug#11439).
7954 * international/iso-transl.el: Move isearch-mode-map key
7955 definitions to isearch.el.
7957 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7959 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7960 (eieio-defclass): Use gv-define-setter when possible.
7962 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7964 Reflect recent changes in Fgarbage_collect.
7965 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7966 reflect new format of data returned by Fgarbage_collect.
7968 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7970 New utility functions + python-info-ppss-context fix (Bug#11910).
7971 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7972 (python-info-ppss-comment-or-string-p): New functions.
7973 (python-info-ppss-context): Small fix for string check.
7975 2012-07-17 Juri Linkov <juri@jurta.org>
7977 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7978 (dired-do-async-shell-command): Don't add `*' at the end of the
7979 command (Bug#11815).
7980 (dired-do-shell-command): Doc fix.
7981 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7982 Join the individual commands using either "&" or ";" as the
7983 separator depending on the values of these trailing characters.
7984 At the end re-add the trailing "&". (Bug#10598)
7986 * simple.el (async-shell-command): Sync the interactive spec with
7987 `shell-command'. Doc fix.
7988 (shell-command): Doc fix.
7990 2012-07-17 Juri Linkov <juri@jurta.org>
7992 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7994 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7996 Final renames and doc fixes for movement commands (bug#11899).
7997 * progmodes/python.el (python-nav-beginning-of-statement):
7998 Rename from python-nav-statement-start.
7999 (python-nav-end-of-statement): Rename from
8000 python-nav-statement-end.
8001 (python-nav-beginning-of-block): Rename from
8002 python-nav-block-start.
8003 (python-nav-end-of-block): Rename from python-nav-block-end.
8005 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8007 * progmodes/python.el (python-shell-send-string-no-output):
8008 Allow accept-process-output to quit, keeping shell process ready for
8009 future interactions (Bug#11868).
8011 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8013 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8015 * emacs-lisp/elint.el (elint-find-args-in-code):
8016 Use help-function-arglist, so as to handle lexical byte-code.
8018 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8021 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8023 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8024 Avoid spuriously marking the buffer as modified because of c-is-sws.
8026 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8027 as not-a-comment (bug#11946).
8029 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8030 for uninterned vars.
8032 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8033 Use read-event since we don't really want to read chars but bytes.
8035 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8036 $$..$$ but also $..$ using regexps (bug#11953).
8037 Use tex-verbatim for \url and \path.
8038 (tex-font-lock-keywords): Define as defconst like the others.
8039 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8041 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8043 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8044 alias for insert-char.
8046 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8048 * progmodes/python.el: Simplified imenu implementation.
8049 (python-nav-jump-to-defun): Remove command.
8050 (python-mode-map): Use `imenu' instead.
8051 (python-nav-list-defun-positions-cache)
8052 (python-imenu-include-defun-type, python-imenu-make-tree)
8053 (python-imenu-subtree-root-label, python-imenu-index-alist):
8055 (python-nav-list-defun-positions, python-nav-read-defun)
8056 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8057 (python-imenu-make-tree, python-imenu-create-index):
8059 (python-mode): Update to interact with imenu by setting
8060 `imenu-extract-index-name-function' only.
8062 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8064 * progmodes/python.el: Enhancements to navigation commands.
8065 (python-nav-backward-sentence)
8066 (python-nav-forward-sentence): Remove.
8067 (python-nav-backward-statement, python-nav-forward-statement)
8068 (python-nav-statement-start, python-nav-statement-end)
8069 (python-nav-backward-block, python-nav-forward-block)
8070 (python-nav-block-start, python-nav-block-end)
8071 (python-nav-forward-sexp-function)
8072 (python-info-current-line-comment-p)
8073 (python-info-current-line-empty-p): New functions.
8074 (python-indent-context): Use `python-nav-statement-start'.
8076 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8078 * eshell/em-ls.el (eshell/ls): Use `apply'.
8080 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8081 multi-hops, instead of Tramp internals.
8083 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8085 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8086 when F1 and F2 are located on different hosts.
8088 2012-07-14 Chong Yidong <cyd@gnu.org>
8090 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8091 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8092 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8093 (xterm-mouse--read-event-sequence-1000)
8094 (xterm-mouse--read-event-sequence-1006): New functions. For old
8095 mouse protocol, handle M-mouse-X events correctly.
8096 (xterm-mouse-event): New arg specifying mouse protocol.
8097 (turn-on-xterm-mouse-tracking-on-terminal)
8098 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8099 sequence to toggle extended coordinates on newer XTerms.
8100 This appears to be harmless on terminals which do not support this.
8102 2012-07-14 Leo Liu <sdl.web@gmail.com>
8104 Add fringe bitmap indicators for flymake. (Bug#11253)
8105 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8106 (flymake-make-overlay): New arg BITMAP.
8107 (flymake-error-bitmap, flymake-warning-bitmap)
8108 (flymake-fringe-indicator-position): New user variables.
8110 * fringe.el: New bitmap exclamation-mark.
8112 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8114 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8117 2012-07-14 Chong Yidong <cyd@gnu.org>
8119 * electric.el (electric-pair-post-self-insert-function): Fix pair
8120 insertion in empty-region case (Bug#11520).
8122 2012-07-14 Chong Yidong <cyd@gnu.org>
8124 * bindings.el: Consolidate ctl-x-r-map bindings.
8125 Bind copy-rectangle-as-kill to C-x r w.
8127 * rect.el, register.el: Move bindings to bindings.el.
8129 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8131 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8133 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8135 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8137 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8139 * bindings.el (top): Use `mapc' instead of `mapcar'.
8141 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8143 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8145 * progmodes/sql.el (sql-comint): Suppress the check for program on
8146 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8149 2012-07-13 Chong Yidong <cyd@gnu.org>
8151 * bindings.el: Assign a non-nil permanent-local property to
8152 per-buffer variables which lack a default value (Bug#11930).
8154 * help-fns.el (describe-variable): In the "automatically becomes
8155 local" notice, take note of permanent-local variables.
8157 2012-07-13 Chong Yidong <cyd@gnu.org>
8159 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8160 to allow printing the message when called from Lisp.
8162 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8163 Remove toggle-read-only.
8165 * bs.el (bs-toggle-readonly):
8166 * buff-menu.el (Buffer-menu-toggle-read-only):
8167 Remove with-no-warnings around toggle-read-only.
8169 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8170 Remove with-no-warnings around toggle-read-only.
8171 (ffap-read-only, ffap-read-only-other-window)
8172 (ffap-read-only-other-frame): Callers changed.
8174 * help-mode.el: Don't require view package.
8175 (help-mode-finish): Set buffer-read-only instead of calling
8178 * bindings.el (mode-line-toggle-read-only):
8179 * dired.el (dired-toggle-read-only):
8180 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8181 with non-nil second arg.
8183 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8184 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8187 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8189 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8192 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8194 More CL cleanups and reduction of use of cl.el.
8195 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8196 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8197 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8198 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8199 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8200 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8201 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8202 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8203 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8204 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8205 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8206 * eshell/em-cmpl.el, eshell/em-banner.el:
8207 * calendar/parse-time.el: Use cl-lib.
8208 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8209 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8210 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8211 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8212 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8213 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8214 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8215 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8216 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8217 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8218 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8219 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8220 `lambda' rather than with `quote'.
8221 (eshell-do-opt): Adjust accordingly.
8222 (eshell-process-option): Simplify.
8223 * eshell/esh-var.el:
8224 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8225 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8226 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8227 to `pcase--dontcare'.
8228 * emacs-lisp/cl.el (labels): Mark obsolete.
8229 (cl--letf, letf): Move to cl-lib.
8230 (cl--letf*, letf*): Remove.
8231 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8232 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8233 (cl-progv): Rewrite.
8234 (cl--letf, cl-letf): Move from cl.el.
8235 (cl-letf*): New macro.
8236 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8238 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8240 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8242 2012-07-11 Chong Yidong <cyd@gnu.org>
8244 * vc/log-edit.el (log-edit-vc-backend): New variable.
8245 (log-edit): Doc fix.
8247 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8248 argument of log-edit to set up all local variables.
8249 (vc-start-logentry): New optional arg specifying VC backend.
8251 * vc/vc.el (vc-checkin): Use it.
8252 (vc-deduce-fileset): Handle Log Edit buffers.
8253 (vc-diff): Make first argument optional too.
8255 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8257 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8259 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8260 command, just in case. The function is not needed anymore.
8261 (eshell-external-command): Do not call `eshell-remote-command'.
8263 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8265 Reduce use of (require 'cl).
8266 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8267 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8268 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8269 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8270 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8271 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8272 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8273 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8274 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8275 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8276 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8277 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8278 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8279 (byte-compile-unfold-bcf, byte-compile-check-variable):
8280 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8281 (byte-compile-nilconstp):
8282 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8283 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8285 * emacs-lisp/gv.el (cond): Make it a valid place.
8286 (if): Simplify slightly.
8288 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8289 (pcase--self-quoting-p): New function.
8290 (pcase--u1): Use it.
8292 2012-07-10 Glenn Morris <rgm@gnu.org>
8294 * emacs-lisp/authors.el (authors-fixed-entries):
8295 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8297 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8299 Rename configure.in to configure.ac (Bug#11603).
8300 * emacs-lisp/authors.el (authors-canonical-file-name):
8301 * progmodes/autoconf.el (autoconf-mode):
8302 Prefer configure.ac to configure.in.
8304 2012-07-08 Chong Yidong <cyd@gnu.org>
8306 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8307 Implement the mouse-1-click-follows-link handling properly.
8309 * info.el (Info-link-keymap): Use follow-link mechanism for
8310 header-line links (Bug#374).
8312 * simple.el (deactivate-mark): Do not set the primary selection
8313 if another program has acquired it (Bug#11772).
8315 2012-07-07 Kevin Ryde <user42@zip.com.au>
8317 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8318 (woman-decode-region): Replace escaped-escapes without destroying
8319 bold or underline (Bug#11552).
8320 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8322 2012-07-07 Chong Yidong <cyd@gnu.org>
8324 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8325 (interprogram-cut-function, interprogram-paste-function):
8326 Mention that we typically mean the clipboard.
8328 2012-07-06 Glenn Morris <rgm@gnu.org>
8330 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8332 * files.el (toggle-read-only): Restrict message to interactive use.
8334 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8336 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8338 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8340 2012-07-06 Glenn Morris <rgm@gnu.org>
8342 * Makefile.in (compile-one-process): Rename from "recompile".
8344 * Makefile.in (bzr-update): "compile" is the same as "recompile
8345 autoloads", but parallelizable, so use that instead.
8347 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8349 * window.el (quit-window): Always restore window height when
8350 it's saved in quit-restore parameter (Bug#11810).
8352 2012-07-06 Glenn Morris <rgm@gnu.org>
8354 * simple.el (kill-whole-line): Doc tweak.
8356 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8358 * files.el (file-relative-name): Compare file names
8359 case-insensitively if on MS-Windows or MS-DOS, or if
8360 read-file-name-completion-ignore-case is non-nil. Don't use
8361 case-fold-search for this purpose. (Bug#11827)
8363 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8365 * calendar/cal-dst.el (calendar-current-time-zone):
8366 Return calendar-current-time-zone-cache if non-nil.
8368 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8369 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8371 * calendar/cal-dst.el (calendar-current-time-zone):
8372 Return calendar-current-time-zone-cache if non-nil.
8374 2012-07-06 Glenn Morris <rgm@gnu.org>
8376 * Makefile.in (cvs-update): Remove old alias.
8378 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8380 Sync with Tramp 2.2.6-pre.
8382 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8383 compatible declaration.
8385 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8386 Protect `list-load-path-shadows' call.
8388 * net/tramp-compat.el (top): Require packages, which aren't
8389 autoloaded anymore for XEmacs. Protect call of
8390 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8391 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8392 it hurts at least for SXEmacs.
8393 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8394 standard-value for `temporary-file-directory'.
8396 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8397 Redirect stderr to /dev/null.
8398 (tramp-sh-handle-write-region): uid and gid can be floats.
8399 Reported by Russell Sim <russell.sim@gmail.com>.
8400 (tramp-sh-handle-vc-registered): Hide errors.
8401 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8402 and `start-file-process'.
8403 (tramp-maybe-open-connection): Check also whether `non-essential'
8406 2012-07-04 Chong Yidong <cyd@gnu.org>
8408 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8409 (xml-parse-tag): Likewise, and avoid changing entity tables.
8410 (xml-syntax-table): Define from scratch, making sure not to give
8411 x2000 and other Unicode spaces whitespace syntax, since those are
8413 (xml-parse-fragment): Delete unused function.
8414 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8415 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8416 (xml-entity-ref, xml-pe-reference-re)
8417 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8418 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8419 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8420 (xml-entity-value-re): Use syntax references in regexps where
8421 possible; no need to define inside a let-binding.
8422 (xml-parse-dtd): Use xml-pe-reference-re.
8423 (xml-entity-or-char-ref-re): New defconst.
8424 (xml-parse-string, xml-substitute-special): Use it.
8426 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8428 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8429 (find-file--read-only): New function.
8430 (find-file-read-only, find-file-read-only-other-window)
8431 (find-file-read-only-other-frame): Use it.
8432 (insert-file-contents-literally): Don't `fset'.
8433 (get-free-disk-space): Use locate-dominating-file.
8435 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8436 function is already compiled.
8438 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8440 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8442 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8443 files on the same host.
8445 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8447 * help-fns.el (describe-function-1): Only call
8448 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8450 2012-07-03 Chong Yidong <cyd@gnu.org>
8452 * xml.el: Protect parser against XML bombs.
8453 (xml-entity-expansion-limit): New variable.
8454 (xml-parse-string, xml-substitute-special): Use it.
8455 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8457 2012-07-03 Glenn Morris <rgm@gnu.org>
8459 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8460 Allow linking to specific messages in debbugs reports (eg 123#5).
8462 2012-07-02 Chong Yidong <cyd@gnu.org>
8464 * xml.el: Fix entity and character reference expansion, allowing
8465 them to expand into markup as per XML spec.
8466 (xml-default-ns): New variable.
8467 (xml-entity-alist): Use XML spec definitions for lt and amp.
8468 (xml-parse-region): Make first two arguments optional.
8469 Discard text properties.
8470 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8471 All callers changed.
8472 (xml-parse-tag): Call xml-parse-tag-1. For backward
8473 compatibility, this function should not modify buffer contents.
8474 (xml-parse-tag-1): Fix opening-tag regexp.
8475 (xml-parse-string): Rewrite, handling entity and character
8476 references properly.
8477 (xml--entity-replacement-text): Signal an error if a parameter
8478 entity is undefined.
8480 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8482 * comint.el (comint-output-filter): Filter out repeated prompts.
8484 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8485 and file-name-absolute-p.
8486 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8489 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8492 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8493 Rename from byte-compile--refiy-function. All uses changed.
8495 2012-07-01 Chong Yidong <cyd@gnu.org>
8497 * xml.el (xml--parse-buffer): New function. Move most of
8498 xml-parse-region here.
8499 (xml-parse-region): Copy region into a temporary buffer, since
8500 parameter entity substitution requires changing buffer contents.
8501 Use xml--parse-buffer.
8502 (xml-parse-file): Use xml--parse-buffer.
8503 (xml-parse-dtd): Make parameter entity substitution work right.
8504 Use proper regexps for ELEMENT declarations (Bug#7172).
8506 2012-06-30 Glenn Morris <rgm@gnu.org>
8508 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8510 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8511 Remove outdated and unnecessary dbus declarations.
8513 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8515 * emacs-lisp/timer.el (timer-until): Subtract results of
8516 float-time, instead of taking float-time of the result of
8517 time-subtract, since float-time signals an error for negative time
8520 2012-06-30 Chong Yidong <cyd@gnu.org>
8522 * xml.el (xml-*-re): Convert defvars into defconsts, and
8523 eval-and-compile them so eval-and-compile works on derivatives.
8524 (xml--entity-replacement-text): Use eval-and-comple.
8526 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8528 * vc/vc-git.el (vc-git-registered): Use cache property
8530 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8531 `vc-git-working-revision' in order to benefit from the cache.
8532 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8534 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8536 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8537 removed (likely outside Emacs). (Bug#11757)
8539 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8541 * emacs-lisp/cl-lib.el: Require macroexp.
8543 2012-06-30 Chong Yidong <cyd@gnu.org>
8545 * xml.el: Implement XML parameter entities.
8546 (xml-parameter-entity-alist): New variable.
8547 (xml-parse-region, xml-parse-fragment): Preserve previous values
8548 of xml-entity-alist and xml-parameter-entity-alist, so that
8549 repeated calls on different documents do not change them.
8550 (xml-parse-tag): Fix doctype regexp.
8551 (xml--entity-replacement-text): New function.
8552 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8553 properly requires url retrieval which is unimplemented.
8554 (xml-escape-string): Doc fix.
8556 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8558 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8560 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8562 * fringe.el (fringe-mode): Doc fix.
8564 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8566 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8568 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8569 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8571 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8573 * calendar/cal-dst.el (calendar-current-time-zone):
8574 Return calendar-current-time-zone-cache if non-nil.
8576 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8578 * progmodes/which-func.el (which-func-format):
8579 Add mouse-face. (Bug#11698)
8581 2012-06-29 Leo Liu <sdl.web@gmail.com>
8583 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8585 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8587 * minibuffer.el (minibuffer-confirm-exit-commands):
8588 Add completion-at-point (bug#11725).
8590 2012-06-29 Glenn Morris <rgm@gnu.org>
8592 * progmodes/f90.el (f90-font-lock-keywords-2):
8593 Add some preprocessor elements. (Bug#10499)
8595 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8597 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8598 Use syntax-propertize (bug#11739).
8600 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8602 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8604 2012-06-28 Julien Danjou <julien@danjou.info>
8606 * term.el (term-handle-colors-array): Use a set of new faces to
8607 color the terminal. Also uses :inverse-video property.
8608 (term-default-fg-color): Set to nil by default, deprecate in favor
8610 (term-default-bg-color): Set to nil by default, deprecate in favor
8612 (term-current-face): Use `term-face' by default.
8613 (term-bold-attribute): Variable deleted.
8615 2012-06-28 Glenn Morris <rgm@gnu.org>
8617 * simple.el (completion-list-mode-finish):
8618 Don't use toggle-read-only. (Since completion-list-mode has
8619 a special mode-class, it wasn't doing anything extra anyway.)
8621 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8623 Make inlining of other-mode interpreted functions work (bug#11799).
8624 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8625 (byte-compile): Use it to fix compilation of lexical-binding closures.
8626 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8627 function, if needed.
8629 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8631 * help-mode.el (help-make-xrefs): Don't just withstand
8632 cyclic-variable-indirection but any error in documentation-property.
8634 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8636 * bindings.el (bindings--define-key): New function.
8637 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8638 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8639 * bindings.el: Use it to purecopy define-key bindings.
8641 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8643 * emacs-lisp/cl.el (flet): Mark obsolete.
8644 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8645 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8646 * progmodes/js.el (js-c-fill-paragraph):
8647 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8648 (ebrowse-switch-member-buffer-to-derived-class):
8649 * play/5x5.el (5x5-solver): Use cl-flet.
8651 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8652 (cl--symbol-function): New macro.
8653 (cl--letf, cl--letf*): Use it.
8655 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8656 Strip "toggle-" if any.
8658 2012-06-27 Glenn Morris <rgm@gnu.org>
8660 * info.el (Info-default-directory-list): Move here from paths.el.
8661 * paths.el: Remove file, which is now empty.
8662 * loadup.el: No longer load "paths".
8664 * custom.el (custom-initialize-delay): Doc fix.
8666 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8667 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8668 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8669 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8670 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8671 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8672 * eshell/eshell.el (eshell-defgroup): Remove alias.
8674 2012-06-27 Chong Yidong <cyd@gnu.org>
8676 * help.el (help-enable-auto-load): New variable.
8678 * help-fns.el (help-fns--autoloaded-p): New function.
8679 (describe-function-1): Refer to a function as "autoloaded" if it
8680 was autoloaded at any time in the past. Perform autoloading if
8681 help-enable-auto-load is non-nil.
8683 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8685 * makefile.w32-in (compile, compile-always): Depend on
8686 update-subdirs, not on subdirs.el. Otherwise, several different
8687 sub-targets of 'bootstrap' running in parallel could
8688 simultaneously write to subdirs.el, producing a garbled file.
8690 2012-06-26 Sam Steingold <sds@gnu.org>
8692 * files.el (file-name-base): New convenience function.
8693 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8694 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8695 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8696 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8697 * textmodes/ispell.el, textmodes/reftex-ref.el:
8698 * textmodes/tex-mode.el: Use it.
8699 Did not touch cedet and org because they are maintained elsewhere.
8701 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8703 * calendar/calendar.el (calendar-exit): Don't try to delete or
8704 iconify last frame. See:
8705 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8707 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8709 * server.el (server-process-filter): Remember dir in the
8710 process's `server-client-directory' properties.
8712 2012-06-24 Chong Yidong <cyd@gnu.org>
8714 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8717 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8719 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8721 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8723 * help-fns.el (describe-variable): Don't croak when doc is not found.
8724 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8725 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8726 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8727 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8728 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8730 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8732 2012-06-23 Chong Yidong <cyd@gnu.org>
8734 * info.el (Info-mouse-follow-link): Accept symbol values of
8735 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8736 (Info-fontify-node): Use Info-link-keymap for all navigation
8737 buttons, with link-args property to perform the desired action.
8738 (Info-link-keymap): Doc fix.
8739 (Info-next-link-keymap, Info-prev-link-keymap)
8740 (Info-up-link-keymap): Delete now-unused keymaps.
8742 2012-06-23 Chong Yidong <cyd@gnu.org>
8744 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8746 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8749 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8751 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8753 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8756 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8757 the requote function doesn't work properly (bug#11714).
8759 2012-06-23 Glenn Morris <rgm@gnu.org>
8761 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8763 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8765 Further GV/CL cleanups.
8766 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8768 (gv--defun-declaration): New function.
8769 (defun-declarations-alist): Use it.
8770 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8771 (gv-place): Autoload.
8772 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8773 original definition of dotimes and dolist.
8774 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8775 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8776 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8777 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8778 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8779 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8780 to the function's definition.
8781 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8785 * env.el: Don't use CL.
8787 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8789 Support higher-resolution time stamps (Bug#9000).
8791 * calendar/time-date.el (with-decoded-time-value): New arg
8792 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8793 (encode-time-value): New optional arg PICO. New type 3.
8794 (time-to-seconds) [!float-time]: Support the new picoseconds
8795 component if it's used.
8796 (seconds-to-time, time-subtract, time-add):
8797 Support ps-resolution time stamps as well.
8799 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8800 (timerp): Timer vectors now have length 9, not 8.
8801 (timer--time): Support new-style (4-part) time stamps.
8802 (timer-next-integral-multiple-of-time): Time stamps now have
8803 picosecond resolution, so take a bit more care about rounding.
8804 (timer-relative-time, timer-inc-time): New optional arg psecs.
8805 (timer-set-time-with-usecs): Set psecs to 0.
8806 (timer--activate): Check psecs component, too.
8808 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8810 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8812 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8813 Move the non-essential binding to the post/pre-command-hook where it is
8814 more obviously correct.
8816 * subr.el (read-passwd): Don't use a history at all.
8817 * savehist.el (savehist-save): Remove password saved accidentally
8818 because of the above bug.
8820 2012-06-22 Bastien Guerry <bzg@gnu.org>
8822 * files.el (toggle-read-only): Display a message telling whether
8823 the buffer is read-only or not (bug#11726).
8825 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * emacs-lisp/gv.el: New file.
8828 * subr.el (push, pop): Extend to generalized variables.
8829 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8830 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8831 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8832 gv-define-simple-setter, and gv-define-expander.
8833 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8834 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8835 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8836 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8837 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8839 (cl-defstruct): Don't define setf-method any more.
8840 * emacs-lisp/cl.el (flet): Don't autoload.
8841 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8842 (define-setf-expander, defsetf, define-modify-macro)
8843 (cl-struct-setf-expander): Move from cl-lib.el.
8844 * emacs-lisp/syntax.el:
8845 * emacs-lisp/ewoc.el:
8846 * emacs-lisp/smie.el:
8847 * emacs-lisp/cconv.el:
8848 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8849 (timer--time): Use gv-define-simple-setter.
8850 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8851 to avoid coding-system problems in subr.el. Adjust all users.
8852 (macroexp--maxsize, macroexp-small-p): New functions.
8853 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8854 * scroll-bar.el (scroll-bar-mode):
8855 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8856 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8857 * winner.el (winner-configuration, winner-make-point-alist)
8858 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8859 * files.el (locate-file-completion-table): Avoid list*.
8861 2012-06-22 Chong Yidong <cyd@gnu.org>
8863 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8864 (dired-create-files): Doc fix (Bug#11329).
8865 (dired-do-copy): Doc fix (Bug#11334).
8866 (dired-mark-read-string): Doc fix (Bug#11553).
8868 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8869 Doc fix (Bug#11326).
8870 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8871 (dired-dwim-target): Doc fix.
8873 * wdired.el (wdired-mode): Doc fix.
8875 2012-06-22 Glenn Morris <rgm@gnu.org>
8877 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8878 (pcmpl-rpm-cache-stamp-file): New constant.
8879 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8880 (pcmpl-rpm-packages): Optionally cache list of packages.
8882 * pcmpl-rpm.el (pcmpl-rpm): New group.
8883 (pcmpl-rpm-query-options): New option.
8884 (pcmpl-rpm-packages): No need to inline it.
8885 Use pcmpl-rpm-query-options.
8887 * calendar/calendar.el (calendar-in-read-only-buffer):
8888 Avoid some needless mode changes.
8890 2012-06-21 Chong Yidong <cyd@gnu.org>
8892 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8893 (desktop-path): Remove . from the default value (Bug#10977).
8894 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8896 2012-06-20 Chong Yidong <cyd@gnu.org>
8898 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8900 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8902 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8905 2012-06-20 Chong Yidong <cyd@gnu.org>
8907 * term.el (term-window-width): Handle the case of a missing right
8909 (term-check-size): Use window-text-height (Bug#5445).
8910 (term-mode): Use define-derived-mode. Minor cleanups.
8911 Set font-lock-defaults (Bug#7692).
8912 (term-move-columns, term-insert-char, term-emulate-terminal)
8913 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8915 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8917 * net/ange-ftp.el (ange-ftp-get-passwd):
8918 Bind `enable-recursive-minibuffers'.
8919 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8921 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8923 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8925 2012-06-19 Glenn Morris <rgm@gnu.org>
8927 * progmodes/python.el (python-mode): Derive from prog-mode.
8929 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8931 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8932 (edt-user-menu-bar-update-buffers): New functions.
8933 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8935 2012-06-19 Chong Yidong <cyd@gnu.org>
8937 * subr.el (with-selected-window): Preserve the selected window's
8938 terminal's top-frame (Bug#4702).
8940 * window.el (save-selected-window): Likewise.
8942 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8944 * progmodes/python.el (python-rx-constituents): Move backquote.
8945 (python-skeleton-define, python-define-auxiliary-skeleton):
8948 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8950 * minibuffer.el (read-file-name-default): Revert the patch from
8953 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8955 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8956 (pcase--u1, pcase--q1): Don't use apply-partially.
8958 2012-06-18 Glenn Morris <rgm@gnu.org>
8960 * progmodes/python.el (python-proc, python-buffer)
8961 (python-send-receive, python-send-string): Fix obsolete versions.
8963 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8965 * window.el (special-display-p): Completely remove stringp
8966 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8968 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8970 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8972 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8974 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8975 * net/tramp-sh.el (tramp-maybe-open-connection):
8976 Throw if `non-essential' is non-nil.
8978 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8980 * window.el (special-display-p): Signal an error if BUFFER-NAME
8981 is not a string (Bug#11713).
8983 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8985 * progmodes/python.el (python-info-beginning-of-backslash):
8986 Rename from python-info-beginning-of-backlash, as a spelling fix.
8988 2012-06-17 Chong Yidong <cyd@gnu.org>
8990 * term.el (term-emulate-terminal): If term-check-size is called,
8991 move point to the process mark without resetting point (Bug#4635).
8993 2012-06-17 Glenn Morris <rgm@gnu.org>
8995 * international/mule-cmds.el (mule-menu-keymap)
8996 (set-language-environment, set-locale-environment): Doc tweaks.
8998 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9000 * cus-face.el (custom-face-attributes): Add wave-style underline
9002 * faces.el (set-face-attribute): Update docstring to describe
9003 wave-style underline attribute.
9005 2012-06-16 Chong Yidong <cyd@gnu.org>
9007 * term/xterm.el (terminal-init-xterm): Discard input before
9008 querying background mode (Bug#10959).
9010 2012-06-16 Stefan Merten <smerten@oekonux.de>
9012 * textmodes/rst.el: Added and corrected some comments.
9013 (rst-re-alist-def): Improve symbol syntax.
9014 (rst-mode-syntax-table): Correct syntax entries.
9015 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9016 (rst-official-version, rst-official-cvs-rev): Update version
9019 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9021 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9022 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9024 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9026 * progmodes/python.el: New python.el merge.
9027 (python-guess-indent): Obsolete var.
9028 (python-indent-guess-indent-offset): New defcustom.
9029 (python-indent): Obsolete var.
9030 (python-indent-offset): New defcustom.
9031 (python-python-command, python-jython-command): Delete var.
9032 (python-shell-interpreter): New defcustom.
9033 (python-pdbtrack-do-tracking-p): Delete var.
9034 (python-pdbtrack-activate): New defcustom.
9035 (python-use-skeletons): Obsolete var.
9036 (python-skeleton-autoinsert): New defcustom.
9037 (inferior-python-filter-regexp, python-continuation-offset)
9038 (python-honour-comment-indentation, python-indent-string-contents)
9039 (python-jython-packages, python-mode-hook)
9040 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9041 (python-shell-prompt-alist)
9042 (python-source-modes): Delete defcustoms.
9043 (python-check-buffer-name, python-eldoc-setup-code)
9044 (python-eldoc-string-code, python-ffap-setup-code)
9045 (python-ffap-string-code, python-fill-comment-function)
9046 (python-fill-decorator-function, python-fill-paren-function)
9047 (python-fill-string-function, python-imenu-include-defun-type)
9048 (python-imenu-make-tree, python-imenu-subtree-root-label)
9049 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9050 (python-shell-compilation-regexp-alist)
9051 (python-shell-completion-module-string-code)
9052 (python-shell-completion-pdb-string-code)
9053 (python-shell-completion-setup-code)
9054 (python-shell-completion-string-code)
9055 (python-shell-enable-font-lock, python-shell-exec-path)
9056 (python-shell-extra-pythonpaths)
9057 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9058 (python-shell-process-environment)
9059 (python-shell-prompt-block-regexp)
9060 (python-shell-prompt-output-regexp)
9061 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9062 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9063 (python-shell-virtualenv-path): New defcustoms.
9064 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9065 (inferior-python-mode-syntax-table, python--prompt-regexp)
9066 (python-buffer, python-command python-python-command)
9067 (python-default-template, python-imports, python-indent-index)
9068 (python-indent-list, python-indent-list-length)
9069 (python-mode-running, python-pdbtrack-is-tracking-p)
9070 (python-preoutput-continuation, python-preoutput-leftover)
9071 (python-preoutput-result, python-preoutput-skip-next-prompt)
9072 (python-prev-dir/file, python-recursing)
9073 (python-saved-check-command, python-version-checked)
9074 (python-which-func-length-limit)
9075 (view-return-to-alist): Delete vars.
9076 (python-check-custom-command, python-dotty-syntax-table)
9077 (python-imenu-index-alist, python-indent-current-level)
9078 (python-indent-dedenters, python-indent-levels)
9079 (python-nav-beginning-of-defun-regexp)
9080 (python-nav-list-defun-positions-cache)
9081 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9082 (python-shell-internal-buffer)
9083 (python-skeleton-available): New vars.
9084 (def-python-skeleton): Delete macro.
9085 (python-skeleton-define): New macro.
9086 (python-define-auxiliary-skeleton, python-rx): New macros.
9087 (python-insert-class): Delete command.
9088 (python-skeleton-class): New command.
9089 (python-insert-def): Delete command.
9090 (python-skeleton-def): New command.
9091 (python-insert-for): Delete command.
9092 (python-skeleton-for): New command.
9093 (python-insert-if): Delete command.
9094 (python-skeleton-if): New command.
9095 (python-insert-try/except, python-insert-try/finally): Delete commands.
9096 (python-skeleton-try): New command.
9097 (python-insert-while): Delete command.
9098 (python-skeleton-while): New command.
9099 (python-backspace): Delete command.
9100 (python-indent-dedent-line-backspace): New command.
9101 (python-electric-colon): Delete command.
9102 (python-indent-electric-colon): New command.
9103 (python-guess-indent): Delete command.
9104 (python-indent-guess-indent-offset): New command.
9105 (python-shift-left): Delete command.
9106 (python-indent-shift-left): New command.
9107 (python-shift-right): Delete command.
9108 (python-indent-shift-right): New command.
9109 (python-find-function): Delete command.
9110 (python-nav-jump-to-defun): New command.
9111 (python-next-statement): Delete command.
9112 (python-nav-forward-sentence): New command.
9113 (python-previous-statement): Delete command.
9114 (python-nav-backward-sentence): New command.
9115 (python-fill-paragraph): Delete command.
9116 (python-fill-paragraph-function): New command.
9117 (python-send-buffer): Delete command.
9118 (python-shell-send-buffer): New command.
9119 (python-send-defun): Delete command.
9120 (python-shell-send-defun): New command.
9121 (python-send-region, python-send-region-and-go): Delete commands.
9122 (python-shell-send-region)
9123 (python-shell-switch-to-shell): New commands.
9124 (python-send-string): Delete command.
9125 (python-shell-send-string): New command.
9126 (python-switch-to-python): Delete command.
9127 (python-shell-switch-to-shell): New command.
9128 (python-describe-symbol): Delete command.
9129 (python-eldoc-at-point): New command.
9130 (python--set-prompt-regexp, python-args-to-list)
9131 (python-after-info-look, python-check-version)
9132 (python-check-comint-prompt, python-find-imports)
9133 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9134 (python-unload-function, python-expand-template)
9135 (python-maybe-jython, python-preoutput-filter)
9136 (python-pdbtrack-get-source-buffer)
9137 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9138 (python-pdbtrack-toggle-stack-tracking)
9139 (python-pdbtrack-track-stack-file, python-initial-text)
9140 (python-first-word, python-comment-line-p, python-send-command)
9141 (python-setup-brm, python-sentinel, python-set-proc)
9142 (python-skip-out, python-input-filter, python-outdent-p)
9143 (python-outline-level, python-backslash-continuation-line-p)
9144 (python-end-of-block, python-end-of-statement, python-mark-block)
9145 (python-beginning-of-block, python-beginning-of-statement)
9146 (python-blank-line-p, python-beginning-of-string)
9147 (python-open-block-statement-p): Delete functions.
9148 (python-indent-line, python-indent-line-1): Delete functions.
9149 (python-indent-line): New function.
9150 (python-indentation-levels): Delete function.
9151 (python-indent-calculate-levels): New function.
9152 (python-proc): Delete function.
9153 (python-shell-get-process): New function.
9154 (python-send-receive): Delete function.
9155 (python-shell-send-string-no-output): New function.
9156 (python-module-path): Delete function.
9157 (python-ffap-module-path): New function.
9158 (python-completion-at-point)
9159 (python-symbol-completions): Delete functions.
9160 (python-completion-complete-at-point): New function.
9161 (python-load-file): Delete function.
9162 (python-shell-send-file): New function.
9163 (python-calculate-indentation): Delete function.
9164 (python-indent-calculate-indentation): New function.
9165 (python-skip-comments/blanks): Delete function.
9166 (python-util-forward-comment): New function.
9167 (python-continuation-line-p): Delete function.
9168 (python-info-continuation-line-p): New function.
9169 (python-which-func, python-current-defun): Delete function.
9170 (python-info-current-defun): New function.
9171 (python-beginning-of-defun): Delete function.
9172 (python-nav-beginning-of-defun): New function.
9173 (python-close-block-statement-p)
9174 (python-block-end-p): Delete function.
9175 (python-info-closing-block): New function.
9176 (python-comint-output-filter-function)
9177 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9178 (python-fill-comment, python-fill-decorator, python-fill-paren)
9179 (python-fill-string, python-imenu-make-element-tree)
9180 (python-imenu-make-tree, python-imenu-tree-assoc)
9181 (python-indent-context, python-indent-dedent-line)
9182 (python-indent-line-function)
9183 (python-indent-post-self-insert-function)
9184 (python-indent-toggle-levels)
9185 (python-info-assignment-continuation-line-p)
9186 (python-info-beginning-of-backlash)
9187 (python-info-block-continuation-line-p)
9188 (python-info-closing-block-message)
9189 (python-info-line-ends-backslash-p)
9190 (python-info-looking-at-beginning-of-defun)
9191 (python-info-ppss-context, python-info-ppss-context-type)
9192 (python-nav-list-defun-positions, python-nav-read-defun)
9193 (python-nav-sentence-end, python-nav-sentence-start)
9194 (python-pdbtrack-comint-output-filter-function)
9195 (python-pdbtrack-set-tracked-buffer)
9196 (python-shell-calculate-exec-path)
9197 (python-shell-calculate-process-environment)
9198 (python-shell-completion--do-completion-at-point)
9199 (python-shell-completion--get-completions)
9200 (python-shell-completion-complete-at-point)
9201 (python-shell-completion-complete-or-indent)
9202 (python-shell-get-or-create-process)
9203 (python-shell-get-process-name)
9204 (python-shell-internal-get-or-create-process)
9205 (python-shell-internal-get-process-name)
9206 (python-shell-internal-send-string, python-shell-make-comint)
9207 (python-shell-parse-command, python-shell-send-setup-code)
9208 (python-skeleton-add-menu-items)
9209 (python-util-clone-local-variables, python-util-position)
9210 (run-python-internal, python-indentation-levels)
9211 (python-nav-beginning-of-defun)
9212 (python-completion-complete-at-point): New functions.
9213 (run-python): Change arguments. New API requirements.
9215 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9217 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9220 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9221 (macroexp--expand-all): Use it.
9223 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9224 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9225 Use `cl-function' instead.
9227 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9229 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9230 Suggested by Stefan Monnier while discussing bug#11657.
9232 2012-06-14 Sam Steingold <sds@gnu.org>
9234 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9236 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9238 * play/doctor.el (doctor-doc): Remove parameter and use
9239 doctor-sent instead of sent.
9240 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9242 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9244 * files.el: Require cl-lib.
9245 (file-name-non-special): Replace case -> cl-case.
9247 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9249 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9250 mapping from #' to function*.
9252 2012-06-13 Chong Yidong <cyd@gnu.org>
9254 * mouse.el (mouse-drag-track): Do not set the mark if the user
9255 releases the mouse without selecting anything (Bug#11588).
9257 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9259 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9260 as well (bug#11646).
9262 * loadup.el: Count byte-code functions as well.
9264 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9265 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9267 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9268 (bug#11649). Add cl-defun and cl-defmacro.
9270 2012-06-13 Drew Adams <drew.adams@oracle.com>
9272 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9275 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9277 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9278 Otherwise, it blocks in batch mode.
9280 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9282 * help-mode.el (bookmark-make-record-default): Declare.
9284 2012-06-13 Chong Yidong <cyd@gnu.org>
9286 * emacs-lisp/package.el (list-packages): Compute a list of
9287 packages that are newly-available since the last list-packages
9289 (package-menu--new-package-list): New var.
9290 (package-menu--generate, package-menu--print-info)
9291 (package-menu--status-predicate, package-menu-mark-install):
9292 Handle new status label "new".
9294 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9296 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9297 conversion to backquotes.
9299 2012-06-12 Chong Yidong <cyd@gnu.org>
9301 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9302 Rename from gud-inhibit-global-bindings.
9304 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9306 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9307 hook from nxml-glyph-set-hook.
9309 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9312 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9314 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9315 Convert to defcustom.
9317 2012-06-12 Drew Adams <drew.adams@oracle.com>
9319 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9321 (help-mode): Use them.
9323 2012-06-11 Glenn Morris <rgm@gnu.org>
9325 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9326 Use preprocessor face for directives.
9327 (fortran-directive-re): Doc fix.
9329 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9331 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9332 conversion to backquotes (bug#11652).
9334 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9335 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9336 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9337 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9338 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9339 (cl-ninth, cl-tenth): Mark them as inlinable.
9340 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9341 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9342 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9343 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9344 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9345 (cl-list*, cl-adjoin): Don't put an autoload manually.
9346 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9347 (cl--compiler-macro-list*): Add autoload cookie.
9348 (cl--compiler-macro-cXXr): New function.
9350 * help-fns.el (help-fns--compiler-macro): New function extracted from
9351 describe-function-1; follow aliases and use `compiler-macro' property.
9352 (describe-function-1): Use it.
9354 2012-06-11 Chong Yidong <cyd@gnu.org>
9356 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9357 is uninstalled, if imagemagick is installed.
9359 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9361 * emacs-lisp/cl-lib.el: Use lexical-binding.
9362 (cl-map-extents, cl-maclisp-member): Remove.
9363 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9364 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9365 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9366 * emacs-lisp/cl-extra.el: Use lexical-binding.
9367 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9368 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9369 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9370 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9371 * emacs-lisp/cl-seq.el: Use lexical-binding.
9372 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9373 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9374 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9375 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9376 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9379 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9381 Sync with Tramp 2.2.6-pre.
9383 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9384 `print-length' and `print-level' to nil, in order to avoid
9385 truncation. Reported by Christopher Schmidt
9386 <christopher@ristopher.com>.
9388 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9390 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9392 (tramp-compat-copy-directory): Add optional argument
9393 COPY-CONTENTS. It is not handled yet.
9395 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9396 (tramp-ftp-file-name-p): Simplify.
9398 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9399 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9402 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9403 (tramp-methods): Do not use `tramp-password-end-of-line'.
9404 (tramp-completion-function-alist-putty): Handle UNIX case.
9405 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9406 (tramp-do-file-attributes-with-stat)
9407 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9408 gid as real numbers. They could run out of integer range on cygwin.
9409 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9410 (tramp-sh-handle-expand-file-name): Handle hops.
9411 (tramp-open-connection-setup-interactive-shell):
9412 Use `tramp-cleanup'. Move check for busyboxes ...
9413 (tramp-find-shell): ... here. Simplify implementation.
9414 Set "remote-shell" property also for alternative shells.
9415 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9416 If failing, a regular file would be written otherwise.
9417 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9418 (tramp-find-inline-encoding): Cache the coding commands in the
9419 process cache. Apply test command on the remote side, if defined.
9420 (tramp-find-inline-compress): Cache the compress commands in the
9422 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9423 when requested. Handle hops.
9424 (tramp-current-connection): New defvar.
9425 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9426 Throw `suppress', if there was a failed connection shortly before.
9427 Handle user interrupt. (Bug#10187)
9428 (tramp-get-inline-compress, tramp-get-inline-coding):
9429 Read connection properties from the process cache.
9431 * net/tramp-smb.el (tramp-smb-server-version)
9432 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9434 (tramp-smb-prompt): Extend for powershell prompt.
9435 (tramp-smb-file-name-handler-alist): Add handlers for
9436 `process-file', `shell-command' and `start-file-process'.
9437 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9438 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9439 (tramp-smb-file-name-p): Simplify.
9440 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9441 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9442 (tramp-smb-shell-quote-argument): New defuns.
9443 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9444 Implement using "tar". By this, time-stamps are preserved.
9445 (tramp-smb-handle-copy-file): Handle also the case of directories.
9446 (tramp-smb-do-file-attributes-with-stat)
9447 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9448 Use `tramp-get-connection-buffer').
9449 (tramp-smb-handle-rename-file): Use "rename", when source and
9450 target are on the same share.
9451 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9452 Use `tramp-smb-server-version'.
9453 (tramp-smb-wait-for-output): Remove prompt.
9455 * net/tramp.el (top): Require 'cl.
9456 (tramp-methods, tramp-rsh-end-of-line):
9457 Remove `tramp-password-end-of-line' from docstring.
9458 (tramp-save-ad-hoc-proxies): New defcustom.
9459 (tramp-completion-function-alist): Adapt docstring.
9460 (tramp-default-password-end-of-line): Remove defcustom.
9461 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9462 (tramp-user-regexp, tramp-file-name-regexp-unified)
9463 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9464 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9465 (tramp-remote-file-name-spec-regexp): New defconst.
9466 (tramp-file-name-structure): Extend structure for hops.
9467 (tramp-get-method-parameter): Move up.
9468 (tramp-file-name-p, tramp-dissect-file-name)
9469 (with-parsed-tramp-file-name): Handle hops.
9470 (tramp-file-name-hop): New defun.
9471 (tramp-make-tramp-file-name): New optional arg HOP.
9472 (tramp-message-show-progress-reporter-message): New defvar.
9473 (tramp-with-progress-reporter): Use it. We cannot use
9474 `tramp-message-show-message' here, because this suppresses also
9476 (tramp-error-with-buffer): Suppress buffer view, if
9477 `tramp-message-show-message' is nil.
9478 Use `tramp-get-connection-buffer'.
9479 (tramp-cleanup): New defun.
9480 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9481 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9483 (tramp-completion-handle-file-name-all-completions): Handle hops.
9484 Fix an error when called from ido.
9485 (tramp-completion-dissect-file-name): Use better local variable
9486 name. Add hop to the vector.
9487 (tramp-handle-insert-file-contents): Use progress-reporter for the
9489 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9491 (tramp-check-for-regexp): Simplify search.
9492 (tramp-enter-password): Remove it. Move implementation ...
9493 (tramp-action-password): ... here.
9494 (tramp-mode-string-to-int, tramp-local-host-p)
9495 (tramp-make-tramp-temp-file, tramp-read-passwd)
9496 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9497 Set tramp-autoload cookie.
9499 * net/trampver.el: Update release number.
9501 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9502 Michael Albinus <michael.albinus@gmx.de>
9504 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9505 (tramp-parse-group, tramp-parse-file)
9506 (tramp-parse-shostkeys-sknownhosts): New defuns.
9507 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9508 (tramp-parse-shosts-group, tramp-parse-sconfig)
9509 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9510 (tramp-parse-sknownhosts, tramp-parse-hosts)
9511 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9513 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9514 (tramp-parse-putty-group): Don't narrow.
9515 (tramp-parse-putty): Make a loop.
9516 (tramp-file-name-handler): Catch the `suppress' signal.
9518 2012-06-11 Chong Yidong <cyd@gnu.org>
9520 * image.el (imagemagick-register-types): Put the ImageMagick entry
9521 at the end of image-type-file-name-regexps.
9523 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9525 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9526 (pcase, pcase-let*, pcase-dolist): Use them.
9528 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9530 * emacs-lisp/pcase.el (pcase--let*): New function.
9531 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9532 (pcase--expand): Use macroexp-let².
9534 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9536 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9537 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9538 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9539 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9540 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9541 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9543 2012-06-10 Glenn Morris <rgm@gnu.org>
9545 * mail/rmail.el (rmail-yank-current-message): Leave point at
9546 correct position. (Bug#11660)
9548 2012-06-10 Chong Yidong <cyd@gnu.org>
9550 * allout-widgets.el: Fix code header.
9552 2012-06-10 Chong Yidong <cyd@gnu.org>
9554 * cus-edit.el (customize-changed-options-previous-release):
9557 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9559 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9561 2012-06-09 Chong Yidong <cyd@gnu.org>
9563 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9565 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9567 * window.el (special-display-popup-frame): Don't use
9568 window--display-buffer (Bug#11651).
9570 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9572 Fix parallel builds: make sure loaddefs.el is not being written
9573 while Lisp files are compiled.
9574 (compile): Don't depend on 'mh-autoloads'.
9575 (compile-CMD, compile-SH): Depend on 'autoloads'.
9576 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9578 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9580 2012-06-09 Chong Yidong <cyd@gnu.org>
9582 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9583 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9584 Doc fixes (Bug#11225).
9586 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9588 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9589 a function if there's a clear indication that it has a compiler-macro.
9590 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9591 (macro-declarations-alist): Add arglist to declaration functions.
9592 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9593 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9594 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9595 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9596 Also add autoload to find the compiler macro.
9597 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9598 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9599 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9600 (cl--compiler-macro-get): New functions, replacing calls to
9601 cl-define-compiler-macro.
9602 (cl-typep) [compiler-macro]: Use macroexp-let².
9604 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9606 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9607 string properly, fixes Bug#11473.
9609 2012-06-08 Chong Yidong <cyd@gnu.org>
9611 * faces.el (set-face-attribute): Doc fix.
9612 (modify-face): Don't use :bold and :italic.
9613 (error, warning, success): Tweak definitions.
9615 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9616 (custom-modified, custom-set, custom-changed, custom-themed)
9617 (custom-saved, custom-button, custom-button-mouse)
9618 (custom-button-pressed, custom-state, custom-comment-tag)
9619 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9620 (custom-group-subtitle): Use new-style face specs.
9621 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9622 (custom-set-face, custom-changed-face, custom-saved-face)
9623 (custom-button-face, custom-button-pressed-face)
9624 (custom-documentation-face, custom-state-face)
9625 (custom-comment-face, custom-comment-tag-face)
9626 (custom-variable-tag-face, custom-variable-button-face)
9627 (custom-face-tag-face, custom-group-tag-face-1)
9628 (custom-group-tag-face): Remove obsolete face alias.
9630 * epa.el (epa-validity-high, epa-validity-medium)
9631 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9632 (epa-field-name, epa-field-body):
9633 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9634 (font-lock-keyword-face, font-lock-builtin-face)
9635 (font-lock-function-name-face, font-lock-variable-name-face)
9636 (font-lock-type-face, font-lock-constant-face):
9637 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9638 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9639 * speedbar.el (speedbar-button-face, speedbar-file-face)
9640 (speedbar-directory-face, speedbar-tag-face)
9641 (speedbar-selected-face, speedbar-highlight-face)
9642 (speedbar-separator-face):
9643 * whitespace.el (whitespace-newline, whitespace-space)
9644 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9645 (whitespace-line, whitespace-space-before-tab)
9646 (whitespace-space-after-tab, whitespace-indentation)
9648 * emulation/cua-base.el (cua-global-mark):
9649 * eshell/em-prompt.el (eshell-prompt):
9650 * net/newst-plainview.el (newsticker-new-item-face)
9651 (newsticker-old-item-face, newsticker-immortal-item-face)
9652 (newsticker-obsolete-item-face, newsticker-date-face)
9653 (newsticker-statistics-face, newsticker-default-face):
9654 * net/newst-reader.el (newsticker-feed-face)
9655 (newsticker-extra-face, newsticker-enclosure-face):
9656 * net/newst-treeview.el (newsticker-treeview-face)
9657 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9658 (newsticker-treeview-immortal-face)
9659 (newsticker-treeview-obsolete-face)
9660 (newsticker-treeview-selection-face):
9661 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9662 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9663 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9664 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9665 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9666 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9667 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9669 * progmodes/vera-mode.el (vera-font-lock-number)
9670 (vera-font-lock-function, vera-font-lock-interface):
9671 * textmodes/table.el (table-cell): Use new-style face specs, and
9672 don't use the old :bold and :italic attributes.
9674 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9675 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9676 (ebrowse-member-class, ebrowse-progress): Likewise.
9677 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9678 (ebrowse-file-name-face, ebrowse-default-face)
9679 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9680 (ebrowse-progress-face): Remove obsolete faces.
9682 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9683 Inherit from error and warning faces respectively.
9685 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9687 (flyspell-incorrect-face, flyspell-duplicate-face):
9688 Remove obsolete aliases.
9690 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9692 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9695 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9697 * startup.el (argv, argi): Make lexically scoped.
9698 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9699 * emacs-lisp/cl-macs.el: Use lexical-binding.
9700 Rename cl-bind-* to cl--bind-*.
9701 * files.el: Don't require `cl' since it doesn't use it.
9702 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9704 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9706 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9707 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9708 instead of calling external sort utility.
9709 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9711 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9713 * descr-text.el (describe-char): Mention how to insert the
9714 character, if the current input method doesn't support it.
9715 See the discussion in this thread for the details:
9716 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9718 2012-06-08 Sam Steingold <sds@gnu.org>
9720 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9721 XF86Back to previous-buffer.
9722 (minibuffer-local-map): Bind them to next-history-element and
9723 previous-history-element respectively.
9724 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9725 help-go-back respectively.
9726 * info.el (Info-mode-map): Bind them to Info-history-forward and
9727 Info-history-back respectively.
9728 These are the keys next to Up on the ThinkPad keyboard.
9730 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9732 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9733 * emacs-lisp/cl-macs.el: Provide itself.
9734 (cl--labels-convert-cache): New var.
9735 (cl--labels-convert): New function.
9736 (cl-flet, cl-labels): New implementation with new semantics, relying on
9738 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9739 (cl-closure-vars, cl--function-convert-cache)
9740 (cl--function-convert): Move from cl-macs.el.
9741 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9742 rename by removing the "cl-" prefix.
9743 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9745 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9747 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9748 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9749 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9750 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9751 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9752 (cl-hash-table-count): Add old compatibility aliases.
9754 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9755 Use macroexpand-all-environment instead.
9756 (cl--old-macroexpand): New var.
9757 (cl--sm-macroexpand): New function.
9758 (cl-symbol-macrolet): Use it during macro expansion.
9759 (cl--function-convert-cache): New var.
9760 (cl--function-convert): New function, extracted from
9762 (cl-lexical-let): Use it.
9764 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9765 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9766 (cl-member): Remove old alias.
9768 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9769 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9770 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9771 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9772 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9773 (cl-macroexpand-cmacs): Remove var.
9774 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9775 Use macroexpand-all instead.
9777 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9779 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9780 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9781 (macroexp-copyable-p): New functions and macros.
9782 * emacs-lisp/edebug.el (edebug-unwrap):
9783 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9784 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9785 (pcase--let*): Remove.
9786 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9787 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9788 macroexp-const-p instead.
9789 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9791 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9792 instead of "cl-" for internal definitions. Use macroexp-const-p.
9793 (cl-old-bc-file-form): Remove var.
9794 (cl-const-exprs-p): Remove fun.
9795 (cl-labels, cl-macrolet): Use backquote.
9796 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9797 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9798 (cl-define-setf-expander): Rename from cl-define-setf-method.
9799 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9801 * international/mule-cmds.el: Don't require CL.
9802 (view-hello-file): Don't use `letf'.
9804 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9806 * tmm.el (tmm-prompt): Use string-prefix-p.
9807 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9808 (tmm-add-prompt): Use minibuffer-completion-help.
9809 (tmm-delete-map): Remove.
9811 * subr.el (kbd): Make it its own function.
9813 2012-06-07 Stefan Merten <smerten@oekonux.de>
9815 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9816 Silence compiler warnings. Fix versions.
9817 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9818 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9819 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9820 (rst-package-emacs-version-alist): Correct Emacs version to
9821 represent major merge with upstream.
9822 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9824 2012-06-06 Glenn Morris <rgm@gnu.org>
9826 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9827 Only print environment variables if set.
9829 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9831 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9832 (macroexp--cons): Rename from maybe-cons.
9833 (macroexp--accumulate): Rename from macroexp-accumulate.
9834 (macroexp--all-forms): Rename from macroexpand-all-forms.
9835 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9836 (macroexp--expand-all): Rename from macroexpand-all-1.
9838 2012-06-06 Sam Steingold <sds@gnu.org>
9840 * calendar/calendar.el (calendar-in-read-only-buffer):
9841 Call `special-mode' to enable the standard read-only keybindings.
9843 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9845 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9846 with "loading" messages (bug#11635).
9848 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9850 * files.el (enable-remote-dir-locals): New option.
9851 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9853 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9854 Ensure, that the temp directory is local.
9856 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9857 `temporary-file-directory'.
9859 * progmodes/python.el (python-send-region): Ensure, that the
9860 temporary file is created also in the remote case.
9862 2012-06-06 Glenn Morris <rgm@gnu.org>
9864 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9865 (vc-rcs-update-changelog): Use it.
9867 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9869 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9870 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9871 (vc-sccs-diff): Replace use of the external vcdiff script.
9873 2012-06-05 Glenn Morris <rgm@gnu.org>
9875 * ledit.el: Move to obsolete/.
9877 2012-06-05 Sam Steingold <sds@gnu.org>
9879 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9882 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9884 * emacs-lisp/cust-print.el: Move to obsolete.
9886 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9887 compiler-macro expansion.
9889 Add native compiler-macro support.
9890 * emacs-lisp/macroexp.el (macroexpand-all-1):
9891 Support compiler-macros directly. Properly follow aliases and apply
9892 the compiler macros more thoroughly.
9893 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9894 macroexpand now properly follows aliases.
9895 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9896 (cl-compiler-macroexpand): Use new prop.
9897 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9899 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9901 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9903 * window.el (get-lru-window, get-mru-window, get-largest-window):
9904 New argument NOT-SELECTED to avoid picking the selected window.
9905 (window--display-buffer-1, window--display-buffer-2): Replace by
9906 new function window--display-buffer
9907 (display-buffer-same-window, display-buffer-reuse-window)
9908 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9909 Use window--display-buffer.
9910 (display-buffer-use-some-window): Remove temporary dedication
9911 hack by calling get-lru-window and get-largest-window with
9912 NOT-SELECTED argument non-nil. Call window--display-buffer.
9914 2012-06-05 Glenn Morris <rgm@gnu.org>
9916 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9917 Replace external vcdiff script.
9919 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9921 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9923 2012-06-04 Chong Yidong <cyd@gnu.org>
9925 * image.el (imagemagick-types-inhibit): Revert last change.
9927 (imagemagick-enabled-types): Remove CIN and EPS*.
9929 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9931 * emacs-lisp/cl-lib.el: Rename from cl.el.
9932 * emacs-lisp/cl.el: New compatibility file.
9933 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9934 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9935 to obey the "cl-" prefix.
9936 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9938 2012-06-03 Glenn Morris <rgm@gnu.org>
9940 * emacs-lisp/authors.el (authors-aliases): Addition.
9942 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9945 2012-06-03 Stefan Merten <smerten@oekonux.de>
9947 * textmodes/rst.el: Add comments.
9948 (rst-transition, rst-adornment): New faces.
9949 (rst-adornment-faces-alist): Make default safe to reevaluate.
9951 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9952 Improve customization tags.
9953 (rst-define-level-faces): Clarify meaning.
9955 2012-06-03 Chong Yidong <cyd@gnu.org>
9957 * progmodes/compile.el (compilation-mode-line-fail)
9958 (compilation-mode-line-run, compilation-mode-line-exit):
9960 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9962 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9964 * progmodes/which-func.el (which-func-update-ediff-windows):
9965 New function. Use it in ediff-select-hook (Bug#11478).
9967 2012-06-03 Chong Yidong <cyd@gnu.org>
9969 * bindings.el: Remove explicit help text from format-mode-line.
9970 It is now supplied by mode-line-default-help-echo.
9971 (mode-line-front-space, mode-line-end-spaces)
9972 (mode-line-misc-info): New variables.
9973 (mode-line-modes, mode-line-position): Move the default value to
9974 the variable definition.
9975 (mode-line-default-help-echo): New defcustom.
9976 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9977 (mode-line-modified-help-echo): New functions.
9978 (mode-line-mule-info, mode-line-modified): Use them.
9979 (mode-line-eol-desc, propertized-buffer-identification):
9980 Consistency fixes for help text.
9981 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9982 set-buffer-file-coding-system (Bug#289).
9983 (mode-line-mule-info-help-echo): Update help text.
9985 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9987 * simple.el (execute-extended-command): Set real-this-command
9990 2012-06-02 Chong Yidong <cyd@gnu.org>
9992 Remove incorrect uses of "modeline" in comments, docstrings, and
9993 function/variable names (Bug#10329).
9995 * cus-edit.el (mode-line):
9996 * dframe.el (dframe-mouse-hscroll):
9997 * emacs-lisp/re-builder.el:
9998 * emacs-lisp/easy-mmode.el (define-minor-mode):
9999 * frame.el (set-frame-name):
10000 * help.el (lookup-minor-mode-from-indicator):
10001 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10002 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10003 (c-toggle-hungry-state):
10004 * progmodes/antlr-mode.el (antlr-language-alist):
10005 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10006 * progmodes/vhdl-mode.el (vhdl-mode):
10007 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10008 * term/ns-win.el (ns-face-at-pos):
10009 * term/sup-mouse.el (sup-mouse-report):
10010 * textmodes/flyspell.el (flyspell-mode-line-string):
10011 * textmodes/ispell.el (ispell-highlight-face):
10012 * textmodes/reftex-global.el:
10013 * vc/vc-arch.el (vc-arch-mode-line-string):
10014 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10015 * vc/vc-git.el (vc-git-mode-line-string):
10016 * vc/vc-hooks.el (vc-display-status)
10017 (vc-default-mode-line-string):
10018 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10020 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10022 * dired.el (dired-sort-set-mode-line): Rename from
10023 dired-sort-set-modeline. All callers changed.
10025 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10026 eshell-status-in-modeline.
10028 * foldout.el (foldout-mode-line-string): Rename from
10029 foldout-modeline-string. All callers changed.
10030 (foldout-update-mode-line): Rename from foldout-update-modeline.
10032 * subr.el (redraw-modeline): Make into obsolete alias.
10034 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10035 timeclock-modeline-display. Make old name an alias.
10036 (timeclock-update-mode-line): Likewise. All callers changed.
10037 (timeclock-mode-line-display): No need to check before using
10039 (timeclock-relative, timeclock-day-over-hook)
10040 (timeclock-use-elapsed, timeclock-mode-string)
10041 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10043 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10044 crisp-mode-modeline-string.
10046 * play/solitaire.el (solitaire-build-mode-line): Rename from
10047 solitaire-build-modeline. All callers changed.
10049 * play/zone.el (zone-hiding-mode-line): Rename from
10050 zone-hiding-modeline. All callers changed.
10051 (zone): Remove unusued `modeline-hidden-level' property.
10053 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10054 xscheme-modeline-initialize. All callers changed.
10056 * strokes.el (strokes-lighter): Rename from
10057 strokes-modeline-string.
10059 * textmodes/sgml-mode.el (html-face-tag-alist)
10060 (html-tag-face-alist): Use mode-line face instead of obsolete
10063 2012-06-02 Stefan Merten <smerten@oekonux.de>
10065 * textmodes/rst.el: Always require `cl'.
10066 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10068 2012-06-02 Chong Yidong <cyd@gnu.org>
10070 * image.el (imagemagick-enabled-types): Rename from
10071 imagemagick-types-enable. Add many more types.
10072 (imagemagick-types-inhibit): Change default to nil.
10073 (imagemagick-filter-types): Caller changed.
10075 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10077 * emacs-lisp/cl-macs.el: Use backquotes.
10078 (cl-transform-function-property): Use eval-and-compile rather than
10080 (defstruct): Use declare-function instead of with-no-warnings.
10082 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10083 (byte-compile-output-docform): Re-add the print-circle bindings.
10084 (byte-compile-fix-header): Use #$ just because it's shorter.
10085 (byte-compile-output-file-form): Remove defun/defmacro.
10087 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10089 * simple.el (choose-completion): Remove now obsolete binding for
10092 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10094 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10095 in order to avoid "Stack overflow in regexp matcher".
10097 2012-05-31 Glenn Morris <rgm@gnu.org>
10099 * image.el: For clarity, call imagemagick-register-types at
10100 top-level, rather than relying on a custom :initialize.
10101 (imagemagick-types-enable): New option. (Bug#11557)
10102 (imagemagick-filter-types): New function. (Bug#7406)
10103 (imagemagick-register-types): Use imagemagick-filter-types.
10104 If disabling support, remove elements altogether rather
10105 than using an impossible regexp.
10106 (imagemagick-types-inhibit): Give it the default init function.
10108 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10110 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10111 Handle arbitrary file name lengths (Bug#11585).
10113 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10115 * desktop.el (desktop-read): Clear previous and next buffers for
10116 all windows and bury *Messages* buffer (bug#11556).
10118 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10120 Add `declare' for `defun'. Align `defmacro's with it.
10121 * emacs-lisp/easy-mmode.el (define-minor-mode)
10122 (define-globalized-minor-mode): Don't autoload the var definitions.
10123 * emacs-lisp/byte-run.el: Use lexical-binding.
10124 (defun-declarations-alist, macro-declarations-alist): New vars.
10125 (defmacro, defun): Use them.
10126 (make-obsolete, define-obsolete-function-alias)
10127 (make-obsolete-variable, define-obsolete-variable-alias):
10129 (macro-declaration-function): Mark obsolete.
10130 * emacs-lisp/autoload.el: Use lexical-binding.
10131 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10133 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10135 * textmodes/ispell.el (ispell-with-no-warnings):
10137 (ispell-kill-ispell, ispell-change-dictionary):
10138 Use `called-interactively-p' for Emacs instead of obsolete
10141 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10143 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10144 (macro-declaration-function): Move var from C code.
10145 (macro-declaration-function): Define function with defalias.
10146 * emacs-lisp/macroexp.el (macroexpand-all-1):
10147 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10148 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10149 defun/defmacro any more.
10150 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10151 Provide fallback for unknown arglist.
10152 (byte-compile-arglist-warn): Change calling convention.
10153 (byte-compile-output-file-form): Move print-vars binding.
10154 (byte-compile-output-docform): Simplify accordingly.
10155 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10156 (byte-compile-defmacro-declaration): Remove.
10157 (byte-compile-file-form-defmumble): Generalize to defalias.
10158 (byte-compile-output-as-comment): Return byte-positions.
10159 Simplify callers accordingly.
10160 (byte-compile-lambda): Use `assert'.
10161 (byte-compile-defun, byte-compile-defmacro): Remove.
10162 (byte-compile-file-form-defalias):
10163 Use byte-compile-file-form-defmumble.
10164 (byte-compile-defalias-warn): Remove.
10166 2012-05-29 Stefan Merten <smerten@oekonux.de>
10168 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10169 possible. Fix authors. Improve comments. Improve loading of `cl'.
10171 (rst-mode-abbrev-table): Merge definition.
10172 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10173 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10175 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10177 * calendar/icalendar.el
10178 (icalendar-export-region): Export UID properly.
10180 2012-05-29 Leo Liu <sdl.web@gmail.com>
10181 * calendar/icalendar.el (icalendar-import-format):
10182 Add `icalendar-import-format-uid' (Bug#11525).
10183 (icalendar-import-format-uid): New.
10184 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10187 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10189 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10190 different alternative patterns.
10191 (pcase-codegen): Be more careful to preserve identity.
10192 (pcase--u1): Don't forget to mark vars as used.
10194 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10195 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10196 (byte-compile-from-buffer): ...rather than here.
10198 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10199 functions from byte-compile-function-environment.
10201 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10203 * window.el (window-deletable-p): Avoid deleting the root window
10204 of a frame with an active minibuffer.
10206 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10208 * simple.el (choose-completion): Use quit-window (Bug#11567).
10210 2012-05-29 Chong Yidong <cyd@gnu.org>
10212 * whitespace.el (whitespace-cleanup): Fix usage of
10213 whitespace-empty-at-bob-regexp (Bug#11492).
10215 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10217 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10218 revert (Bug#11488).
10220 2012-05-29 Juri Linkov <juri@jurta.org>
10222 * isearch.el (isearch-mode-map): Bind `M-s _' to
10223 `isearch-toggle-symbol'. Bind `M-s c' to
10224 `isearch-toggle-case-fold'.
10225 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10226 (isearch-forward): Add `M-s _' to the docstring.
10227 (isearch-forward-symbol, isearch-toggle-case-fold)
10228 (isearch-symbol-regexp): New functions. (Bug#11381)
10230 2012-05-29 Juri Linkov <juri@jurta.org>
10232 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10233 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10234 a function, call it to get the regexp.
10235 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10236 property `isearch-message-prefix' instead of the string "word ".
10237 (isearch-search-fun-default): For the case of `isearch-word',
10238 return a lambda that calls re-search-forward/re-search-backward
10239 with a regexp returned by `word-search-regexp' or by the function
10242 2012-05-29 Juri Linkov <juri@jurta.org>
10244 * isearch.el (isearch-search-fun-default): New function.
10245 (isearch-search-fun): Move default part to the new function
10246 `isearch-search-fun-default'.
10247 (isearch-search-fun-function): Set the default value to
10248 `isearch-search-fun-default'. (Bug#11381)
10250 * comint.el (comint-history-isearch-end):
10251 Use `isearch-search-fun-default'.
10252 (comint-history-isearch-search): Use `isearch-search-fun-default'
10253 and remove spacial case for `isearch-word'.
10254 (comint-history-isearch-wrap): Remove spacial case for
10257 * hexl.el (hexl-isearch-search-function):
10258 Use `isearch-search-fun-default'.
10260 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10261 Use `word-search-regexp' for `isearch-word'.
10263 * misearch.el (multi-isearch-search-fun):
10264 Use `isearch-search-fun-default'.
10266 * simple.el (minibuffer-history-isearch-search):
10267 Use `isearch-search-fun-default' and remove spacial case for
10269 (minibuffer-history-isearch-wrap): Remove spacial case for
10272 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10273 Remove spacial case for `isearch-word'.
10274 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10276 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10278 Decrease XEmacs incompatibilities.
10279 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10280 Use `string-match'.
10281 (flyspell-delete-region-overlays): Use alternative definition for
10283 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10284 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10285 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10286 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10287 `define-obsolete-face-alias' under XEmacs, but old method.
10289 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10290 `with-no-warnings' definition or Emacs alias.
10291 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10292 (ispell-word): Do not use `region-p' if XEmacs.
10294 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10296 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10297 Check for `ispell-dictionary-base-alist' instead of full
10298 `ispell-dictionary-alist'.
10299 (ispell-init-process): Show spellchecker when starting new Ispell
10302 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10304 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10305 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10307 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10309 * version.el (motif-version-string, gtk-version-string)
10310 (ns-version-string): Declare.
10312 2012-05-27 Juri Linkov <juri@jurta.org>
10314 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10315 after the `eval-defun-1' specialcaseing
10316 like in `edebug-eval-defun' (bug#10181).
10318 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10319 like in `eval-defun-1'.
10321 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10323 * mail/sendmail.el (mail-yank-region):
10324 Recognize rmail-yank-current-message in addition to insert-buffer.
10325 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10326 a *mail* buffer created through rmail-start-mail with sendmail as
10329 2012-05-27 Chong Yidong <cyd@gnu.org>
10331 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10332 Default to 256 (Bug#11267).
10334 * help.el (describe-mode): Doc fix.
10336 2012-05-26 Glenn Morris <rgm@gnu.org>
10338 * w32-fns.el (w32-init-info): Remove.
10339 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10341 * info.el (info-initialize): For self-contained NS builds, put the
10342 included info/ directory at the front. (Bug#2791)
10344 * paths.el (Info-default-directory-list): Make it a defcustom,
10345 mainly so that we can use custom-initialize-delay.
10347 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10349 * subr.el (buffer-has-markers-at): Mark obsolete.
10351 * subr.el (lambda): Use declare.
10353 * emacs-lisp/lisp-mode.el (lambda):
10354 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10356 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10358 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10360 2012-05-26 Glenn Morris <rgm@gnu.org>
10362 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10364 2012-05-25 Glenn Morris <rgm@gnu.org>
10366 * paths.el: Remove no-byte-compile.
10367 * loadup.el: No need to load paths.el uncompiled.
10369 * image.el (imagemagick-types-inhibit): Doc fix.
10371 * version.el: Remove no-byte-compile and associated formatting.
10372 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10373 is ancient code from when there was an "inc-vers.el".
10375 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10377 * progmodes/gdb-mi.el: Minor style changes.
10378 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10379 Turn into minor modes.
10380 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10381 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10382 (gdb-shell): Remove unneeded let-binding.
10383 (gdb-get-many-fields): Eliminate O(n²) behavior.
10385 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10387 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10388 platforms that don't link in fontset.c.
10390 2012-05-25 Juri Linkov <juri@jurta.org>
10392 Use the same diff color scheme as in modern VCSes (bug#10181).
10394 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10395 to avoid confusion with `diff-added' that now uses green colors.
10396 (diff-removed): Use shades of red.
10397 (diff-added): Use shades of green.
10398 (diff-changed): Leave just the yellow color.
10399 (diff-use-changed-face): New variable.
10400 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10401 how to highlight context diff changes.
10402 (diff-refine-change): Use shades of yellow.
10403 (diff-refine-removed): New face that uses shades of red.
10404 (diff-refine-added): New face that uses shades of green.
10405 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10406 `diff-refine-removed' in the call to `smerge-refine-subst'
10407 depending on the value of `diff-use-changed-face'.
10409 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10410 (smerge-other): Use shades of green.
10411 (smerge-base): Use shades of yellow.
10412 (smerge-refined-change): Empty face.
10413 (smerge-refined-removed): New face that uses shades of red.
10414 (smerge-refined-added): New face that uses shades of green.
10415 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10416 args `props-r' and `props-a', and use them. Doc fix.
10417 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10418 on its value use different faces `smerge-refined-change',
10419 `smerge-refined-removed', `smerge-refined-added' in the call to
10420 `smerge-refine-subst'.
10422 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10423 Add face condition `min-colors 88' with shades of red.
10424 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10425 `min-colors 88' with shades of green.
10426 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10427 `min-colors 88' with shades of yellow.
10429 2012-05-24 Glenn Morris <rgm@gnu.org>
10431 * paths.el (prune-directory-list, remote-shell-program): Move to...
10432 * files.el (prune-directory-list, remote-shell-program): ...here.
10433 For the latter, delay initialization, prefer ssh, just search PATH.
10435 * paths.el (term-file-prefix): Move to faces.el (the only user).
10436 * faces.el (term-file-prefix): Move here, make it a defcustom.
10438 * paths.el (news-directory, news-path, news-inews-program):
10439 Move to gnus/nnspool.el.
10441 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10443 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10444 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10445 Make the latter a defcustom, with a delayed initialization.
10447 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10448 These were deleted from Gnus itself late 2010.
10450 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10452 * progmodes/which-func.el (which-func-ff-hook):
10453 Check against user-error, not error.
10455 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10456 cl-specs.el, which no longer exists.
10458 2012-05-22 Glenn Morris <rgm@gnu.org>
10460 * info.el (info-emacs-bug): New command.
10461 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10462 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10464 2012-05-21 Glenn Morris <rgm@gnu.org>
10466 * makefile.w32-in (update-subdirs-SH):
10467 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10469 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10471 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10473 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10474 Simplify Maven regexp, and make sure the file can't start with a space
10477 2012-05-21 Glenn Morris <rgm@gnu.org>
10479 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10480 Scrap superfluous subshells.
10482 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10484 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10485 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10487 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10489 * calc/calc.el (calc-ensure-consistent-units): New variable.
10491 * calc/calc-units.el (math-consistent-units-p)
10492 (math-check-unit-consistency): New functions.
10493 (calc-quick-units, calc-convert-units):
10494 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10496 (calc-extract-units): Fix typo.
10498 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10500 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10502 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10503 (flyspell-default-deplacement-commands): Don't spell check after
10504 repeated window/frame switches (e.g. triggered by mouse-movement).
10505 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10506 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10507 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10508 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10509 Remove unused vars.
10510 (flyspell-get-casechars, flyspell-get-not-casechars):
10511 Simplify; Don't bother removing a ] just to add it back.
10512 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10514 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10516 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10518 (math-function-table): Add support for more C functions.
10520 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10522 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10523 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10524 Protect delay handling for otherchars against empty otherchars.
10526 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10528 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10529 their respective macro declarations.
10530 * skeleton.el (define-skeleton):
10531 * progmodes/compile.el (define-compilation-mode):
10532 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10533 (define-ibuffer-filter):
10534 * emacs-lisp/generic.el (define-generic-mode):
10535 * emacs-lisp/easy-mmode.el (define-minor-mode)
10536 (define-globalized-minor-mode):
10537 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10538 * emacs-lisp/byte-run.el (defsubst):
10539 * custom.el (deftheme): Add doc-string metadata.
10541 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10543 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10545 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10547 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10549 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10550 * emacs-lisp/cl-macs.el: Idem.
10551 * emacs-lisp/cl-specs.el: Remove.
10553 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10555 Minor renaming of internal CL functions and variables.
10556 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10557 (cl--position): Rename from cl-position.
10558 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10559 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10560 (cl--random-state): Rename from *random-state*.
10562 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10564 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10565 parens around the arg list (bug#11499).
10567 2012-05-17 Juri Linkov <juri@jurta.org>
10569 * isearch.el (word-search-regexp, word-search-backward)
10570 (word-search-forward, word-search-backward-lax)
10571 (word-search-forward-lax): Move functions from search.c
10572 (bug#10145, bug#11381).
10574 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10576 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10577 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10578 Delay for otherchars as for normal word components.
10580 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10582 * minibuffer.el (completion--sifn-requote): Fix last change.
10583 (minibuffer-local-must-match-filename-map):
10584 Move define-obsolete-variable-alias before its var.
10586 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10588 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10590 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10592 (completion--string-equal-p): New function.
10593 (completion--twq-all): Use it to get better assertion failure data.
10595 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10596 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10597 (shell--requote-argument): New functions.
10598 (shell-completion-vars): Use them.
10599 (shell--parse-pcomplete-arguments): Rename from
10600 shell-parse-pcomplete-arguments.
10601 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10602 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10603 Obey comint-file-name-quote-list.
10605 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10606 (smie-indent-keyword): Use it.
10608 2012-05-14 Stefan Merten <smerten@oekonux.de>
10610 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10612 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10614 * net/rlogin.el (rlogin-mode-map): Fix last change.
10616 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10618 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10619 the following \r\n using a single `process-send-string', since the
10620 Lotus SMTP server refuses to accept any commands if they are sent
10621 with two `process-send-string's (Bug#11444).
10623 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10625 * shell.el (shell-parse-pcomplete-arguments):
10626 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10628 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10630 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10631 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10632 (image-transform-width, image-transform-fit-width): New functions.
10633 (image-transform-properties): Use them.
10634 (image-transform-check-size): New function.
10635 (image-toggle-display-image): Use it (for testing).
10636 (image-transform-set-rotation): Reduce angle mod 360.
10637 Delete obsolete comment.
10639 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10641 * image-mode.el: Fix scaling (bug#11399).
10642 (image-transform-resize): Doc fix.
10643 (image-transform-properties): Default scale is 1 and height should
10646 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10648 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10649 than hard-coding `car', to fix misbehavior when moving forward.
10651 2012-05-13 Chong Yidong <cyd@gnu.org>
10653 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10654 (tabulated-list-entries, tabulated-list-padding)
10655 (tabulated-list-sort-key): Make permanent-local.
10657 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10658 (electric-buffer-list): Put electric buffer menu
10659 command descriptions in this docstring, instead of the docstring
10660 of electric-buffer-menu-mode. Code cleanups.
10661 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10662 Electric-buffer-menu-mode.
10663 (electric-buffer-update-highlight): Minor code cleanup.
10665 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10667 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10670 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10672 Move define-obsolete-variable-alias before the var's definition.
10673 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10674 * tooltip.el (tooltip-hook):
10675 * textmodes/reftex-toc.el (reftex-toc-map):
10676 * textmodes/reftex-sel.el (reftex-select-label-map)
10677 (reftex-select-bib-map):
10678 * textmodes/reftex-index.el (reftex-index-map)
10679 (reftex-index-phrases-map):
10680 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10681 * progmodes/meta-mode.el (meta-mode-map):
10682 * novice.el (disabled-command-hook):
10683 * loadhist.el (unload-hook-features-list):
10684 * frame.el (blink-cursor):
10685 * files.el (find-file-not-found-hooks, write-file-hooks)
10686 (write-contents-hooks):
10687 * emulation/tpu-edt.el (GOLD-map):
10688 * emacs-lock.el (emacs-lock-from-exiting):
10689 * emacs-lisp/generic.el (generic-font-lock-defaults):
10690 * emacs-lisp/chart.el (chart-map):
10691 * dos-fns.el (register-name-alist):
10692 * dired-x.el (dired-omit-files-p):
10693 * desktop.el (desktop-enable):
10694 * cus-edit.el (custom-mode-hook):
10695 * buff-menu.el (buffer-menu-mode-hook):
10696 * bookmark.el (bookmark-read-annotation-text-func)
10697 (bookmark-exit-hooks):
10698 * allout.el (allout-mode-deactivate-hook)
10699 (allout-exposure-change-hook, allout-structure-added-hook)
10700 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10701 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10702 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10703 comes before the corresponding variable's definition.
10705 2012-05-12 Chong Yidong <cyd@gnu.org>
10707 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10708 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10709 (Buffer-menu-mode-map): Bind it.
10710 (Buffer-menu--pretty-name): Add a mouse-face property.
10712 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10714 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10715 (prolog-upper-case-string, prolog-lower-case-string)
10716 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10717 (prolog-use-smie, prolog-smie-grammar): New vars.
10718 (prolog-smie-forward-token, prolog-smie-backward-token)
10719 (prolog-smie-rules): New funs.
10720 (prolog-comment-indent): Remove.
10721 (prolog-mode-variables): Use default comment indentation instead.
10723 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10724 (prolog-mode): Don't call them any more.
10725 (prolog-electric-colon, prolog-electric-dash)
10726 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10728 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10730 * minibuffer.el (completion--twq-all): Again, allow case differences.
10732 * term.el: Move keymap initialization code to be more idiomatic.
10733 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10734 (term-terminal-menu): Move initialization into declaration.
10735 (term-escape-char): Let the user set it in her .emacs.
10737 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10738 Provide SMIE-based indentation (not enabled by default yet).
10739 (sh-mode-map): Don't bind electric keys.
10740 Use electric-pair-mode instead of skeleton-pair.
10741 (sh-assignment-regexp): Fit within 80 columns.
10742 (sh-indent-supported): Specify actual shell name instead of boolean.
10743 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10744 (sh-maybe-here-document): Use it. Make obsolete.
10745 (sh-electric-here-document-mode) New minor mode.
10746 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10747 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10748 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10749 (sh-smie-rc-grammar, sh-use-smie): New vars.
10750 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10751 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10752 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10753 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10754 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10755 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10756 (sh-set-shell): Use smie-setup if requested.
10758 * term.el (term-set-escape-char): Properly set term-escape-char.
10759 See http://stackoverflow.com/questions/10524656.
10761 2012-05-10 Chong Yidong <cyd@gnu.org>
10763 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10764 Use url-generic-parse-url, and handle host names and Windows
10765 filenames properly.
10766 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10767 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10768 URL schemes to work on.
10769 (ffap--toggle-read-only): New function.
10770 (ffap-read-only, ffap-read-only-other-window)
10771 (ffap-read-only-other-frame): Use it.
10772 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10773 necessary for ffap-url-unwrap-remote.
10775 2012-05-10 Dave Abrahams <dave@boostpro.com>
10777 * cus-start.el (create-lockfiles): Add it.
10779 2012-05-09 Chong Yidong <cyd@gnu.org>
10781 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10782 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10784 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10786 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10788 2012-05-09 Chong Yidong <cyd@gnu.org>
10790 * ansi-color.el (ansi-color-process-output): Check for validity of
10791 comint-last-output-start before using it. This avoids a bad
10792 interaction with gdb-mi's input/output buffer.
10794 2012-05-09 Glenn Morris <rgm@gnu.org>
10796 * files.el (dir-locals-read-from-file):
10797 Mention dir-locals in any error message.
10799 2012-05-09 Chong Yidong <cyd@gnu.org>
10801 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10802 package (Bug#11410).
10804 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10805 variables into description.
10807 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10809 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10810 shell-delimiter-argument-list (bug#11348).
10811 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10813 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10815 * textmodes/rst.el: Silence byte-compiler warnings.
10816 (rst-re-alist, rst-reset-section-caches): Move around.
10817 (rst-re): Use `characterp', not `char-valid-p'.
10818 (font-lock-beg, font-lock-end): Declare.
10820 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10821 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10823 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10825 2012-05-08 Glenn Morris <rgm@gnu.org>
10827 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10829 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10831 * vc/log-edit.el: Add GNU coding standards highlighting.
10832 (log-edit-font-lock-gnu-style)
10833 (log-edit-font-lock-gnu-keywords): New vars.
10834 (log-edit-font-lock-keywords): New fun.
10835 (log-edit-mode): Don't fold case in font-lock.
10836 (log-edit-font-lock-keywords): Do not assume case-folding.
10838 * imenu.el: Misc cleanup. Make docstrings out of comments.
10839 Use lexical-binding.
10840 (imenu--index-alist, imenu--last-menubar-index-alist)
10841 (imenu-menubar-modified-tick): Use defvar-local.
10842 (imenu--split-menu): Remove unused var.
10843 (imenu--cleanup-seen): Declare as global.
10844 (imenu--cleanup): Use dolist.
10846 * subr.el (defvar-local): Add debug spec and doc-string position.
10848 2012-05-08 Glenn Morris <rgm@gnu.org>
10850 * language/burmese.el, language/cham.el, language/czech.el:
10851 * language/english.el, language/georgian.el, language/greek.el:
10852 * language/japanese.el, language/khmer.el, language/korean.el:
10853 * language/lao.el, language/misc-lang.el, language/romanian.el:
10854 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10855 * language/thai.el, language/utf-8-lang.el:
10856 Remove no-byte-compile setting.
10858 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10860 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10862 * progmodes/make-mode.el (makefile-browse):
10863 Remove unnecessary interactive. (Bug#11324)
10865 2012-05-07 Glenn Morris <rgm@gnu.org>
10867 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10869 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10871 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10873 * loadup.el: Preload newcomment.el.
10874 * newcomment.el: Move autoload-only code to toplevel.
10876 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10877 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10878 Handle new :right-align column property.
10879 (tabulated-list-print-col): Idem, plus use `display' text-property to
10880 try and preserve alignment for variable pitch fonts.
10882 2012-05-07 Chong Yidong <cyd@gnu.org>
10884 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10885 (tabulated-list-use-header-line): New var.
10886 (tabulated-list-init-header): Use it.
10887 (tabulated-list-print-fake-header): New function.
10888 (tabulated-list-print): Use it.
10889 (tabulated-list-sort-button-map): Add non-header-line commands.
10890 (tabulated-list-init-header): Add column name property to basic
10892 (tabulated-list-col-sort): Handle non-header-line button case.
10893 (tabulated-list--sort-by-column-name): Fix a corner case.
10895 * buff-menu.el (list-buffers--refresh):
10896 Handle Buffer-menu-use-header-line.
10898 2012-05-06 Chong Yidong <cyd@gnu.org>
10900 * buff-menu.el: Convert to Tabulated List mode.
10901 (Buffer-menu-buffer+size-width): Make obsolete.
10902 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10903 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10904 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10905 documentation into docstring of buffer-menu.
10906 (Buffer-menu-toggle-files-only): Add an informative message.
10907 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10908 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10909 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10910 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10911 (Buffer-menu-execute, Buffer-menu-select)
10912 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10913 (Buffer-menu-bury): Use Tabulated List machinery.
10914 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10915 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10917 (list-buffers--refresh): New function.
10918 (list-buffers-noselect): Use it.
10919 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10920 (Buffer-menu--pretty-file-name): New helper functions.
10922 * loadup.el: Preload tabulated-list.
10924 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10925 tabulated-list-sort-column.
10926 (tabulated-list-init-header): Add the initial aligning space even
10927 if tabulated-list-padding is zero.
10929 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10931 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10932 whose cdr is not a cons cell correctly (bug#11038).
10934 2012-05-06 Chong Yidong <cyd@gnu.org>
10936 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10937 Accept additional plist in column descriptors.
10938 (tabulated-list-init-header): Obey it.
10939 (tabulated-list-get-entry): New function.
10940 (tabulated-list-put-tag): Use it. Use string-width instead of
10942 (tabulated-list--column-number): New function.
10943 (tabulated-list-print): Use it.
10944 (tabulated-list-print-col): New function.
10945 Set `tabulated-list-column-name' property on each column's text.
10946 (tabulated-list-print-entry): Use it.
10947 (tabulated-list-delete-entry, tabulated-list-set-col):
10949 (tabulated-list-sort-column): New command (Bug#11337).
10951 * buff-menu.el (list-buffers): Move C-x C-b binding from
10952 buff-menu.el to bindings.el.
10954 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10955 :advertised-binding feature.
10957 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10959 * progmodes/compile.el (compilation-internal-error-properties):
10960 Calculate start position correctly when end-col is set but
10961 end-line is not (Bug#11382).
10963 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10965 * man.el (Man-unindent): Use text-property-default-nonsticky to
10966 prevent untabify from inheriting face properties (Bug#11408).
10968 2012-05-05 Stefan Merten <smerten@oekonux.de>
10970 * textmodes/rst.el: Major merge with upstream development up to
10971 Docutils SVN r7399 / rst.el V1.2.1.
10973 Clarify maintainership and authors.
10975 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10976 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10977 (rst-official-version, rst-official-cvs-rev, rst-version)
10978 (rst-package-emacs-version-alist): New functions and variables
10979 for version information.
10981 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10982 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10983 (rst-mode-syntax-table, rst-mode): New and corrected functions
10984 and variables representing reStructuredText features.
10986 (rst-re): New function for reStructuredText regexes. Use in
10989 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10990 (rst-mode-map): Rebind keys.
10992 (rst-mode-lazy, rst-font-lock-keywords)
10993 (rst-font-lock-extend-region)
10994 (rst-font-lock-extend-region-internal)
10995 (rst-font-lock-extend-region-extend)
10996 (rst-font-lock-find-unindented-line-limit)
10997 (rst-font-lock-find-unindented-line-match)
10998 (rst-adornment-level, rst-font-lock-adornment-level)
10999 (rst-font-lock-adornment-match)
11000 (rst-font-lock-handle-adornment-pre-match-form)
11001 (rst-font-lock-handle-adornment-matcher): Major revision of
11002 font-locking. Integrate with other code. Use `jit-lock-mode'.
11004 (rst-preferred-adornments, rst-adjust-hook)
11005 (rst-new-adornment-down, rst-preferred-bullets)
11006 (rst-preferred-bullets, rst-indent, rst-indent-width)
11007 (rst-indent-field, rst-indent-literal-normal)
11008 (rst-indent-literal-minimized, rst-indent-comment): Change,
11009 extend and improve customization.
11011 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11012 (rst-normalize-cursor-position, rst-get-decoration)
11013 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11014 (rst-rstrip, rst-toc-insert-find-delete-contents)
11015 (rst-shift-fill-region, rst-compute-bullet-tabs)
11016 (rst-debug-print-tabs, rst-debug-mark-found)
11017 (rst-shift-region-guts, rst-shift-region-right)
11018 (rst-shift-region-left, rst-use-char-classes)
11019 (rst-font-lock-keywords-function)
11020 (rst-font-lock-indentation-point)
11021 (rst-font-lock-find-unindented-line-begin)
11022 (rst-font-lock-find-unindented-line-end)
11023 (rst-font-lock-find-unindented-line)
11024 (rst-font-lock-adornment-point, rst-font-lock-level)
11025 (rst-adornment-level-alist): Remove functions and variables.
11027 (rst-compare-adornments, rst-get-adornment-match)
11028 (rst-suggest-new-adornment, rst-get-adornments-around)
11029 (rst-adornment-complete-p, rst-get-next-adornment)
11030 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11031 (rst-straighten-adornments): Standardize function names to
11032 use "adornment" instead of "decoration". Correct callers.
11033 Similar standardizing in many places.
11035 (rst-update-section, rst-adjust, rst-promote-region)
11036 (rst-enumerate-region, rst-bullet-list-region)
11037 (rst-repeat-last-character): Correct use of `interactive'.
11039 (rst-classify-adornment, rst-find-all-adornments)
11040 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11041 (rst-find-leftmost-column, rst-repeat-last-character):
11042 Refactor functions.
11044 (rst-find-title-line, rst-reset-section-caches)
11045 (rst-get-adornments-around, rst-adjust-adornment-work)
11046 (rst-arabic-to-roman, rst-roman-to-arabic)
11047 (rst-insert-list-pos, rst-insert-list-new-item)
11048 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11051 (rst-all-sections, rst-section-hierarchy)
11052 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11055 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11056 configuration instead of only buffer. Change where necessary.
11058 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11059 (rst-shift-region, rst-adaptive-fill): New functions for
11060 indentation and filling.
11062 (rst-comment-line-break, rst-comment-indent)
11063 (rst-comment-insert-comment, rst-comment-region)
11064 (rst-uncomment-region): New functions for handling comments.
11066 (rst-compile): Quote shell arguments.
11068 (rst-compile-pdf-preview, rst-compile-slides-preview):
11069 Delete temporary files after use.
11071 2012-05-05 Glenn Morris <rgm@gnu.org>
11073 * calendar/cal-html.el: Optionally include holidays in the output.
11074 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11075 (cal-html-holidays): New option.
11076 (cal-html-css-default): Add holiday entry.
11077 (holiday-in-range): Autoload it.
11078 (cal-html-htmlify-entry): Add optional class argument.
11079 (cal-html-htmlify-list): Add optional holidays argument.
11080 (cal-html-insert-agenda-days): Include holidays in the output.
11081 (cal-html-one-month): Maybe include holidays.
11083 * calendar/holidays.el (holiday-in-range):
11084 Move here from cal-tex-list-holidays.
11085 * calendar/cal-tex.el (cal-tex-list-holidays):
11086 Make it an obsolete alias for holiday-in-range. Update all callers.
11088 2012-05-05 Chong Yidong <cyd@gnu.org>
11090 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11093 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11095 * files.el (file-auto-mode-skip): New var.
11096 (set-auto-mode-1): Use it.
11098 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11100 * repeat.el: Use lexical-binding.
11101 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11102 (repeat-undo-count): Remove.
11104 * progmodes/octave-mod.el (octave-abbrev-start):
11105 * progmodes/f90.el (f90-abbrev-start):
11106 * face-remap.el (text-scale-adjust):
11107 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11109 * emacs-lisp/pcase.el (pcase--let*): New function.
11110 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11112 (pcase--split-pred): Be more clever about ruling out overlap between
11113 a predicate and some constant pattern.
11114 (pcase--q1): Use `null' instead of (eq foo nil).
11116 * subr.el (setq-local, defvar-local): New macros.
11117 (kbd): Redefine as an alias.
11118 (with-selected-window): Leave unrelated frames alone.
11119 (set-temporary-overlay-map): New function.
11121 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11123 * subr.el (user-error): New function.
11124 * window.el (switch-to-buffer):
11125 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11126 (smerge-match-conflict):
11127 * simple.el (previous-matching-history-element)
11128 (next-matching-history-element, goto-history-element, undo-more)
11130 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11131 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11132 (next-file, tags-loop-scan, list-tags, complete-tag):
11133 * progmodes/compile.el (compilation-loop):
11134 * mouse.el (mouse-minibuffer-check):
11135 * man.el (Man-bgproc-sentinel, Man-goto-page):
11136 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11137 (Info-history-forward, Info-follow-reference, Info-menu)
11138 (Info-extract-menu-item, Info-extract-menu-counting)
11139 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11140 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11141 (Info-next-reference, Info-prev-reference, Info-index)
11142 (Info-index-next, Info-follow-nearest-node)
11143 (Info-copy-current-node-name):
11144 * imenu.el (imenu--make-index-alist)
11145 (imenu-default-create-index-function, imenu-add-to-menubar):
11146 * files.el (basic-save-buffer, recover-file):
11147 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11148 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11149 (checkdoc-message-text, checkdoc-defun):
11150 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11151 * cus-edit.el (customize-changed-options, customize-rogue)
11152 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11153 (custom-variable-mark-to-reset-standard)
11154 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11156 * completion.el (check-completion-length):
11157 * comint.el (comint-search-arg)
11158 (comint-previous-matching-input-string-position)
11159 (comint-previous-matching-input)
11160 (comint-replace-by-expanded-history-before-point, comint-send-input)
11161 (comint-copy-old-input, comint-backward-matching-input)
11162 (comint-goto-process-mark, comint-set-process-mark):
11163 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11164 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11166 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11168 * dabbrev.el (dabbrev--ignore-case-p): New function.
11169 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11172 * files.el (automount-dir-prefix): Mark as obsolete.
11174 2012-05-04 Glenn Morris <rgm@gnu.org>
11176 * patcomp.el, play/bruce.el: Move to obsolete/.
11178 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11180 Fix minor Y10k bugs.
11181 * arc-mode.el (archive-unixdate):
11182 * autoinsert.el (auto-insert-alist):
11183 * calc/calc-forms.el (math-this-year):
11184 * emacs-lisp/copyright.el (copyright-current-year)
11185 (copyright-update-year, copyright):
11186 * tar-mode.el (tar-clip-time-string):
11187 * time.el (display-time-update):
11188 Don't assume years have 4 digits.
11190 2012-05-04 Chong Yidong <cyd@gnu.org>
11192 * dos-w32.el (file-name-buffer-file-type-alist)
11193 (direct-print-region-use-command-dot-com):
11194 * ffap.el (ffap-menu-regexp):
11195 * find-file.el (ff-special-constructs):
11196 * follow.el (follow-debug):
11197 * forms.el (forms--debug):
11198 * iswitchb.el (iswitchb-all-frames):
11199 * ido.el (ido-all-frames):
11200 * emacs-lisp/timer.el (timer-max-repeats):
11201 * mail/feedmail.el (feedmail-mail-send-hook)
11202 (feedmail-mail-send-hook-queued):
11203 * mail/footnote.el (footnote-signature-separator):
11204 * mail/mailabbrev.el (mail-alias-separator-string)
11205 (mail-abbrev-mode-regexp):
11206 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11207 * progmodes/idlwave.el (idlwave-libinfo-file)
11208 (idlwave-default-completion-case-is-down)
11209 (idlwave-library-routines): Convert defvars to defcustoms.
11211 * mail/rmail.el (rmail-decode-mime-charset):
11212 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11213 (idlwave-shell-fix-inserted-breaks)
11214 (idlwave-shell-activate-alt-keybindings)
11215 (idlwave-shell-use-breakpoint-glyph):
11216 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11218 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11220 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11222 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11224 * progmodes/verilog-mode.el (font-lock-keywords):
11225 Fix mis-highligting auto. Reported by Craig Barner.
11226 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11227 defines from global name space. Reported by Dan Dever.
11228 (verilog-auto-reset, verilog-auto-reset-widths)
11229 (verilog-auto-tieoff): Support using unbased numbers for
11230 AUTORESET and AUTOTIEOFF.
11231 (verilog-submit-bug-report): Update variable list.
11232 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11233 parenthesis from not matching. Reported by Michael Rytting.
11234 (verilog-auto-template-lint): Fix hash error when linting modules
11235 with no used templates.
11236 (verilog-warn, verilog-warn-error)
11237 (verilog-warn-fatal): When non-interactive report multiple
11238 warnings before exiting. Suggested by Brad Dobbie.
11239 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11240 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11241 to report unused template errors. Reported by Brad Dobbie.
11242 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11243 nets, bug438. Reported by Vns Blore.
11244 (verilog-auto-inout-module, verilog-auto-reg)
11245 (verilog-read-decls, verilog-read-sub-decls-sig)
11246 (verilog-signals-edit-wire-reg, verilog-signals-with):
11247 Fix passing of Verilog data types in ANSI input/output ports
11248 such as "output logic" into the AUTOs. Special case "wire" and
11249 "reg" for backwards compatibility presuming Verilog 2001.
11250 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11251 (verilog-preprocess): Fix replication of preprocess output.
11252 Reported by Brad Dobbie.
11253 (verilog-auto-inst-interfaced-ports):
11254 Create verilog-auto-inst-interfaced-ports, bug429.
11255 Reported by Julian Gorfajn.
11256 (verilog-after-save-font-hook)
11257 (verilog-before-save-font-hook): New variable.
11258 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11259 (verilog-save-font-mods): Wrap disabling fontification, reported
11261 (verilog-do-indent, verilog-pretty-declarations-auto)
11262 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11263 Reported by Pierre-David Pfister.
11264 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11265 of class declarations, bug292. Reported by Kevin Heilman.
11266 (verilog-read-decls): Fix 'parameter type' not appearing in
11267 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11268 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11269 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11270 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11271 Reported by David Kravitz.
11273 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11275 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11276 assignment with tests in ifs and for loops.
11277 (verilog-extended-complete-re, verilog-complete-reg): Change so
11278 that DPI inport functions don't look like fuction declarations.
11279 (verilog-pretty-expr): Don't line up assignment
11280 operations to the test and increment in if and for loops
11281 (verilog-extended-complete-re, verilog-complete-reg): Change so
11282 that DPI inport functions don't look like fuction declarations.
11284 2012-05-03 Kenichi Handa <handa@m17n.org>
11286 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11287 decoding, and show a warning message without signaling an error
11290 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11292 * emacs-lisp/bytecomp.el
11293 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11294 since cconv.el might have introduced :fun-body, internal-make-closure,
11295 and friends for bytecomp to handle (bug#11391).
11296 * custom.el (defcustom): Avoid ((λ ..) ..).
11298 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11300 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11302 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11304 * notifications.el (dbus-debug):
11305 * term/linux.el (gpm-mouse-enable):
11306 * term/screen.el (xterm-register-default-colors): Declare.
11308 2012-05-02 Chong Yidong <cyd@gnu.org>
11310 * cus-start.el (gc-cons-percentage, exec-suffixes)
11311 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11312 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11313 (make-cursor-line-fully-visible, void-text-area-pointer)
11314 (font-list-limit): Add customization data.
11316 * allout.el (allout-exposure-change-functions)
11317 (allout-structure-added-functions)
11318 (allout-structure-deleted-functions)
11319 (allout-structure-shifted-functions): Rename abnormal hooks from
11320 *-hook, and convert to defcustoms.
11321 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11322 Convert to defcustoms.
11323 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11325 * allout-widgets.el: Hook callers changed.
11327 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11329 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11330 the yanked message in preference to the default value of
11331 buffer-file-coding-system.
11333 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11335 * window.el (display-buffer--action-function-custom-type):
11338 2012-05-02 Alan Mackenzie <acm@muc.de>
11340 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11342 2012-05-01 Glenn Morris <rgm@gnu.org>
11344 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11346 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11348 * cus-edit.el (custom-variable-documentation): Simplify with format.
11350 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11351 Stefan Monnier <monnier@iro.umontreal.ca>
11353 * simple.el (suggest-key-bindings, execute-extended-command):
11354 Move from keyboard.c.
11356 2012-05-01 Chong Yidong <cyd@gnu.org>
11358 * follow.el: Eliminate advice.
11359 (set-process-filter, process-filter, sit-for): Advice deleted.
11360 (follow-mode-off-hook): Obsolete hook removed.
11361 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11363 (follow-auto): Use a :set function.
11364 (follow-mode): Rewritten. Don't advise process filters.
11365 (follow-switch-to-current-buffer-all, follow-scroll-up)
11366 (follow-scroll-down): Assume follow-mode is bound.
11367 (follow-comint-scroll-to-bottom)
11368 (follow-align-compilation-windows): New functions.
11369 (follow--window-sorter): New function.
11370 (follow-all-followers): Use it to explicitly sort windows by their
11371 positions; don't make assumptions about next-window order.
11372 (follow-windows-start-end, follow-delete-other-windows-and-split)
11373 (follow-calc-win-start): Doc fix.
11374 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11375 vertical-motion unnecessarily.
11376 (follow-adjust-window): New function.
11377 (follow-post-command-hook): Use it.
11378 (follow-call-set-process-filter, follow-call-process-filter)
11379 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11380 (follow-stop-intercept-process-output, follow-generic-filter):
11382 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11383 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11384 New functions, replacing advice on scroll-bar-* commands.
11385 (follow-mwheel-scroll): New function (Bug#4112).
11387 * comint.el (comint-adjust-point): New function.
11388 (comint-postoutput-scroll-to-bottom): Use it.
11389 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11391 2012-05-01 Glenn Morris <rgm@gnu.org>
11393 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11394 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11395 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11396 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11397 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11398 Remove no-byte-compile setting.
11400 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11402 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11403 all-completions code to not return a number in the last cdr.
11405 2012-04-30 Leo Liu <sdl.web@gmail.com>
11407 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11410 2012-04-29 Chong Yidong <cyd@gnu.org>
11412 * follow.el (follow-calc-win-end): Rewrite to handle partial
11413 screen lines correctly (Bug#8390).
11414 (follow-avoid-tail-recenter): Minor cleanup.
11416 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11418 Avoid the obsolete `assoc' package.
11419 * speedbar.el (speedbar-refresh): Avoid adelete.
11420 (speedbar-file-lists): Simplify and avoid aput.
11421 * man.el (Man--sections, Man--refpages): New vars, replacing
11422 Man-sections-alist and Man-refpages-alist.
11423 (Man-build-section-alist, Man-build-references-alist):
11424 Use them; avoid aput.
11425 (Man--last-section, Man--last-refpage): New vars.
11426 (Man-follow-manual-reference): Use them.
11427 Use the `default' arg of completing-read.
11428 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11430 2012-04-27 Chong Yidong <cyd@gnu.org>
11432 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11434 * startup.el (x-apply-session-resources): New function.
11436 * term/ns-win.el (ns-initialize-window-system):
11437 * term/w32-win.el (w32-initialize-window-system):
11438 * term/x-win.el (x-initialize-window-system): Use it to properly
11439 set menu-bar-mode and other vars from X resources, even if the
11440 initial frame is not a window-system frame (Bug#2299).
11442 * subr.el (read-key): Avoid running filter function when setting
11443 up temporary tool bar entries (Bug#9922).
11445 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11447 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11450 2012-04-27 Chong Yidong <cyd@gnu.org>
11452 * select.el (xselect--encode-string): New function, split from
11453 xselect-convert-to-string.
11454 (xselect-convert-to-string): Use it.
11455 (xselect-convert-to-filename, xselect-convert-to-os)
11456 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11457 returned strings are properly encoded (Bug#11315).
11459 2012-04-27 Chong Yidong <cyd@gnu.org>
11461 * simple.el (delete-active-region): Move to killing custom group.
11463 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11465 * progmodes/which-func.el (which-func-current): Quote %
11466 characters for mode-line processing.
11468 2012-04-27 Chong Yidong <cyd@gnu.org>
11470 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11471 reaching eob (Bug#11286).
11473 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11475 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11476 (gdb): Make it buffer-local and init to zero.
11477 (gdb-control-commands-regexp): New variable.
11478 (gdb-send): Don't wrap in "-interpreter-exec console" if
11479 gdb-control-level is positive. Increment gdb-control-level
11480 whenever the command matches gdb-control-commands-regexp, and
11481 decrement it each time the command is "end". (Bug#11279)
11483 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11485 * window.el (adjust-window-trailing-edge, enlarge-window)
11486 (shrink-window, window-resize):
11487 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11488 windows (Bug#11276).
11490 2012-04-27 Chong Yidong <cyd@gnu.org>
11492 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11493 fix "missing prefix" warning. All callers changed.
11495 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11497 * emacs-lisp/assoc.el: Move to obsolete/.
11499 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11501 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11503 * term/ns-win.el (ns-define-service):
11504 * progmodes/pascal.el (pascal-goto-defun):
11505 * progmodes/js.el (js--read-tab):
11506 * progmodes/etags.el (tags-lazy-completion-table):
11507 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11508 * emacs-lisp/ewoc.el (ewoc--wrap):
11509 * emacs-lisp/assoc.el (aput, adelete, amake):
11510 * doc-view.el (doc-view-convert-current-doc):
11511 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11513 2012-04-26 Chong Yidong <cyd@gnu.org>
11515 * image.el (image-type-from-buffer): Only return supported image
11518 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11519 value, for symmetry with diff-end-of-hunk.
11520 (diff-split-hunk, diff-find-source-location)
11521 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11522 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11523 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11524 compute the relevant hunk or file properly (Bug#6005).
11525 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11527 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11536 * vc/vc.el: Replace lexical-let by lexical-binding.
11537 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11538 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11539 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11541 2012-04-26 Chong Yidong <cyd@gnu.org>
11543 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11544 (diff-mode-shared-map): Bind it to / and [remap undo].
11546 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11547 (ediff-window-setup-function): Use it as the default, to set up
11548 windows based on whether the current frame is graphical (Bug#2138).
11549 (ediff-choose-window-setup-function-automatically): Make obsolete.
11551 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11553 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11555 * ffap.el: Remove old code for obsolete package.
11556 (ffap-complete-as-file-p): Remove.
11558 Use completion-table-with-quoting for comint and pcomplete.
11559 * comint.el (comint--unquote&requote-argument)
11560 (comint--unquote-argument, comint--requote-argument): New functions.
11561 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11562 (comint-quote-filename): Use regexp-opt-charset.
11563 (comint--common-suffix, comint--common-quoted-suffix)
11564 (comint--table-subvert): Remove.
11565 (comint-unquote-function, comint-requote-function): New vars.
11566 (comint--complete-file-name-data): Use them with
11567 completion-table-with-quoting.
11568 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11569 * pcomplete.el (pcomplete-arg-quote-list)
11570 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11571 (pcomplete-unquote-argument-function): Default to non-nil.
11572 (pcomplete-unquote-argument): Simplify.
11573 (pcomplete--common-quoted-suffix): Remove.
11574 (pcomplete-requote-argument-function): New var.
11575 (pcomplete--common-suffix): New function.
11576 (pcomplete-completions-at-point): Use completion-table-with-quoting
11577 and completion-table-subvert.
11579 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11580 (minibuffer--double-dollars): Preserve properties.
11581 (completion--sifn-requote): New function.
11582 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11584 * minibuffer.el: Add support for completion of quoted/escaped data.
11585 (completion-table-with-quoting, completion-table-subvert): New funs.
11586 (completion--twq-try, completion--twq-all): New functions.
11587 (completion--nth-completion): New function.
11588 (completion-try-completion, completion-all-completions): Use it.
11590 2012-04-25 Leo Liu <sdl.web@gmail.com>
11592 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11593 Use compilation-message if available to find real filename.
11595 2012-04-25 Chong Yidong <cyd@gnu.org>
11597 * vc/diff-mode.el (diff-setup-whitespace): New function.
11598 (diff-mode): Use it.
11600 * vc/diff.el (diff-sentinel):
11601 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11602 Whitespace mode variables based on diff style (Bug#8612).
11604 2012-04-25 Leo Liu <sdl.web@gmail.com>
11606 * progmodes/python.el (python-send-region): Add suffix .py to the
11609 * files.el (auto-mode-alist): Use javascript-mode instead.
11611 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11613 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11615 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11616 (soap-resolve-references-for-array-type): Hack to prevent self
11617 references, see Bug#9.
11618 (soap-parse-envelope): Report the contents of the 'detail' node
11619 when receiving a fault reply.
11620 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11622 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11623 (soap-inspect-simple-type): New function.
11625 * net/soap-client.el (soap-simple-type): New struct.
11626 (soap-default-xsd-types, soap-default-soapenc-types)
11627 (soap-decode-basic-type, soap-encode-basic-type):
11628 support unsignedInt and double basic types.
11629 (soap-resolve-references-for-simple-type)
11630 (soap-parse-simple-type, soap-encode-simple-type): New function.
11631 (soap-parse-schema): Parse xsd:simpleType declarations.
11633 * net/soap-client.el (soap-default-xsd-types)
11634 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11635 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11636 the local name of "soapenc:Array".
11637 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11638 decoding integer, byte and anyURI xsd types.
11640 2012-04-25 Chong Yidong <cyd@gnu.org>
11642 * cus-edit.el (custom-buffer-create-internal): Update header text.
11644 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11646 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11647 settings on 'system-type', not on 'window-system'. On MS-Windows,
11648 set interactive-mode on in GDB.
11650 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11652 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11653 (ruby-syntax-propertize-regexp): Remove.
11654 (ruby-syntax-propertize-function): Split regexp into chunks.
11655 Match following code directly.
11657 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11659 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11660 (ruby-syntax-propertize-regexp): New function.
11661 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11662 by a special keyword.
11664 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11665 (ruby-syntax-general-delimiters-goto-beg)
11666 (ruby-syntax-propertize-general-delimiters): New functions.
11667 (ruby-syntax-propertize-function): Use them to handle GDL.
11668 (ruby-font-lock-keywords): Move old handling of GDL...
11669 (ruby-font-lock-syntactic-keywords): .. to here.
11670 (ruby-calculate-indent): Adjust indentation for GDL.
11672 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11674 * notifications.el (top): Remove unneeded declarations.
11675 (notifications-specification-version): Change to "1.2".
11676 (notifications-interface, notifications-notify-method)
11677 (notifications-close-notification-method): Fix docstring.
11678 (notifications-get-capabilities-method): New defconst.
11679 (notifications-notify): Add :action-items, :resident and
11680 :transient hints. Change "image_data" to "image-data" and
11681 "image_path" to "image-path".
11682 (notifications-get-capabilities): New defun.
11684 2012-04-24 Leo Liu <sdl.web@gmail.com>
11686 * progmodes/python.el: Move hideshow setup to the end.
11688 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11690 * window.el (handle-select-window): Clear echo area since this is
11691 no more done by read_char (Bug#11304).
11693 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11695 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11696 and `/ M' to filter-derived-mode.
11697 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11698 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11699 (ibuffer-mark-by-mode): Use default rather than initial-input.
11700 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11702 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11704 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11705 (ibuffer-filter-by-derived-mode): New filter.
11706 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11708 2012-04-23 Andreas Politz <politza@fh-trier.de>
11710 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11712 2012-04-23 Chong Yidong <cyd@gnu.org>
11714 * cus-edit.el (customize-apropos, customize-apropos-options):
11715 Disable matching of non-option variables (Bug#11176).
11716 (customize-option, customize-option-other-window)
11717 (customize-changed-options): Doc fix.
11718 (customize-apropos-options, customize-apropos-faces)
11719 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11721 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11722 Fix word list splitting (Bug#11132).
11723 (apropos-symbol, apropos-keybinding, apropos-label)
11724 (apropos-property, apropos-function-button)
11725 (apropos-variable-button, apropos-misc-button): New faces.
11726 (apropos-symbol-face, apropos-keybinding-face)
11727 (apropos-label-face, apropos-property-face, apropos-match-face):
11728 Variables removed (Bug#8396).
11729 (apropos-library-button, apropos-format-plist, apropos-print)
11730 (apropos-print-doc, apropos-describe-plist): Callers changed.
11732 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11734 * net/xesam.el (xesam-mode-map): Use let-bound map in
11735 initialization. (Bug#11292)
11737 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11739 Preserve ispell session localwords when switching back to
11742 * textmodes/ispell.el (ispell-buffer-session-localwords):
11743 New buffer-local variable to hold buffer session localwords.
11744 (ispell-kill-ispell): Add option 'clear to delete session
11746 (ispell-command-loop, ispell-change-dictionary)
11747 (ispell-buffer-local-words): Preserve session localwords when
11750 * textmodes/flyspell.el (flyspell-process-localwords)
11751 (flyspell-do-correct): Preserve session localwords when needed.
11753 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11755 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11756 using obsolete `translation-table-for-input'.
11757 (ispell-word, ispell-process-line, ispell-complete-word):
11758 Use plain `insert' instead of removed `ispell-insert-word'.
11760 2012-04-22 Chong Yidong <cyd@gnu.org>
11762 * cus-edit.el (custom-variable-menu)
11763 (custom-variable-reset-saved, custom-face-menu)
11764 (custom-face-reset-saved): If there is no saved value, make the
11765 "reset-saved" operation bring back the default (Bug#9509).
11766 (custom-face-state): Properly detect themed faces.
11768 * faces.el (face-spec-set): Stop supporting deprecated form of
11771 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11773 Move functions from C to Lisp. Make non-blocking method calls
11774 the default. Implement further D-Bus standard interfaces.
11776 * net/dbus.el (dbus-message-internal): Declare function.
11777 Remove unneeded function declarations.
11778 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11779 (dbus-message-type-method-return, dbus-message-type-error)
11780 (dbus-message-type-signal): Declare variables. Remove local
11782 (dbus-interface-dbus, dbus-interface-peer)
11783 (dbus-interface-introspectable, dbus-interface-properties)
11784 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11786 (dbus-interface-objectmanager): New defconst.
11787 (dbus-call-method, dbus-call-method-asynchronously)
11788 (dbus-send-signal, dbus-method-return-internal)
11789 (dbus-method-error-internal, dbus-register-service)
11790 (dbus-register-signal, dbus-register-method): New defuns, moved
11792 (dbus-call-method-handler, dbus-setenv)
11793 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11795 (dbus-call-method-non-blocking): Make it an obsolete function.
11796 (dbus-unregister-object, dbus-unregister-service)
11797 (dbus-handle-event, dbus-register-property)
11798 (dbus-property-handler): Obey the new structure of
11799 `bus-registered-objects'.
11800 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11801 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11802 Use `dbus-call-method'.
11804 2012-04-22 Chong Yidong <cyd@gnu.org>
11806 * cus-edit.el (custom-commands, custom-reset-menu)
11807 (Custom-reset-standard): Tweak labels.
11808 (custom-reset-button-menu): Change default to t.
11809 (custom-buffer-create-internal): For the custom-reset-button-menu
11810 case, put the revert button first.
11811 (custom-group-subtitle): New face.
11812 (custom-group-value-create): Align docstring to a specific column.
11814 * wid-edit.el (widget-documentation-link-add): Don't handle
11815 indentation in this function.
11816 (widget-documentation-string-indent-to): New function.
11817 (widget-documentation-string-value-create): Use it.
11819 * autorevert.el (auto-revert):
11820 * epg-config.el (epg):
11821 * ibuffer.el (ibuffer):
11824 * eshell/eshell.el (eshell):
11825 * net/ange-ftp.el (ange-ftp):
11826 * progmodes/ebnf2ps.el (postscript):
11827 * progmodes/flymake.el (flymake):
11828 * progmodes/prolog.el (prolog):
11829 * progmodes/verilog-mode.el (verilog-mode):
11830 * progmodes/which-func.el (which-func):
11831 * term/xterm.el (xterm):
11832 * textmodes/picture.el (picture):
11833 * textmodes/tildify.el (tildify):
11834 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11835 customization buffers.
11837 2012-04-22 Alan Mackenzie <acm@muc.de>
11839 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11840 Adding a ) can hide the resulting (..) from searches. Fix it.
11841 Bound the backward search to the position of the existing (.
11843 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11845 * progmodes/verilog-mode.el (verilog-mode): Check whether
11846 which-func-modes is t before adding verilog-mode.
11847 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11849 2012-04-21 Leo Liu <sdl.web@gmail.com>
11851 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11853 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11855 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11856 filling of the last column of a table (Bug#5635).
11857 (woman-find-next-control-line): New arg, specifying an additional
11858 regexp component for the control line.
11859 (woman2-roff-buffer): Use it.
11860 (woman-break-table): New function.
11861 (woman2-TS): Use it.
11863 2012-04-21 Chong Yidong <cyd@gnu.org>
11865 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11866 (woman-horizontal-escapes, woman-negative-vertical-space)
11867 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11868 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11870 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11872 * minibuffer.el (completion-file-name-table): Complete user names.
11874 2012-04-20 Leo Liu <sdl.web@gmail.com>
11876 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11879 2012-04-20 Chong Yidong <cyd@gnu.org>
11881 * server.el (server-execute): Respect initial-buffer-choice if it
11882 is a string and there are no files to open (Bug#2825).
11883 (server-create-window-system-frame, server-create-tty-frame):
11884 Don't switch buffers here.
11885 (server-process-filter): Only try to open a window system frame if
11886 compiled with graphical support (Bug#8314).
11888 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11890 * battery.el (battery-echo-area-format): Display remaining time
11891 for sysfs backend too (Bug#11269).
11892 (battery-linux-sysfs): Fix conditional for the charge.
11894 2012-04-20 Chong Yidong <cyd@gnu.org>
11896 * progmodes/gdb-mi.el (gdb): Revert previous change.
11897 (gdb-inferior-io--init-proc): New function.
11898 (gdb-init-1): Use it.
11899 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11900 responsible for allocating a new pty and hooking it to gdb when
11901 the old pty gets an EIO due to process exit.
11902 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11903 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11904 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11906 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11908 * window.el (window-min-size, window-sizable, window-min-delta)
11909 (window-max-delta, window--resizable, window-resizable)
11910 (window-total-size, window-full-height-p, window-full-width-p)
11911 (window-in-direction, window--resize-mini-window, window-resize)
11912 (window--resize-child-windows-normal)
11913 (window--resize-child-windows, window--resize-siblings)
11914 (window--resize-this-window, adjust-window-trailing-edge)
11915 (enlarge-window, shrink-window): Doc fixes.
11917 2012-04-20 Chong Yidong <cyd@gnu.org>
11919 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11920 New function to call delete-process on the gdb-inferior buffer's pty.
11921 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11922 pty process (Bug#11273).
11923 (gdb-update): New arg to suppress talking to the gdb process.
11924 (gdb-done-or-error): Use it.
11925 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11926 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11927 sentinel not being called.
11929 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11931 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11933 2012-04-20 Glenn Morris <rgm@gnu.org>
11935 * net/network-stream.el (open-network-stream): Doc fix.
11937 2012-04-20 Chong Yidong <cyd@gnu.org>
11939 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11941 2012-04-20 Alan Mackenzie <acm@muc.de>
11943 Ensure searching for keywords is case sensitive.
11945 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11946 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11947 (c-defun-name, c-mark-function, c-cpp-define-name)
11948 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11949 (c-context-line-break): Bind case-fold-search to nil.
11951 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11952 Bind case-fold-search to nil.
11954 2012-04-20 Chong Yidong <cyd@gnu.org>
11956 * mail/sendmail.el (mail-bury): Call return action with the right
11957 Rmail buffer (Bug#11242).
11959 * server.el (server-process-filter): Handle corner case where both
11960 tty and nowait options are present (Bug#11102).
11962 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11964 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11965 (top level): Put into the executable the ident-style '$Id:' tag on
11966 windows-nt as well.
11968 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11970 * electric.el (electric-indent-post-self-insert-function): Check that
11971 electric-indent-mode is enabled in current buffer.
11973 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11975 * imenu.el (imenu-progress-message): Restore; it is "used" in
11976 erc/erc-imenu.el and net/snmp-mode.el.
11978 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11980 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11981 (mouse-avoidance-nudge-mouse): Remove unused binding.
11983 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11985 * descr-text.el (describe-char):
11986 * progmodes/python.el (python-describe-symbol):
11987 Don't call `toggle-read-only', set `buffer-read-only'.
11989 * imenu.el (imenu-default-goto-function): Mark unused args.
11990 (imenu-progress-message): Remove obsolete macro; all callers changed.
11992 * subr.el (keymap-canonicalize): Remove unused binding.
11993 (read-passwd): Mark unused arg.
11995 * tutorial.el (tutorial--display-changes): Remove unused binding.
11996 (tutorial--save-tutorial-to): Remove unused variable.
11998 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11999 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12000 (package-generate-autoloads, package-menu--generate)
12001 (package-menu--find-upgrades): Remove unused bindings.
12003 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12004 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12005 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12006 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12007 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12008 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12009 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12010 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12011 (cua-delete-char-rectangle): Mark unused args.
12012 (cua-align-rectangle): Remove unused binding.
12014 * mail/rmail.el (compilation--message->loc)
12015 (epa--find-coding-system-for-mime-charset): Declare.
12017 * net/dbus.el (dbus-register-service): Declare.
12018 (dbus-name-owner-changed-handler): Remove unused binding.
12020 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12021 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12022 (nxml-scan-backward-within): Mark unused arg.
12023 (nxml-dynamic-markup-word): Remove unused binding.
12025 * mouse.el (mouse-menu-major-mode-map):
12026 * emacs-lisp/authors.el (authors-scan-change-log)
12027 (authors-add-to-author-list):
12028 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12029 * emacs-lisp/smie.el (smie-auto-fill):
12030 * mail/sendmail.el (mail-bury):
12031 * mail/unrmail.el (unrmail):
12032 * net/tls.el (open-tls-stream):
12033 * textmodes/picture.el (picture-mouse-set-point):
12034 Remove unused bindings.
12036 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12038 * net/tramp.el (tramp-action-password): Let-bind
12039 `enable-recursive-minibuffers' to t.
12041 2012-04-18 Sam Steingold <sds@gnu.org>
12043 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12044 instead of 'string to accommodate values like [f11].
12045 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12046 * progmodes/gdb-mi.el: Likewise.
12048 2012-04-18 Leo Liu <sdl.web@gmail.com>
12050 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12052 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12055 2012-04-18 Chong Yidong <cyd@gnu.org>
12057 * simple.el (line-move): Use forward-line if in batch mode
12060 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12062 * files.el (after-find-file): Do not try to add a final newline if
12063 the buffer is read-only (Bug#11156).
12065 2012-04-17 Richard Stallman <rms@gnu.org>
12067 * mail/rmail.el (rmail-start-mail):
12068 Pass (rmail-mail-return...) for the return-action.
12069 Pass (rmail-yank-current-message...) for the yank-action.
12070 (rmail-yank-current-message): New function.
12071 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12072 (rmail-reply): Likewise.
12073 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12075 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12076 buffer, not the last. Reject temp buffers. Use the rmail-mode
12077 buffer, not newbuf.
12079 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12081 * server.el (server-ensure-safe-dir): Simplify.
12083 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12085 * emacs-lisp/smie.el: Provide smarter auto-filling.
12086 (smie-auto-fill): New function.
12087 (smie-setup): Use it.
12089 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12091 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12093 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12094 (comment-indent): Use it.
12096 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12098 * ses.el: The overall change is to add cell renaming, that is
12099 setting fancy names for cell symbols other than name matching
12100 "\\`[A-Z]+[0-9]+\\'" regexp .
12101 (ses-localvars): Add ses--renamed-cell-symb-list.
12102 (ses-create-cell-variable): New defun.
12103 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12104 (ses-relocate-formula): Relocate formulas only for cells the
12105 symbols of which are not renamed, i.e. symbols whose names do not
12106 match regexp "\\`[A-Z]+[0-9]+\\'".
12107 (ses-relocate-all): Relocate values only for cells the symbols of
12108 which are not renamed.
12109 (ses-load): Create cells variables as the (ses-cell ...) are read,
12110 in order to check row col consistency with cell symbol name only
12111 for cells that are not renamed.
12112 (ses-replace-name-in-formula): New defun.
12113 (ses-rename-cell): New defun.
12115 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12117 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12118 New option (bug#11118).
12119 (perl-calculate-indent): Respect it.
12121 2012-04-17 Glenn Morris <rgm@gnu.org>
12123 * dired-aux.el (dired-mark-read-string): Doc fix.
12125 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12127 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12128 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12130 2012-04-17 Glenn Morris <rgm@gnu.org>
12132 * mouse.el (mouse-drag-track):
12133 * speedbar.el (speedbar-frame-mode):
12134 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12136 2012-04-16 Leo Liu <sdl.web@gmail.com>
12138 * progmodes/python.el: Trivial cleanup.
12140 2012-04-16 Glenn Morris <rgm@gnu.org>
12142 * vc/vc.el (vc-string-prefix-p):
12143 * vc/pcvs-util.el (cvs-string-prefix-p):
12144 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12145 * mpc.el (mpc-string-prefix-p):
12146 Make all of these into obsolete aliases for string-prefix-p.
12148 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12150 * textmodes/two-column.el: Move custom options to the start.
12151 (frame-width): Remove compat definition.
12152 (2C-associate-buffer, 2C-dissociate):
12153 Use with-current-buffer rather than save-excursion.
12154 (2C-dissociate): Force a mode-line update.
12155 (2C-autoscroll): Use ignore-errors.
12157 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12160 * emacs-lisp/cl-extra.el (*random-state*):
12161 Remove unnecessary declaration.
12163 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12165 * play/cookie1.el (cookie-snarf):
12166 Give an explicit error if input file cannot be read.
12168 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12170 * progmodes/perl-mode.el (c-macro-expand):
12171 Remove unnecessary autoload (it is in loaddefs.el).
12173 * textmodes/picture.el (picture-desired-column)
12174 (picture-update-desired-column): Convert comments to doc-strings.
12175 (picture-substitute): Remove function.
12176 (picture-mode-map): Initialize in the defvar.
12178 * woman.el: Remove eval-after-load for tar-mode.
12179 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12180 (woman-tar-extract-file): Autoload it.
12182 * frame.el (automatic-hscrolling): Make this alias obsolete.
12184 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12186 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12187 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12188 (ispell-dictionary-base-alist): Revert to original XEmacs
12189 friendly version for default. [:alpha:] will be added in
12190 `ispell-set-spellchecker-params' if needed.
12192 2012-04-16 Chong Yidong <cyd@gnu.org>
12194 * image.el (imagemagick--file-regexp): New variable.
12195 (imagemagick-register-types): Use it.
12196 (imagemagick-types-inhibit): Add :set function. Allow new value
12197 of t to inhibit all types.
12199 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12200 so we can preload it.
12202 * loadup.el (fboundp): Preload regexp-opt, needed by
12203 imagemagick-register-types.
12205 2012-04-15 Chong Yidong <cyd@gnu.org>
12207 * frame.el (scrolling): Remove nearly unused customization group.
12209 * scroll-all.el (scroll-all-mode): Move to windows group.
12211 2012-04-15 Chong Yidong <cyd@gnu.org>
12213 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12215 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12217 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12218 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12220 2012-04-15 Glenn Morris <rgm@gnu.org>
12222 * simple.el (process-file-side-effects): Doc fix.
12224 2012-04-15 Glenn Morris <rgm@gnu.org>
12226 * international/mule-cmds.el (set-language-environment): Doc fix.
12228 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12230 * server.el (server-auth-key, server-generate-key): Doc fixes.
12231 (server-get-auth-key): Doc fix. Use `string-match-p'.
12232 (server-start): Reflow docstring.
12234 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12236 * server.el (server-generate-key): `called-interactively-p'
12237 requires a parameter.
12239 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12241 * server.el (server-auth-key): New variable.
12242 (server-generate-key, server-get-auth-key): New function.
12243 (server-start): Use the new variable and functions to allow
12244 setting a permanent server key (bug#9423).
12246 2012-04-14 Leo Liu <sdl.web@gmail.com>
12248 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12250 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12253 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12254 Emacs uses American spelling.
12256 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12258 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12259 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12260 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12261 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12263 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12265 * progmodes/which-func.el (which-func-modes): Change default.
12267 2012-04-14 Kim F. Storm <storm@cua.dk>
12269 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12270 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12272 2012-04-14 Chong Yidong <cyd@gnu.org>
12274 * custom.el (custom-theme-set-variables): Doc fix.
12276 2012-04-14 Glenn Morris <rgm@gnu.org>
12278 * international/mule.el (set-auto-coding-for-load): Doc fix.
12280 2012-04-14 Alan Mackenzie <acm@muc.de>
12282 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12283 imenu work again for Objective C Mode. Correct the *-index values,
12284 these having been disturbed by a previous change in 2011-08.
12286 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12287 Correct two search limits.
12289 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12291 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12293 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12295 * international/characters.el: Fix sorting.
12297 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12299 * international/characters.el: Add more missing Latin case pairs.
12301 2012-04-14 Glenn Morris <rgm@gnu.org>
12303 * files.el (dir-locals-set-class-variables): Doc fix.
12305 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12307 * international/characters.el: Add set-case-syntax-pair call for
12308 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12309 counterpart. (Bug#11209)
12311 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12313 2012-04-14 Glenn Morris <rgm@gnu.org>
12315 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12317 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12319 * textmodes/ispell.el (ispell-dictionary-base-alist):
12320 Add data for Hebrew.
12322 2012-04-14 Chong Yidong <cyd@gnu.org>
12324 * net/rcirc.el (rcirc-cmd-quit):
12325 Revert 2012-03-18 change (Bug#11192).
12327 2012-04-14 Glenn Morris <rgm@gnu.org>
12329 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12331 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12333 * minibuffer.el (completion-in-region-mode-map):
12334 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12336 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12338 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12340 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12342 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12343 to allow `C-M-f' and `C-M-b' to move to the nearest path
12344 separator (bug#9511).
12346 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12348 * avoid.el: Require cl when compiling. And also move the
12349 `provide' to the end.
12351 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12353 * avoid.el (mouse-avoidance-banish-position): New variable.
12354 (mouse-avoidance-banish-destination): Use it (bug#10165).
12356 2012-04-13 Leo Liu <sdl.web@gmail.com>
12358 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12360 2012-04-13 Ken Brown <kbrown@cornell.edu>
12362 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12363 this is no longer needed now that cygstart understands file:// URLs.
12364 (browse-url-filename-alist): For the same reason, don't modify
12365 file:// URLs on Cygwin.
12367 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12369 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12370 the region on shift if the binding is already shifted (bug#11221).
12372 2012-04-12 Glenn Morris <rgm@gnu.org>
12374 * mail/mailpost.el: Move to obsolete/.
12376 2012-04-12 Drew Adams <drew.adams@oracle.com>
12378 * imenu.el (imenu--generic-function): Ignore invisible definitions
12381 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12383 * hexl.el (hexl-bits): New variable.
12384 (hexl-options): Mention the variable in the doc string.
12385 (hexl-rulerise, hexl-line-displen): New functions.
12386 (hexl-mode): Mention the new variable.
12387 (hexl-mode, hexl-current-address, hexl-current-address):
12389 (hexl-ascii-start-column): New function.
12390 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12391 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12393 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12395 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12396 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12397 the encoding, as expected by hunspell.
12399 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12401 * battery.el (battery--linux-sysfs-regexp): New const.
12402 (battery-status-function): Use it. Remove yeeloong special case.
12403 (battery-yeeloong-sysfs): Remove.
12404 (battery-echo-area-format): Remove yeeloong special case.
12406 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12408 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12409 Reported by Noah Friedman.
12411 * subr.el (read-passwd): Use read-string.
12413 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12415 * vcursor.el (vcursor-move): Increase the priority of the overlay
12418 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12420 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12421 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12423 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12425 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12426 define-minor-mode (bug#10760).
12428 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12430 * progmodes/grep.el (rgrep): Tweak the find command line so
12431 that directories matching `grep-find-ignored-files' won't be
12432 pruned (bug#10351).
12434 2012-04-11 Chong Yidong <cyd@gnu.org>
12436 * startup.el (command-line): Remove support for long-obsolete
12437 variable font-lock-face-attributes.
12439 2012-04-11 Glenn Morris <rgm@gnu.org>
12441 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12443 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12445 * window.el (window--state-get-1): Obey window-point-insertion-type.
12447 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12449 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12450 to previous function when point is on the first character of a
12451 function. Take care of that in `narrow-to-defun' (bug#6157).
12453 2012-04-11 Glenn Morris <rgm@gnu.org>
12455 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12456 not just file-errors.
12458 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12459 (vc-bzr-sha1): Use internal sha1.
12461 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12463 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12465 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12467 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12468 that start in the middle of the line (bug#10496).
12470 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12472 * battery.el (battery-linux-proc-acpi): Only one battery is
12473 discharged at a time, but that seems to confuse battery.el when
12474 computing `rate-type' for the battery not being discharged
12477 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12479 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12481 * international/quail.el: Use dolist and simplify.
12482 (quail-define-package, quail-update-keyboard-layout)
12483 (quail-define-rules): Use dolist.
12484 (quail-insert-kbd-layout, quail-get-translation): CSE.
12486 * tmm.el: Use dolist, remove left over hook.
12487 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12489 (calendar-load-hook): Don't mess with it.
12491 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12492 Use derived-mode-p. Run the diff asynchronously.
12494 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12496 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12498 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12500 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12501 (list-dynamic-libraries--loaded): New function.
12502 (list-dynamic-libraries--refresh): Use it.
12504 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12506 * progmodes/python.el (python-fill-paragraph):
12507 Make python-fill-region in a multiline string work when font-lock is
12508 disabled (bug#7018).
12510 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12512 * language/european.el (cp775): Add oem/legacy (en)coding on
12513 DOS/MS Windows for the Baltic languages. There are still plenty
12514 of texts written in this encoding/codepage (bug#6519).
12516 2012-04-10 Glenn Morris <rgm@gnu.org>
12518 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12519 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12521 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12523 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12524 next-line "n" and previous-line "p" in order to make recentf more
12525 consistent with ibuffer, dired or org-mode (bug#9387).
12527 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12529 * image.el (put-image): Return the overlay created instead of the
12530 optional input string (bug#7834). Note that this may break code
12531 that is (for some reason or other) depending on `put-image'
12532 returning the string.
12534 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12536 * simple.el (zap-to-char): Allow zapping using input methods
12539 * textmodes/fill.el (fill-region): Leave point and mark where they
12540 were before filling (bug#5399).
12542 2012-04-09 Glenn Morris <rgm@gnu.org>
12544 * version.el (emacs-bzr-get-version):
12545 Handle lightweight checkouts of local branches.
12547 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12549 * international/characters.el: Recover lost case pairs. (Bug#11209)
12551 2012-04-09 Chong Yidong <cyd@gnu.org>
12553 * custom.el (custom-variable-p): Return nil for non-symbol
12554 arguments instead of signaling an error.
12555 (user-variable-p): Obsolete alias for custom-variable-p.
12557 * apropos.el (apropos-variable):
12558 * files-x.el (read-file-local-variable):
12559 * simple.el (set-variable):
12560 * woman.el (woman-mini-help):
12561 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12563 2012-04-09 Glenn Morris <rgm@gnu.org>
12565 * startup.el (normal-top-level): Don't look for leim-list.el
12566 in places where it will not be found. (Bug#910)
12568 * international/mule-cmds.el (set-default-coding-systems):
12569 * files.el (normal-mode):
12570 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12571 This function was removed with ucs-tables.el in 2008.
12573 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12575 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12576 ispell-encoding8-command to "-i", without a trailing space.
12577 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12578 separate command-line arguments, to specify the encoding, since
12579 that's how hunspell expects it.
12581 2012-04-08 Glenn Morris <rgm@gnu.org>
12583 * loadup.el: Load bindings before cus-start.
12584 This reduces somewhat the number of "rogue" settings in emacs -Q.
12586 2012-04-07 Glenn Morris <rgm@gnu.org>
12588 * version.el (emacs-bzr-get-version): New function.
12589 (emacs-bzr-version): New variable.
12590 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12591 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12593 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12595 * international/uni-bidi.el, international/uni-category.el:
12596 * international/uni-combining.el, international/uni-decimal.el:
12597 * international/uni-decomposition.el, international/uni-digit.el:
12598 * international/uni-lowercase.el, international/uni-mirrored.el:
12599 * international/uni-name.el, international/uni-numeric.el:
12600 * international/uni-titlecase.el, international/uni-uppercase.el:
12601 Update for Unicode 6.1.
12603 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12605 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12607 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12609 * window.el (shrink-window): Mention the `window-min-height'
12610 variable in the doc string.
12612 2012-04-05 Bastien Guerry <bzg@altern.org>
12614 * color.el (color-lighten-name): Fix typo.
12616 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12618 * server.el (server--on-display-p): New function.
12619 (server--on-display-p): Use it.
12621 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12623 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12626 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12628 * comint.el (comint--common-quoted-suffix): Check string boundary
12629 before comparing (bug#11158).
12630 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12632 2012-04-04 Chong Yidong <cyd@gnu.org>
12634 * minibuffer.el (completion-extra-properties): Doc fix.
12636 * subr.el (delayed-warnings-hook): Doc fix.
12638 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12640 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12641 selection (Bug#11159).
12642 (epa-insert-keys): Inform that the default public key will be
12643 exported if no key is selected.
12645 2012-04-04 Richard Stallman <rms@gnu.org>
12647 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12649 2012-04-03 Chong Yidong <cyd@gnu.org>
12651 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12652 mail-insert-file, not its obsolete alias mail-attach-file.
12654 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12656 * notifications.el (notifications-notify): Fix docstring.
12658 2012-04-02 Glenn Morris <rgm@gnu.org>
12660 * emacs-lisp/authors.el (authors-aliases): Another addition.
12662 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12664 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12665 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12666 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12668 2012-04-01 Chong Yidong <cyd@gnu.org>
12670 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12671 Handle root directory properly.
12672 (copy-directory): Caller changed.
12674 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12675 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12677 2012-03-31 Glenn Morris <rgm@gnu.org>
12679 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12681 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12683 * calendar/calendar.el (calendar-window-list)
12684 (calendar-hide-window): Restore. (Bug#11140)
12685 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12687 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12689 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12691 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12692 Check if file is a symlink (Bug#10489).
12694 * files.el (copy-directory): Likewise.
12696 2012-03-30 Chong Yidong <cyd@gnu.org>
12698 * image.el (imagemagick-types-inhibit)
12699 (imagemagick-register-types): Doc fix.
12701 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12703 * textmodes/ispell.el (ispell-get-extended-character-mode):
12704 Disable extended-char-mode for hunspell. hunspell does not support it
12705 and treats ~word as ordinary words in pipe mode.
12707 2012-03-30 Glenn Morris <rgm@gnu.org>
12709 * tutorial.el (help-with-tutorial): Ensure local variables don't
12710 happen to make the buffer read-only. (Bug#11127)
12712 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12714 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12715 (perl-calculate-indent): Return `noindent' in strings.
12717 2012-03-28 Sam Steingold <sds@gnu.org>
12719 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12720 instead of the broken adhockery which does not prevent calendar
12721 buffers from being displayed at random after exit.
12722 (calendar-window-list, calendar-hide-window): Remove the broken
12725 2012-03-28 Glenn Morris <rgm@gnu.org>
12727 * replace.el (query-replace-map): Doc fix.
12729 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12731 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12732 contents. (Bug#11109)
12734 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12736 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12738 (avl-tree--check, avl-tree--check-node): New funs.
12740 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12742 * window.el (switch-to-visible-buffer): New option.
12743 (switch-to-prev-buffer, switch-to-next-buffer):
12744 Observe switch-to-visible-buffer. Make sure that checking for a window
12745 showing a buffer already is done on the same frame.
12747 2012-03-27 Glenn Morris <rgm@gnu.org>
12749 * startup.el (mail-host-address): Doc fix.
12751 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12753 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12754 than 197 variables.
12756 2012-03-26 Ami Fischman <ami@fischman.org>
12758 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12760 2012-03-26 Glenn Morris <rgm@gnu.org>
12762 * files.el (save-buffers-kill-emacs): Doc fix.
12764 * startup.el (normal-top-level, command-line, command-line-1):
12765 Give them doc strings.
12767 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12769 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12770 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12772 2012-03-25 Chong Yidong <cyd@gnu.org>
12774 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12775 theme if it was previously enabled before (Bug#11031).
12777 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12778 spec with custom-face-get-current-spec if its :shown-value is not
12779 determined yet (Bug#9337).
12780 (customize-create-theme, custom-theme-revert): Doc fixes.
12782 * button.el (button-at): Minor addition to docstring.
12784 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12786 * vc/vc.el (vc-merge): Fix a prompt.
12788 2012-03-24 Chong Yidong <cyd@gnu.org>
12790 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12793 * button.el (button-at): Minor addition to docstring.
12795 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12797 * newcomment.el (comment-choose-indent): No space after BOL.
12799 2012-03-22 Sam Steingold <sds@gnu.org>
12801 * window.el (switch-to-prev-buffer): Revert last patch because the
12802 bug turned out to be an advertised feature (Elisp manual 28.14).
12804 2012-03-22 Glenn Morris <rgm@gnu.org>
12806 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12807 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12809 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12811 * net/network-stream.el (network-stream-open-starttls): Make error
12812 message under Windows be less misleading.
12814 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12816 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12817 understands (bug#9942).
12819 2012-03-22 Chong Yidong <cyd@gnu.org>
12821 * simple.el (end-of-visible-line): Handle return value of
12822 next-single-property-change properly (Bug#9371).
12824 2012-03-22 Kenichi Handa <handa@m17n.org>
12826 * international/quail.el (quail-insert-kbd-layout): Fix previous
12827 change. To avoid unwanted bidi reordering, use
12828 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12830 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12832 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12833 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12834 (ruby-beginning-of-indent): Be more careful with the difference
12835 between word-boundary and symbol boundary.
12836 (ruby-mode-syntax-table): Make : a symbol constituent.
12838 2012-03-21 Andreas Politz <politza@fh-trier.de>
12840 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12842 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12844 * progmodes/etags.el (tags-completion-at-point-function):
12847 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12849 2012-03-21 Sam Steingold <sds@gnu.org>
12851 * progmodes/etags.el (tags-completion-at-point-function):
12852 Avoid the error when point is inside the pattern.
12854 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12856 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12859 2012-03-21 Drew Adams <drew.adams@oracle.com>
12861 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12863 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12865 * ido.el (ido-set-current-directory, ido-read-internal)
12866 (ido-choose-completion-string, ido-completion-help): Handle nil
12867 value of ido-completion-buffer (Bug#11008).
12869 2012-03-21 Sam Steingold <sds@gnu.org>
12871 * window.el (switch-to-prev-buffer): Do not switch to a visible
12872 window previous buffer, just like with the frame previous buffers.
12874 2012-03-21 Chong Yidong <cyd@gnu.org>
12876 * faces.el (make-face, make-empty-face, copy-face):
12877 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12880 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12882 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12883 (widget-complete): Remove broken use of it.
12885 2012-03-20 Chong Yidong <cyd@gnu.org>
12887 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12888 Use string-width and truncate-string-width to handle arbitrary
12891 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12893 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12894 to draw rectangles, not squares. (Regression introduced by revno
12895 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12897 2012-03-18 Chong Yidong <cyd@gnu.org>
12899 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12900 it is not yet defined (for temacs).
12902 2012-03-18 Leo Liu <sdl.web@gmail.com>
12904 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12907 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12909 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12910 (ispell-choices-win-default-height, ispell-silently-savep)
12911 (ispell-dictionary-alist, ispell-encoding8-command)
12912 (ispell-check-version, ispell-aspell-find-dictionary)
12913 (ispell-valid-dictionary-list, ispell-words-keyword)
12914 (ispell-get-word, ispell-internal-change-dictionary)
12915 (ispell-region, ispell-skip-region-list)
12916 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12917 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12918 (ispell-message-text-end, ispell-message)
12919 (ispell-buffer-local-parsing): Doc fix.
12921 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12923 * htmlfontify.el: Add support for code block fontification for ODT
12924 export (Bug #9914).
12925 (hfy-optimisations): Define new option
12927 (hfy-fontify-buffer): Honor above setting.
12928 (hfy-begin-span, hfy-end-span): New routines factored out form
12929 `hfy-fontify-buffer'.
12930 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12931 that permit insertion of custom tags.
12932 (hfy-fontify-buffer): Use above handlers.
12933 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12934 (hfy-face-to-css): Re-defined to be a variable.
12935 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12936 over multiple runs. This is made possible by having the caller let
12937 bind a special variable `hfy-user-sheet-assoc'.
12938 (htmlfontify-string): New defun.
12939 (hfy-compile-face-map): Make sure that the last char in the
12940 buffer is correctly fontified.
12941 (hfy-face-resolve-face): Whitespace only change.
12943 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12945 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12946 message more clear.
12948 2012-03-16 Leo Liu <sdl.web@gmail.com>
12950 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12952 2012-03-16 Alan Mackenzie <acm@muc.de>
12954 Further optimize the handling of large macros.
12956 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12957 limit to a call of `c-literal-limits'.
12958 (c-determine-+ve-limit): New function.
12959 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12960 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12961 In CASE 5B, restrict a search limit to 500.
12962 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12964 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12965 Restrict macro bounds to +-500 from after-change's BEG END.
12967 2012-03-16 Leo Liu <sdl.web@gmail.com>
12969 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12971 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12973 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12974 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12976 2012-03-16 Glenn Morris <rgm@gnu.org>
12978 * view.el (view-buffer, view-buffer-other-window)
12979 (view-buffer-other-frame): Doc fixes re special mode-class.
12981 * subr.el (eval-after-load): If named feature is provided not from
12982 a file, run after-load forms. (Bug#10946)
12984 * calendar/calendar.el (calendar-insert-at-column):
12985 Handle non-unit-width characters a bit better. (Bug#10978)
12987 2012-03-15 Chong Yidong <cyd@gnu.org>
12989 * emacs-lisp/ring.el (ring-extend): New function.
12990 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12992 * comint.el (comint-read-input-ring)
12993 (comint-add-to-input-history): Grow comint-input-ring lazily.
12995 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12997 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12998 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13000 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13001 (imenu-add-to-menubar): Don't add a redundant index.
13002 (imenu-update-menubar): Handle a dynamically composed keymap.
13004 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13006 * mail/sendmail.el (mail-encode-header):
13007 Bind rfc2047-encode-encoded-words to nil.
13009 2012-03-13 Glenn Morris <rgm@gnu.org>
13011 * calendar/calendar.el (calendar-string-spread):
13012 Handle non-unit-width characters a bit better. (Bug#10978)
13014 2012-03-13 Leo Liu <sdl.web@gmail.com>
13016 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13017 directory and file as argument (Bug#10822).
13019 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13021 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13022 For dynamically generated code, follow $PC.
13023 (gdb-disassembly-handler-custom): Handle no function name case.
13025 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13027 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13028 * emulation/ws-mode.el (ws-query-replace):
13029 * sort.el (sort-regexp-fields):
13030 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13032 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13034 * dabbrev.el: Fix cycle completion order (bug#10963).
13035 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13036 (dabbrev-completion): Don't use an obarray; provide
13037 a cycle-sort-function.
13039 2012-03-12 Leo Liu <sdl.web@gmail.com>
13041 * simple.el (kill-new): Use equal-including-properties for comparison.
13042 (kill-do-not-save-duplicates): Doc fix.
13044 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13046 * dabbrev.el: Fix cycle completion (bug#10963).
13047 Use lexical binding and wrap to 80 columns.
13048 (dabbrev-completion): Delay computing the list of completions.
13050 2012-03-12 Kenichi Handa <handa@m17n.org>
13052 * international/quail.el (quail-insert-kbd-layout): Surround each
13053 row by LRO and PDF instead of inserting many LRMs. Pad the left
13054 and right of each non-spacing marks. Insert invisible space
13055 between lower and upper characters to prevent composition.
13057 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13059 * minibuffer.el (minibuffer-complete): Don't get confused when the
13060 function is run twice via different commands (bug#10958).
13061 (complete-with-action): Fix docstring.
13063 2012-03-12 Chong Yidong <cyd@gnu.org>
13065 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13066 (nxml-completion-at-point-function): New function.
13067 (nxml-mode): Use it.
13068 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13070 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13071 Load generated autoloads file before byte compiling (Bug#10970).
13072 (package--make-autoloads-and-compile): New helper fun.
13074 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13076 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13078 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13080 * autorevert.el (auto-revert-handler): Ensure, that
13081 file-readable-p is applied only for local files or in
13082 auto-revert-tail-mode.
13084 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13086 * server.el (server-eval-at): Handle non-tcp connections.
13087 Decode result string.
13089 * server.el (server-msg-size): New constant.
13090 (server-reply-print): New function.
13091 (server-eval-and-print): Use it.
13092 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13093 Handle -print-nonl.
13095 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13097 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13100 2012-03-11 Chong Yidong <cyd@gnu.org>
13102 * simple.el (goto-line): Doc fix (Bug#9938).
13104 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13106 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13107 when finished (Bug#10963).
13109 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13111 * window.el (split-window-below): Fix bug in case where
13112 split-window-keep-point is nil (Bug#10971).
13114 2012-03-11 Juri Linkov <juri@jurta.org>
13116 * replace.el (replace-highlight): Set isearch-word to nil
13117 unconditionally. (Bug#10887)
13119 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13121 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13122 mairix-replace-illegal-chars; all callers changed. Don't remove
13123 ^, ~, and = characters: they are meaningful in mairix search specs.
13124 (mairix-widget-create-query): Add usage information about mairix
13125 search forms: negating words, searching for substrings, etc.
13127 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13129 * international/fontset.el (font-encoding-alist): Add an entry for
13130 ksx1001 (Bug#5667).
13132 2012-03-10 Richard Stallman <rms@gnu.org>
13134 * mail/sendmail.el (mail-encode-header):
13135 Set rfc2047-encode-encoded-words.
13137 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13139 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13140 view buffer means not swapped.
13141 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13142 (rmail-write-region-annotate): Error if real text has disappeared.
13144 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13146 2012-03-10 Chong Yidong <cyd@gnu.org>
13148 * emulation/cua-rect.el (cua--init-rectangles):
13149 * emulation/cua-base.el (cua--init-keymaps):
13150 Add delete-forward-char to remappings (Bug#9666).
13152 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13154 * speedbar.el (speedbar-unhighlight-one-tag-line):
13155 Avoid unhighlighting due to frame switching (Bug#10275).
13157 2012-03-10 Chong Yidong <cyd@gnu.org>
13159 * minibuffer.el (completion-in-region, completion-help-at-point):
13160 Give the completion field overlay a high priority (Bug#6830).
13162 * dired.el (dired-goto-file): Recognize absolute file name
13163 listings (Bug#7126).
13164 (dired-goto-file-1): New helper function.
13165 (dired-toggle-read-only): Inhibit warnings.
13167 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13169 * net/dbus.el (dbus-property-handler): Return empty array if
13170 there are no properties.
13172 2012-03-09 Leo Liu <sdl.web@gmail.com>
13174 * savehist.el (savehist-printable): Stricter check for string
13177 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13179 * mail/smtpmail.el (smtpmail-send-it):
13180 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13183 2012-03-09 Glenn Morris <rgm@gnu.org>
13185 * files.el (dir-locals-find-file):
13186 Don't check result is regular, readable.
13187 (dir-locals-read-from-file): Demote errors.
13189 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13191 * international/quail.el (quail-insert-kbd-layout):
13192 Insert invisible LRM characters before each character in a keyboard
13193 layout cell, to prevent their reordering by bidi display engine.
13194 For details, see the discussion in
13195 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13197 2012-03-08 Alan Mackenzie <acm@muc.de>
13199 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13200 the starting position; make it extend the marked region when
13201 invoked repeatedly - all under appropriate circumstances.
13202 Fixes bugs #5525, #10906.
13204 2012-03-08 Glenn Morris <rgm@gnu.org>
13206 * files.el (locate-dominating-file, dir-locals-find-file):
13207 Undo 2012-03-06 change.
13209 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13211 * international/quail.el (quail-help):
13212 Force bidi-paragraph-direction be left-to-right. See discussion in
13213 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13216 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13218 Avoid superfluous registering of signals. (Bug#10807)
13220 * notifications.el (notifications-on-action-object)
13221 (notifications-on-close-object): New defvars.
13222 (notifications-on-action-signal, notifications-on-closed-signal):
13223 Unregister the signal if not needed any longer.
13224 (notifications-notify): Register `notifications-action-signal' or
13225 `notifications-closed-signal', if :on-action or :on-close has been
13226 passed as argument.
13228 2012-03-07 Chong Yidong <cyd@gnu.org>
13230 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13233 2012-03-06 Glenn Morris <rgm@gnu.org>
13235 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13236 (x-disown-selection-internal, x-get-selection-internal):
13237 Doc fix (add arglist signatures). (Bug#10783)
13239 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13241 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13242 Handle breakpoints with no "type".
13244 2012-03-06 Glenn Morris <rgm@gnu.org>
13246 * files.el (locate-dominating-file): Add optional predicate argument.
13247 (dir-locals-find-file): Make use of above change.
13249 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13251 * info.el (Info-insert-dir): Also try "dir.gz".
13253 2012-03-06 Glenn Morris <rgm@gnu.org>
13255 * files.el (dir-locals-find-file):
13256 Ignore non-readable or non-regular files. (Bug#10928)
13258 * files.el (locate-dominating-file): Doc fix.
13260 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13262 * calendar/calendar.el (calendar-set-mode-line):
13263 `getenv' returns a string. (Bug#10951)
13265 2012-03-05 Leo Liu <sdl.web@gmail.com>
13267 * simple.el (backward-delete-char-untabify): Constrain point to
13270 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13272 2012-03-05 Chong Yidong <cyd@gnu.org>
13274 * simple.el (count-words): If called from Lisp, return the word
13275 count, for symmetry with `count-lines'. Arglist changed.
13276 (count-words--message): Args changed. Consolidate counting code
13277 from count-words and count-words-region.
13278 (count-words-region): Caller changed.
13279 (count-lines-region): Make it an obsolete alias.
13281 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13283 * saveplace.el (save-place-to-alist)
13284 (save-place-ignore-files-regexp): Allow value nil to disable this
13287 2012-03-04 Chong Yidong <cyd@gnu.org>
13289 * faces.el (face-spec-reset-face): For the default face, reset the
13290 attributes to default values (Bug#10748).
13292 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13294 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13295 previous patch: Check `message-send-mail-function', and not the
13296 default function (bug#10897).
13298 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13300 * notifications.el (notifications-on-action-signal)
13301 (notifications-on-closed-signal): Check for unique service name of
13302 incoming event. Fix error in removing entry.
13303 (top): Register for signals with wildcard service name.
13304 (notifications-notify): Use daemon unique service name for map entries.
13306 2012-03-04 Chong Yidong <cyd@gnu.org>
13308 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13310 2012-03-04 Glenn Morris <rgm@gnu.org>
13312 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13313 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13314 (expand-abbrev, define-abbrev-table): Doc fixes.
13316 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13318 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13319 `message-default-send-mail-function' and not `send-mail-function'
13320 when doing the prompting for `sendmail-query-once' before sending
13321 in Message buffers (bug#10897).
13323 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13324 This is inconsistent with all the other stream functions, which leave
13325 the setting up to the higher levels (if so wanted) (bug#10931).
13327 2012-03-02 Alan Mackenzie <acm@muc.de>
13329 Depessimize the handling of very large macros.
13331 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13332 (c-macro-cache-syntactic): New variables to implement a one
13333 element macro cache.
13334 (c-invalidate-macro-cache): New function.
13335 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13336 Adapt to use the new cache.
13337 (c-state-safe-place): Use better the cache of safe positions.
13338 (c-state-semi-nonlit-pos-cache)
13339 (c-state-semi-nonlit-pos-cache-limit):
13340 New variables for...
13341 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13342 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13343 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13344 Use c-state-semi-safe-place.
13346 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13347 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13349 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13351 * jka-compr.el (jka-compr-call-process):
13352 Apply `file-accessible-directory-p' only when the default directory is
13355 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13357 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13358 access of FILE2, if FILE1 does not exist.
13360 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13361 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13363 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13364 Add "PAGER=" to `process-environment'.
13366 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13368 * progmodes/sql.el: Bug fix
13369 (sql-get-login-ext): Save login values in globals.
13370 (sql-get-login): Use new version of `sql-get-login-ext'.
13371 (sql-interactive-mode): Set global `sql-connection' to nil.
13372 (sql-connect): Set global values for connection.
13373 (sql-product-interactive): Save global values as buffer local.
13375 2012-02-29 Leo Liu <sdl.web@gmail.com>
13377 * abbrev.el (define-abbrevs): Reset sys to nil.
13379 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13381 * files.el (file-equal-p): Rename from `files-equal-p'.
13382 Return nil when one or both files don't exist.
13383 (file-subdir-of-p): Now only top directory must exists,
13384 return nil if it doesn't.
13385 (copy-directory): No need to test with `file-subdir-of-p' after
13387 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13390 2012-02-28 Glenn Morris <rgm@gnu.org>
13392 * shell.el (shell-mode):
13393 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13394 * play/landmark.el (landmark-font-lock-face-O):
13395 * play/handwrite.el (handwrite):
13396 * play/gomoku.el (gomoku-O):
13397 * net/browse-url.el (browse-url-browser-display):
13398 * international/mule.el (define-charset):
13399 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13400 * filesets.el (filesets-find-file-delay):
13401 * eshell/em-xtra.el (eshell-xtra):
13402 * eshell/em-unix.el (eshell-grep):
13403 * emulation/viper.el (viper-mode):
13404 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13405 * emacs-lisp/easymenu.el (easy-menu-define):
13406 * calendar/timeclock.el (timeclock-use-display-time):
13408 * bookmark.el (bookmark-save-flag):
13409 Doc fix (standardize possessive apostrophe usage).
13411 2012-02-27 Chong Yidong <cyd@gnu.org>
13413 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13414 Fix key-binding lookup for ESC key (Bug#9146).
13416 * font-lock.el (font-lock-specified-p): Rename from
13417 font-lock-spec-present. Callers changed.
13419 2012-02-27 Daniel Hackney <dan@haxney.org>
13421 * emacs-lisp/package.el (package-compute-transaction):
13422 Handle holding a package version to t in package-load-list.
13424 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13426 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13427 (tramp-get-inode, tramp-get-device): Use cached values.
13429 2012-02-26 Alan Mackenzie <acm@muc.de>
13431 Check there is a font-lock specification before doing initial
13434 * font-core.el (font-lock-mode): Move the conditional from
13435 :after-hook to font-lock-initial-fontify.
13436 (font-lock-default-function): Move the check for a specification
13437 to font-lock-spec-present.
13439 * font-lock.el (font-lock-initial-fontify): Call ...
13440 (font-lock-spec-present): New function.
13442 2012-02-26 Jim Blandy <jimb@red-bean.com>
13444 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13445 (gdb-send): Apply it to the operand of the '-interpreter-exec
13446 console' command, so that we can pass arguments with (say) quotes
13447 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13449 2012-02-26 Chong Yidong <cyd@gnu.org>
13451 * help-fns.el (describe-function-1): Clarify description of
13452 remapping (Bug#10844).
13454 * files.el (files-equal-p): Doc fix.
13455 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13456 and quit the loop once a mismatch is found.
13458 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13460 * bs.el (bs--show-with-configuration): Don't throw an error
13461 if the window cannot be split; otherwise, subsequent calls to
13462 bs-show fail, restoring a stale window config. (Bug#10882)
13464 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13466 * term/ns-win.el (global-map): Bind ns-drag-file to
13467 ns-find-file (Bug#5855, Bug#10050).
13469 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13471 * calendar/parse-time.el (parse-time-string): Allow extractor to
13474 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13476 * net/tramp.el (tramp-file-name-for-operation):
13477 Add `files-equal-p' and `file-subdir-of-p'.
13479 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13480 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13481 Add COPY-CONTENTS argument.
13483 2012-02-25 Chong Yidong <cyd@gnu.org>
13485 Add custom groups for VC backends, for consistency with vc-bzr.
13487 * vc/vc-arch.el (vc-arch):
13488 * vc/vc-cvs.el (vc-cvs):
13489 * vc/vc-git.el (vc-git):
13490 * vc/vc-hg.el (vc-hg):
13491 * vc/vc-mtn.el (vc-mtn):
13492 * vc/vc-rcs.el (vc-rcs):
13493 * vc/vc-sccs.el (vc-sccs):
13494 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13495 All relevant defcustoms reassigned.
13497 2012-02-25 Chong Yidong <cyd@gnu.org>
13499 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13501 * term/x-win.el (x-initialize-window-system): Reduce default for
13502 x-selection-timeout to 5 seconds (Bug#8869).
13504 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13506 * files.el (files-equal-p, file-subdir-of-p): New functions.
13507 (copy-directory): Error when trying to copy a directory on itself.
13508 Add missing copy-contents arg to tramp handler.
13509 * dired-aux.el (dired-copy-file-recursive): Same.
13510 (dired-create-files): Modify destination when source is equal to
13511 dest when copying files.
13512 Return also when dest is a subdir of source. (Bug#10489)
13514 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13516 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13519 2012-02-23 Alan Mackenzie <acm@muc.de>
13521 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13522 parameter "after-hook:" to allow the expansion to run code after
13523 the execution of the mode hooks.
13525 * font-lock.el (font-lock-initial-fontify): New function extracted
13526 from font-lock-mode-internal.
13528 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13531 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13533 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13534 (completion--cache-all-sorted-completions): New function.
13535 (completion-all-sorted-completions): Use it.
13536 (completion--do-completion, minibuffer-force-complete):
13537 Use it to re-instate the flush hook.
13539 * icomplete.el (icomplete-completions): Replace last fix with a better
13542 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13544 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13545 when it might call us back infinitely (bug#10797).
13547 2012-02-23 Glenn Morris <rgm@gnu.org>
13549 * minibuffer.el (completion-category-overrides): Doc fix.
13551 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13553 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13554 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13556 2012-02-23 Glenn Morris <rgm@gnu.org>
13558 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13559 (authors-obsolete-files-regexps, authors-ignored-files)
13560 (authors-ambiguous-files, authors-renamed-files-alist):
13563 2012-02-23 Juri Linkov <juri@jurta.org>
13565 * isearch.el (isearch-occur): Sync interactive spec with occur's
13566 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13568 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13570 2012-02-22 Juri Linkov <juri@jurta.org>
13572 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13573 (ucs-insert): Doc fix. Check for hex digits in the string.
13574 Don't display `nil' in the error message. (Bug#10857)
13576 2012-02-22 Alan Mackenzie <acm@muc.de>
13578 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13580 2012-02-22 Glenn Morris <rgm@gnu.org>
13582 * ffap.el (ffap-c-path):
13583 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13585 2012-02-22 Chong Yidong <cyd@gnu.org>
13587 * custom.el (load-theme): Doc fix.
13589 2012-02-22 Glenn Morris <rgm@gnu.org>
13591 * dired-x.el (dired-guess-shell-alist-default):
13592 Remove escape sequences from nroff output. (Bug#172)
13594 2012-02-21 Glenn Morris <rgm@gnu.org>
13596 * vc/emerge.el (emerge-defvar-local):
13597 Set `permanent-local' property rather than unused `preserved'.
13599 * textmodes/picture.el (picture-delete-char): New alias.
13600 (picture-mode-map): Use it. (Bug#10860)
13601 (picture-mode): Doc fix.
13603 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13605 * newcomment.el (uncomment-region-default): Remove unused binding.
13607 2012-02-21 Glenn Morris <rgm@gnu.org>
13609 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13610 (picture-self-insert, picture-tab-chars): Doc fix.
13611 (picture-mode-map): Fix C-a, C-e.
13613 2012-02-20 Glenn Morris <rgm@gnu.org>
13615 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13617 2012-02-20 Leo Liu <sdl.web@gmail.com>
13619 * icomplete.el (icomplete-completions): Check FROM arg before
13620 passing to substring (Bug#10850).
13622 2012-02-19 Chong Yidong <cyd@gnu.org>
13624 * comint.el: Require ansi-color.
13625 (comint-output-filter-functions): Add ansi-color-process-output.
13627 * ansi-color.el: Don't set comint-output-filter-functions; it is
13628 now in the initial value defined in comint.el.
13629 (ansi-color-apply-face-function): New variable.
13630 (ansi-color-apply-on-region): Use it.
13631 (ansi-color-apply-overlay-face): New function.
13633 * shell.el (shell): No need to require ansi-color.
13634 (shell-mode): Use ansi-color-apply-face-function to highlight
13635 color escapes using font-lock-face property (Bug#10835).
13637 2012-02-19 Chong Yidong <cyd@gnu.org>
13639 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13640 mode-line formats (Bug#10839).
13642 2012-02-18 Glenn Morris <rgm@gnu.org>
13644 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13646 * mail/undigest.el (unforward-rmail-message): Doc fix.
13648 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13650 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13652 * international/characters.el (script-list): Sync with the latest
13653 Unicode Character Database.
13655 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13657 * international/titdic-cnv.el: Remove duplicate coding tag.
13658 * language/cham.el: Likewise.
13659 * language/tai-viet.el: Likewise.
13661 2012-02-18 Glenn Morris <rgm@gnu.org>
13663 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13664 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13665 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13666 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13667 * calendar/holidays.el (holiday-bahai-holidays)
13668 (calendar-holidays, list-holidays):
13669 Use utf-8 Bahá'í in doc-strings, menus, etc.
13671 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13673 * saveplace.el (save-place-ignore-files-regexp): New variable
13674 allowing for excluding files from saving their location of point.
13675 The default value matches the temporary commit message editing
13676 files from Git, SVN, Bazaar, and Mercurial.
13677 (save-place-to-alist): Use it.
13679 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13680 Stefan Monnier <monnier@iro.umontreal.ca>
13682 * newcomment.el (uncomment-region-default): Don't leave extra space
13683 when an arg is provided (bug#8150).
13685 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13687 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13689 2012-02-17 Glenn Morris <rgm@gnu.org>
13691 * net/socks.el: Require network-stream. (Bug#10599)
13693 2012-02-17 Kenichi Handa <handa@m17n.org>
13695 * international/charprop.el:
13696 * international/uni-name.el:
13697 * international/uni-old-name.el:
13698 * international/uni-comment.el: Regenerate.
13700 2012-02-16 Glenn Morris <rgm@gnu.org>
13702 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13703 Interactively in calendar buffer, give an error if not on a date.
13705 2012-02-15 Glenn Morris <rgm@gnu.org>
13707 * shell.el (shell-delimiter-argument-list):
13708 Revert 2011-02-17 change. (Bug#8027)
13710 2012-02-15 Chong Yidong <cyd@gnu.org>
13712 * minibuffer.el (completion-at-point-functions): Doc fix.
13714 * custom.el (defcustom): Doc fix; note use of defvar.
13716 2012-02-15 Glenn Morris <rgm@gnu.org>
13718 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13721 2012-02-14 Glenn Morris <rgm@gnu.org>
13723 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13725 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13727 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13728 way the ports list is computed.
13729 (smtpmail-query-smtp-server): Prompt the user for a port number if
13730 we can't connect to any of the standard ports (bug#10810).
13732 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13734 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13736 2012-02-13 Glenn Morris <rgm@gnu.org>
13738 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13740 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13742 * net/gnutls.el (gnutls-trustfiles): New variable.
13743 (gnutls-negotiate): Use it.
13745 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13747 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13748 does its stuff if Gnus is running.
13750 2012-02-13 Alan Mackenzie <acm@muc.de>
13752 Fix a loop in c-set-fl-decl-start.
13754 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13755 c-backward-syntactic-ws actually moves backwards.
13757 2012-02-13 Leo Liu <sdl.web@gmail.com>
13759 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13760 beginning so that all \C-o chars are removed.
13762 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13764 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13766 2012-02-12 Alan Mackenzie <acm@muc.de>
13768 Fix infinite loop with long macros.
13769 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13771 2012-02-12 Chong Yidong <cyd@gnu.org>
13773 * window.el (display-buffer): Doc fix (Bug#10785).
13775 2012-02-12 Glenn Morris <rgm@gnu.org>
13777 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13778 (x-disown-selection-internal, x-get-selection-internal):
13779 Sync docs with the xselect.c versions.
13781 * allout-widgets.el: Add missing license notice.
13783 2012-02-11 Glenn Morris <rgm@gnu.org>
13785 * select.el (x-get-selection-internal, x-own-selection-internal)
13786 (x-disown-selection-internal):
13787 * x-dnd.el (x-get-selection-internal): Update declarations.
13789 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13791 * window.el (window-sides-slots):
13792 * tool-bar.el (tool-bar-position):
13793 * term/xterm.el (xterm-extra-capabilities):
13794 * ses.el (ses-self-reference-early-detection):
13795 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13796 (verilog-auto-wire-type)
13797 (verilog-auto-delete-trailing-whitespace)
13798 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13799 (verilog-auto-tieoff-declaration):
13800 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13801 (sql-oracle-statement-starters, sql-oracle-scan-on):
13802 * progmodes/prolog.el (prolog-align-comments-flag)
13803 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13804 (prolog-left-indent-regexp, prolog-paren-indent-p)
13805 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13806 (prolog-types, prolog-mode-specificators)
13807 (prolog-determinism-specificators, prolog-directives)
13808 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13809 (prolog-electric-dot-flag)
13810 (prolog-electric-dot-full-predicate-template)
13811 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13812 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13813 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13814 (prolog-program-switches, prolog-prompt-regexp)
13815 (prolog-debug-on-string, prolog-debug-off-string)
13816 (prolog-trace-on-string, prolog-trace-off-string)
13817 (prolog-zip-on-string, prolog-zip-off-string)
13818 (prolog-use-standard-consult-compile-method-flag)
13819 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13820 (prolog-imenu-max-lines, prolog-info-predicate-index)
13821 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13822 (prolog-char-quote-workaround):
13823 * progmodes/cc-vars.el (c-defun-tactic):
13824 * net/tramp.el (tramp-encoding-command-interactive)
13825 (tramp-local-end-of-line):
13826 * net/soap-client.el (soap-client):
13827 * net/netrc.el (netrc-file):
13828 * net/gnutls.el (gnutls):
13829 * minibuffer.el (completion-category-overrides)
13830 (completion-cycle-threshold)
13831 (completion-pcm-complete-word-inserts-delimiters):
13832 * man.el (Man-name-local-regexp):
13833 * mail/feedmail.el (feedmail-display-full-frame):
13834 * international/characters.el (glyphless-char-display-control):
13835 * eshell/em-ls.el (eshell-ls-date-format):
13836 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13837 (lisp-lambda-list-keyword-parameter-indentation)
13838 (lisp-lambda-list-keyword-parameter-alignment):
13839 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13840 * dired-x.el (dired-omit-verbose):
13841 * cus-theme.el (custom-theme-allow-multiple-selections):
13842 * calc/calc.el (calc-highlight-selections-with-faces)
13843 (calc-lu-field-reference, calc-lu-power-reference)
13844 (calc-note-threshold):
13845 * battery.el (battery-mode-line-limit):
13846 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13847 (archive-7z-update):
13848 * allout.el (allout-prefixed-keybindings)
13849 (allout-unprefixed-keybindings)
13850 (allout-inhibit-auto-fill-on-headline)
13851 (allout-flattened-numbering-abbreviation):
13852 * allout-widgets.el (allout-widgets-auto-activation)
13853 (allout-widgets-icons-dark-subdir)
13854 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13855 (allout-widgets-theme-dark-background)
13856 (allout-widgets-theme-light-background)
13857 (allout-widgets-item-image-properties-emacs)
13858 (allout-widgets-item-image-properties-xemacs)
13859 (allout-widgets-run-unit-tests-on-load)
13860 (allout-widgets-time-decoration-activity)
13861 (allout-widgets-hook-error-post-time)
13862 (allout-widgets-track-decoration):
13863 Add missing :version tags to new defcustoms and defgroups.
13865 * progmodes/sql.el (sql-ansi-statement-starters)
13866 (sql-oracle-statement-starters): Add custom type.
13868 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13869 (prolog-system-version): Give it a type.
13871 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13873 * term/pc-win.el (x-select-text, x-selection-owner-p)
13874 (x-own-selection-internal, x-disown-selection-internal)
13875 (x-get-selection-internal): Sync doc strings and argument lists
13876 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13878 2012-02-11 Leo Liu <sdl.web@gmail.com>
13880 * progmodes/python.el (python-end-of-statement): Fix infinite
13883 2012-02-10 Glenn Morris <rgm@gnu.org>
13885 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13886 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13888 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13890 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13891 about SMTP before checking the From header.
13893 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13894 into own function for reuse by emacsbug.el.
13896 2012-02-10 Leo Liu <sdl.web@gmail.com>
13898 * subr.el (condition-case-unless-debug): Rename from
13899 condition-case-no-debug. All callers changed.
13900 (with-demoted-errors): Fix caller.
13902 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13903 * nxml/rng-valid.el (rng-do-some-validation):
13904 * emacs-lisp/package.el (package-refresh-contents)
13905 (package-menu-execute):
13906 * desktop.el (desktop-create-buffer):
13907 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13909 2012-02-10 Glenn Morris <rgm@gnu.org>
13911 * textmodes/bibtex.el:
13912 Add missing :version tags for new/changed defcustoms.
13914 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13916 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13918 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13919 (smtpmail-via-smtp): Use it, or fall back on the From address.
13920 (smtpmail-send-it): Ditto.
13922 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13924 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13925 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13926 (byte-compile-tmp-var): New const.
13927 (byte-compile-defvar): Use it to minimize .elc size.
13928 Just use `defvar' rather than simulate it (bug#10761).
13930 2012-02-09 Glenn Morris <rgm@gnu.org>
13932 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13934 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13937 * progmodes/compile.el (compilation-error-screen-columns)
13938 (compilation-first-column, compilation-filter-start): Doc fixes.
13940 * vc/log-view.el (log-view-toggle-entry-display):
13941 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13943 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13944 (report-emacs-bug-can-use-xdg-email):
13945 (report-emacs-bug-insert-to-mailer): Doc fixes.
13946 (report-emacs-bug): Message fix.
13948 * net/browse-url.el (browse-url-can-use-xdg-open)
13949 (browse-url-xdg-open): Doc fixes.
13951 * electric.el (electric-indent-mode, electric-pair-mode)
13952 (electric-layout-rules, electric-layout-mode): Doc fixes.
13953 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13955 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13957 * server.el (server-unselect-display): Don't inadvertently kill
13958 the current buffer. (Bug#10729)
13960 2012-02-08 Glenn Morris <rgm@gnu.org>
13962 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13963 (sql-list-table): Doc fixes.
13965 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13966 Comment out (does nothing).
13968 * completion.el (dynamic-completion-mode):
13969 * dirtrack.el (dirtrack-debug-mode):
13970 * electric.el (electric-layout-mode):
13971 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13972 * face-remap.el (text-scale-mode, buffer-face-mode):
13973 * iimage.el (iimage-mode):
13974 * image-mode.el (image-transform-mode):
13975 * minibuffer.el (completion-in-region-mode):
13976 * scroll-lock.el (scroll-lock-mode):
13977 * simple.el (next-error-follow-minor-mode):
13978 * tar-mode.el (tar-subfile-mode):
13979 * tooltip.el (tooltip-mode):
13980 * vcursor.el (vcursor-use-vcursor-map):
13981 * wid-browse.el (widget-minor-mode):
13982 * emulation/tpu-edt.el (tpu-edt-mode):
13983 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13984 * international/iso-ascii.el (iso-ascii-mode):
13985 * language/thai-util.el (thai-word-mode):
13986 * mail/supercite.el (sc-minor-mode):
13987 * net/goto-addr.el (goto-address-mode):
13988 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13989 * progmodes/cwarn.el (cwarn-mode):
13990 * progmodes/flymake.el (flymake-mode):
13991 * progmodes/glasses.el (glasses-mode):
13992 * progmodes/hideshow.el (hs-minor-mode):
13993 * progmodes/pascal.el (pascal-outline-mode):
13994 * textmodes/enriched.el (enriched-mode):
13995 * vc/smerge-mode.el (smerge-mode):
13996 Doc fixes (minor mode argument).
13998 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14000 * ls-lisp.el (ls-lisp-sanitize): New function.
14001 (ls-lisp-insert-directory): Use it to fix or remove any elements
14002 in file-alist with missing attributes. (Bug#4673)
14004 2012-02-07 Alan Mackenzie <acm@muc.de>
14006 Fix spurious recognition of c-in-knr-argdecl.
14008 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14009 putative K&R region.
14011 2012-02-07 Alan Mackenzie <acm@muc.de>
14013 * progmodes/cc-engine.el (c-forward-objc-directive):
14014 Prevent looping in "#pragma mark @implementation".
14016 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14018 * notifications.el (notifications-on-closed-signal): Make `reason'
14019 optional. (Bug#10744)
14021 2012-02-07 Glenn Morris <rgm@gnu.org>
14023 * emacs-lisp/easy-mmode.el (define-minor-mode):
14024 Doc fixes for the macro and the mode it defines.
14026 * image.el (imagemagick-types-inhibit): Doc fix.
14028 * cus-start.el (imagemagick-render-type): Add it.
14030 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14032 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14033 Set the default at load time, too, so that `font-lock-fontify-buffer'
14034 can be called without setting up the entire mode first. This fixes
14035 a bug in `mm-inline-text' with C MIME parts.
14037 2012-02-06 Chong Yidong <cyd@gnu.org>
14039 * simple.el (list-processes--refresh): Delete exited processes
14042 * comint.el (comint-next-prompt): next-single-char-property-change
14043 and prev-single-char-property-change never return nil (Bug#8657).
14045 * custom.el (defcustom): Doc fix (Bug#9711).
14047 2012-02-05 Chong Yidong <cyd@gnu.org>
14049 * cus-edit.el (custom-variable-reset-backup): Quote the value
14050 before storing it in the customized-value property (Bug#6712).
14051 (custom-display): Add a customization type tag.
14052 (custom-buffer-create-internal): Improve tooltip message.
14054 * wid-edit.el (widget-field-value-get): New optional arg to
14055 suppress trailing whitespace truncation.
14056 (character): Use it (Bug#2689).
14058 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14060 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14061 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14063 2012-02-05 Chong Yidong <cyd@gnu.org>
14065 * cus-edit.el (custom-variable-value-create): For mismatched
14066 types, show the current value (Bug#7600).
14068 * custom.el (defcustom): Doc fix.
14070 2012-02-05 Glenn Morris <rgm@gnu.org>
14072 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14074 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14076 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14077 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14078 (pp-last-sexp): Use `looking-at-p'.
14080 2012-02-04 Glenn Morris <rgm@gnu.org>
14082 * files.el (revert-buffer):
14083 Doc fix (mention revert-buffer-in-progress-p).
14085 * emacs-lisp/ert-x.el (ert-simulate-command):
14086 Check deferred-action-list (which is obsolete) is bound.
14088 * subr.el (with-wrapper-hook): Doc fixes.
14090 * simple.el (filter-buffer-substring-functions)
14091 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14093 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14095 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14096 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14098 2012-02-04 Leo Liu <sdl.web@gmail.com>
14100 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14102 2012-02-04 Glenn Morris <rgm@gnu.org>
14104 * image.el (image-extension-data): Add obsolete alias.
14106 * isearch.el (isearch-update): Doc fix.
14108 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14110 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14112 2012-02-03 Glenn Morris <rgm@gnu.org>
14114 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14115 (image-animate-timeout): Doc fix.
14117 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14119 2012-02-02 Glenn Morris <rgm@gnu.org>
14121 * server.el (server-auth-dir): Doc fix.
14122 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14124 * subr.el (run-mode-hooks): Doc fix.
14126 2012-02-02 Juri Linkov <juri@jurta.org>
14128 * image-mode.el (image-toggle-display-image): Remove tautological
14129 `major-mode' from the `derived-mode-p' test.
14131 2012-02-02 Kenichi Handa <handa@m17n.org>
14133 * composite.el (compose-region): Cancel previous change.
14135 2012-02-02 Kenichi Handa <handa@m17n.org>
14137 * composite.el (compose-region, compose-string): Signal error for
14138 a null string component (Bug#6988).
14140 2012-02-01 Chong Yidong <cyd@gnu.org>
14142 * view.el (view-buffer-other-window, view-buffer-other-frame):
14143 Handle special modes like view-buffer (Bug#10650).
14144 (view-buffer): Simplify.
14146 * frame.el (set-frame-font): Tweak meaning of third argument.
14148 * dynamic-setting.el (font-setting-change-default-font):
14149 Use set-frame-font (Bug#9982).
14151 2012-02-01 Glenn Morris <rgm@gnu.org>
14153 * progmodes/compile.el (compilation-internal-error-properties):
14154 Respect compilation-first-column in the "*compilation*" buffer.
14156 * emacs-lisp/easy-mmode.el (define-minor-mode):
14157 Relax :variable's test for a named function.
14159 2012-01-31 Alan Mackenzie <acm@muc.de>
14161 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14164 2012-01-31 Chong Yidong <cyd@gnu.org>
14166 * frame.el (set-frame-font): New arg ALL-FRAMES.
14168 * menu-bar.el (menu-set-font): Use set-frame-font.
14170 * faces.el (face-spec-reset-face): Don't apply unspecified
14171 attribute values to the default face.
14173 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14175 * progmodes/cwarn.el (cwarn): Remove dead link.
14176 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14177 Remove * from defcustom docstrings.
14178 (turn-on-cwarn-mode): Make obsolete.
14179 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14180 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14182 2012-01-31 Glenn Morris <rgm@gnu.org>
14184 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14185 Fix :variable handling of mode a symbol not equal to modefun.
14186 Allow named functions to be used as the cdr of :variable.
14188 2012-01-30 Glenn Morris <rgm@gnu.org>
14190 * emacs-lisp/authors.el (authors-fixed-entries):
14191 Remove reference to deleted file rnewspost.el.
14193 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14195 * window.el (window-with-parameter): Remove unused variable `windows'.
14196 (window--side-check): Remove unused variable `code'.
14197 (window--resize-siblings): Remove unused variable `first'.
14198 (adjust-window-trailing-edge): Remove unused variable `failed'.
14199 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14200 Use `let', not `let*'.
14201 (balance-windows-2): Remove unused variable `found'.
14202 (window--state-put-2): Remove unused variable `splits'.
14203 (window-state-put): Remove unused variable `selected'.
14204 (same-window-p): Use `string-match-p'.
14205 (display-buffer-assq-regexp): Remove unused variable `value'.
14206 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14207 Mark argument ALIST as ignored.
14208 (pop-to-buffer): Remove unused variable `old-window'.
14210 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14212 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14213 and .lzma compressed files.
14215 2012-01-29 Chong Yidong <cyd@gnu.org>
14217 * frame.el (window-system-default-frame-alist): Doc fix.
14219 * dynamic-setting.el (font-setting-change-default-font): Don't
14220 change the default face if SET-FONT argument is non-nil (Bug#9982).
14222 2012-01-29 Samuel Bronson <naesten@gmail.com>
14224 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14226 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14228 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14229 breakpoints in files outside current directory (Bug#6098).
14231 2012-01-29 Chong Yidong <cyd@gnu.org>
14233 * progmodes/python.el: Require ansi-color at top-level.
14235 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14236 Define and use in Emacs Lisp mode (Bug#9360).
14237 (lisp-mode-abbrev-table): Add doc.
14238 (lisp-mode-variables): Don't set local-abbrev-table.
14239 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14241 2012-01-28 Roland Winkler <winkler@gnu.org>
14243 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14245 2012-01-28 Roland Winkler <winkler@gnu.org>
14247 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14248 (bibtex-set-dialect): Use it. Either set global values of
14249 dialect-dependent variables or bind these variables buffer-locally
14251 (bibtex-mode): Call bibtex-set-dialect via
14252 hack-local-variables-hook.
14253 (bibtex-dialect): Update docstring.
14254 Add safe-local-variable predicate.
14255 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14256 bibtex-set-dialect.
14257 (bibtex-mode-map): Define menu for each dialect.
14258 (bibtex-entry): Fix docstring.
14260 2012-01-28 Chong Yidong <cyd@gnu.org>
14262 * eshell/esh-arg.el (eshell-quote-argument): New function.
14264 * eshell/esh-ext.el (eshell-invoke-batch-file):
14265 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14266 first arg to eshell-parse-command (Bug#10523).
14268 2012-01-28 Drew Adams <drew.adams@oracle.com>
14270 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14271 `default-directory' is non-nil.
14273 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14275 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14276 line that displays system-configuration-options. (Bug#9924)
14278 2012-01-28 Drew Adams <drew.adams@oracle.com>
14280 * descr-text.el (describe-char): Show information about POS, in
14281 addition to information about the character at POS. Improve and
14282 update the doc string. Change "code point" to "code point in
14283 charset", to avoid confusion with the character's Unicode code
14284 point shown above that. (Bug#10129)
14286 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14288 * descr-text.el (describe-char): Show the raw character, not only
14289 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14290 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14293 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14295 * emacs-lisp/package.el (package-install):
14296 Run package-refresh-contents if there is no archive yet (Bug#9798).
14298 2012-01-28 Chong Yidong <cyd@gnu.org>
14300 * emacs-lisp/package.el (package-maybe-load-descriptor):
14301 New function, split from package-maybe-load-descriptor.
14302 (package-maybe-load-descriptor): Use it.
14303 (package-download-transaction): Fully load required packages
14304 inside the loop, so that `require' calls work (Bug#10593).
14305 (package-install): No need to call package-initialize now.
14307 2012-01-28 Chong Yidong <cyd@gnu.org>
14309 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14311 * tooltip.el (tooltip-mode): Doc fix.
14312 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14314 * frame.el (set-cursor-color): Doc fix (Bug#352).
14316 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14317 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14319 * cus-edit.el (custom-buffer-create-internal): Fix search button
14320 action (Bug#10542).
14321 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14323 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14325 * dired.el (dired-mark-files-regexp):
14326 Include any subdirectory components. (Bug#10445)
14328 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14330 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14331 Handle [host]:port syntax. (Bug#10533)
14333 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14335 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14337 2012-01-26 Glenn Morris <rgm@gnu.org>
14339 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14340 * term.el (term-raw-escape-map): Use Control-X-prefix.
14341 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14343 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14345 * window.el (window-state-get, window--state-get-1): Don't deal
14346 with fixed-sizeness of windows. Simplify code.
14348 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14350 * window.el (window--state-get-1, window--state-put-2):
14351 Don't save and restore the mark.
14353 2012-01-25 Chong Yidong <cyd@gnu.org>
14355 * custom.el (custom-variable-p): Doc fix.
14357 2012-01-25 Glenn Morris <rgm@gnu.org>
14359 * dired.el (dired-goto-file): Handle some of the more common
14360 characters that `ls -b' escapes. (Bug#10596)
14362 * progmodes/compile.el (compilation-next-error-function):
14363 Respect compilation-first-column in the "*compilation*" buffer.
14364 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14366 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14368 2012-01-24 Glenn Morris <rgm@gnu.org>
14370 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14372 2012-01-24 Julien Danjou <julien@danjou.info>
14374 * color.el (color-rgb-to-hsl): Fix value computing.
14375 (color-hue-to-rgb): New function.
14376 (color-hsl-to-rgb): New function.
14377 (color-clamp, color-saturate-hsl, color-saturate-name)
14378 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14379 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14381 2012-01-24 Glenn Morris <rgm@gnu.org>
14383 * vc/vc-rcs.el (vc-rcs-create-tag):
14384 * vc/vc-sccs.el (vc-sccs-create-tag):
14385 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14387 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14389 * eshell/esh-util.el (eshell-read-hosts-file):
14390 Skip comment lines. (Bug#10549)
14392 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14394 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14396 * subr.el (display-delayed-warnings): Doc fix.
14397 (collapse-delayed-warnings): New function to collapse identical
14399 (delayed-warnings-hook): Add it.
14401 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14403 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14405 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14406 (tramp-default-user-alist): Don't add "pscp".
14407 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14408 property "login-as", if set. (Bug#10530)
14410 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14412 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14413 "plink1" and "psftp". (Bug#10530)
14415 2012-01-21 Kenichi Handa <handa@m17n.org>
14417 * international/mule-cmds.el (prefer-coding-system): Show a
14418 warning message if the default value of file-name-coding-system
14421 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14423 * windmove.el (windmove-reference-loc):
14424 Fix windmove-reference-loc miscalculation.
14426 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14428 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14431 2012-01-21 Glenn Morris <rgm@gnu.org>
14433 * international/mule.el (auto-coding-alist): Add .tbz.
14435 * files.el (local-enable-local-variables): Doc fix.
14436 (inhibit-local-variables-regexps): Rename from
14437 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14438 Doc fix. Add some extensions from auto-coding-alist.
14439 (inhibit-local-variables-suffixes):
14440 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14441 (inhibit-local-variables-p):
14442 New function, extracted from set-auto-mode-1.
14443 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14444 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14445 (hack-local-variables): Doc fix. Make the mode-only case
14446 respect enable-local-variables and friends.
14447 Respect inhibit-local-variables-regexps for file-locals, but
14448 not for directory-locals.
14449 (set-visited-file-name):
14450 Take account of inhibit-local-variables-regexps.
14451 Whether it applies may change as the file name is changed.
14452 * jka-cmpr-hook.el (jka-compr-install):
14453 * jka-compr.el (jka-compr-uninstall):
14454 Update for inhibit-first-line-modes-suffixes name change.
14456 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14458 * help-macro.el (make-help-screen): Temporarily restore original
14459 binding for minor-mode-map-alist (Bug#10454).
14461 2012-01-19 Julien Danjou <julien@danjou.info>
14463 * color.el (color-name-to-rgb): Use the white color to find the max
14464 color component value and return correctly computed values.
14465 (color-name-to-rgb): Add missing float conversion for max value.
14467 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14469 * window.el (window--state-get-1, window-state-get): Do not use
14470 special state value for window-persistent-parameters.
14471 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14472 (window--state-put-2): Reset all window parameters to nil before
14473 assigning values of persistent parameters.
14475 2012-01-18 Alan Mackenzie <acm@muc.de>
14477 Eliminate sluggishness and hangs in fontification of "semicolon
14480 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14481 Change value 10000 -> 3000.
14482 (c-state-safe-place): Reformulate so it doesn't stack up an
14483 infinite number of wrong entries in c-state-nonlit-pos-cache.
14484 (c-determine-limit-get-base, c-determine-limit): New functions to
14485 determine backward search limits disregarding literals.
14486 (c-find-decl-spots): Amend commenting.
14487 (c-cheap-inside-bracelist-p): New function which detects "={".
14489 * progmodes/cc-fonts.el
14490 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14492 (c-font-lock-declarations): Fix an occurrence of point being
14493 undefined. Check additionally for point being in a bracelist or
14494 near a macro invocation without a semicolon so as to avoid a
14495 fruitless time consuming search for a declarator. Give a more
14496 precise search limit for declarators using the new
14499 2012-01-18 Glenn Morris <rgm@gnu.org>
14501 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14502 (set-auto-mode): Doc fixes.
14504 2012-01-17 Glenn Morris <rgm@gnu.org>
14506 * isearch.el (search-nonincremental-instead): Fix doc typo.
14508 * dired.el (dired-insert-directory): Handle newlines in directory name.
14509 (dired-build-subdir-alist): Unescape newlines in directory name.
14511 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14513 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14514 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14515 (tramp-action-terminal): Use it. (Bug#10530)
14517 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14519 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14521 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14523 * window.el (window-state-ignored-parameters): Remove variable.
14524 (window--state-get-1): Rename argument MARKERS to IGNORE.
14525 Handle persistent window parameters. Make copy of clone-of
14526 parameter only if requested. (Bug#10348)
14527 (window--state-put-2): Install a window parameter only if it has
14528 a non-nil value or an existing parameter shall be overwritten.
14530 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14532 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14534 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14536 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14537 don't pass the (nil) value of `upnode' to string-match.
14539 2012-01-14 Chong Yidong <cyd@gnu.org>
14541 * startup.el (command-line): Fix X resource class for cursorColor.
14542 Fix values recognized by the cursorBlink resource.
14544 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14546 * epg.el (epg--make-temp-file): Avoid permission race condition
14547 when running on old Emacs versions (bug#10403).
14549 2012-01-14 Glenn Morris <rgm@gnu.org>
14551 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14553 2012-01-13 Alan Mackenzie <acm@muc.de>
14555 Fix filling for when filladapt mode is enabled.
14557 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14558 c-mask-paragraph, pass in `fill-paragraph' rather than
14559 `fill-region-as-paragraph'. (This is a reversion of a previous
14561 * progmodes/cc-mode.el (c-basic-common-init):
14562 Make fill-paragraph-handle-comment buffer local and set it to nil.
14564 2012-01-13 Glenn Morris <rgm@gnu.org>
14566 * dired.el (dired-switches-escape-p): New function.
14567 (dired-insert-directory): Use dired-switches-escape-p.
14568 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14570 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14572 2012-01-12 Glenn Morris <rgm@gnu.org>
14574 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14575 changes in adaptive-fill-regexp. (Bug#10276)
14577 2012-01-11 Alan Mackenzie <acm@muc.de>
14579 Fix Emacs bug #10463 - put `widen's around the critical spots.
14581 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14582 widen around each invocation of c-state-pp-to-literal. Remove an
14583 unused let variable.
14585 2012-01-11 Glenn Morris <rgm@gnu.org>
14587 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14590 2012-01-10 Chong Yidong <cyd@gnu.org>
14592 * net/network-stream.el (network-stream-open-starttls):
14593 Avoid emitting a confusing error message when the server gives a bad
14594 response to the capability command.
14596 2012-01-10 Glenn Morris <rgm@gnu.org>
14598 * mail/unrmail.el (unrmail): Tweak previous change.
14600 2012-01-09 Chong Yidong <cyd@gnu.org>
14602 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14604 2012-01-08 Alan Mackenzie <acm@muc.de>
14606 Optimize font locking in long enum definitions.
14608 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14609 arm to a cond form to handle enums.
14610 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14611 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14613 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14615 * files.el (move-file-to-trash): Preserve default file modes on error.
14618 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14620 * faces.el (set-face-attribute): Clarify the meaning of the nil
14623 * subr.el (with-selected-frame): Mention that the selected frame
14624 is restored (bug#9980).
14626 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14629 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14630 (password-read): Don't autoload unused function.
14632 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14634 * progmodes/which-func.el (which-func-mode): Turn into a
14635 non-interactive function and mark as obsolete (bug#10428).
14637 2012-01-06 Chong Yidong <cyd@gnu.org>
14639 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14640 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14641 functions, along with 1 and -1.
14643 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14645 * time.el (display-time-load-average)
14646 (display-time-default-load-average): Doc fixes. See the thread
14648 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14651 2012-01-06 Glenn Morris <rgm@gnu.org>
14653 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14654 has no messages. (Bug#10377)
14656 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14657 than Info-edit. (Bug#10385)
14659 * time.el (display-time-load-average, display-time-next-load-average):
14662 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14663 local setting of buffer-read-only to the input buffer. (Bug#10419)
14665 * calendar/calendar.el (calendar-mode):
14666 Locally set scroll-margin to 0. (Bug#10379)
14668 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14670 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14672 2012-01-05 Glenn Morris <rgm@gnu.org>
14674 * eshell/em-unix.el (diff-no-select): Autoload it.
14675 (eshell/diff): Use diff-no-select. (Bug#10420)
14677 2012-01-05 Chong Yidong <cyd@gnu.org>
14679 * shell.el (shell-dynamic-complete-functions): Revert last change.
14680 (shell-command-completion-function): New function.
14681 (shell-completion-vars): Use it to implement
14682 shell-completion-execonly (Bug#10417).
14684 * custom.el (enable-theme): Don't set custom-safe-themes.
14686 * cus-theme.el (custom-theme-merge-theme):
14687 Ignore custom-enabled-themes and custom-safe-themes.
14689 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14691 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14692 first prompt in `sql-interacive-mode'.
14693 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14695 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14696 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14697 context of original buffer. Invoke `sql-login-hook'.
14699 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14701 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14702 letters in cite-prefix.
14704 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14706 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14708 2012-01-03 Chong Yidong <cyd@gnu.org>
14710 * shell.el (shell-dynamic-complete-functions):
14711 Put pcomplete-completions-at-point, so as to try
14712 comint-filename-completion first (Bug#10417).
14714 2012-01-02 Richard Stallman <rms@gnu.org>
14716 * battery.el (battery-status-function):
14717 Detect when to use battery-yeeloong-sysfs.
14718 (battery-echo-area-format): Add string for Yeeloong.
14719 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14720 (battery-yeeloong-sysfs): New function.
14722 2012-01-02 Chong Yidong <cyd@gnu.org>
14724 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14725 (dirtrack): Merge code for handling relative filenames in prompt
14726 from shell-dir-cookie-watcher.
14727 (dirtrack-debug-message): New arg to avoid excess format calls.
14729 * shell.el (shell-dir-cookie-re): Variable deleted.
14730 (shell-dir-cookie-watcher): Function deleted.
14731 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14732 with dirtrack-mode.
14734 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14736 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14737 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14740 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14742 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14744 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14746 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14747 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14749 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14751 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14752 also for alternative shells.
14753 (tramp-open-connection-setup-interactive-shell): Check, whether
14754 the shell is a busybox.
14755 (tramp-send-command): Don't suppress multiple prompts for
14756 busyboxes, it hurts.
14758 2011-12-28 Chong Yidong <cyd@gnu.org>
14760 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14761 (gdb-get-source-file): Move mode line update to
14762 gdb-get-source-file (Bug#10087).
14764 2011-12-25 Chong Yidong <cyd@gnu.org>
14766 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14767 gud-gdb-marker-filter without taking it as an argument.
14768 (gud-gdb-run-command-fetch-lines): Caller changed.
14769 (gud-gdb-completion-function): New variable.
14770 (gud-gdb-completion-at-point): Use it.
14771 (gud-gdb-completions-1): Split from gud-gdb-completions.
14773 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14774 function as separate arguments.
14775 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14776 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14777 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14778 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14779 (gdb-stopped, def-gdb-auto-update-trigger)
14780 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14781 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14783 (gud-gdbmi-completions): New function.
14784 (gdb): Use it for generating the completion table.
14786 2011-12-24 Alan Mackenzie <acm@muc.de>
14788 Introduce a mechanism to widen the region used in context font
14789 locking. Use this to protect declarations from losing their contexts.
14791 * progmodes/cc-langs.el (c-before-font-lock-functions):
14792 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14793 (c-before-context-fontification-functions): New defvar, a list of
14794 functions to be run just before context (etc.) font locking.
14796 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14797 New, functionality extracted from
14798 c-neutralize-syntax-in-and-mark-CPP.
14799 (c-in-after-change-fontification): New variable.
14800 (c-after-change): Set c-in-after-change-fontification.
14801 (c-set-fl-decl-start): Rejig its interface, so it can be called
14802 from both after-change and context fontifying.
14803 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14805 (c-standard-font-lock-fontify-region-function): New variable.
14806 (c-font-lock-fontify-region): New function.
14808 2011-12-24 Juri Linkov <juri@jurta.org>
14810 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14813 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14815 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14816 existence of source file. (Bug#10325)
14818 2011-12-23 Alan Mackenzie <acm@muc.de>
14820 Fix unstable fontification inside templates.
14822 * progmodes/cc-langs.el (c-before-font-lock-functions):
14823 Newly created from the singular version. The (c c++ objc) entry now
14824 additionally has c-set-fl-decl-start. The other languages (apart
14825 from AWK) have that as a single entry.
14827 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14828 The functionality for "local" declarations has been extracted to
14829 c-set-fl-decl-start.
14831 * progmodes/cc-mode.el (c-common-init, c-after-change):
14832 Changes due to pluralisation of c-before-font-lock-functions.
14833 (c-set-fl-decl-start): New function, extracted from
14834 c-font-lock-enclosing-decls and enhanced.
14836 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14838 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14840 2011-12-22 Juri Linkov <juri@jurta.org>
14842 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14844 2011-12-22 Chong Yidong <cyd@gnu.org>
14846 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14848 2011-12-21 Drew Adams <drew.adams@oracle.com>
14850 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14852 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14854 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14856 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14858 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14859 highlighting and support. Fix up comments for capitalization.
14860 (cfengine-mode-debug): New var.
14861 (cfengine3-mode): Change the modeline indicator to "CFE3".
14862 (cfengine3-font-lock-keywords): Improve defun highlighting.
14863 (cfengine2-actions): Rename from `cfengine-actions'.
14864 (cfengine2-font-lock-keywords): Rename from
14865 `cfengine-font-lock-keywords'.
14866 (cfengine2-imenu-expression): Rename from
14867 `cfengine-imenu-expression'.
14868 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14869 (cfengine2-beginning-of-defun): Rename from
14870 `cfengine-beginning-of-defun'.
14871 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14872 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14873 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14874 modeline indicator to "CFE2".
14875 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14876 (cfengine-mode-abbrevs): Mark obsolete.
14878 2011-12-21 Chong Yidong <cyd@gnu.org>
14880 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14883 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14885 * window.el (window-normalize-buffer-to-display): Remove.
14886 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14888 2011-12-19 Chong Yidong <cyd@gnu.org>
14890 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14891 Don't signal an error in a predicate function; return non-nil.
14892 (vc-dir-mark-file): Move the error here.
14893 (vc-dir-mark-unmark): If acting on the region, keep going if one
14894 of the entries cannot be marked/unmarked.
14895 (vc-dir-mark-all-files): If current entry is a directory, mark
14896 only child files, as documented.
14898 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14900 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14901 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14904 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14906 * term/ns-win.el (ns-get-selection-internal)
14907 (ns-store-selection-internal): Declare.
14908 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14909 Declare as obsolete.
14910 (ns-get-pasteboard, ns-paste-secondary):
14911 Use ns-get-selection-internal.
14912 (ns-set-pasteboard, ns-copy-including-secondary):
14913 Use ns-store-selection-internal.
14915 2011-12-17 Chong Yidong <cyd@gnu.org>
14917 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14918 (vc-deduce-fileset): Doc fix.
14920 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14922 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14924 2011-12-13 Sam Steingold <sds@gnu.org>
14926 * man.el (Man-getpage-in-background): When running under a
14927 window-system, ignore $MANWIDTH and $COLUMNS.
14929 2011-12-15 Kenichi Handa <handa@m17n.org>
14931 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14932 (setup-ethiopic-environment-internal): Comment out key-binding for
14933 ethio-toggle-punctuation.
14935 2011-12-13 Alan Mackenzie <acm@muc.de>
14937 Add the switch statement to AWK Mode.
14939 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14940 "default" to the keywords regexp.
14942 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14943 expression as the rest.
14944 (c-nonlabel-token-key): Allow string literals for AWK.
14945 Refactor for the other modes.
14947 Large brace-block initialisation makes CC Mode slow: Fix.
14948 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14949 routines. Limit backward searching in c-font-lock-enclosing.decl.
14951 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14952 pp-state and literal type in addition to the limits.
14953 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14954 (c-state-literal-at): Use the above new defun.
14955 (c-slow-in-literal, c-fast-in-literal): Remove.
14956 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14958 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14959 being in a literal. Add a limit for backward searching.
14961 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14964 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14966 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14968 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14970 * window.el (delete-other-windows): Use correct frame in call to
14971 window-with-parameter.
14973 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14975 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14976 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14977 (makefile-gmake-statements, makefile-makepp-statements):
14978 Use it and add new makepp keywords.
14979 (makefile-makepp-font-lock-keywords): Add new patterns.
14980 (makefile-match-function-end): Match new [...] and [[...]].
14982 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
14984 * ses.el (ses-call-printer-return, ses-cell-property-get)
14985 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14986 (ses-create-cell-variable, ses-reset-header-string)
14987 (ses-cell-set-formula, ses-repair-cell-reference-all)
14988 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14989 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14990 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14991 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14992 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14993 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14994 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14995 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14996 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14997 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14998 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14999 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15001 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15003 * ses.el: The overall change is to add cell renaming, that is
15004 setting fancy names for cell symbols other than name matching
15005 "\\`[A-Z]+[0-9]+\\'" regexp .
15006 (ses-create-cell-variable): New defun.
15007 (ses-relocate-formula): Relocate formulas only for cells the
15008 symbols of which are not renamed, i.e. symbols whose names do not
15009 match regexp "\\`[A-Z]+[0-9]+\\'".
15010 (ses-relocate-all): Relocate values only for cells the symbols of
15011 which are not renamed.
15012 (ses-load): Create cells variables as the (ses-cell ...) are read,
15013 in order to check row col consistency with cell symbol name only
15014 for cells that are not renamed.
15015 (ses-replace-name-in-formula): New defun.
15016 (ses-rename-cell): New defun.
15018 2011-12-11 Chong Yidong <cyd@gnu.org>
15020 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15021 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15023 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15025 * window.el (other-window): Fix docstring.
15027 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15029 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15030 `from' or `to' address before taking its substring.
15031 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15032 encoded name is chopped in the middle of the encoded string, and
15033 thus displayed encoded.
15035 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15037 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15039 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15041 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15042 to use texinfo-update-node and commands that call it if the
15043 Texinfo file uses @node lines without next/prev/up pointers.
15044 Correct outdated description about texinfo-master-menu.
15045 (texinfo-all-menus-update, texinfo-master-menu)
15046 (texinfo-update-node, texinfo-every-node-update)
15047 (texinfo-multiple-files-update): Doc fix. Warn against updating
15048 all the @node lines.
15049 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15050 argument is numeric. Explain better in the doc string what the
15051 function really does.
15052 (texinfo-insert-master-menu-list): Improve the error message
15053 displayed if there's no menu in the Top node.
15054 (Bug#2975) See also this thread:
15055 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15057 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15059 * speedbar.el (speedbar-supported-extension-expressions):
15060 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15062 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15064 * printing.el (pr-mode-alist):
15065 * simple.el (filter-buffer-substring-functions)
15066 (completion-list-insert-choice-function):
15067 * window.el (window-with-parameter, window-atom-root)
15068 (window-sides-slots, window-size-fixed, window-min-delta)
15069 (window-max-delta, window--resize-mini-window)
15070 (window--resize-child-windows-normal, window-tree)
15071 (delete-other-windows, quit-window, split-window)
15072 (display-buffer-record-window, special-display-buffer-names)
15073 (special-display-regexps, special-display-popup-frame)
15074 (same-window-p, split-window-sensibly)
15075 (display-buffer-overriding-action, display-buffer-alist)
15076 (display-buffer-base-action, display-buffer, switch-to-buffer)
15077 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15078 (fit-window-to-buffer, recenter-positions)
15079 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15080 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15081 and remove unneeded backslashes in docstrings.
15083 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15085 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15087 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15088 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15090 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15091 when reading the makefile (bug#10116).
15093 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15095 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15098 2011-12-06 Glenn Morris <rgm@gnu.org>
15100 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15102 2011-12-06 Chong Yidong <cyd@gnu.org>
15104 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15106 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15108 * textmodes/table.el (table-shorten-cell): Fix typo.
15110 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15112 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15114 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15116 * descr-text.el (describe-char): Fix display of strong
15117 right-to-left characters and directional embeddings and overrides.
15119 * simple.el (what-cursor-position): Fix display of codepoints of
15120 strong right-to-left characters.
15122 2011-12-05 Chong Yidong <cyd@gnu.org>
15124 * faces.el (read-color): Doc fix.
15126 2011-12-05 Glenn Morris <rgm@gnu.org>
15128 * align.el (align--set-marker): Add doc-string.
15129 Don't try to move something that is not a marker. (Bug#10216)
15131 2011-12-04 Glenn Morris <rgm@gnu.org>
15133 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15134 overly zealous deletion of trailing whitespace.
15136 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15138 * server.el (server-delete-client): On Windows, do not try to delete
15140 (server-process-filter): On Windows, treat requests for a tty frame as
15141 if they were for a GUI frame if the running server is in GUI mode.
15143 2011-12-03 Glenn Morris <rgm@gnu.org>
15145 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15147 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15149 * electric.el: Streamline electric-indent's hook.
15150 (electric-indent-chars): Revert to simple list.
15151 (electric-indent-functions): New var.
15152 (electric-indent-post-self-insert-function): Use it.
15154 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15155 there's no inferior buffer (bug#10196).
15156 (prolog-consult-compile): Don't use toggle-read-only.
15158 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15160 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15161 interrupt. (Bug#10187)
15163 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15165 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15168 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15171 2011-12-02 Juri Linkov <juri@jurta.org>
15173 * info.el (Info-search): Display "end of manual" when Isearch
15174 reaches the end of single-file Info manual. (Bug#9918)
15176 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15178 * isearch.el (isearch-message-prefix): Run the input method part
15179 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15181 2011-12-02 Juri Linkov <juri@jurta.org>
15183 * isearch.el (isearch-occur): Use `word-search-regexp' for
15185 (isearch-search-and-update): Add condition for `isearch-word' and
15186 call `word-search-regexp'. (Bug#10145)
15188 2011-12-01 Glenn Morris <rgm@gnu.org>
15190 * eshell/em-hist.el (eshell-hist-initialize):
15191 Handle eshell-history-size nil and HISTSIZE set or unset.
15192 (eshell-history-file-name, eshell-history-size): Fix custom type.
15194 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15196 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15198 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15200 * progmodes/verilog-mode.el (verilog-pretty-expr):
15201 Rework verilog-pretty-expr to handle new assignment operators in system
15202 verilog, such as += *= and the like.
15203 (verilog-assignment-operator-re): Regular expression to find the
15204 assigment operator in a verilog assignment.
15205 (verilog-assignment-operation-re): Regular expression to find an
15206 assignment statement for pretty-expr.
15207 (verilog-in-attribute-p): Query returns true if point is in an
15208 attribute context; used to skip these for expression line up from
15210 (verilog-in-parameter-p): Query returns true if point is in an
15211 parameter definition context; used to skip these for expression
15212 line up from pretty-expr.
15213 (verilog-in-parenthesis-p): Query returns true if point is in a
15214 parenthetical expression, specifically ( ) but not [ ] or { };
15215 used by pretty-expr.
15216 (verilog-just-one-space): If there is no space, don't add one.
15217 (verilog-get-lineup-indent-2): Specifically skip just attribute
15218 contexts for expression lineup, rather than skipping all
15219 parenthetical expressions.
15220 (verilog-calculate-indent): Fix comment, and fix indent.
15221 (verilog-do-indent): Indent declarations in lists (suggested by
15223 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15225 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15228 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15230 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15231 parameters with embedded comments. Reported by Ray Stevens.
15232 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15233 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15234 Reported by Tim Holt.
15235 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15236 instantiated by upper module causing wrong expansion until AUTOed a
15237 second time. Reported by K C Buckenmaier.
15238 (verilog-diff-auto): Fix showing .* as a difference when
15239 `verilog-auto-star-save' off. Reported by Dan Dever.
15240 (verilog-auto-reset, verilog-read-always-signals)
15241 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15242 temporary signals in reset list if
15243 verilog-auto-reset-blocking-in-non is nil, and match assignment
15244 style to each signal's assignment type, bug381.
15245 Reported by Thomas Esposito.
15246 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15247 (verilog-uvm-statement-re): Support UVM indentation and
15248 highlighting, with old OVM keywords only.
15249 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15250 Support AUTOTIEOFF creating non-wire data types.
15251 Suggested by Jonathan Greenlaw.
15252 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15253 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15254 (verilog-inject-sense, verilog-read-inst-pins)
15255 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15256 Fix mismatching parenthesis inside commented out code when deleting
15257 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15258 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15259 non-numeric vector width. Reported by Alex Reed.
15260 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15261 detecting signals with parameter widths. Reported by Alex Reed.
15262 (verilog-auto-delete-trailing-whitespace):
15263 With `verilog-auto-delete-trailing-whitespace' remove trailing
15264 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15265 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15266 Fix verilog-scan-cache corruption when running user AUTO expansion
15267 hooks that call indentation routines.
15268 (verilog-simplify-range-expression): Fix typo ignoring lower case
15270 (verilog-delete-auto): Fix delete-autos to also remove user created
15271 automatics, as long as they start with AUTO.
15272 (verilog-batch-diff-auto, verilog-diff-auto)
15273 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15274 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15275 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15276 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15277 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15278 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15279 is disabled and its cache will get corrupt, causing AUTOS not to
15280 expand. Instead use only -quick functions.
15281 (verilog-scan-region): Fix scanning over escaped quotes.
15282 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15283 (verilog-re-search-backward-quick)
15284 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15285 related functions now ignore strings, to fix misparsing of strings
15286 with magic comments embedded in them.
15287 (verilog-read-auto-template):
15288 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15289 Reported by Brad Dobbie.
15290 (verilog-read-auto-template):
15291 Fix 'verilog-auto-inst-template-numbers' with comments.
15292 Reported by Brad Dobbie.
15293 (verilog-auto-inst, verilog-auto-inst-param)
15294 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15295 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15296 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15297 debugging templates without merge conflicts, bug357.
15298 Reported by Brad Dobbie.
15299 (verilog-read-auto-template):
15300 Fix verilog-auto-inst-template-numbers with multiple templates.
15301 Reported by Brad Dobbie.
15302 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15303 abbrevs so user won't be asked to save.
15304 (verilog-read-auto-lisp-present): Fix to start at beginning of
15305 buffer in case called outside of verilog-auto.
15306 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15307 to "X-2". Reported by Matthew Myers.
15308 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15309 all inputs from module templates. Reported by Leith Johnson.
15310 (verilog-module-inside-filename-p): Fix locating programs as with
15312 (verilog-auto-inst-port): Fix vl-width expressions when using
15313 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15314 (verilog-decls-get-regs, verilog-decls-get-signals,
15315 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15316 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15317 verilog-read-decls): Combine reg and wire structures into one var
15318 structure to represent SystemVerilog concepts.
15319 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15320 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15321 (verilog-auto-wire-type, verilog-insert-definition):
15322 Add verilog-auto-wire-type and AUTOLOGIC to support using
15323 SystemVerilog "logic" keyword instead of "wire"/"reg".
15324 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15325 to declares outputs that also have assignments (presumably in an
15326 ifdef or generate if so there's not a driver conflict).
15327 Reported by Matthew Myers.
15328 (verilog-auto-declare-nettype, verilog-insert-definition):
15329 Add verilog-auto-declare-nettype to fix declarations using
15330 `default_nettype none. Reported by Julian Gorfajn.
15331 (verilog-read-always-signals-recurse, verilog-read-decls)
15332 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15333 malformed end statement, bug325. Reported by Joshua Wise and
15335 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15336 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15337 when expanding .* in interfaces, bug320.
15338 Reported by Pierre-David Pfister.
15339 (verilog-read-module-name): Fix import statements between module
15340 name and open parenthesis, bug317.
15341 Reported by Pierre-David Pfister.
15342 (verilog-simplify-range-expression): Fix simplification of
15343 multiplications inside AUTOWIRE connections, bug303.
15344 (verilog-auto-inst-port): Support parameter expansion in
15345 multidimensional arrays.
15346 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15347 after "assert property". Reported by Julian Gorfajn.
15348 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15349 with multiplication, bug303.
15350 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15351 Reported by Jan Frode Lonnum.
15353 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15355 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15356 (hfy-shell-file-name, hfy-shell):
15357 * international/fontset.el (x-decompose-font-name): Fix typos.
15359 2011-11-29 Ken Brown <kbrown@cornell.edu>
15361 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15362 (gdb-version): Remove defvar.
15363 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15364 (gdb-gud-context-command, gdb-non-stop-handler)
15365 (gdb-current-context-command, gdb-stopped): Use it.
15366 (gdb-init-1): Enable pretty printing here.
15367 (gdb-non-stop-handler): Don't enable pretty-printing here.
15368 Check to see if the target supports non-stop mode; if not, turn off
15369 non-stop mode. Use the following.
15370 (gdb-check-target-async): New defun.
15371 (gud-watch, gdb-stopped): Fix whitespace.
15372 (gdb-get-source-file): Don't try to display the source file if
15373 `gdb-main-file' is nil.
15375 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15377 * align.el: Try to generate fewer markers (bug#10047).
15378 (align--set-marker): New macro.
15379 (align-region): Use it.
15381 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15383 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15385 2011-11-29 Chong Yidong <cyd@gnu.org>
15387 * indent.el (indent-for-tab-command, indent-according-to-mode):
15389 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15391 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15393 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15394 aware of remote file names. (Bug#10124)
15396 2011-11-29 Chong Yidong <cyd@gnu.org>
15398 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15400 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15402 * files.el (find-file): Don't use force-same-window (bug#10144).
15403 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15404 use pop-to-buffer if the selected window can't be used.
15405 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15407 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15409 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15412 2011-11-28 Chong Yidong <cyd@gnu.org>
15414 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15416 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15418 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15419 gdb-get-source-file-list on gdb-create-source-file-list.
15421 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15423 * whitespace.el (whitespace-newline): Use a different foreground
15424 color for 16-color light-background displays.
15426 2011-11-24 Chong Yidong <cyd@gnu.org>
15428 * window.el (display-buffer--special-action): Doc fix.
15430 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15432 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15433 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15434 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15435 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15436 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15437 (avl-tree-stack-first):
15438 * emacs-lisp/cconv.el (cconv--analyse-use):
15439 * net/gnutls.el (gnutls-negotiate): Fix typos.
15441 2011-11-24 Glenn Morris <rgm@gnu.org>
15443 * lpr.el (lpr-windows-system, lpr-lp-system):
15444 * mail/binhex.el (binhex-begin-line):
15445 * progmodes/grep.el (grep-history, grep-find-history):
15446 * textmodes/flyspell.el:
15447 * vc/pcvs-defs.el (cvs-global-menu):
15448 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15449 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15450 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15452 * net/tls.el: Fix case of "GnuTLS".
15454 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15456 * version.el (emacs-build-system): Give it a doc-string.
15458 2011-11-24 Juri Linkov <juri@jurta.org>
15460 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15462 2011-11-24 Glenn Morris <rgm@gnu.org>
15464 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15465 if called on a non-mime message just toggle the headers. (Bug#8006)
15467 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15469 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15470 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15471 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15472 (allout-rebullet-heading, allout-open-sibtopic)
15473 (allout-toggle-current-subtree-encryption)
15474 (allout-toggle-subtree-encryption, allout-encrypt-string)
15475 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15476 (allout-distinctive-bullets-string, allout-auto-activation):
15477 * window.el (window-normalize-buffer-to-display):
15478 * progmodes/verilog-mode.el (verilog-batch-indent):
15479 * textmodes/bibtex.el (bibtex-field-braces-opt)
15480 (bibtex-field-strings-opt):
15481 * vc/cvs-status.el (cvs-tree-merge):
15484 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15486 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15487 `non-essential' to t, in order to avoid remote connections.
15489 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15491 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15492 On MS-DOS and MS-Windows, compare with loaddefs.el
15493 case-insensitively.
15495 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15497 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15499 2011-11-23 Glenn Morris <rgm@gnu.org>
15501 * paths.el (rmail-file-name): Reformat the doc-string so that it
15504 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15505 (rmail-auto-file): Ignore case in the "special" field names,
15506 as mail-fetch-field does for all others.
15508 * mail/rmail.el (rmail-forward):
15509 * mail/rmailkwd.el (rmail-set-label):
15510 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15511 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15513 * mail/rmail.el (rmail-current-message): Doc fix.
15515 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15517 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15519 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15521 2011-11-22 Glenn Morris <rgm@gnu.org>
15523 * mail/rmailmm.el (test-rmail-mime-handler)
15524 (test-rmail-mime-bulk-handler)
15525 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15527 2011-11-21 Juri Linkov <juri@jurta.org>
15529 * calc/calc.el (calc-read-key-sequence):
15530 Let-bind `input-method-function' to nil. (Bug#10018)
15532 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15534 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15535 Tell the caller that the next line needs recomputation, even
15536 though it doesn't start a sexp (bug#10094).
15538 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15540 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15542 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15544 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15545 Use force-same-window.
15547 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15549 * descr-text.el (describe-char-unicode-data):
15550 * json.el (json-string-escape):
15551 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15552 (Footnote-unicode, Footnote-style-p):
15553 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15555 2011-11-20 Chong Yidong <cyd@gnu.org>
15557 * window.el (replace-buffer-in-windows): Restore interactive spec.
15559 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15561 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15563 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15564 (byte-compile-global-not-obsolete-vars): New var.
15565 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15567 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15569 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15571 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15572 * progmodes/pascal.el (electric-pascal-equal):
15573 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15574 * xml.el (xml-substitute-special): Fix typos.
15576 2011-11-20 Glenn Morris <rgm@gnu.org>
15578 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15579 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15581 (rmail-decode-mime-charset): Mark as obsolete.
15583 * mail/rmailsum.el (rmail-message-regexp-p-1):
15584 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15585 Before using mime functions, check they are set. (Bug#10077)
15587 2011-11-19 Juri Linkov <juri@jurta.org>
15589 * info.el (Info-finder-find-node): Use `package--builtins' instead
15590 of `package-alist'. Use node names formed by the pattern "Keyword "
15591 and the keyword name.
15593 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15595 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15597 2011-11-19 Juri Linkov <juri@jurta.org>
15599 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15600 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15601 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15602 `old-history', `old-history-forward'. Add let-binding
15603 `window-selected'. Remove calls to `kill-buffer',
15604 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15605 before calling `Info-find-node', so `Info-find-node-2' will reread
15606 the Info file. Restore window positions only when `window-selected'
15609 2011-11-19 Juri Linkov <juri@jurta.org>
15611 * isearch.el (isearch-lazy-highlight-new-loop):
15612 Remove condition `(not isearch-error)'. (Bug#9918)
15614 * misearch.el (multi-isearch-search-fun): Add condition
15615 `(not bound)' to ignore lazy-highlighting search.
15616 Add the search-failed message "end of multi" when the end of
15617 multi-sequence is reached. Uncapitalize the search-failed
15618 message "Repeat for next buffer".
15620 * info.el (Info-search): Add the search-failed message
15621 "end of the manual" when the end of the manual is reached
15624 2011-11-19 Juri Linkov <juri@jurta.org>
15626 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15627 Use non-destructive `remove' instead of `delete' because
15628 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15629 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15631 2011-11-19 Juri Linkov <juri@jurta.org>
15633 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15634 to nil instead of binding `search-ring' and `regexp-search-ring'.
15637 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15639 * simple.el (line-move): Force movement by logical lines for any
15640 hscrolled window, not only when auto-hscroll-mode is on.
15641 (line-move-visual): Update doc string to that effect. (Bug#10076)
15643 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15645 * language/european.el (macintosh): Define as alias for mac-roman.
15647 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15649 * mail/rmailmm.el (rmail-mime-display-header)
15650 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15651 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15652 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15653 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15654 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15656 (rmail-mime-entity-segment): To get past the tagline, move forward
15657 2 more lines, to account for the 2 empty lines that precede and
15658 follow the line with the buttons.
15659 (rmail-mime-update-tagline): Move one more line, to get past the
15660 empty line that follows the buttons in the tagline. (Bug#9520)
15662 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15664 * window.el (window-max-delta-1, window-min-delta-1)
15665 (window-min-size-1, window-state-get-1, window-state-put-1)
15666 (window-state-put-2): Use "window--" prefix.
15668 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15670 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15671 (smie-warning-count): New var.
15672 (smie-set-prec2tab): Use it.
15673 (smie-bnf->prec2): Improve warnings. Add docstring.
15674 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15675 (smie-bnf--set-class): New function.
15676 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15679 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15680 (compilation-error-properties, compilation-move-to-column):
15681 Handle compilation-first-column while in the target buffer.
15683 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15684 Don't hardcode point-min==1.
15686 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15687 (eshell-rewrite-for-command): Remove workaround.
15688 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15689 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15690 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15692 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15694 2011-11-17 Glenn Morris <rgm@gnu.org>
15696 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15697 Ignore buffer-local generated-autoload-file if it is the same
15698 as the global value. (Bug#10049)
15700 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15702 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15703 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15704 (reftex-toc-previous-heading, reftex-toc-max-level)
15705 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15706 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15707 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15708 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15709 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15710 (reftex-toc-rename-label, reftex-toc-visit-location)
15711 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15712 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15713 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15714 leaving "*toc*" only for references to the buffer.
15716 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15718 * window.el (window-resize, delete-window, split-window):
15719 Replace window-splits by window-combination-resize.
15720 * cus-start.el (window-splits): Replace by window-combination-resize.
15722 2011-11-17 Glenn Morris <rgm@gnu.org>
15724 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15725 Make bash entry derive from sh entry, not shell entry.
15727 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15729 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15732 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15734 * menu-bar.el (menu-bar-file-menu):
15735 * printing.el (pr-ps-utility):
15736 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15737 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15738 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15739 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15740 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15741 (icalendar--convert-cyclic-to-ical)
15742 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15743 (icalendar--convert-ical-to-diary)
15744 (icalendar--convert-recurring-to-diary)
15745 (icalendar--convert-non-recurring-all-day-to-diary)
15746 (icalendar-import-format-sample):
15747 * progmodes/idlw-shell.el (idlwave-shell-mode):
15748 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15749 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15750 (vhdl-ps-print-init): Fix typos.
15752 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15754 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15755 FSF and collapse date sequence, obscure author/maintainer email address
15756 better, remove extra version line, track relocation of author's webpage.
15758 * progmodes/python.el (python-pdbtrack-input-prompt)
15759 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15760 regular python pdb prompts. Adjustments shamelessly taken exactly as
15761 suggested in EmacsWiki page (tiny change):
15762 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15764 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15766 * expand.el (expand-pos, expand-index, expand-point):
15767 Remove redundant info from docstring.
15768 (expand-add-abbrevs): Doc fix.
15769 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15770 (expand-sample-perl-mode-expand-list): Fix typos.
15772 * net/dbus.el (dbus-event-member-name):
15773 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15774 * term/pc-win.el (msdos-create-frame-with-faces):
15775 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15777 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15779 * window.el (split-window, window-state-get-1)
15780 (window-state-put-1, window-state-put-2): Rename occurrences of
15781 window-nest to window-combination-limit.
15782 * cus-start.el (window-nest): Rename to window-combination-limit.
15784 2011-11-16 Chong Yidong <cyd@gnu.org>
15786 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15787 regexp (Bug#10033).
15789 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15791 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15792 `completing-read' will remove *Completions* and will preserve
15793 current-buffer for us.
15794 (tmm-add-prompt): Users of *Completions* will always (re)set its
15796 (tmm-old-comp-map): Remove.
15798 2011-11-16 Glenn Morris <rgm@gnu.org>
15800 * mail/rmailedit.el: Require rmailmm when compiling.
15801 (rmail-old-mime-state): New declaration.
15802 (rmail-edit-current-message): If editing a mime message,
15803 edit the "raw" message from the mbox buffer.
15804 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15806 2011-11-15 Glenn Morris <rgm@gnu.org>
15808 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15809 which wasn't being used. Add optional arg to force given state.
15810 (rmail-mime): Add optional arg to force given state.
15812 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15814 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15815 * frame.el (display-mm-dimensions-alist):
15816 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15817 (outline-move-subtree-down):
15818 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15819 (newsticker--treeview-do-get-node):
15820 * net/quickurl.el (quickurl-list-buffer-name):
15821 * progmodes/dcl-mode.el (dcl-mode):
15822 * progmodes/gdb-mi.el (gdb-mapcar*):
15823 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15825 2011-11-15 Glenn Morris <rgm@gnu.org>
15827 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15828 in a boolean sense, so just make it a boolean, and fix the doc.
15829 (rmail-show-mime-function, rmail-mime-feature)
15830 (rmail-require-mime-maybe): Doc fixes.
15831 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15833 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15835 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15837 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15838 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15839 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15840 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15842 2011-11-15 Glenn Morris <rgm@gnu.org>
15844 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15845 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15846 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15847 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15848 (rmail-mime, rmail-show-mime): Doc fixes.
15850 * term/ns-win.el (mode-line-frame-identification):
15851 Leave it alone. (Bug#10051)
15853 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15855 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15856 Handle empty buffers. (Bug#9978)
15858 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15860 * international/mule.el (define-charset):
15861 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15862 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15863 * progmodes/verilog-mode.el (verilog-backward-token):
15864 * textmodes/ispell.el (lookup-words):
15865 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15867 2011-11-14 Glenn Morris <rgm@gnu.org>
15869 * progmodes/executable.el
15870 (executable-make-buffer-file-executable-if-script-p):
15871 Handle file-modes returning nil.
15873 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15874 message - not necessary, and causes problems. (Bug#9831)
15876 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15878 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15880 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15881 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15882 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15884 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15886 * window.el (window-resize, delete-window): Use window-splits
15887 variable instead of function.
15888 (window-state-get-1, window-state-put-2, window-state-put):
15889 Don't deal with windows' splits status.
15891 2011-11-12 Glenn Morris <rgm@gnu.org>
15893 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15894 (apropos-documentation): Doc fixes.
15896 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15898 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15899 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15901 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15903 * electric.el (electric-indent-post-self-insert-function): Make it
15904 possible for a char to only indent in some circumstances.
15905 (electric-indent-mode): Simplify.
15907 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15909 * window.el (windows-with-parameter): Remove unused function.
15910 (windows-at-side): Rename to window-at-side-list.
15911 (window-check, window-atom-check, window-atom-check-1)
15912 (window-side-check, window-size-ignore, window-size-fixed-1)
15913 (window-in-direction-2): Prefix with "window--".
15914 (window-tree-1): Rename to window--subtree, fix doc-string.
15916 2011-11-11 Glenn Morris <rgm@gnu.org>
15918 * subr.el (eval-after-load): If FILE is already loaded,
15919 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15921 2011-11-10 Glenn Morris <rgm@gnu.org>
15923 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15924 Call svn via vc-svn-command rather than vc-do-command.
15925 (vc-svn-command): Add --non-interactive. (Bug#9993)
15926 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15928 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15929 Add toggle-read-only. (Bug#7292)
15930 * files.el (toggle-read-only): Mention that it should only
15931 be used interactively. (Bug#10006)
15933 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15935 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15936 Adjust regexp for OCaml warnings.
15938 * electric.el (electric-pair-post-self-insert-function): Let user
15939 turn it off buffer-locally (bug#9932).
15941 * progmodes/python.el (python-beginning-of-statement):
15942 Rewrite (bug#2703).
15944 * progmodes/compile.el: Better handle TABs (bug#9749).
15945 (compilation-internal-error-properties)
15946 (compilation-next-error-function): Obey the target buffer's
15947 compilation-error-screen-columns.
15949 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15951 * progmodes/meta-mode.el: Remove obsolete comments.
15952 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15953 Fix typos in docstrings.
15955 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15957 * window.el (window-size-fixed-p): Rewrite doc-string.
15958 (window-resizable-p): Rename to window--resizable-p. Update callers.
15959 (window--resizable): New function. Make all callers of
15960 window-resizable call window--resizable instead.
15961 (window-resizable): Rewrite in terms of window--resizable.
15963 2011-11-08 Glenn Morris <rgm@gnu.org>
15965 * progmodes/delphi.el (delphi-mode-syntax-table):
15966 Let define-derived-mode define a proper syntax table. (Bug#9994)
15968 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15970 * window.el: Stay away from defsubst.
15971 (window-list-no-nils): Remove.
15972 (window-state-get-1, window-state-get): Use backquote instead.
15974 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15976 * emacs-lisp/find-func.el (find-function-read):
15977 Fix incorrect use of default argument in `completing-read'.
15979 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15981 * window.el (display-buffer-function, special-display-function):
15982 Mention display-buffer-record-window but do not mention
15983 help-setup parameter in doc-strings.
15984 (window-min-delta): Fix doc-string typo.
15986 2011-11-08 Chong Yidong <cyd@gnu.org>
15988 * window.el (window-total-height, window-total-width): Doc fix.
15989 (window-body-size): Move from C.
15990 (window-body-height, window-body-width): Move to C.
15992 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15994 * window.el: Make special-display like display-buffer-alist (bug#9532).
15995 (display-buffer--special-action): New function, morphed
15996 from display-buffer--special.
15997 (display-buffer): Use it to handle special-display-buffers at higher
15998 priority (just after display-buffer-alist).
15999 (display-buffer-fallback-action, display-buffer--other-frame-action)
16000 (pop-to-buffer-same-window): Remove display-buffer--special.
16002 2011-11-07 Glenn Morris <rgm@gnu.org>
16004 * calendar/cal-menu.el (cal-menu-set-date-title):
16005 Do nothing if not in a calendar. (Bug#9976)
16007 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16009 * files.el (find-file): Always use selected-window.
16011 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16013 * window.el (window-combinations): Make WINDOW argument
16014 mandatory. Rewrite doc-string.
16015 (walk-window-subtree, window-atom-check, window-min-delta)
16016 (window-max-delta, window--resize-this-window)
16017 (window--resize-root-window-vertically, window-tree)
16018 (balance-windows, window-state-put): Rewrite doc-strings as to
16019 not mention the term "subwindow".
16020 (window--resize-subwindows-skip-p): Rename to
16021 window--resize-child-windows-skip-p.
16022 (window--resize-subwindows-normal): Rename to
16023 window--resize-child-windows-normal.
16024 (window--resize-subwindows): Rename to
16025 window--resize-child-windows.
16026 (window-or-subwindow-p): Rename to window--in-subtree-p.
16028 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16030 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16031 Ensure that mbox format messages end in two newlines (Bug#9974).
16033 2011-11-06 Chong Yidong <cyd@gnu.org>
16035 * window.el (window-combination-p): Function deleted; its
16036 side-effect is not used in any existing code.
16037 (window-combinations, window-combined-p): Call window-*-child
16040 2011-11-05 Chong Yidong <cyd@gnu.org>
16042 * window.el (window-valid-p): Rename from window-any-p.
16043 (window-size-ignore, window-state-get): Callers changed.
16044 (window-normalize-window): Rename from window-normalize-any-window.
16045 New arg LIVE-ONLY, replacing window-normalize-live-window.
16046 (window-normalize-live-window): Delete.
16047 (window-combination-p, window-combined-p, window-combinations)
16048 (walk-window-subtree, window-atom-root, window-min-size)
16049 (window-sizable, window-sizable-p, window-size-fixed-p)
16050 (window-min-delta, window-max-delta, window-resizable)
16051 (window-resizable-p, window-full-height-p, window-full-width-p)
16052 (window-current-scroll-bars, window-point-1, set-window-point-1)
16053 (window-at-side-p, window-in-direction, window-resize)
16054 (adjust-window-trailing-edge, maximize-window, minimize-window)
16055 (window-deletable-p, delete-window, delete-other-windows)
16056 (record-window-buffer, unrecord-window-buffer)
16057 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16058 (quit-window, split-window, window-state-put)
16059 (set-window-text-height, fit-window-to-buffer)
16060 (shrink-window-if-larger-than-buffer): Callers changed.
16062 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16064 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16065 rfc2047-decode-string.
16066 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16069 * window.el (window-body-height, window-body-width): Mention in
16070 the doc string that the return values are in frame's canonical
16073 2011-11-03 Alan Mackenzie <acm@muc.de>
16075 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16076 change in cc-engine.el.
16078 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16080 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16082 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16084 * window.el (quit-window): Call unrecord-window-buffer after
16085 showing another buffer in the window. (Bug#9937)
16086 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16088 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16090 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16091 Accept status with more than 9 shelves. (Bug#9935)
16092 Reported by Colin D Bennett <colin@gibibit.com>.
16094 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16096 * help.el (with-help-window): Don't reference
16097 temp-buffer-show-specifiers in doc-string.
16099 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16101 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16104 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16106 * whitespace.el: New version 13.2.2.
16107 (whitespace-newline-mode): Disable properly. Reported by Sarah
16110 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16112 * net/newst-treeview.el: Remove "Time-stamp".
16113 (newsticker--group-manage-orphan-feeds): Do not call
16114 newsticker--treeview-tree-update.
16115 (newsticker-treeview-update, newsticker-treeview):
16116 Call newsticker--treeview-tree-update if necessary.
16118 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16120 * window.el (window-iso-combination-p, window-iso-combined-p)
16121 (window-iso-combinations): Remove "iso-" infix.
16122 Suggested by Chong Yidong.
16123 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16124 (window-max-delta-1, window-resize, window--resize-siblings)
16125 (window--resize-this-window, adjust-window-trailing-edge)
16126 (split-window, balance-windows-1)
16127 (shrink-window-if-larger-than-buffer):
16128 * calendar/calendar.el (calendar-generate-window):
16129 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16131 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16133 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16134 in place (bug#9907).
16135 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16136 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16137 (eshell-structure-basic-command, eshell-rewrite-while-command)
16138 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16139 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16140 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16141 (eshell-do-pipelines-synchronously, eshell-eval-command):
16142 Use backquotes and prefer setq to set.
16143 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16144 (eshell-macrop): Use functionp.
16145 (eshell-do-eval): Handle multiple expressions in `while' body.
16147 2011-10-30 Chong Yidong <cyd@gnu.org>
16149 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16150 instead of set-mark (Bug#9810).
16152 2011-10-30 Chong Yidong <cyd@gnu.org>
16154 * window.el (split-window-below, split-window-right): Rename from
16155 split-window-above-each-other and split-window-side-by-side
16156 respectively. All callers changed.
16157 (split-window-sensibly, split-window-sensibly): Use them.
16158 (split-window-keep-point): Doc fix.
16160 * isearch.el: Add isearch-scroll property to split-window-below
16161 and split-window-right.
16163 * follow.el (follow-mode):
16164 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16165 * progmodes/ada-xref.el (ada-gdb-application):
16166 * emulation/vip.el (vip-buffer-in-two-windows):
16167 * image-dired.el (image-dired-dired-with-window-configuration):
16168 * dired-x.el (dired-do-find-marked-files):
16169 * dired.el (dired-pop-to-buffer):
16170 * bs.el (bs--show-with-configuration):
16171 * vc/emerge.el (emerge-setup-windows):
16172 * textmodes/two-column.el (2C-two-columns):
16173 * textmodes/reftex-toc.el (reftex-toc):
16174 * progmodes/gdb-mi.el (gdb-setup-windows):
16175 * progmodes/fortran.el (fortran-window-create):
16176 * net/newst-treeview.el (newsticker--treeview-window-init):
16177 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16178 * emulation/tpu-edt.el (tpu-gold-map):
16179 * emulation/crisp.el (crisp-mode-map):
16180 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16182 2011-10-29 Chong Yidong <cyd@gnu.org>
16184 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16186 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16188 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16189 forged Ispell output (Bug#7904).
16191 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16193 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16195 * doc-view.el: Avoid ugly errors about not finding nil.
16196 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16197 (doc-view-dvipdf-program, doc-view-unoconv-program)
16198 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16199 Avoid nil or absolute file name as default value.
16200 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16202 2011-10-28 Alan Mackenzie <acm@muc.de>
16204 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16206 2011-10-28 Alan Mackenzie <acm@muc.de>
16208 Amend the handling of c-beginning/end-of-defun in nested declaration
16211 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16212 cc-langs.el. Change it to a defcustom.
16214 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16217 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16218 Prevent "class foo : bar" being spuriously recognized as a label.
16220 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16221 Add parameter `inclusive' (to include enclosing braces in the region).
16222 (c-widen-to-enclosing-decl-scope): New function.
16223 (c-while-widening-to-decl-block): New macro.
16224 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16225 outward for defun boundaries, and correspondingly change symbol
16226 `respect-enclosure' to `go-outward'.
16227 (c-declaration-limits): Change algorithm to report only the "innermost"
16228 defun's boundaries.
16230 2011-10-28 Deniz Dogan <deniz@dogan.se>
16232 * net/rcirc.el (rcirc-mode): Use hard newlines.
16234 2011-10-28 Alan Mackenzie <acm@muc.de>
16236 Amend to indent and fontify macros "which include their own semicolon"
16237 correctly, using the "virtual semicolon" mechanism.
16239 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16241 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16242 Recode to scan one line at a time rather than having \n and \r
16243 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16244 (c-forward-label): Amend for virtual semicolons.
16245 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16247 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16248 of the new C macros.
16250 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16251 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16252 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16253 (c-opt-cpp-macro-define): Make into a full language variable.
16254 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16255 AWK Mode (including \n, \r) removed, no longer needed.
16257 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16258 Invoke c-make-macro-with-semi-re.
16260 * progmodes/cc-vars.el (c-macro-with-semi-re):
16261 (c-macro-names-with-semicolon): New variables.
16262 (c-make-macro-with-semi-re): New function.
16264 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16266 * vc/log-edit.el: Fill empty field rather than adding new one.
16267 (log-edit-add-field): New function.
16268 (log-edit-insert-changelog): Use it.
16270 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16272 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16274 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16276 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16277 (gdb--check-interpreter): New function.
16280 2011-10-27 Glenn Morris <rgm@gnu.org>
16282 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16283 (least-positive-float, least-negative-float)
16284 (least-positive-normalized-float, least-negative-normalized-float)
16285 (float-epsilon, float-negative-epsilon):
16286 Remove unnecessary declarations.
16288 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16289 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16290 (least-positive-float, least-negative-float)
16291 (least-positive-normalized-float, least-negative-normalized-float)
16292 (float-epsilon, float-negative-epsilon): Add doc-strings,
16293 based on those in cl.texi.
16295 * files.el (set-visited-file-name): If the major-mode changed,
16296 reload the local variables. (Bug#9796)
16298 2011-10-27 Chong Yidong <cyd@gnu.org>
16300 * subr.el (change-major-mode-after-body-hook): New hook.
16301 (run-mode-hooks): Run it.
16303 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16304 Use change-major-mode-before-body-hook.
16306 * simple.el (fundamental-mode):
16307 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16308 change introducing fundamental-mode-hook.
16310 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16312 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16314 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16316 * ido.el (ido-file-name-all-completions-1): Do not require
16317 tramp.el explicitly. (Bug#7583)
16319 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16321 * progmodes/octave-mod.el:
16322 * progmodes/octave-inf.el: Update maintainer.
16324 2011-10-26 Chong Yidong <cyd@gnu.org>
16326 * subr.el (with-wrapper-hook): Rewrite doc.
16328 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16330 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16331 filenames "/method:foo:". (Bug#9793)
16333 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16335 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16338 2011-10-24 Glenn Morris <rgm@gnu.org>
16340 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16342 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16344 * notifications.el: Add the requirement of a running D-Bus session
16345 bus to the Commentary.
16347 2011-10-24 Juri Linkov <juri@jurta.org>
16349 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16350 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16353 2011-10-24 Juri Linkov <juri@jurta.org>
16355 * info.el (Info-following-node-name-re): Add newline to the list
16356 of allowed characters for leading space. (Bug#9824)
16358 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16360 * progmodes/octave-inf.el (inferior-octave-mode-map):
16361 Fix C-c C-h binding.
16362 * progmodes/octave-mod.el (octave-help): Remove.
16364 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16366 Sync with Tramp 2.2.3.
16368 * net/tramp-cache.el (top): Pacify byte-compiler using
16369 `init-file-user' and `site-run-file'.
16371 * net/trampver.el: Update release number.
16373 2011-10-23 Chong Yidong <cyd@gnu.org>
16375 * files.el (toggle-read-only): Remove obsolete comment about
16378 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16379 for toggle-read-only. Note that this hasn't called vc-next-action
16380 since 2008-05-02, though it wasn't documented at the time.
16382 * vc/ediff-init.el (ediff-toggle-read-only-function):
16383 Use toggle-read-only.
16385 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16387 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16390 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16391 correct faulty logical expression.
16392 (c-parse-state-state, c-record-parse-state-state):
16393 (c-replay-parse-state-state): New defvar/defuns.
16394 (c-debug-parse-state): Use new functions.
16396 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16398 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16399 last fix. Use window-in-direction correctly.
16401 2011-10-21 Chong Yidong <cyd@gnu.org>
16403 * progmodes/idlwave.el (idlwave-mode):
16404 * progmodes/vera-mode.el (vera-mode): No need to set
16405 require-final-newline; that's done in prog-mode.
16406 Suggested by Stefan Monnier.
16408 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16410 * mouse.el (mouse-drag-window-above)
16411 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16412 (mouse-drag-mode-line-1, mouse-drag-header-line)
16413 (mouse-drag-vertical-line-rightward-window): Remove.
16414 (mouse-drag-line): New function.
16415 (mouse-drag-mode-line, mouse-drag-header-line)
16416 (mouse-drag-vertical-line): Call mouse-drag-line.
16417 * window.el (window-at-side-p, windows-at-side): New functions.
16419 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16421 * tar-mode.el (tar-grind-file-mode):
16422 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16424 2011-10-21 Chong Yidong <cyd@gnu.org>
16426 * progmodes/idlwave.el (idlwave-mode):
16427 * progmodes/vera-mode.el (vera-mode):
16428 Use mode-require-final-newline.
16430 2011-10-20 Glenn Morris <rgm@gnu.org>
16432 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16434 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16436 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16438 2011-10-20 Chong Yidong <cyd@gnu.org>
16440 * emulation/cua-base.el (cua-mode):
16441 * mail/footnote.el (footnote-mode):
16442 * mail/mailabbrev.el (mail-abbrevs-mode):
16443 * net/xesam.el (xesam-minor-mode):
16444 * progmodes/bug-reference.el (bug-reference-mode):
16445 * progmodes/cap-words.el (capitalized-words-mode):
16446 * progmodes/compile.el (compilation-minor-mode)
16447 (compilation-shell-minor-mode):
16448 * progmodes/gud.el (gud-tooltip-mode):
16449 * progmodes/hideif.el (hide-ifdef-mode):
16450 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16451 * progmodes/subword.el (subword-mode):
16452 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16453 * progmodes/which-func.el (which-function-mode):
16454 * term/tvi970.el (tvi970-set-keypad-mode):
16455 * term/vt100.el (vt100-wide-mode):
16456 * textmodes/flyspell.el (flyspell-mode):
16457 * textmodes/ispell.el (ispell-minor-mode):
16458 * textmodes/nroff-mode.el (nroff-electric-mode):
16459 * textmodes/paragraphs.el (use-hard-newlines):
16460 * textmodes/refill.el (refill-mode):
16461 * textmodes/reftex.el (reftex-mode):
16462 * textmodes/rst.el (rst-minor-mode):
16463 * textmodes/sgml-mode.el (html-autoview-mode)
16464 (sgml-electric-tag-pair-mode):
16465 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16466 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16467 * emulation/crisp.el (crisp-mode):
16468 * emacs-lisp/eldoc.el (eldoc-mode):
16469 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16470 minor mode behavior.
16472 2011-10-19 Juri Linkov <juri@jurta.org>
16474 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16475 the list of hard-coded chars with escape-glyph face.
16477 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16479 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16481 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16483 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16486 2011-10-19 Glenn Morris <rgm@gnu.org>
16488 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16489 Ignore ignored files. (Bug#9726)
16491 2011-10-19 Chong Yidong <cyd@gnu.org>
16493 Doc fix for minor modes, stating that an omitted argument enables
16494 the mode unconditionally when called from Lisp.
16496 * abbrev.el (abbrev-mode):
16497 * allout.el (allout-mode):
16498 * autoinsert.el (auto-insert-mode):
16499 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16500 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16501 (global-auto-revert-mode):
16502 * battery.el (display-battery-mode):
16503 * composite.el (global-auto-composition-mode)
16504 (auto-composition-mode):
16505 * delsel.el (delete-selection-mode):
16506 * desktop.el (desktop-save-mode):
16507 * dired-x.el (dired-omit-mode):
16508 * dirtrack.el (dirtrack-mode):
16509 * doc-view.el (doc-view-minor-mode):
16510 * double.el (double-mode):
16511 * electric.el (electric-indent-mode, electric-pair-mode):
16512 * emacs-lock.el (emacs-lock-mode):
16513 * epa-hook.el (auto-encryption-mode):
16514 * follow.el (follow-mode):
16515 * font-core.el (font-lock-mode):
16516 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16517 * help.el (temp-buffer-resize-mode):
16518 * hilit-chg.el (highlight-changes-mode)
16519 (highlight-changes-visible-mode):
16520 * hi-lock.el (hi-lock-mode):
16521 * hl-line.el (hl-line-mode, global-hl-line-mode):
16522 * icomplete.el (icomplete-mode):
16523 * ido.el (ido-everywhere):
16524 * image-file.el (auto-image-file-mode):
16525 * image-mode.el (image-minor-mode):
16526 * iswitchb.el (iswitchb-mode):
16527 * jka-cmpr-hook.el (auto-compression-mode):
16528 * linum.el (linum-mode):
16529 * longlines.el (longlines-mode):
16530 * master.el (master-mode):
16531 * mb-depth.el (minibuffer-depth-indicate-mode):
16532 * menu-bar.el (menu-bar-mode):
16533 * minibuf-eldef.el (minibuffer-electric-default-mode):
16534 * mouse-sel.el (mouse-sel-mode):
16535 * msb.el (msb-mode):
16536 * mwheel.el (mouse-wheel-mode):
16537 * outline.el (outline-minor-mode):
16538 * paren.el (show-paren-mode):
16539 * recentf.el (recentf-mode):
16540 * reveal.el (reveal-mode, global-reveal-mode):
16541 * rfn-eshadow.el (file-name-shadow-mode):
16542 * ruler-mode.el (ruler-mode):
16543 * savehist.el (savehist-mode):
16544 * scroll-all.el (scroll-all-mode):
16545 * scroll-bar.el (scroll-bar-mode):
16546 * server.el (server-mode):
16547 * shell.el (shell-dirtrack-mode):
16548 * simple.el (auto-fill-mode, transient-mark-mode)
16549 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16550 (line-number-mode, column-number-mode, size-indication-mode)
16551 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16552 * strokes.el (strokes-mode):
16553 * time.el (display-time-mode):
16554 * t-mouse.el (gpm-mouse-mode):
16555 * tool-bar.el (tool-bar-mode):
16556 * tooltip.el (tooltip-mode):
16557 * type-break.el (type-break-mode-line-message-mode)
16558 (type-break-query-mode):
16559 * view.el (view-mode):
16560 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16561 (global-whitespace-mode, global-whitespace-newline-mode):
16562 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16564 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16565 Fix autogenerated docstring.
16567 2011-10-19 Juri Linkov <juri@jurta.org>
16569 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16570 by checking environment variables "DESKTOP_SESSION" and
16571 "XDG_CURRENT_DESKTOP". (Bug#9779)
16573 2011-10-19 Juri Linkov <juri@jurta.org>
16575 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16576 (browse-url-chromium-program, browse-url-chromium-arguments):
16578 (browse-url-default-browser): Check for `browse-url-chromium' and
16579 call `browse-url-chromium-program'.
16580 (browse-url-chromium): New command. (Bug#9779)
16582 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16584 * facemenu.el (list-colors-duplicates): On Windows, detect more
16585 duplicates by assuming that only colors matching "^System" are
16586 special "system colors". (Bug#9722)
16588 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16590 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16591 to distinguish the author from the committer.
16593 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16595 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16597 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16599 * international/mule.el (sgml-html-meta-auto-coding-function):
16600 Add support for detecting encoding in HTML5 specified only as
16601 <meta charset="UTF-8">. Implementation just makes http-equiv and
16602 content-type parts from HTML4 encoding string optional. (Bug#9716)
16604 2011-10-18 Glenn Morris <rgm@gnu.org>
16606 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16608 2011-10-18 Chong Yidong <cyd@gnu.org>
16610 * faces.el (cursor): Doc fix.
16612 2011-10-17 Chong Yidong <cyd@gnu.org>
16614 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16616 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16618 * dirtrack.el (dirtrack): Support shell buffers with path
16619 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16621 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16623 * json.el: Bump version to 1.3 and note change in History.
16624 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16626 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16628 * comint.el (comint-insert-input, comint-send-input)
16629 (comint-get-old-input-default, comint-backward-matching-input)
16630 (comint-next-prompt): Use nil instead of `input' for field property of
16631 past user input (bug#114).
16633 * minibuffer.el (completion--replace): Inherit surrounding properties
16635 (minibuffer-complete-and-exit): Use it.
16637 * comint.el (comint--table-subvert): Quote the all-completions output
16640 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16642 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16644 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16645 window on right of selected. (Bug#9350) Reword other window
16646 entries and separate them from frame entries.
16648 2011-10-15 Glenn Morris <rgm@gnu.org>
16650 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16653 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16655 * net/network-stream.el (network-stream-open-starttls):
16656 Improve detection of failure due to lack of TLS support.
16658 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16659 putting the input text in front and in bold.
16661 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16663 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16665 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16668 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16669 unread-command-events rather than pushing yet-another event.
16671 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16673 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16674 the explanation of the possible choices. Make the options passed
16675 to completing-read shorter.
16677 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16679 * textmodes/flyspell.el (flyspell-large-region): Make sure
16680 extended character mode is used if defined (Bug#1339).
16682 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16684 * simple.el (what-cursor-position): Fix the display of the
16685 character info for LRE, LRO, RLE, and RLO characters by appending
16688 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16690 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16691 even in case of error; add debug spec; simplify data flow.
16692 (with-timeout-handler): Remove.
16694 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16696 Fix Bug#6019, Bug#9315.
16698 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16699 complete `buffer-file-name', the local file name part could look
16700 remotely (for example on VMS).
16702 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16703 `tramp-run-real-handler'.
16704 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16705 already quoted by '"'.
16707 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16708 Let `file-name-handler-alist' be nil, the local file name part
16709 could look remotely (for example on VMS).
16711 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16713 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16715 (flyspell-post-command-hook): ...to here.
16717 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16719 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16721 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16722 using completion. Protect against "slow" callers.
16723 Remove the "message hack".
16725 2011-10-11 Juri Linkov <juri@jurta.org>
16727 * isearch.el (isearch-lazy-highlight-word): New variable.
16728 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16731 2011-10-11 Glenn Morris <rgm@gnu.org>
16733 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16734 like f90-previous-statement does.
16736 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16738 * eshell/eshell.el (eshell-command): History should be saved
16739 only in interactive use, to avoid error.
16741 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16743 * minibuffer.el (completion-file-name-table): Fix last change,
16744 i.e. ignore normal errors but not the other ones.
16746 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16748 * window.el (special-display-buffer-names)
16749 (special-display-regexps): Remove some remnants of earlier
16750 changes from doc-strings.
16751 (quit-windows-on): New function.
16753 * vc/vc.el (vc-revert, vc-rollback):
16754 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16755 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16756 (Bug#6183) (Bug#7074) (Bug#7447)
16758 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16760 * window.el (frame-auto-hide-function): Add version tag.
16763 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16765 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16768 2011-10-09 Leo Liu <sdl.web@gmail.com>
16770 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16773 2011-10-08 Glenn Morris <rgm@gnu.org>
16775 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16776 before the first code statement zero indent. (Bug#9690)
16778 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16780 * simple.el (count-words-region): Always count in the region.
16781 Report the number of lines and characters too.
16782 (count-words): New command, which counts in the buffer if the
16783 region is inactive, as count-words-region used to.
16784 (count-words--message): New function. Handle plurals.
16785 (count-lines-region): Make it an alias for count-words-region.
16787 * bindings.el (esc-map): Replace count-lines-region with
16788 count-words-region.
16790 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16792 * window.el (window--delete): Delete dedicated frame
16793 unconditionally when argument KILL is non-nil. (Bug#9699)
16794 (switch-to-buffer): Fix doc-string typo.
16796 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16798 * eshell/eshell.el (eshell-command): Avoid using hooks.
16800 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16802 * bindings.el ([M-left],[M-right]): Bind to left-word and
16803 right-word respectively.
16805 2011-10-07 Glenn Morris <rgm@gnu.org>
16807 * cus-start.el (debug-on-quit): Fix custom type.
16809 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16811 * subr.el (define-key-after): Clarify that the function is not
16812 useful for non-menu keymaps.
16814 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16816 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16818 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16819 in current minibuffer (Fix bug with recursive minibuffers).
16821 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16823 * progmodes/gdb-mi.el (gdb): Doc fix.
16825 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16827 * window.el (frame-auto-hide-function): New option replacing
16828 frame-auto-delete. Suggested by Stefan Monnier.
16829 (window--delete): Call frame-auto-hide-function instead of
16830 investigating frame-auto-delete.
16831 (window-point-1, set-window-point-1): New functions.
16832 (window-in-direction, record-window-buffer, window-state-get-1)
16833 (display-buffer-record-window): Use window-point-1 instead of
16835 (set-window-buffer-start-and-point): Use set-window-point-1.
16837 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16839 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16841 2011-10-05 Glenn Morris <rgm@gnu.org>
16843 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16844 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16846 2011-10-05 Leo Liu <sdl.web@gmail.com>
16848 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16849 works with buffer object.
16851 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16853 * mpc.el (mpc-tool-bar-map): Add labels.
16855 2011-10-04 Glenn Morris <rgm@gnu.org>
16857 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16859 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16861 * window.el (window--delete): New function.
16862 (frame-auto-delete): Resuscitate option.
16863 (bury-buffer, replace-buffer-in-windows)
16864 (quit-window): Rewrite using window--delete.
16865 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16866 Pass display-buffer-mark-dedicated to window--display-buffer-2
16869 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16871 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16872 returns a list (bug#9554). Add remote file name completion.
16873 * comint.el (comint--table-subvert): Curry and get quote&unquote
16874 functions as arguments.
16875 (comint--complete-file-name-data): Adjust call accordingly.
16876 * pcomplete.el (pcomplete--table-subvert): Remove.
16877 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16879 * minibuffer.el (completion-table-case-fold): Use currying.
16880 (completion--styles-type, completion--cycling-threshold-type):
16882 (completion-styles, completion-category-overrides)
16883 (completion-cycle-threshold): Use them.
16884 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16885 completion-table-case-fold.
16887 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16889 * minibuffer.el (completion-category-overrides): Fix type of styles
16890 and add more user friendly tags (bug#9660).
16892 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16894 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16895 (mule-input-method-string): New widget.
16896 (default-input-method, language-info-custom-alist): Use it.
16898 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16900 * pcomplete.el: Require comint.
16901 (pcomplete--common-suffix): Remove.
16902 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16903 (pcomplete--table-subvert): Sync with comint--table-subvert.
16904 (pcomplete--entries): Use comint-completion-file-name-table.
16905 * comint.el (comint-unquote-filename): Simplify.
16906 (comint-completion-file-name-table): New function (bug#9616).
16907 (comint--complete-file-name-data): Use it.
16909 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16910 (pcmpl-gnu-tar-buffer): Remove.
16911 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16912 around. Make sure pcomplete-suffix-list is only changed temporarily.
16913 Don't look inside the tar's file if it's too large.
16915 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16917 * cus-edit.el (custom-mode-map):
16918 * epa.el (epa-key-list-mode-map):
16919 * man.el (Man-mode-map):
16920 * startup.el (splash-screen-keymap):
16921 * simple.el (special-mode-map): Use scroll-up-command and
16922 scroll-down-command.
16924 * progmodes/idlw-help.el (idlwave-help-mode-map):
16925 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16926 * net/newst-plainview.el (newsticker-mode-map):
16927 * emulation/ws-mode.el (wordstar-mode-map):
16928 * emulation/vi.el (vi-com-map):
16929 * calc/calc-graph.el (calc-graph-show-dumb):
16930 * term/sun.el (terminal-init-sun):
16931 * term/ns-win.el (global-map):
16932 * progmodes/grep.el (grep-mode-map):
16933 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16934 * mail/rmail.el (rmail-mode-map):
16935 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16937 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16938 custom-safe-themes as special.
16940 2011-10-01 Julien Danjou <julien@danjou.info>
16942 * notifications.el (notifications-notify): Fix docstring.
16944 2011-10-01 Per Starbäck <per@starback.se>
16946 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16948 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16950 * startup.el (command-line-1): Fix last fix by inserting
16951 initial-scratch-message into *scratch* before displaying it.
16952 (Bug#9605) and (Bug#9636)
16954 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16956 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16957 window is hscrolled, move by logical lines. (Bug#9607)
16958 (line-move-visual): Update the doc string to the above effect.
16960 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16962 * window.el (display-buffer-record-window): When WINDOW is the
16963 selected window use `point' instead of `window-point'. (Bug#9626)
16965 * startup.el (command-line-1): Use insert-before-markers when
16966 inserting initial-scratch-message. (Bug#9605)
16968 * help.el (help-window): Remove variable.
16970 2011-09-29 Glenn Morris <rgm@gnu.org>
16972 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16974 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16976 * descr-text.el (describe-char-categories): Accept category
16977 descriptions more than one line long.
16979 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16981 * simple.el (delete-trailing-whitespace): Fix last change.
16983 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16984 Don't confuse "y => 3" as the beginning of a `y' operation.
16986 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16987 object has more than 4 slots (bug#9613).
16989 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
16991 * subr.el (with-output-to-temp-buffer):
16992 * net/quickurl.el (quickurl, quickurl-browse-url):
16993 Fix typos in docstrings.
16995 2011-09-27 Eli Zaretskii <eliz@gnu.org>
16997 * minibuffer.el (completion-styles)
16998 (completion-category-overrides): Cross reference each other in doc
17001 2011-09-27 Glenn Morris <rgm@gnu.org>
17003 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17004 to split-string. (Bug#9606)
17006 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17008 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17011 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17013 * emacs-lisp/package.el (list-packages): Fix echo area message.
17015 2011-09-27 Leo Liu <sdl.web@gmail.com>
17017 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17019 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17021 * net/dbus.el (dbus-unregister-object): Don't release services for
17022 registered signals. (Bug#9581)
17024 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17026 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17027 function that picks between cfengine 2 and 3 support
17028 automatically. Update docs accordingly.
17030 2011-09-22 Kenichi Handa <handa@m17n.org>
17032 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17034 (indian-itrans-v5-table-for-tamil): New variable.
17035 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17037 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17039 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17040 that's true if the current command involved collapsing of text.
17041 It's reset to false at the beginning of the next command.
17042 (allout-post-command-business): Move the cursor to the beginning
17043 of entry if the cursor is hidden and collapsing activity just
17046 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17048 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17049 tracking (Bug#9541).
17051 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17053 * net/newst-reader.el (newsticker-html-renderer)
17054 (newsticker-show-news): Automatically load html rendering package
17055 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17056 because w3m-fill-column is let-bound" and the error "Symbol's value
17057 as variable is void: w3m-fill-column".
17059 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17061 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17062 Release services only if they are defined. (Bug#9581)
17064 2011-09-23 Richard Stallman <rms@gnu.org>
17066 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17067 distinguish start of paragraph from start of its text.
17069 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17071 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17072 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17073 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17075 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17077 * international/mule-diag.el (mule-diag): Insert a newline after
17078 each fontset description.
17080 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17082 * simple.el (delete-trailing-whitespace):
17083 Document last change; simplify.
17085 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17087 * simple.el (delete-trailing-whitespace): Also delete
17088 extra newlines at the end of the buffer.
17090 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17091 (picture-newline): Use forward-line so as to ignore fields.
17093 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17095 * subr.el (with-wrapper-hook): Fix edebug spec.
17097 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17099 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17102 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17104 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17105 Fix nasty bug using wrong cached values.
17107 2011-09-23 Alan Mackenzie <acm@muc.de>
17109 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17111 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17113 * window.el (pop-to-buffer): Ensure right window is selected if we
17114 chose another frame.
17116 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17118 * simple.el (what-cursor-position): Use get-char-property-change
17119 and next-single-char-property-change, to be able to show display
17120 properties that come from overlays as well as text properties.
17122 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17124 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17126 * cmuscheme.el (run-scheme, switch-to-scheme):
17127 * cus-edit.el (customize-group, custom-buffer-create)
17128 (customize-browse):
17130 * shell.el (shell):
17131 * mail/sendmail.el (mail):
17132 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17134 2011-09-22 Richard Stallman <rms@gnu.org>
17136 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17137 move back only to line beg, don't move back over blank lines.
17139 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17141 * files.el (copy-directory): Set directory attributes only in case
17142 they could be retrieved from the source directory. (Bug#9565)
17144 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17146 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17147 (hs-find-block-beginning, hs-hide-level-recursive):
17148 Ignore strings as well as comments. (Bug#9502)
17150 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17152 * progmodes/sql.el (sql-comint-postgres):
17153 Convert port number to a string. (Bug#9566)
17155 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17157 * window.el (quit-window): Undedicate window when switching to
17158 previous buffer. Reported by Thierry Volpiatto
17159 <thierry.volpiatto@gmail.com>.
17160 (special-display-popup-frame): When popping up a new frame reset
17161 its previous buffers to nil. Simplify code.
17163 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17165 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17166 and process filter, as done also in `shell-command'.
17168 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17170 * window.el (set-window-buffer-start-and-point):
17171 Call set-window-start with NOFORCE argument t.
17172 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17173 (quit-window): Reword doc-string. Handle new format of
17174 quit-restore parameter. Don't delete window if it has a
17175 previous buffer we can show instead of the present one.
17176 (display-buffer-record-window): Rewrite using a new format for
17177 the quit-restore window parameter
17178 (special-display-popup-frame, display-buffer-same-window)
17179 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17180 (display-buffer-pop-up-window, display-buffer-use-some-window):
17181 Adapt symbol passed to display-buffer-record-window.
17182 * help.el (help-window-setup): Handle new format of quit-restore
17185 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17187 * faces.el (face-list): Fix docstring (bug#9564).
17189 * window.el (display-buffer--action-function-custom-type):
17190 Don't include internal functions in the Custom interface.
17192 2011-09-20 Juri Linkov <juri@jurta.org>
17194 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17195 (Info-forward-node, Info-backward-node, Info-next-preorder)
17196 (Info-last-preorder): Use it. (Bug#9528)
17198 2011-09-20 Juri Linkov <juri@jurta.org>
17200 * info.el (Info-last-preorder): Visit last menu item only when
17201 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17203 2011-09-20 Julien Danjou <julien@danjou.info>
17205 * password-cache.el (password-cache-remove): Remove entries even if the
17206 value is nil, so that password with a nil value (negative caching) is
17207 possible to invalidate.
17209 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17211 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17212 all whitespace around breakpoint. (Bug#9553)
17213 (f90-find-breakpoint): Only break at whitespace inside a comment.
17215 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17217 * minibuffer.el (completion-file-name-table): Keep track of errors.
17218 (completion-table-with-predicate): Handle the case where pred1 is nil.
17219 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17221 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17223 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17224 (debugger-return-value): Signal an error if the debugging context does
17225 not await any return value.
17227 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17228 * image-mode.el (image-toggle-display-text)
17229 (image-toggle-display-image): Stay away from evil `intangible'.
17231 2011-09-19 Leo Liu <sdl.web@gmail.com>
17233 * replace.el (occur-revert-arguments): Make it permanent-local.
17234 (occur-mode): Don't call font-lock-defontify.
17236 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17238 * net/ldap.el (ldap-search-internal): Don't push empty search
17241 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17243 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17245 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17247 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17248 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17250 2011-09-18 Juri Linkov <juri@jurta.org>
17252 * buff-menu.el (Buffer-menu-mode-map):
17253 * dired.el (dired-mode-map):
17254 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17255 (lisp-interaction-mode-map):
17256 * emacs-lisp/package.el (package-menu-mode-map):
17257 * epa.el (epa-key-list-mode-map):
17258 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17259 (menu-bar-options-menu):
17260 * outline.el (outline-mode-menu-bar-map):
17261 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17262 * vc/vc-dir.el (vc-dir-menu-map):
17263 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17264 Capitalize non-function content words in menu item strings.
17266 * dired.el (dired-mode-map): Add menu item for
17267 `image-dired-dired-toggle-marked-thumbs'.
17269 2011-09-18 Juri Linkov <juri@jurta.org>
17271 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17272 to `isearch-case-fold-search' and restore its original value
17273 after the `isearch-mode' call.
17275 2011-09-18 Juri Linkov <juri@jurta.org>
17277 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17278 because `zgrep' returns 1 for successful matches (bug#9226).
17280 2011-09-18 Juri Linkov <juri@jurta.org>
17282 * info.el (Info-extract-menu-node-name): Check the second match
17283 for empty string (second test-case of bug#9528).
17284 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17285 intermediate nodes to the history (first test-case of bug#9528).
17287 2011-09-18 Juri Linkov <juri@jurta.org>
17289 * info.el (Info-mode-syntax-table): New variable.
17290 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17292 2011-09-18 Juri Linkov <juri@jurta.org>
17294 * info.el (Info-file-supports-index-cookies):
17295 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17296 outputs one more line for long file names (bug#4142).
17298 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17300 * newcomment.el (comment-normalize-vars): If prompting for
17301 comment-start, set comment-start-skip too (Bug#8424).
17303 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17305 * icomplete.el: Fix previous fix of Bug#5849.
17306 (icomplete-mode): Don't set completion-show-inline-help.
17307 (icomplete-minibuffer-setup): Set completion-show-inline-help
17308 locally during icompletion.
17310 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17312 * woman.el (woman2-process-escapes): Don't delete unrecognized
17313 escapes (Bug#7843).
17315 * files.el (inhibit-first-line-modes-regexps): Add image files.
17316 (hack-local-variables-prop-line): Return nil for malformed
17317 prop-lines (Bug#9044).
17319 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17321 * net/tramp.el (top): Don't require 'shell.
17322 (tramp-methods): Fix docstring.
17323 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17324 Return complete remote file name. Handle "smb" case.
17325 Use `tramp-tmpdir', if defined for the respective method.
17326 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17328 * net/tramp-compat.el (top): Require 'shell.
17330 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17331 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17332 `tramp-current-host'.
17333 (tramp-get-remote-tmpdir): Remove.
17335 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17336 `tramp-tmpdir' entries.
17337 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17338 (tramp-smb-handle-file-attributes): Ignore errors.
17339 (tramp-smb-wait-for-output): Check also for process end.
17341 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17343 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17344 when sending QUIT (bug#9312).
17346 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17348 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17349 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17350 occur-mode-display-occurrence.
17351 (occur-edit-mode): Add usage message.
17352 (occur-cease-edit): New command.
17353 (occur-after-change-function): Use text properties to find the
17354 position of the prefix text.
17355 (occur-engine): Set stickiness of prefix text properties.
17357 2011-09-17 Glenn Morris <rgm@gnu.org>
17359 * progmodes/etags.el (complete-tag):
17360 Fix call to completion-in-region. (Bug#9526)
17362 2011-09-17 Juri Linkov <juri@jurta.org>
17364 * textmodes/ispell.el (ispell-word): Add to the error message
17365 the word, ispell program name and current dictionary (bug#9121).
17366 (ispell-tex-arg-end): Capitalize "error" in the error message.
17368 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17370 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17373 2011-09-17 Juri Linkov <juri@jurta.org>
17375 * window.el (window-safe-min-height, window-safe-min-width):
17376 Fix typos (followup to bug#9522).
17378 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17380 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17382 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17384 * simple.el (line-move): If goal-column is set, move by logical
17385 lines, not by display lines. (Bug#971)
17386 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17387 to reflect the above change.
17389 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17391 * image.el (imagemagick-register-types): Use regexp-opt.
17393 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17395 * window.el (display-buffer-base-action): Rename from
17396 display-buffer-default-action. Make default value empty.
17397 (display-buffer-overriding-action): Convert to defvar.
17398 (display-buffer-fallback-action): New var.
17400 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17402 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17404 (package--add-to-archive-contents): If there is a duplicate entry
17405 with an older version, remove it.
17406 (package-menu-mark-delete, package-menu-mark-install)
17407 (package-menu-mark-unmark): Make unused args optional.
17408 (package-menu-mark-obsolete-for-deletion):
17409 Use package-menu-get-status instead of a regexp search.
17410 (package-menu-get-status): Use tabulated-list-entry.
17411 (package-menu-mark-upgrades): New command.
17412 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17413 (package-menu-execute): Do installation before deletion.
17414 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17415 instead of checking major-mode.
17416 (package-menu--find-upgrades): New function.
17418 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17420 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17421 passwords in the log buffer.
17422 (smtpmail-process-filter): Update the process marker so that the
17423 "broken by peer" status message is inserted in the right place.
17425 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17427 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17428 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17429 bibtex-completion-at-point-function.
17430 (bibtex-completion-at-point-function): Use them.
17432 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17434 * mpc.el (mpc-constraints-tag-lookup): New function.
17435 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17436 also to browser "album|playlist".
17438 2011-09-14 Juri Linkov <juri@jurta.org>
17440 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17441 (isearch-edit-string): Use length of `isearch-string' when
17442 `isearch-fail-pos' returns nil.
17443 (isearch-message): Remove duplicate code and call
17444 `isearch-fail-pos' with arg `t'.
17446 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17448 * replace.el (occur-mode-goto-occurrence): Don't force using other
17451 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17453 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17455 * window.el (display-buffer-window): Remove.
17456 (display-buffer-record-window): Use help-setup window parameter
17457 instead of variable display-buffer-window.
17458 (display-buffer-function, special-display-buffer-names)
17459 (special-display-function): Mention help-setup parameter instead
17460 of display-buffer-window in doc-string.
17461 * help.el (help-window-setup): New argument help-window.
17462 Use help-window-setup parameter instead of display-buffer-window.
17463 Reword some messages.
17464 (with-help-window): Pass window used for displaying the buffer
17465 to help-window-setup. Don't set display-buffer-window.
17467 2011-09-13 Glenn Morris <rgm@gnu.org>
17469 * emacs-lisp/debug.el (debugger-make-xrefs):
17470 Preserve point. (Bug#9462)
17472 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17474 * window.el (window-deletable-p): Use next-frame.
17476 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17478 * window.el (window-auto-delete): Remove.
17479 (window-deletable-p): Remove argument FORCE. Don't deal with
17480 dedication and previous buffers.
17481 (switch-to-prev-buffer): Don't delete window.
17482 (delete-windows-on): Delete a window's frame if and only if the
17483 window is dedicated.
17484 (replace-buffer-in-windows): Delete buffer's window or frame if
17485 and only if window is dedicated.
17486 (quit-window): Handle quit-restore as before last change.
17487 (bury-buffer): Delete window only if window-deletable-p returns t.
17489 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17491 * window.el (window-deletable-p): Never delete the last frame on a
17494 2011-09-13 Glenn Morris <rgm@gnu.org>
17496 * help.el (describe-key-briefly): Copy previous standard-output change.
17498 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17500 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17502 2011-09-13 Glenn Morris <rgm@gnu.org>
17504 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17505 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17507 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17509 * dired-aux.el (dired-mark-read-string): Don't return default
17510 value on empty input (Bug#9361).
17511 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17512 Omit initial minibuffer contents.
17513 (dired-do-chmod): Signal an error on empty input.
17514 (dired-mark-read-string): Don't return default on empty input.
17516 * files.el (file-modes-symbolic-to-number): Doc fix.
17518 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17520 * international/mule-cmds.el (ucs-completions): Remove.
17521 (read-char-by-name): Use complete-with-action instead; add metadata.
17523 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17525 * window.el (display-buffer--action-function-custom-type)
17526 (display-buffer--action-custom-type): New vars.
17527 (display-buffer-alist, display-buffer-default-action)
17528 (display-buffer-overriding-action): Add defcustom types.
17530 * frame.el (delete-other-frames): Doc fix (Bug#276).
17532 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17534 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17536 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17538 Change modes that used same-window-* vars to use switch-to-buffer.
17540 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17541 Use switch-to-buffer.
17543 * cus-edit.el (customize-group, custom-buffer-create)
17544 (customize-browse, custom-buffer-create-other-window):
17545 Use switch-to-buffer or switch-to-buffer-other-window.
17547 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17548 (Info-prev, Info-up, Info-speedbar-goto-node)
17549 (info-display-manual): Use switch-to-buffer.
17550 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17552 * mail/sendmail.el (mail): Use switch-to-buffer.
17553 (mail-recover): Use switch-to-buffer-other-window.
17555 * cmuscheme.el (run-scheme, switch-to-scheme):
17557 * shell.el (shell):
17558 * net/rlogin.el (rlogin):
17559 * net/telnet.el (telnet, rsh):
17560 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17562 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17564 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17566 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17568 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17569 so don't mention it (bug#9301).
17570 (dired-sort-toggle-or-edit): Clarify string further.
17572 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17573 match `x', `w32' and `ns', like the manual says (bug#9029).
17575 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17576 (process-kill-buffer-query-function): Mention the buffer name in
17579 * image-mode.el (image-next-line): The line parameter is mandatory
17582 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17583 which can be useful (bug#9301).
17585 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17587 * subr.el (match-string): Mention that the current buffer should
17588 be the same as the search was done in (bug#9282).
17590 * facemenu.el: Disable the remove-* commands if the mark isn't
17593 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17595 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17597 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17599 * replace.el (occur-mode-goto-occurrence)
17600 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17601 and display-buffer.
17603 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17606 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17607 special-display and same-window variables.
17608 (mail-other-window): Use switch-to-buffer-other-window.
17609 (mail-other-frame): USe switch-to-buffer-other-frame.
17611 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17612 Use display-buffer-other-frame.
17613 (gdb-display-gdb-buffer): Use pop-to-buffer.
17615 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17617 * progmodes/python.el: Don't set same-window-buffer-names.
17619 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17621 * window.el (display-buffer-alist): Add *Python*.
17623 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17625 * window.el (display-buffer-alist): Add entry for buffers
17626 previously handled same-window-*.
17627 (display-buffer-alist, display-buffer-default-action)
17628 (display-buffer-overriding-action): Mark as risky.
17629 (display-buffer-alist): Document action function changes.
17630 (display-buffer--same-window-action)
17631 (display-buffer--other-frame-action): New variables.
17632 (switch-to-buffer, display-buffer-other-frame): Use them.
17633 (display-buffer): Rename reuse-frame entry to reusable-frames.
17634 (display-buffer-reuse-selected-window): Function deleted.
17635 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17636 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17637 (display-buffer-special): New function.
17638 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17639 display-buffer-reuse-or-pop-window. Split off special-display
17640 part into display-buffer-special.
17641 (display-buffer-use-some-window): Don't perform any special
17642 pop-up-frames handling.
17643 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17644 (display-buffer--maybe-same-window): Rename from
17645 display-buffer-maybe-same-window.
17647 * info.el: Don't set same-window-regexps.
17648 (info-setup): New function.
17649 (info-other-window, info): Call it.
17651 * cus-edit.el: Don't set same-window-regexps.
17652 (customize-group): New argument.
17653 (customize-group-other-window): Use it.
17654 (customize-face, customize-face-other-window): Likewise.
17655 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17659 * progmodes/gud.el: Don't set same-window-regexps.
17664 * mail/sendmail.el:
17665 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17667 2011-09-10 Juri Linkov <juri@jurta.org>
17669 * isearch.el (isearch-edit-string): Remove obsolete mention of
17670 `C-w' (`isearch-yank-word-or-char') from docstring.
17671 (isearch-query-replace): Fix typo in docstring (bug#9466).
17673 2011-09-10 Juri Linkov <juri@jurta.org>
17675 * paren.el (show-paren-function): Don't show escaped parens.
17676 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17678 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17680 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17681 (mm-default-file-encoding): Remove autoload forms, they are
17682 replaced with autoload cookies in mml.el and mm-encode.el.
17683 (mail-add-attachment): New command.
17684 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17685 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17687 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17689 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17691 * simple.el (count-words-region): Use buffer if there's no region
17694 2011-09-09 Juri Linkov <juri@jurta.org>
17696 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17697 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17698 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17700 2011-09-09 Alan Mackenzie <acm@muc.de>
17702 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17703 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17705 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17707 Fix for Savannah bug#9392.
17708 * simple.el (mail-encode-mml): New defvar.
17710 * mail/rmail.el (mail-encode-mml): Add a defvar.
17711 (rmail-enable-mime-composing): Default to t.
17712 (rmail-forward): Use MIME method of forwarding only if both
17713 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17714 Set mail-encode-mml non-nil if the MIME method was used.
17716 * mail/sendmail.el (mml-to-mime): Add autoload form.
17717 (mail-encode-mml): Add a defvar.
17718 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17720 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17721 message through mml-to-mime, and reset mail-encode-mml to nil.
17723 2011-09-09 Glenn Morris <rgm@gnu.org>
17725 * woman.el (woman-if-body): When processing an .el block,
17726 do not delete the next .el block as well. (Bug#9447)
17727 (woman-special-characters): Add oq, cq, and hy characters.
17729 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17731 * window.el (window-deletable-p): Make sure window is live before
17732 invoking window-prev-buffers.
17734 2011-09-08 Leo Liu <sdl.web@gmail.com>
17736 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17738 2011-09-08 Juri Linkov <juri@jurta.org>
17740 * progmodes/compile.el (compilation-environment): Make it
17741 a defcustom (bug#8340).
17743 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17745 * window.el (frame-auto-delete): Rename to window-auto-delete.
17746 Make it control auto-deletion of windows and/or frames.
17747 (window-deletable-p): New argument FORCE. Rewrite conditions
17748 for deleting window/frame. (Bug#9419)
17749 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17750 Rewrite handling of case when window/frame can be deleted.
17751 (delete-windows-on): Call window-deletable-p with new FORCE
17752 argument t. (Bug#9456)
17754 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17756 * help-mode.el (help-mode): Restore autoload.
17758 2011-09-07 Juri Linkov <juri@jurta.org>
17760 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17761 `compilation-environment'. Set buffer-local
17762 `compilation-environment' to `thisenv' later after (funcall mode).
17765 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17766 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17767 instead of replacing its value. (Bug#8340)
17769 2011-09-07 Juri Linkov <juri@jurta.org>
17771 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17772 based on text properties put by `grep-filter' instead of matching
17774 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17775 to the value of `grep-error-screen-columns' (bug#9438).
17777 2011-09-07 Juri Linkov <juri@jurta.org>
17779 * simple.el (next-error-highlight, next-error-highlight-no-select):
17780 Doc fix (bug#9432).
17782 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17784 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17785 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17787 2011-09-07 Leo Liu <sdl.web@gmail.com>
17789 * net/rcirc.el (rcirc-mode): Conditionally initialize
17792 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17794 * emacs-lisp/find-func.el (find-function-C-source): Only set
17795 find-function-C-source-directory after checking that we found a source
17796 file there (bug#9440).
17798 2011-09-06 Alan Mackenzie <acm@muc.de>
17800 * isearch.el (isearch-other-meta-char): Wherever a key list is
17801 unread, "unread" the prefix arg, too. This fixes bug #8901.
17803 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17805 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17807 2011-09-05 Juri Linkov <juri@jurta.org>
17809 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17811 2011-09-05 Juri Linkov <juri@jurta.org>
17813 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17814 keeping point where processing of grep matches begins, and
17815 continue to delete remaining escape sequences from the same point.
17816 (grep-filter): Make leading zero optional in "0?1;31m" because
17817 git-grep emits "\033[1;31m" escape sequences unlike expected
17818 "\033[01;31m" as GNU Grep does (bug#9408).
17819 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17821 2011-09-05 Juri Linkov <juri@jurta.org>
17823 * subr.el (y-or-n-p): Capitalize "yes".
17825 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17827 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17828 `tramp-cache-unload-hook' where appropriate.
17829 (tramp-methods): Rename `tramp-remote-sh' to
17830 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17831 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17833 * net/tramp-sh.el (top): Don't require 'shell.
17834 (tramp-methods): Add `tramp-remote-shell' and
17835 `tramp-remote-shell-args' entries.
17836 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17837 (tramp-sh-handle-shell-command): Remove.
17838 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17839 Use `tramp-remote-shell'.
17841 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17843 * mail/sendmail.el (sendmail-query-once-function): Delete.
17844 (sendmail-query-once): Save directly to send-mail-function.
17845 Update message-send-mail-function too.
17847 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17849 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17851 * progmodes/python.el (python-mode-map): Use correct function to
17852 start python interpreter from menu-bar (as reported by Geert
17854 (inferior-python-mode-map): Fix typo.
17855 (python-shell-map): Remove.
17857 2011-09-03 Deniz Dogan <deniz@dogan.se>
17859 * net/rcirc.el (rcirc-print): Simplify code for
17860 rcirc-scroll-show-maximum-output. There is no need to walk
17861 through all windows to find the right one.
17863 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17865 * help.el (help-return-method): Doc fix.
17867 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17869 * window.el (window-deletable-p): Don't return a non-nil value
17870 when there's a buffer that was shown in the window before.
17872 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17873 Set window's previous buffers to nil.
17875 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17877 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17878 newline before and after the tag line, so it doesn't interfere
17879 with determining the paragraph direction of bidirectional text.
17881 2011-09-03 Leo Liu <sdl.web@gmail.com>
17883 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17885 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17887 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17888 (pop-to-buffer): Change interactive spec. Pass second argument
17889 directly to display-buffer.
17890 (display-buffer): Fix interactive spec. Use functionp to
17891 distinguish between a function and a list of functions.
17893 * abbrev.el (edit-abbrevs):
17894 * arc-mode.el (archive-extract):
17895 * autoinsert.el (auto-insert):
17896 * bookmark.el (bookmark-bmenu-list):
17897 * files.el (find-file):
17898 * view.el (view-buffer):
17899 * progmodes/compile.el (compilation-goto-locus):
17900 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17902 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17904 * window.el (display-buffer-alist): Doc fix.
17905 (display-buffer): Add docstring. Don't treat
17906 display-buffer-default specially.
17907 (display-buffer-reuse-selected-window)
17908 (display-buffer-same-window, display-buffer-maybe-same-window)
17909 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17910 (display-buffer-pop-up-window)
17911 (display-buffer-reuse-or-pop-window)
17912 (display-buffer-use-some-window): New functions.
17913 (display-buffer-default-action): Use them.
17914 (display-buffer-default): Delete.
17915 (pop-to-buffer-1): Fix choice of actions.
17917 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17919 * minibuffer.el (completion--insert-strings): Don't get confused by
17920 completion entries that end with an LF char.
17922 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17924 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17926 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17928 * window.el (display-buffer): Restore interactive spec.
17929 (display-buffer-same-window, display-buffer-other-window):
17931 (pop-to-buffer-1): New function. Use the above.
17932 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17933 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17935 * view.el (view-buffer-other-window, view-buffer-other-frame):
17936 Just use pop-to-buffer.
17938 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17940 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17942 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17944 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17946 2011-08-31 Richard Stallman <rms@gnu.org>
17948 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17949 of the separation of rmail-view-buffer from rmail-buffer.
17950 If you say no to "replace original", the decrypt is in the
17951 view buffer. If you say yes, the decrypt goes into the
17954 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17956 * window.el (display-buffer-window): Rewrite doc-string.
17957 (display-buffer-record-window): New function.
17958 (display-buffer-macro-specifiers)
17959 (display-buffer-even-window-sizes, display-buffer-set-height)
17960 (display-buffer-set-width, display-buffer-in-window)
17961 (display-buffer-reuse-window, display-buffer-split-specifiers)
17962 (display-buffer-side-specifiers, display-buffer-split-window-1)
17963 (display-buffer-split-window, display-buffer-split-atom-window)
17964 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17965 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17966 (display-buffer-other-window-means-other-frame)
17967 (display-buffer-normalize-special)
17968 (display-buffer-normalize-default)
17969 (display-buffer-normalize-argument)
17970 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17971 (display-buffer-normalize-specifiers, display-buffer-frame)
17972 (display-buffer-same-window, display-buffer-same-frame)
17973 (display-buffer-other-window)
17974 (display-buffer-same-frame-other-window)
17975 (display-buffer-other-frame, pop-to-buffer-same-window)
17976 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17977 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17978 (switch-to-buffer-same-frame)
17979 (switch-to-buffer-other-window-same-frame)
17980 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17981 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17982 (display-buffer-alist-set): Remove.
17983 (display-buffer-function, special-display-buffer-names)
17984 (special-display-regexps, special-display-function):
17985 In doc-string refer to display-buffer-window and quit-restore
17987 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17988 (special-display-frame-alist, special-display-popup-frame)
17989 (same-window-buffer-names, same-window-regexps, same-window-p)
17990 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17991 (split-window-preferred-function, split-height-threshold)
17992 (split-width-threshold, window-splittable-p)
17993 (split-window-sensibly, window--try-to-split-window)
17994 (window--frame-usable-p, even-window-heights)
17995 (window--even-window-heights, window--display-buffer-1)
17996 (window--display-buffer-2, display-buffer-other-frame):
17997 Restore old Emacs 23 code, order and doc-strings where applicable.
17998 (display-buffer-default, display-buffer-assq-regexp): New functions.
17999 (display-buffer-alist): Rewrite doc-string.
18000 (display-buffer-default-action)
18001 (display-buffer-overriding-action): New variables.
18002 (display-buffer, switch-to-buffer): Rewrite.
18003 (pop-to-buffer): Restore Emacs 23 behavior but use
18004 window-normalize-buffer-to-display.
18005 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18006 Restore Emacs 23 behavior but use
18007 window-normalize-buffer-to-switch-to.
18008 (pop-to-buffer-same-window): Rewrite.
18009 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18010 Rewrite using Emacs 23 options.
18012 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18014 * net/tramp.el (tramp-root-regexp): Remove.
18015 (tramp-completion-file-name-regexp-unified)
18016 (tramp-completion-file-name-regexp-separate)
18017 (tramp-completion-file-name-regexp-url): Don't use leading volume
18018 letter on w32 systems. (Bug#5303, Bug#9311)
18019 (tramp-drop-volume-letter): Simplify definition.
18020 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18022 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18024 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18027 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18029 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18031 2011-08-29 Juri Linkov <juri@jurta.org>
18033 * isearch.el (isearch-done): Don't display message "Mark saved"
18034 when arg `edit' is non-nil to prevent its flicker in the echo area.
18036 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18038 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18039 obsolete packages for deletion.
18041 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18043 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18044 (help-mode): Derive help-mode from special-mode. Don't invoke
18045 view-mode from help-mode.
18046 (help-xref-override-view-map): Remove.
18047 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18048 view-mode is not used anymore.
18050 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18052 * server.el (server-port): Doc fix.
18054 * cus-theme.el (custom-theme-choose-mode): Inherit from
18055 special-mode (Bug#9124).
18056 (custom-theme-choose-mode-map): Add special-mode to parent.
18058 2011-08-28 Alan Mackenzie <acm@muc.de>
18060 * progmodes/cc-fonts.el
18061 (c-make-font-lock-BO-decl-search-function): New function.
18062 (c-basic-matchers-after - "Fontify the clauses after various
18063 keywords"): Extract the three keyword lists for the 3 erroneous
18064 constructs from the list of four, and use the new function above
18065 in place of an old one.
18067 2011-08-28 Deniz Dogan <deniz@dogan.se>
18069 * net/rcirc.el (rcirc-insert-prev-input)
18070 (rcirc-insert-next-input): Remove unused argument.
18072 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18074 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18076 2011-08-27 Alan Mackenzie <acm@muc.de>
18078 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18079 handle function pointer parameters properly.
18081 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18083 * window.el (display-buffer-reuse-window): Fix case where
18084 selected window was reused with non-nil OTHER-WINDOW argument.
18087 2011-08-27 Deniz Dogan <deniz@dogan.se>
18089 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18090 oftc's NickServ messages.
18092 2011-08-27 Glenn Morris <rgm@gnu.org>
18094 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18096 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18098 * emacs-lisp/package.el (package-install): Call package-initialize
18099 if called interactively.
18101 2011-08-26 Leo Liu <sdl.web@gmail.com>
18103 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18105 2011-08-25 Juri Linkov <juri@jurta.org>
18107 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18108 `search-whitespace-regexp' (bug#9364).
18110 2011-08-25 Juri Linkov <juri@jurta.org>
18112 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18113 `regexp-search-ring' to their global values to protect from
18114 updating by `read-from-minibuffer' (bug#9185).
18116 2011-08-25 Juri Linkov <juri@jurta.org>
18118 * textmodes/ispell.el (ispell-command-loop): Add newline
18119 at the end of the "Use option `i'..." line.
18121 2011-08-25 Juri Linkov <juri@jurta.org>
18123 * battery.el (display-battery-mode): If `battery-status-function'
18124 or `battery-mode-line-format' is nil, display the message and set
18125 `display-battery-mode' to nil (bug#9363).
18127 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18129 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18130 bidi-string-mark-left-to-right; they are unnecessary now.
18132 2011-08-25 Deniz Dogan <deniz@dogan.se>
18134 * net/quickurl.el: Documentation typo fixes.
18136 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18138 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18140 2011-08-25 Glenn Morris <rgm@gnu.org>
18142 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18144 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18145 (smtpmail-via-smtp): Handle nil response from smtp.
18147 2011-08-24 Juri Linkov <juri@jurta.org>
18149 * proced.el (proced-marked): Inherit from `error' instead of
18150 `font-lock-warning-face'.
18152 * ibuffer.el (ibuffer-marked-face): Change default face from
18153 `font-lock-warning-face' to `warning'.
18154 (ibuffer-deletion-face): Change default face from
18155 `font-lock-type-face' to `error'.
18157 * battery.el (battery-update): Use the face `error' instead of
18158 `font-lock-warning-face' (bug#6117).
18160 2011-08-24 Juri Linkov <juri@jurta.org>
18162 * faces.el (success): Change face color from "Green3" to
18163 "ForestGreen" on light background (bug#9353).
18165 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18167 * window.el (quit-window): Rename from quit-restore-window.
18168 Use same arglist as old quit-window.
18169 (frame-auto-delete): Doc fix.
18171 * view.el (view-mode-exit): Use quit-window.
18173 2011-08-24 Juri Linkov <juri@jurta.org>
18175 * isearch.el (isearch-ring-adjust1): Start visiting previous
18176 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18177 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18178 for empty search string (when the last search string is reused
18179 automatically) to adjust the isearch ring to the last element and
18180 prepare the correct index for further M-p commands (bug#9185).
18182 2011-08-24 Kenichi Handa <handa@m17n.org>
18184 * international/ucs-normalize.el: If decomposition property of
18185 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18187 (nfd, nfkd): Likewise.
18189 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18191 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18192 from process filters aren't reliably transmitted to the surrounding
18193 accept-process-output.
18194 (mpc-proc-check): New function.
18195 (mpc-proc-sync): Use it (bug#8293)
18197 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18199 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18200 Add compatibility functions (bug#9313).
18202 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18204 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18206 * international/uni-bidi.el: Regenerate.
18208 2011-08-23 Kenichi Handa <handa@m17n.org>
18210 * international/charprop.el:
18211 * international/uni-bidi.el:
18212 * international/uni-category.el:
18213 * international/uni-combining.el:
18214 * international/uni-comment.el:
18215 * international/uni-decimal.el:
18216 * international/uni-decomposition.el:
18217 * international/uni-digit.el:
18218 * international/uni-lowercase.el:
18219 * international/uni-mirrored.el:
18220 * international/uni-name.el:
18221 * international/uni-numeric.el:
18222 * international/uni-old-name.el:
18223 * international/uni-titlecase.el:
18224 * international/uni-uppercase.el: Regenerate.
18226 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18228 * help.el (help-window-setup): Fix message displayed when other
18229 window is reused. (Bug#9341)
18231 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18233 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18234 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18236 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18238 * shell.el (shell-parse-pcomplete-arguments): New function.
18239 (shell-completion-vars): Use it instead (bug#9160).
18241 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18243 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18244 strings and comments (bug#9333).
18246 * emacs-lisp/debug.el (debug-arglist): New function.
18247 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18248 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18250 2011-08-22 Juri Linkov <juri@jurta.org>
18252 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18253 Revert regexp that highlights output switches to its old
18254 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18256 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18257 to check for empty output (bug#9226).
18259 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18261 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18262 symbol-constituent as the default, as that stops font-lock from
18263 working properly (Bug#8843).
18265 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18267 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18268 `coding-system-for-*' around the process open call to avoid
18269 auth-source side effects.
18270 (smtpmail-try-auth-methods): Expand the secret password.
18271 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18274 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18276 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18278 * emacs-lisp/find-func.el (find-function-noselect): New arg
18281 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18282 signal an error for built-in functions (Bug#6664).
18284 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18286 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18287 (smtpmail-try-auth-methods): Use it.
18289 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18291 * font-lock.el (font-lock-fontify-region)
18292 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18293 (font-lock-default-unfontify-buffer)
18294 (font-lock-default-fontify-region)
18295 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18297 * progmodes/compile.el (compilation-error-properties):
18298 Fix confusion between file struct and message struct (Bug#9319).
18299 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18302 * net/browse-url.el (browse-url-firefox): Don't call
18303 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18305 2011-08-20 Glenn Morris <rgm@gnu.org>
18307 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18309 * tutorial.el (tutorial--default-keys): Update some default bindings.
18311 * files.el (hack-local-variables): Fully ignore case for "mode:".
18313 2011-08-20 Alan Mackenzie <acm@muc.de>
18315 Resolve invalid use of a regexp in regexp-opt.
18317 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18318 detection for a java annotation.
18320 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18321 detection for a java annotation.
18323 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18325 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18327 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18329 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18332 2011-08-20 Alan Mackenzie <acm@muc.de>
18334 Fontify CPP expressions correctly when starting in the middle of
18335 such a construct. Mainly for when jit-lock etc. starts a chunk
18338 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18340 (c-make-font-lock-search-form): New function, extracted from
18341 c-make-font-lock-search-function.
18342 (c-make-font-lock-search-function): Use the above function.
18343 (c-make-font-lock-context-search-function): New function.
18344 (c-cpp-matchers): Enhance the preprocessor expression case with
18346 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18347 which takes an expression.
18349 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18351 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18353 * window.el (display-buffer-reuse-window)
18354 (display-buffer-pop-up-window): Don't reuse or split a side
18357 2011-08-19 Glenn Morris <rgm@gnu.org>
18359 * files.el (hack-local-variables-prop-line, hack-local-variables):
18360 Downcase "Mode:". (Bug#9331)
18362 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18364 * international/characters.el: Add L and R categories.
18366 * subr.el (bidi-string-mark-left-to-right): Rename from
18367 string-mark-left-to-right. Use category search.
18369 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18371 2011-08-18 Juri Linkov <juri@jurta.org>
18373 * faces.el (error, warning, success): New faces with definitions
18374 copied from old default values of `font-lock-warning-face',
18375 `compilation-warning', `compilation-info' (bug#6117).
18377 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18379 * progmodes/compile.el (compilation-error): Inherit from `error'.
18380 (compilation-warning): Inherit from `warning'.
18381 (compilation-info): Inherit from `success'.
18383 * dired.el (dired-marked): Inherit from `warning'.
18384 (dired-flagged): Inherit from `error'.
18386 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18388 * mail/smtpmail.el (auth-source): Require to avoid problems with
18389 binding variables (bug#9298). Also clean up some unused
18392 * net/network-stream.el (network-stream-open-starttls):
18393 Support using starttls.el without using gnutls-cli.
18395 2011-08-17 Juri Linkov <juri@jurta.org>
18397 * progmodes/grep.el (rgrep): Handle the case when
18398 `grep-find-command' is a cons cell (bug#9278).
18400 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18402 * window.el (display-buffer-pop-up-frame): Run frame creation
18403 function with BUFFER current (as special-display-popup-frame
18404 does). Reported by Drew Adams.
18406 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18408 * epa-mail.el: Simplify GnuPG group expansion using
18410 (epa-mail-group-alist, epa-mail-group-modtime)
18411 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18412 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18413 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18416 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18418 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18420 2011-08-16 Alan Mackenzie <acm@muc.de>
18422 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18423 Correct, to avoid the inside of macros.
18425 2011-08-16 Richard Stallman <rms@gnu.org>
18427 * epa-mail.el: Handle GnuPG group definitions.
18428 (epa-mail-group-alist, epa-mail-group-modtime)
18429 (epa-mail-gnupg-conf-file): New variables.
18430 (epa-mail-parse-groups, epa-mail-sync-groups)
18431 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18432 (epa-mail-expand-recipients): New functions.
18433 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18435 * mail/rmail.el (rmail-epa-decrypt): New command.
18437 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18438 Don't bind buffer-read-only, just inhibit-read-only.
18439 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18440 (epa-decrypt-armor-in-region): Make error message clearer.
18442 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18444 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18445 and "a2b" to "ab" for `prefix'.
18447 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18449 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18451 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18452 Fourquet (Bug#8804).
18454 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18456 * startup.el (argi): Declare as global variable (bug#9275).
18458 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18460 * subr.el (string-mark-left-to-right): Search the entire string
18461 for RTL script, not just the terminating character. Doc fix.
18463 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18465 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18467 (js--regexp-literal, js-syntax-propertize-function): Remove.
18468 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18469 (js-mode-map): Don't rebind electric keys.
18470 (js-insert-and-indent): Remove.
18471 (js-mode): Setup electric-layout and electric-indent instead.
18473 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18475 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18477 * epa.el (epa-progress-callback-function): Fix the logic of
18478 displaying progress.
18479 * epa-file.el (epa-file-insert-file-contents): Make progress
18480 display more user-friendly.
18481 (epa-file-write-region): Ditto.
18483 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18485 * subr.el (string-mark-left-to-right): New function.
18487 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18488 Use string-mark-left-to-right.
18489 (list-buffers-noselect): Caller changed.
18491 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18492 Use string-mark-left-to-right.
18493 (tabulated-list-print): Recenter after moving point.
18495 2011-08-10 Juri Linkov <juri@jurta.org>
18497 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18498 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18499 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18501 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18503 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18506 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18508 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18509 character. (Bug#6594)
18511 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18513 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18514 (image-dired--with-db-file): New macro.
18515 (image-dired-write-tags, image-dired-remove-tag)
18516 (image-dired-create-gallery-lists, image-dired-write-comments)
18517 (image-dired-get-comment, image-dired-mark-tagged-files)
18518 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18519 (image-dired-gallery-generate): Use insert-file-contents.
18521 * time.el (display-time-world-list, display-time-world-display):
18522 * time-stamp.el (time-stamp-string):
18523 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18524 set-time-zone-rule (Bug#7337).
18526 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18528 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18529 (epg-error-to-string, epg-errors-to-string): New function.
18530 (epg-wait-for-completion): Reverse errors list.
18531 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18532 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18533 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18534 (epg-sign-keys, epg-generate-key-from-file)
18535 (epg-generate-key-from-string): Format errors by using
18536 epg-errors-to-string (bug#9255).
18537 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18539 2011-08-07 Juri Linkov <juri@jurta.org>
18541 * faces.el (list-faces-display): Remove extra angle bracket
18542 from `help-mode-map'.
18544 * info.el (Info-history-toc-nodes): Doc fix.
18546 * longlines.el (longlines-mode): Doc fix.
18548 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18550 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18551 of statements and in a few more cases (bug#9183).
18553 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18555 (cl-transform-lambda): Use them (bug#9239).
18557 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18559 * window.el (display-buffer-same-window)
18560 (display-buffer-same-frame, display-buffer-other-window)
18561 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18562 (pop-to-buffer-other-window)
18563 (pop-to-buffer-same-frame-other-window)
18564 (pop-to-buffer-other-frame): Make them defuns.
18565 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18567 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18569 * subr.el (make-composed-keymap): Move from C. Change calling
18570 convention, and improve docstring to bring attention to a subtle point.
18571 * minibuffer.el (completing-read-default): Adjust accordingly.
18573 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18575 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18576 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18578 * net/trampver.el: Update release number.
18580 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18582 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18585 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18587 * mail/sendmail.el (sendmail-query-once): Restore the current
18588 buffer after querying (bug#9074).
18590 * dired.el (dired-flagged): Use different faces for marked and
18591 flagged files (bug#6117).
18593 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18596 * ido.el (ido-mode): Switch off the message if called
18599 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18600 before 587, since it appears that that's more likely to work for
18603 * cus-edit.el (custom-file): When running under emacs -q, always
18604 refuse to save the customizations, even if the .emacs file doesn't
18607 * info.el: Remove the `Info-beginning-of-buffer' function
18610 * net/network-stream.el (network-stream-open-starttls):
18611 Use `starttls-available-p' to see whether starttls.el can be used.
18613 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18615 * window.el (display-buffer-in-window): Don't set dedicated status
18616 of window here (Bug#9215).
18617 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18618 (display-buffer-pop-up-side-window)
18619 (display-buffer-in-side-window): Set dedicated status of window here.
18621 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18623 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18624 before binding generated-autoload-file.
18626 2011-08-01 Deniz Dogan <deniz@dogan.se>
18628 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18630 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18632 Sync with Tramp 2.2.2.
18634 * net/trampver.el: Update release number.
18636 2011-07-30 Juri Linkov <juri@jurta.org>
18638 * dired-aux.el (dired-touch-initial): Remove function.
18639 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18640 current time, and `default' to the last modification time of the
18641 current marked file (bug#6887).
18643 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18645 * simple.el (goto-line): Use string-to-number to provide a
18646 numeric argument to read-number (bug#9163).
18648 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18650 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18651 connection process, it could be nil.
18653 2011-07-27 Leo Liu <sdl.web@gmail.com>
18655 Simplify url handling in rcirc-mode.
18657 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18658 (rcirc-browse-url-at-mouse): Remove.
18659 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18661 2011-07-26 Alan Mackenzie <acm@muc.de>
18663 Fontify bitfield declarations properly.
18665 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18666 (c-symbol-chars): Now exported as a lang variable.
18667 (c-not-primitive-type-keywords): New lang variable.
18669 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18670 QT keyword "more" to prevent "more slots: ...." being spuriously
18671 parsed as a bitfield declaration.
18673 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18674 Refactor and enhance to handle bitfield declarations.
18675 (c-punctuation-in): New function.
18676 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18677 declarations properly.
18679 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18681 * calendar/icalendar.el (icalendar--all-events): Take care of
18682 multiple vcalendars in a single file.
18683 (icalendar--convert-float-to-ical): Checkdoc fixes.
18685 2011-07-25 Deniz Dogan <deniz@dogan.se>
18687 * image.el (insert-image): Clarifying docstring.
18689 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18691 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18692 `tramp-send-command-and-check' if there is no error.
18693 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18695 2011-07-22 Alan Mackenzie <acm@muc.de>
18697 Prevent cc-langs.elc being loaded at run time.
18699 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18702 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18703 "(require 'cc-langs)". Quote a form so it will evaluate at
18704 (cc-mode's) compilation time.
18706 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18708 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18709 loading. (Bug#9114)
18711 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18713 * window.el (display-buffer-pop-up-window)
18714 (display-buffer-pop-up-side-window)
18715 (display-buffer-in-side-window): Call display-buffer-set-height
18716 and display-buffer-set-width after setting the new window's
18717 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18719 2011-07-20 Sam Steingold <sds@gnu.org>
18721 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18722 (etags-tags-included-tables): Call `convert-standard-filename' on
18723 the file names contained in TAGS so that windows Emacs can handle
18724 TAGS files created by cygwin ctags.
18726 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18728 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18729 which apparently didn't work.
18731 2011-07-19 Roland Winkler <winkler@gnu.org>
18733 * proced.el (proced-send-signal): For *Marked Processes* buffer
18734 put point at beginning of buffer.
18736 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18738 * proced.el (proced-format): Make header lines align with the text
18741 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18743 * view.el (view-buffer): Allow running in `special' modes if we're
18744 visiting a file (bug#8615).
18746 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18748 * window.el (display-buffer-alist-of-strings-p)
18749 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18751 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18754 2011-07-18 Alan Mackenzie <acm@muc.de>
18756 Fontify declarators properly when, e.g., a jit-lock chunk begins
18757 inside a declaration.
18759 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18761 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18763 (c-complex-decl-matchers): Insert reference to
18764 c-font-lock-enclosing-decls.
18766 * progmodes/cc-engine.el (c-backward-single-comment):
18767 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18768 to nil around calls to (forward-comment -1).
18770 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18772 * image.el (put-image): Doc typo fix.
18774 * progmodes/etags.el (tags-search): Doc typo fix.
18776 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18777 password if we get errors 550 to 554.
18779 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18781 * net/gnutls.el (gnutls-log-level): Remove.
18783 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18784 indentation character (bug#6380).
18786 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18788 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18789 to clarify what the problem is (bug#4291).
18791 * simple.el (current-kill): Clarify what
18792 `interprogram-paste-function' does (bug#7500).
18793 (auto-fill-mode): Document `auto-fill-function' in relation to
18794 `auto-fill-mode' (bug#2470).
18796 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18798 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18799 method if slot is read-only (bug#9035).
18801 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18803 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18804 * window.el (pop-to-buffer): Select window used even if it was
18805 selected before, see discussion of (Bug#8615), (Bug#6954).
18806 Pass argument NORECORD on to select-frame-set-input-focus.
18808 2011-07-15 Glenn Morris <rgm@gnu.org>
18810 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18813 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18815 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18816 (gnutls-negotiate): Use it.
18818 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18820 * net/gnutls.el (gnutls-negotiate):
18821 Upcase `gnutls-algorithm-priority'.
18823 2011-07-15 Glenn Morris <rgm@gnu.org>
18825 * jka-compr.el (jka-compr-verbose): Move from here...
18826 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18827 Add missing :version tag.
18828 * info.el: No need to require jka-compr when compiling.
18830 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18832 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18833 (gnutls-negotiate): Use it.
18835 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18837 * info.el (Info-beginning-of-buffer): New command.
18838 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18839 announcing `b' as the key (bug#8325).
18840 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18842 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18844 * international/mule-cmds.el
18845 (describe-specified-language-support): Make the error message
18846 clearer (bug#8905).
18848 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18850 * isearch.el (isearch-barrier): Add a doc string, since it's
18851 mentioned in a function doc string (bug#8678).
18853 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18855 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18856 buffer argument (Bug#9083) and self-identifying label argument.
18858 2011-07-15 Glenn Morris <rgm@gnu.org>
18860 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18862 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18864 * man.el (Man-fontify-manpage): Fix message when formatting the
18865 man page (bug#7929).
18867 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18869 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18870 argument LRM; if non-nil, append an invisible LRM character to the
18872 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18873 last argument non-nil, when formatting buffer names.
18874 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18875 paragraph direction.
18877 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18879 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18880 the man page name (bug#7929).
18882 * image.el (put-image): Mention the `put-image' overlay property
18885 * scroll-bar.el (set-scroll-bar-mode): Mention that
18886 `scroll-bar-mode' lists the values (bug#7772).
18888 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18889 command (bug#7729).
18891 * rect.el (apply-on-rectangle): Return the point after the last
18893 (string-rectangle): Go to the point after the last operation
18896 * printing.el (pr-toggle-region): Clarify the documentation
18897 slightly (bug#7493).
18899 * time.el (display-time-update):
18900 Allow `display-time-mail-function' to return nil (bug#7158).
18901 Fix suggested by Detlev Zundel.
18903 * vc/diff.el (diff): Clarify the order the file names are read
18906 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18907 the doc string (bug#7015).
18909 * font-lock.el (font-lock-maximum-decoration): Mention what
18910 numeric levels mean (bug#6935).
18912 * startup.el (initial-buffer-choice): Don't mention the `none'
18913 selection, which is against policy.
18915 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18917 * window.el (display-buffer-normalize-special):
18918 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18920 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18922 * subr.el (version<, version<=, version=): Mention "-CVS" and
18923 "-12345" alpha version numbers.
18925 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18927 * bindings.el: Add advertised binding for set-mark-command
18930 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18932 * bindings.el (mode-line-other-buffer):
18933 * bookmark.el (bookmark-bmenu-2-window):
18934 * bs.el (bs-cycle-next, bs-cycle-previous):
18935 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18938 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18941 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18943 * follow.el (follow-debug-message, follow-redisplay):
18944 * jka-cmpr-hook.el (with-auto-compression-mode):
18945 Fix typos in docstrings.
18947 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18949 * subr.el (with-silent-modifications): Clarify somewhat what the
18950 macro inhibits (bug#6525).
18952 * simple.el (eval-expression): Note what it does if called
18953 interactively (bug#6495).
18955 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18957 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18958 Use pop-to-buffer buffer-or-name if it is nil.
18960 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18961 Remove switch-to-buffer.
18963 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18965 * files.el (make-directory): Clarify that an error will be raised
18966 if there's an error (bug#6397).
18968 * startup.el (initial-buffer-choice): Add `none' as a choice
18971 * subr.el (add-hook): Clarify section about buffer-local hooks
18974 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18976 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18978 * tabify.el (untabify): Preserve the current column so that point
18979 doesn't move (bug#6032).
18981 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18983 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18984 Rewrite to avoid awkward possessive "s" (bug#5986).
18986 2011-07-13 Glenn Morris <rgm@gnu.org>
18988 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18989 (dired-insert-directory): Give a message the first time
18990 if ls is found not to support --dired.
18992 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18994 * simple.el (toggle-truncate-lines): Clarify what is toggled
18995 (bug#5580). Text by Drew Adams.
18997 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18999 * simple.el (blink-matching-open): Make the error message from the
19000 last change less verbose.
19002 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19004 * font-lock.el (font-lock-comment-face): Use the high contrast
19005 "yellow" color for font-lock-comment-face on low color terminals
19006 using a dark background color (bug#4221).
19008 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19010 * dired.el (dired-insert-set-properties): Make the doc string
19011 reflect what it does now (bug#5325).
19013 * simple.el (blink-matching-open): Say that we were unable to find
19014 the match within the limit, if we're limited (bug#5122).
19016 * international/mule-cmds.el (prefer-coding-system): Add an
19017 example (bug#4869).
19019 * progmodes/etags.el (tags-search): Document `file-list-form'
19022 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19024 * net/browse-url.el (browse-url-default-browser)
19025 (browse-url-browser-function): Make the default browser choice a
19026 bit more logical (bug#4300). Also clean up the doc string.
19028 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19030 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19031 binary endings (bug#4440).
19033 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19035 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19036 which can be pretty annoying (bug#8971).
19038 * jka-compr.el (jka-compr-verbose): New variable, and use
19039 throughout (bug#8971).
19041 * info.el (Info-find-file): Fall back on the installation
19042 directory if we can't find the info node anywhere else.
19044 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19046 * vc/vc.el (vc-revert-file):
19047 Don't set file time-stamp in the past. (Bug#5181)
19049 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19051 * files.el (after-find-file): Give a better error message when
19052 trying to find a symlink that points to a file that doesn't exist
19055 * progmodes/cc-vars.el: Remove (probably) misleading comment
19058 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19060 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19062 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19064 * mouse-sel.el: Hack restoring functionality, while keeping
19065 compatibility with 2010-07-03 changes to mouse selection.
19066 (mouse-sel-primary-overlay): New var.
19067 (mouse-sel-selection-alist): Use it.
19068 (mouse-sel-mode): Doc fix; remove points that are default features
19071 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19073 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19074 Fix previous fix (bug#2490).
19076 2011-07-12 Roland Winkler <winkler@gnu.org>
19078 * textmodes/bibtex.el (bibtex-initialize):
19079 Use pop-to-buffer-same-window.
19080 (bibtex-search-entries): Fix interactive call.
19082 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19084 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19085 Fontise bytecomp Error lines more correctly (bug#2490).
19086 Fix suggested by Johan Bockgård.
19088 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19090 * dired-x.el (dired-guess-default): Use `delete-dups'.
19092 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19094 * dired.el (dired-mark-prompt):
19095 * dired-aux.el (dired-read-shell-command): Doc fix.
19097 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19099 * mail/sendmail.el (sendmail-query-once):
19100 Use `customize-save-variable' unconditionally, now that it works under
19103 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19105 * cus-edit.el (custom-file): Take an optional no-error variable.
19106 (customize-save-variable): Set the variable, and give a warning if
19107 running under "emacs -q".
19109 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19111 * loadhist.el (unload-feature-special-hooks):
19112 Add `auto-coding-functions', `fill-nobreak-predicate' and
19113 `find-directory-functions' (bug#5327).
19115 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19117 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19119 * cus-edit.el (custom-guess-name-alist): -alist variables should
19120 use the `alist' type (bug#3120). Suggested by Drew Adams.
19122 * printing.el: Add documentation to all the `pr-toggle-' commands.
19124 2011-07-11 Leo Liu <sdl.web@gmail.com>
19126 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19127 backends where it makes sense (bug#2623).
19129 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19131 * dired-x.el (dired-guess-default): Remove duplicate shell command
19132 entries (bug#2028).
19133 (dired-guess-default): Fix grammar in doc string (bug#2028).
19134 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19136 * subr.el (remove-duplicates): New conveniency function.
19138 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19140 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19143 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19145 * window.el (display-buffer-normalize-default): Don't invert
19146 meaning of even-window-heights. Reported by Eli Zaretskii
19149 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19151 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19153 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19155 * window.el (display-buffer): Fix arguments to
19156 display-buffer-reuse-window in last change.
19158 * faces.el (link): Use a less saturated blue on light backgrounds.
19160 * startup.el (fancy-startup-text, fancy-about-text)
19161 (fancy-startup-tail): Use font-lock faces, for background safety.
19163 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19165 * emulation/viper-cmd.el (viper-change-state-to-vi):
19166 Limit triggering of abbrev expansion (Bug#9038).
19168 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19170 * window.el (display-buffer-default-specifiers): Remove.
19171 (display-buffer-macro-specifiers): Remove default specifiers.
19172 (display-buffer-alist): Default to nil.
19173 (display-buffer-reuse-window): New optional argument other-window.
19174 (display-buffer-pop-up-window): Allow splitting internal
19175 windows. Check whether a live window was created.
19176 (display-buffer-other-window-means-other-frame)
19177 (display-buffer-normalize-arguments): Rename to
19178 display-buffer-normalize-argument and rewrite. Set the
19179 other-window specifier.
19180 (display-buffer-normalize-special): New function.
19181 (display-buffer-normalize-options): Rename to
19182 display-buffer-normalize-default and rewrite.
19183 (display-buffer-normalize-options-inhibit): Remove.
19184 (display-buffer-normalize-specifiers): Rewrite.
19185 (display-buffer): Process other-window specifier and call
19186 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19188 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19189 (display-buffer-alist-set): Don't handle 'unset default values.
19190 (display-buffer-in-window, display-buffer-alist-set):
19191 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19192 <tassilo@member.fsf.org>.
19194 2011-07-09 Leo Liu <sdl.web@gmail.com>
19196 * register.el (insert-register): Restore accidental change on
19197 2011-06-26. (Bug#9028)
19199 2011-07-09 Glenn Morris <rgm@gnu.org>
19201 * subr.el (remq): Handle the empty list. (Bug#9024)
19203 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19205 * mail/sendmail.el (send-mail-function): No longer delay custom
19207 * custom.el (custom-initialize-delay): Doc fix.
19209 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19211 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19213 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19215 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19216 human-friendly prompt.
19218 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19220 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19221 provided by a particular plugin.
19223 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19225 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19226 save customizations (with "emacs -Q"), just set the variable
19227 instead of erroring out.
19229 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19231 2011-07-08 Juri Linkov <juri@jurta.org>
19233 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19234 (archive-zip-update-case): Use 7z if found by `executable-find'.
19235 The order of searching the available programs is the same as in
19236 `archive-zip-extract' (bug#8968).
19238 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19240 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19241 (menu-bar-options-menu): Tweak descriptions.
19243 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19245 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19246 menu items into verb phrases (bug#1421). Also refill to fit under
19249 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19251 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19252 (Info-read-node-name): Doc fix (Bug#1084).
19254 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19255 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19256 (end-of-sexp, beginning-of-sexp)
19257 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19258 (forward-symbol, forward-same-syntax, word-at-point)
19259 (sentence-at-point): Doc fix (Bug#1144).
19261 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19263 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19264 should cover it (bug#1281).
19266 * cus-edit.el (custom-show): Mark as obsolete.
19268 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19269 negotiation fails, then possibly try again with a non-encrypted
19270 connection (bug#9017).
19272 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19275 2011-07-07 Richard Stallman <rms@gnu.org>
19277 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19278 property, and handle its changed format.
19279 Look for the correct line number.
19280 Use file's line contents (but not past first =) to find
19281 correct line in message.
19283 2011-07-07 Kenichi Handa <handa@m17n.org>
19285 * international/characters.el (build-unicode-category-table):
19287 (unicode-category-table): Set it by unicode-property-table-internal.
19289 * international/mule-cmds.el (char-code-property-alist): Move to
19291 (get-char-code-property): Call unicode-property-table-internal to
19292 load a file. Call get-unicode-property-internal where necessary.
19293 (put-char-code-property): Call unicode-property-table-internal to
19294 load a file. Call put-unicode-property-internal where necessary.
19295 put-unicode-property-internal where necessary.
19296 (char-code-property-description):
19297 Call unicode-property-table-internal to load a file.
19299 * international/charprop.el:
19300 * international/uni-bidi.el:
19301 * international/uni-category.el:
19302 * international/uni-combining.el:
19303 * international/uni-comment.el:
19304 * international/uni-decimal.el:
19305 * international/uni-decomposition.el:
19306 * international/uni-digit.el:
19307 * international/uni-lowercase.el:
19308 * international/uni-mirrored.el:
19309 * international/uni-name.el:
19310 * international/uni-numeric.el:
19311 * international/uni-old-name.el:
19312 * international/uni-titlecase.el:
19313 * international/uni-uppercase.el: Regenerate.
19315 * loadup.el: Load international/charprop.el before
19316 international/characters.
19318 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19320 * window.el (next-buffer, previous-buffer): Signal an error if
19321 called from a minibuffer window.
19323 * bindings.el: Revert 2011-07-04 change.
19325 2011-07-06 Richard Stallman <rms@gnu.org>
19327 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19328 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19329 Treat markers like ints.
19330 (rmail-mime-entity): Doc fix.
19332 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19334 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19335 defcustom again for backwards compatibility.
19337 * simple.el (shell-command-on-region): Fill.
19339 * dired-aux.el (dired-kill-line): Add a doc string.
19341 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19342 to "\\sw\\|\\s_" (bug#358).
19344 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19345 (dired-unmark-backward): Ditto.
19346 (dired-flag-backup-files): Ditto.
19348 * dired-x.el (dired-mark-sexp): Ditto.
19350 2011-07-06 Richard Stallman <rms@gnu.org>
19352 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19353 (rmail-mime-entity): New arg TRUNCATED.
19354 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19356 (rmail-mime-save): Warn if entity is truncated.
19357 (rmail-mime-toggle-hidden): Likewise, for showing.
19358 (rmail-mime-process-multipart): Record when an entity is truncated.
19360 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19361 if ENTITY is a string.
19363 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19365 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19366 of faces when `M-C-x'-ing their definitions (bug#8378).
19367 Also clean up the code slightly.
19369 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19370 because that makes the colors go away.
19372 * mail/sendmail.el (send-mail-function): Change the default to
19373 `sendmail-query-once'.
19374 (sendmail-query-once): Add an autoload cookie.
19376 * net/network-stream.el (network-stream-open-starttls): Try using
19377 a plain connection even if the server offered STARTTLS, and we
19378 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19379 capability. This should make smtpmail.el work in slightly more
19382 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19384 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19386 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19388 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19390 * progmodes/sql.el: Version 3.0
19391 (sql-product-alist): Add product :completion-object,
19392 :completion-column, and :statement attributes.
19393 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19394 (sql-mode-syntax-table): Mark all punctuation.
19395 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19397 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19398 (sql-mode-oracle-font-lock-keywords): Improve.
19399 (sql-oracle-show-reserved-words): New function for development.
19400 (sql-product-font-lock): Simplify for source code buffers.
19401 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19403 (sql-highlight-product): Set product specific syntax table.
19404 (sql-mode-map): Add statement movement functions.
19405 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19407 (sql-statement-regexp, sql-beginning-of-statement)
19408 (sql-end-of-statement, sql-signum): New functions.
19409 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19410 (sql-show-sqli-buffer): Bug fix.
19411 (sql-interactive-mode): Store connection data as buffer local.
19412 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19413 with sql-interactive-mode.
19414 (sql-save-connection): Save buffer local settings.
19415 (sql-connection-menu-filter): Change menu entry name.
19416 (sql-product-interactive): Bug fix.
19417 (sql-preoutput-hold): New variable.
19418 (sql-interactive-remove-continuation-prompt): Bug fixes.
19419 (sql-debug-redirect): New variable.
19420 (sql-str-literal): New function.
19421 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19423 (sql-oracle-save-settings, sql-oracle-restore-settings)
19424 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19425 (sql-completion-object, sql-completion-column)
19426 (sql-completion-sqlbuf): New variables.
19427 (sql-build-completions-1, sql-build-completions)
19428 (sql-try-completion): New functions.
19429 (sql-read-table-name): Use them.
19430 (sql-contains-names): New buffer local variable.
19431 (sql-list-all, sql-list-table): Use it.
19432 (sql-oracle-completion-types): New variable.
19433 (sql-oracle-completion-object, sql-sqlite-completion-object)
19434 (sql-postgres-completion-object): New functions.
19436 2011-07-06 Glenn Morris <rgm@gnu.org>
19438 * window.el (pop-to-buffer): Doc fix.
19440 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19442 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19444 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19446 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19448 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19450 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19452 * button.el (button): Inherit from link face. Suggested by Dan
19455 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19457 * progmodes/gdb-mi.el: Fit in 80 columns.
19458 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19461 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19462 if imenu is simply not configured (bug#8941).
19464 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19466 * allout.el (allout-post-undo-hook): New allout outline-change
19467 event hook to signal undo activity.
19468 (allout-post-command-business): Run allout-post-undo-hook if an
19469 undo just occurred.
19470 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19471 * allout-widgets.el (allout-widgets-after-undo-function):
19472 Ensure the integrity of the current item's decoration after it has been
19473 in the vicinity of an undo.
19474 (allout-widgets-mode): Include allout-widgets-after-undo-function
19475 on the new allout-post-undo-hook.
19477 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19479 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19480 Let define-derived-mode define it.
19481 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19482 cycles of abbrev-table inheritance (bug#8998).
19484 2011-07-05 Roland Winkler <winkler@gnu.org>
19486 * textmodes/bibtex.el: Add support for biblatex.
19487 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19488 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19489 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19490 (bibtex-entry-alist, bibtex-field-alist): New variables.
19491 (bibtex-entry-field-alist): Obsolete alias for
19492 bibtex-BibTeX-entry-alist.
19493 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19494 (bibtex-set-dialect): New command.
19495 (bibtex-entry-type, bibtex-entry-head)
19496 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19497 Bind via bibtex-set-dialect.
19498 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19499 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19500 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19501 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19502 Define via bibtex-set-dialect.
19503 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19504 Obey bibtex-no-opt-remove-re.
19505 (bibtex-vec-push, bibtex-vec-incr): New functions.
19506 (bibtex-format-entry, bibtex-field-list)
19507 (bibtex-print-help-message, bibtex-validate)
19508 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19510 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19512 * progmodes/compile.el (compilation-goto-locus):
19513 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19514 * bs.el (bs-cycle-next, bs-cycle-previous):
19515 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19516 * bindings.el (mode-line-other-buffer):
19517 * autoinsert.el (auto-insert):
19518 * arc-mode.el (archive-extract):
19519 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19521 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19523 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19524 Fix check of `emacs-lock-unlockable-modes'.
19525 Coerce true values of `emacs-lock--try-unlocking' to t.
19527 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19529 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19530 * emacs-lock.el: New file.
19532 2011-07-05 Julien Danjou <julien@danjou.info>
19534 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19535 than `boundp' to check if face is set.
19537 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19539 * register.el (registerv-make):
19540 * window.el (window-min-height): Fix typos in docstrings.
19542 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19544 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19547 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19549 * server.el (server-execute): Catch quit and call
19550 `server-return-error' to pass the error back to emacsclient and
19551 close the connection (bug#8942).
19553 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19555 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19556 insecure exception for current topic. Also note that auto-saves
19557 are handled differently.
19559 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19560 State variables for tracking auto-save inhibition situation.
19562 (allout-write-contents-hook-handler): Rename from
19563 'allout-write-file-hook-handler', and describe how it depends on
19564 write-contents-functions sensitivity to non-nil value to prevent
19567 (allout-auto-save-hook-handler): Remove. auto-save does not check
19568 this in individual buffers, only in the starting buffer, so this
19569 is not the right way for us to inhibit auto-save in a buffer
19570 according to its condition.
19572 (allout-mode): Use new allout-write-contents-hook-handler, and
19573 only with write-contents-functions. Remove auto-save provisions -
19574 they're implemented elsewhere.
19576 (allout-before-change-handler): If undo is in progress, note that
19577 for attention of allout-post-command-business.
19579 (allout-post-command-business): If the command we're following was
19580 an undo, check for change in the status of encrypted items and
19581 adjust auto-save inhibitions accordingly.
19583 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19584 according to whether there are or aren't any plain-text topics
19585 pending encryption.
19587 (allout-inhibit-auto-save-info-for-decryption):
19588 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19589 if there are plain-text topics pending encryption.
19591 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19592 buffer-saved-size and some allout state to not inhibit auto-saves
19593 if there are no longer any plain-text topics pending encryption.
19595 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19596 No longer provide for exemption of the current topic.
19598 2011-07-04 Juri Linkov <juri@jurta.org>
19600 Add 7z operations to delete and save changed members (bug#8968).
19601 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19603 (archive-7z-write-file-member): New function.
19604 (archive-7z-summarize): Fix the number of dashes in the
19607 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19609 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19612 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19614 * bindings.el: Ignore next-buffer and previous-buffer in
19615 minibuffer-local-map.
19617 * font-lock.el (font-lock-builtin-face): Change light background
19618 color to dark slate blue (Bug#6693).
19620 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19622 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19624 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19626 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19627 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19628 Add switch-to-buffer.
19630 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19632 * isearch.el (isearch-search-fun-function): Clarify further the
19633 meaning of the function returned.
19635 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19637 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19639 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19640 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19642 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19643 `tramp-default-remote-path' does not exist.
19644 (tramp-send-command-and-read): New optional argument NOERROR.
19645 (tramp-open-connection-setup-interactive-shell)
19646 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19647 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19648 (tramp-process-sentinel): Flush also process' connection property.
19649 (tramp-sh-handle-start-file-process): Do not set process
19650 sentinel. It is done now ...
19651 (tramp-maybe-open-connection): ... here. (Bug#8929)
19653 2011-07-04 MON KEY <monkey@sandpframing.com>
19655 * play/animate.el (animate-string): Doc fixes and allow changing
19656 the buffer name (bug#5417).
19658 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19660 * play/animate.el (animation-buffer-name): Rename from *animate*.
19662 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19664 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19665 This is simpler and helps future-proof the code.
19666 (timer-until): Use time-subtract and float-time.
19667 (timer--time-less-p): Use time-less-p.
19669 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19671 * type-break.el (timep): Use the value of `float-time' to avoid a
19672 byte-compiler warning.
19674 * server.el (server-eval-and-print): Return any result, even nil.
19676 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19678 * type-break.el: Accept time formats that the builtins accept.
19679 (timep, type-break-time-difference): Accept any format that
19680 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19681 This is simpler and helps future-proof the code.
19682 (type-break-time-difference): Round rather than ignoring
19683 subseconds components.
19685 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19687 * info.el (Info-apropos-matches): Make non-interactive, since it
19688 doesn't seem to do anything useful as a command (bug#8829).
19690 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19692 * frame.el (frame-background-mode, frame-set-background-mode):
19693 Move from faces.el.
19694 (frame-default-terminal-background): New function.
19696 * custom.el (custom-push-theme): Don't record faces in `changed'
19697 theme; this doesn't work correctly for per-frame face settings.
19698 (disable-theme): Use face-set-after-frame-default to reset faces.
19699 (custom--frame-color-default): New function.
19701 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19703 * dired.el (dired-flagging-regexp): Remove unused variable
19706 2011-03-29 Kevin Ryde <user42@zip.com.au>
19708 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19709 `perl-Test2' extend to match possible "fail #N" rep count
19712 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19714 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19715 `smtpmail-via-smtp' now returns the error instead of nil.
19717 * isearch.el (isearch-search-fun-function): Clarify the doc string
19720 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19722 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19723 unnecessary spaces (bug#8987).
19725 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19727 * net/network-stream.el (open-network-stream): Use the
19728 :end-of-capability command thoughout.
19730 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19732 * net/network-stream.el (open-network-stream): Add the
19733 :end-of-capability command parameter, used by pop3.el.
19735 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19737 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19739 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19740 for list)" (bug#6475).
19742 * files.el (file-expand-wildcards): Ignore non-readable
19743 sub-directories while trying to find matches instead of signaling
19744 an error (bug#6297).
19746 * man.el (Man-reference-regexp): Allow matching possible
19747 word-wrapped references (bug#6289).
19749 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19750 for consistency with the other vc buffers (bug#6197).
19751 (vc-checkin): Ditto.
19753 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19755 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19757 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19759 * custom.el (defcustom): Clarify that :set is only used in the
19760 Customize user interface (bug#6089).
19762 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19763 associated with a file, refuse to run instead of erroring out
19766 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19767 the doc string, since it appears that using `fill-column' always
19768 controls the width (bug#7845).
19770 * simple.el (shell-command-on-region): Say where the error output
19771 went if `shell-command-default-error-buffer' is set (bug#6857).
19773 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19775 * allout.el (allout-yank-processing): Adjust cursor position for
19776 backwards-deleted space.
19778 (allout-rebullet-heading): Register changes with
19779 allout-exposure-changed-hook, so the modified topic is properly
19782 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19784 * minibuffer.el (completion-in-region): Document PREDICATE
19787 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19788 of keyword/argument pairs (bug#6904).
19790 * replace.el (multi-occur):
19791 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19793 2011-07-02 Drew Adams <drew.adams@oracle.com>
19795 * dired.el (dired-mark-if): Make the message about whether it's
19796 marking or unmarking clearer (bug#8523).
19798 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19800 * disp-table.el (display-table-print-array): New function.
19801 (describe-display-table): Use it to print the vectors more pretty
19804 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19806 * window.el (window-state-get-1): Don't assign clone numbers.
19807 Add clone-of item to list of window parameters.
19808 (window-state-put-2): Don't process clone numbers.
19809 (display-buffer-alist): Fix doc-string.
19811 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19813 * subr.el (remq): Don't allocate if it's not needed.
19814 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19815 (keymap--merge-bindings): New functions.
19816 (keymap-canonicalize): Use them to refine the canonicalization.
19817 * minibuffer.el (minibuffer-local-completion-map)
19818 (minibuffer-local-must-match-map): Move initialization from C.
19819 (minibuffer-local-filename-completion-map): Move initialization from C;
19820 don't inherit from anything here.
19821 (minibuffer-local-filename-must-match-map): Make obsolete.
19822 (completing-read-default): Use make-composed-keymap to combine
19823 minibuffer-local-filename-completion-map with either
19824 minibuffer-local-must-match-map or
19825 minibuffer-local-filename-completion-map.
19827 2011-07-01 Glenn Morris <rgm@gnu.org>
19829 * type-break.el (type-break-time-sum): Use dolist.
19831 * textmodes/flyspell.el (flyspell-word-search-backward):
19832 Replace CL function.
19834 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19836 * mouse.el (mouse--strip-first-event): New function.
19837 (function-key-map): Use it to map fringe clicks to normal clicks
19840 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19841 (vc-bzr-revision-completion-table): Add support for annotate and date.
19843 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19844 inherit from parent.
19846 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19848 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19849 (dired-show-file-type): Doc fixup (bug#8818).
19851 * dired.el (dired-mode): Fix up the doc string as suggested by
19852 Drew Adams (bug#8817).
19854 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19855 cookie, since the manual says that it should be possible to add
19856 this function to `find-file-hook' (bug#8709).
19858 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19860 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19861 here. Noted Ted Zlatanov as the maintainer.
19862 (cfengine-common-settings, cfengine-common-syntax): New functions
19863 to set up common things between `cfengine-mode' and
19865 (cfengine3-mode): New mode.
19866 (cfengine3-defuns cfengine3-defuns-regex
19867 (cfengine3-class-selector-regex cfengine3-category-regex)
19868 (cfengine3-vartypes cfengine3-font-lock-keywords)
19869 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19870 (cfengine3-indent-line): Add from cfengine3.el.
19872 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19874 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19876 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19878 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19880 * window.el (same-window-buffer-names, same-window-regexps)
19881 (same-window-p, special-display-frame-alist)
19882 (special-display-popup-frame, special-display-function)
19883 (special-display-buffer-names, special-display-regexps)
19884 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19885 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19886 (split-window-preferred-function, split-height-threshold)
19887 (split-width-threshold, even-window-heights)
19888 (display-buffer-mark-dedicated, window-splittable-p)
19889 (split-window-sensibly, window-safely-shrinkable-p):
19891 (display-buffer): Don't spread args with function specifier
19892 because special-display-popup-frame won't like it.
19894 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19896 Time-stamp simplifications and fixes.
19897 These improve accuracy slightly, and future-proof the code
19898 against some potential changes to current-time format.
19900 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19901 by using time-since and float-time.
19903 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19904 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19905 + NNN microseconds".
19907 * type-break.el (type-break-time-sum): Rewrite using time-add.
19909 * play/hanoi.el (hanoi-current-time-float): Remove.
19910 All uses replaced by float-time.
19912 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19913 This yields a more-accurate answer.
19914 (rng-time-to-float): Remove; no longer needed.
19916 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19918 * calendar/timeclock.el (timeclock-seconds-to-time):
19919 Defalias to seconds-to-time, since they're the same thing.
19921 * emacs-lisp/elp.el (elp-elapsed-time):
19922 * emacs-lisp/benchmark.el (benchmark-elapse):
19923 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19925 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19927 * window.el (bury-buffer): Don't iconify the only frame.
19928 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19929 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19931 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19933 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19934 Add mouse-yank-primary.
19936 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19938 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19940 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19942 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19943 (find-library-name): Use it to find relative load names when provided
19944 absolute file name (bug#8803).
19946 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19948 * textmodes/flyspell.el (flyspell-word): Consider words that
19949 differ only in case as potential doublons (bug#5687).
19951 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19952 Remove two rather uninteresting debugging-like messages to make
19953 debbugs.el more silent.
19955 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19956 a password-like phrase.
19958 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19960 * progmodes/cc-guess.el: New file.
19962 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19964 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19965 derived from `c-basic-common-init'.
19967 * progmodes/cc-mode.el (top-level): Require cc-guess.
19968 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19970 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19972 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19974 2011-06-30 Alan Mackenzie <acm@muc.de>
19976 * progmodes/cc-engine.el (c-guess-continued-construct):
19977 Correct the handling of template-args-cont, particularly for when font
19978 lock is disabled. Name this case as "CASE G".
19980 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19982 * allout.el (allout-yank-processing): Fix injection of extra space
19983 between bullet and non-whitespace character in first topic when
19984 pasting, ensuring that the actual spacing in the pasted topic
19985 following the bullet char is preserved. This extra space was
19986 causing pasted encrypted topics to get a decrypted status even
19987 when the content was actually still encrypted. Now the decryption
19988 status from before the paste is preserved.
19990 (allout-flag-region): Set all allout overlays so they evaporate
19991 when reduced to zero length (evanescent), to prevent overlay
19994 2011-06-30 Glenn Morris <rgm@gnu.org>
19996 * w32-fns.el (w32-charset-info-alist): Declare.
19998 * find-dired.el (find-grep-options): Simplify.
20000 * term/ns-win.el (ns-set-resource): Declare.
20002 * ses.el (row, col): Declare dynamic variables honestly.
20004 * textmodes/reftex-parse.el (index-tags): Declare.
20006 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20008 * cus-edit.el (customize-push-and-save): New function.
20010 * files.el (hack-local-variables-confirm): Use it.
20012 * custom.el (load-theme): New arg NO-CONFIRM.
20013 Use customize-push-and-save (Bug#8720).
20014 (custom-enabled-themes): Doc fix.
20016 * cus-theme.el (customize-create-theme)
20017 (custom-theme-merge-theme): Callers to load-theme changed.
20019 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20021 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20022 short URLs have at least one dot in them (bug #7614).
20024 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20025 nil, because using a pty is apparently too slow (bug #895).
20027 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20029 * mail/sendmail.el (sendmail-query-once): New function.
20030 (sendmail-query-once-function): New variable.
20032 2011-06-29 Glenn Morris <rgm@gnu.org>
20034 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20036 * ses.el (top-level): Require cl when compiling.
20037 (ses-set-localvars): Fix error statement.
20038 Call it at compile time to silence a storm of warnings.
20040 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20042 * window.el (normalize-live-buffer): Rename to
20043 window-normalize-buffer.
20044 (normalize-live-frame): Rename to window-normalize-frame.
20045 (normalize-any-window): Rename to window-normalize-any-window.
20046 (normalize-live-window): Rename to window-normalize-live-window.
20047 (make-window-atom): Rename to window-make-atom.
20048 (window-resize-reset): Rename to window--resize-reset.
20049 (window-resize-reset-1): Rename to window--resize-reset-1.
20050 (resize-mini-window): Rename to window--resize-mini-window.
20051 (resize-subwindows-skip-p): Rename to
20052 window--resize-subwindows-skip-p.
20053 (resize-subwindows-normal): Rename to
20054 window--resize-subwindows-normal.
20055 (resize-subwindows): Rename to window--resize-subwindows.
20056 (resize-other-windows): Rename to window--resize-siblings.
20057 (resize-this-window): Rename to window--resize-this-window.
20058 (resize-root-window): Rename to window--resize-root-window.
20059 (resize-root-window-vertically): Rename to
20060 window--resize-root-window-vertically.
20061 (normalize-buffer-to-display): Rename to
20062 window-normalize-buffer-to-display.
20063 (normalize-buffer-to-switch-to): Rename to
20064 window-normalize-buffer-to-switch-to.
20065 Correspondingly update all callers of the functions listed
20067 (display-buffer-alist, display-buffer-normalize-arguments)
20068 (display-buffer-normalize-options, display-buffer)
20069 (display-buffer-alist-set): Use "function" instead of
20072 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20074 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20075 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20076 debbugs.gnu.org. Mention acknowledgment email.
20078 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20080 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20081 buffer multibyteness, since it shouldn't matter.
20083 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20085 * window.el (display-buffer-in-side-window): Handle dedicated
20086 windows as in display-buffer-reuse-window.
20087 (display-buffer-normalize-alist): Use value of override
20089 (display-buffer-normalize-specifiers): Use value of
20090 other-window-means-other-frame specifier.
20091 (display-buffer-alist): Rewrite some texts in widgets.
20092 (display-buffer): Spread arguments when calling function
20093 specified by fun-with-args.
20095 2011-06-28 Deniz Dogan <deniz@dogan.se>
20097 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20100 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20101 selectors (Bug#5732).
20102 (css-proprietary-nmstart-re): Use `regexp-opt'.
20104 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20106 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20107 (eshell-ls-date-format): New defcustom.
20108 (eshell-ls-file): Use it.
20110 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20112 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20114 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20116 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20117 (ange-ftp-make-tmp-name): New arg.
20118 (ange-ftp-file-local-copy): Use it.
20120 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20122 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20123 no-conversion (Bug#8870).
20125 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20127 * window.el (window-right, window-left, window-child)
20128 (window-child-count, window-last-child)
20129 (window-iso-combination-p, walk-window-tree-1)
20130 (window-atom-check-1, window-tree-1, delete-window)
20131 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20132 new naming conventions - window-vchild, window-hchild,
20133 window-next and window-prev are now called window-top-child,
20134 window-left-child, window-next-sibling and window-prev-sibling
20136 (resize-window-reset): Rename to window-resize-reset.
20137 (resize-window-reset-1): Rename to window-resize-reset-1.
20138 (resize-window): Rename to window-resize.
20139 (window-min-height, window-min-width)
20140 (resize-mini-window, resize-this-window, resize-root-window)
20141 (resize-root-window-vertically, adjust-window-trailing-edge)
20142 (enlarge-window, shrink-window, maximize-window)
20143 (minimize-window, delete-window, quit-restore-window)
20144 (split-window, balance-windows, balance-windows-area-adjust)
20145 (balance-windows-area, window-state-put-2)
20146 (display-buffer-even-window-sizes, display-buffer-set-height)
20147 (display-buffer-set-width, set-window-text-height)
20148 (fit-window-to-buffer): Rename all "resize-window" prefixed
20149 calls to use the "window-resize" prefix convention.
20150 (display-buffer-alist): Fix symbol for label specifier.
20151 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20152 corresponding specifier.
20153 Reported by Juanma Barranquero <lekktu@gmail.com>.
20155 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20157 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20159 (ses-call-printer): Does not pass an empty string to formatter when the
20160 cell is empty to keep from barking printer Calc math-format-value.
20162 2011-06-27 Richard Stallman <rms@gnu.org>
20164 * battery.el (battery-mode-line-limit): New variable.
20165 (battery-update): Handle it.
20167 * mail/rmailmm.el (rmail-mime-process-multipart):
20168 Handle truncated messages.
20170 2011-06-27 Glenn Morris <rgm@gnu.org>
20172 * progmodes/flymake.el (flymake-err-line-patterns):
20173 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20175 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20177 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20178 (ses--clean-!, ses--clean-_): New functions.
20179 (ses-range): Add configurability of readout order, and conversion
20182 * ses.el (ses-repair-cell-reference-all): New function.
20183 (ses-cell-symbol): Set macro as safe, so that it can be used in
20186 * ses.el: Update cycle detection algorithm.
20187 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20188 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20189 (ses-set-localvars): New function.
20190 (ses-make-cell): Add property-list as a cell element.
20191 (ses-cell-property-get-fun, ses-cell-property-get)
20192 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20193 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20195 (ses-cell-property-set, ses-cell-property-pop)
20196 (ses-cell-property-get-handle): New macro.
20197 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20198 New aliases, used for code readability.
20199 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20201 (ses-self-reference-early-detection): New defcustom.
20202 (ses-formula-references): Robustify against self-referring cells.
20203 (ses-mode): Use ses-set-localvars.
20204 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20205 before lauching the update processing.
20206 (ses-initialize-Dijkstra-attempt): New function.
20207 (ses-recalculate-cell): Update for cycle detection based on
20208 Dijkstra algorithm.
20210 * ses.el: Fix commenting and indenting convention.
20212 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20214 * bs.el (bs-cycle-next): Complete last change.
20216 2011-06-27 Drew Adams <drew.adams@oracle.com>
20218 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20220 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20222 * net/network-stream.el (network-stream-open-starttls):
20223 Don't re-get capabilities unless we've reestablished connection.
20224 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20226 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20227 to binary to possibly avoid line encoding issues on Windows (among
20230 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20232 * net/network-stream.el (open-network-stream): Return an :error
20233 saying what the problem was, if possible.
20235 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20238 * net/network-stream.el (network-stream-open-starttls): If we
20239 wanted to use STARTTLS, and the server offered it, but we weren't
20240 able to because we had no STARTTLS support, then close the connection.
20241 (open-network-stream): Return an :error element, if present.
20243 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20245 * hl-line.el (hl-line-sticky-flag): Doc fix.
20246 (global-hl-line-sticky-flag): New option (Bug#8323).
20247 (global-hl-line-highlight): Obey it.
20249 * vc/vc.el (vc-revert-show-diff): Default to t.
20251 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20253 * allout-widgets.el (allout-widgets-post-command-business):
20254 Stop decorating intermediate isearch matches. They're not being
20255 undecorated when an isearch is continued past, and isearch
20256 automatically collapses them. This leads to "widget leaks", where
20257 decorated items accumulate in collapsed areas. Lines with lots of
20258 hidden widgets can slow down cursor travel, substantially.
20259 Too much complicated machinery would be needed to ensure undecoration,
20260 so we're doing without this nicety.
20262 (allout-widgets-tally-string): Don't try to do a hash-table-count
20263 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20264 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20265 *Messages* when allout-widgets-maintain-tally is t.
20267 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20269 * window.el (display-buffer-normalize-argument): Rename to
20270 display-buffer-normalize-arguments. Handle special meaning of
20271 LABEL argument. Respect special-display-function when popping up
20272 a new frame. Fix code searching for a window showing the buffer
20274 (display-buffer-normalize-specifiers):
20275 Call display-buffer-normalize-arguments.
20276 (display-buffer-in-window): Don't undedicate the window if its
20277 buffer remains the same.
20278 Reported by Drew Adams <drew.adams@oracle.com>.
20279 (display-buffer-alist): Add choice for same-window macro
20281 (display-buffer): Mention special meaning of LABEL argument in
20282 doc-string. Fix quoting. Don't pop up a new frame even as
20285 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20287 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20288 avoid deleting the current window in some cases (bug#8911).
20290 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20292 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20295 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20297 * net/network-stream.el (network-stream-open-starttls):
20298 Use built-in TLS support if `gnutls-available-p' is true.
20299 (network-stream-open-tls): Ditto.
20301 2011-06-26 Leo Liu <sdl.web@gmail.com>
20303 * register.el (registerv): New struct.
20304 (registerv-make): New function.
20305 (jump-to-register, describe-register-1, insert-register):
20306 Support the jump-func, print-func and insert-func slot of a registerv
20309 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20311 * vc/vc.el (vc-revert-show-diff): New defcustom.
20312 (vc-diff-internal): New arg specifying diff buffer.
20313 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20314 reuse an existing *vc-diff* buffer (Bug#8927).
20316 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20318 2011-06-26 Glenn Morris <rgm@gnu.org>
20320 * progmodes/f90.el (f90-critical-indent): New option.
20321 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20322 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20323 (f90-mode): Doc fix.
20324 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20325 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20326 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20327 (f90-match-end): Handle block, critical.
20329 2011-06-25 Glenn Morris <rgm@gnu.org>
20331 * calendar/diary-lib.el (diary-included-files): Doc fix.
20332 (diary-include-files): New function, extracted from
20333 diary-include-other-diary-files and diary-mark-included-diary-files.
20334 (diary-include-other-diary-files, diary-mark-included-diary-files):
20335 Just call diary-include-files.
20336 (diary-mark-entries): Reset diary-included-files on first call.
20338 * calendar/diary-lib.el (diary-mark-entries)
20339 (diary-mark-included-diary-files):
20340 Visit included diary-files in temp buffers.
20342 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20343 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20344 (f90-start-block-re, f90-imenu-generic-expression)
20345 (f90-looking-at-program-block-start, f90-no-block-limit):
20346 Add support for submodules.
20348 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20349 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20351 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20353 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20354 buffer-file-type before setting its value, to avoid disastrous
20355 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20357 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20359 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20361 * ses.el (ses-unload-function):
20362 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20364 * proced.el (proced-unload-function):
20365 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20367 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20369 * server.el (server-create-window-system-frame): Add parameters arg.
20370 (server-process-filter): Doc fix. Handle frame-parameters.
20372 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20374 Fix bug#8730, bug#8781.
20376 * loadhist.el (unload--set-major-mode): New function.
20377 (unload-feature): Use it.
20379 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20380 (python-unload-function): New function.
20382 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20384 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20386 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20388 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20389 the candidates list.
20391 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20393 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20395 2011-06-23 Richard Stallman <rms@gnu.org>
20397 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20398 (rmail-variables): Set next-error-move-function.
20399 (rmail-what-message): Take argument POS.
20400 (rmail-next-error-move): New function.
20402 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20404 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20405 messages for adjacent non-terminals.
20407 2011-06-23 Richard Stallman <rms@gnu.org>
20409 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20410 (rmail-show-message-1): Preserve buffer modified flag.
20411 (rmail-start-mail): Don't specify use of rmail-mail-return;
20412 that's done by mail-bury now.
20413 (rmail-mail-return): Handle arg NEWBUF.
20415 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20417 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20420 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20422 * window.el (get-lru-window, get-mru-window)
20423 (get-largest-window): Never return a minibuffer window.
20424 (display-buffer-pop-up-window): Fix a bug that could lead to
20425 reusing the minibuffer window.
20426 (display-buffer): Pass original specifier argument to
20427 display-buffer-function instead of the normalized one.
20428 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20430 2011-06-22 Leo Liu <sdl.web@gmail.com>
20432 * minibuffer.el (completing-read-function)
20433 (completing-read-default): Move from minibuf.c.
20435 2011-06-22 Richard Stallman <rms@gnu.org>
20437 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20438 to Rmail even if not started by a special Rmail command.
20440 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20441 Copy the buffer currently showing just one message.
20443 2011-06-22 Roland Winkler <winkler@gnu.org>
20445 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20446 (bibtex-clean-entry): First delete the old key so that a
20447 customized algorithm for generating the new key does not get
20448 confused by the old key.
20449 (bibtex-url): Obey regexp of first step.
20450 (bibtex-search-entries): Do not use add-to-list with local
20453 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20455 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20456 stored a user name, then query for the password first, instead of
20457 waiting for SMTP to give an error message and the trying again.
20459 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20461 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20462 BUFFER in call-process.
20464 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20466 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20468 (smtpmail-try-auth-methods): Require user name and password from
20471 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20473 * window.el (display-buffer-default-specifiers)
20474 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20475 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20476 (split-window): Normalize SIDE argument (Bug#8916).
20478 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20479 (special-display-frame-alist, special-display-popup-frame):
20480 Remove duplicate declarations. These are now in window.el.
20482 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20484 * mail/smtpmail.el (smtpmail-via-smtp):
20485 Set :use-starttls-if-possible so that we always use STARTTLS if the
20486 server supports it. SMTP servers that support STARTTLS commonly
20489 * net/network-stream.el (network-stream-open-starttls): Support
20490 upgrading to STARTTLS always, even if we don't have built-in support.
20491 (open-network-stream): Add the :always-query-capabilities keyword.
20493 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20494 upgrades with `open-network-stream', and rely solely on
20495 auth-source for all credentials. Big changes throughout the file,
20497 (smtpmail-auth-credentials): Remove.
20498 (smtpmail-starttls-credentials): Remove.
20499 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20502 * net/network-stream.el (network-stream-open-starttls):
20503 Provide support for client certificates both for external and built-in
20505 (auth-source): Require.
20506 (open-network-stream): Document the :client-certificate keyword.
20507 (network-stream-certificate): Change cert-cert to cert and
20510 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20512 * net/tramp-cache.el (top): Don't load the persistency file when
20513 "emacs -Q" has been called.
20515 2011-06-21 Tim Harper <timcharper@gmail.com>
20517 * term/ns-win.el (ns-initialize-window-system):
20518 Set application-specific `ApplePressAndHoldEnabled' system
20519 resource to NO as it is not yet supported by the NS port.
20521 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20523 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20524 (list-dynamic-libraries): ...not here.
20526 2011-06-21 Leo Liu <sdl.web@gmail.com>
20528 * subr.el (sha1): Implement sha1 using secure-hash.
20530 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20532 * window.el (display-buffer-alist): In default value do not
20533 enforce searching a window on any but the selected frame.
20534 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20535 (display-buffer-select-window): Remove function.
20536 (display-buffer-in-window): When a window on another frame gets
20537 reused, do not select it any more but just raise its frame if
20538 necessary (Bug#8851) and (Bug#8856).
20539 (display-buffer-normalize-options): Handle pop-up-frames related
20540 options more faithfully.
20541 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20542 window if it is on another frame.
20543 (display-buffer-alist, display-buffer-default-specifiers):
20544 Don't make new frame unsplittable by default.
20545 (display-buffer-normalize-argument): Fix doc-string typo and use
20546 'same-frame-other-window instead of 'other-window when associating
20547 with display-buffer-macro-specifiers.
20549 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20551 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20553 (5x5-mode-map, 5x5-mode-menu): Bind them.
20554 (5x5-draw-grid): Tweak the solver's rendering.
20556 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20558 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20559 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20561 2011-06-21 Drew Adams <drew.adams@oracle.com>
20563 * menu-bar.el: Use function variable instead of switch-to-buffer.
20564 (menu-bar-select-buffer-function): New variable.
20565 (menu-bar-update-buffers): Use it (bug#8876).
20567 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20569 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20572 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20574 * x-dnd.el (x-dnd-version-from-flags)
20575 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20576 and long as number (Bug#8899).
20577 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20579 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20581 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20582 (completion-try-completion, completion-all-completions): Compute the
20583 metadata argument if it's missing; make it optional (bug#8795).
20585 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20586 (widget-complete): Use new :completion-function property.
20587 (widget-completions-at-point): New function.
20588 (default): Use :completion-function instead of :complete.
20589 (widget-default-completions): Rename from widget-default-complete;
20591 (widget-string-complete, widget-file-complete, widget-color-complete):
20593 (file, symbol, function, variable, coding-system, color):
20594 * international/mule-cmds.el (default-input-method, charset)
20595 (language-info-custom-alist):
20596 * cus-edit.el (face): Use new property :completions.
20598 * progmodes/pascal.el (pascal-completions-at-point): New function.
20599 (pascal-mode): Use it.
20600 (pascal-mode-map): Use completion-at-point.
20601 (pascal-toggle-completions): Make obsolete.
20602 (pascal-complete-word, pascal-show-completions):
20603 * progmodes/octave-mod.el (octave-complete-symbol):
20604 Redefine as obsolete alias.
20605 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20606 Signal absence of completion info for old Octave,
20607 (inferior-octave-complete): Redefine as obsolete alias.
20608 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20609 (meta-completions-at-point): Rename from meta-complete-symbol and
20610 adapt it for use on completion-at-point-functions.
20611 (meta-common-mode): Use it.
20612 (meta-looking-at-backward, meta-match-buffer): Remove.
20613 (meta-complete-symbol): Redefine as obsolete alias.
20614 (meta-common-mode-map): Use completion-at-point.
20615 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20616 (makefile-mode-map): Use completion-at-point.
20617 (makefile-completions-at-point): Rename from makefile-complete and
20618 adapt it for use on completion-at-point-functions.
20619 (makefile-mode): Use it.
20620 (makefile-complete): Redefine as obsolete alias.
20622 2011-06-20 Deniz Dogan <deniz@dogan.se>
20624 * net/rcirc.el: Delete trailing whitespaces once and for all.
20626 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20628 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20630 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20632 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20634 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20636 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20638 * window.el (display-buffer-other-window-means-other-frame):
20639 Call display-buffer-normalize-alist.
20640 (display-buffer-normalize-specifiers-1): Rename to
20641 display-buffer-normalize-argument. New argument other-frame.
20643 (display-buffer-normalize-specifiers-2): Rename to
20644 display-buffer-normalize-options.
20645 (display-buffer-normalize-alist-1): New function.
20646 (display-buffer-normalize-specifiers-3): Rename to
20647 display-buffer-normalize-alist.
20648 Call display-buffer-normalize-alist-1.
20649 (display-buffer-normalize-options-inhibit): New variable.
20650 (display-buffer-normalize-specifiers): Rewrite calling
20651 display-buffer-normalize-alist,
20652 display-buffer-normalize-argument, and
20653 display-buffer-normalize-options. Don't call the latter if
20654 display-buffer-normalize-options-inhibit is non-nil.
20655 (frame-auto-delete): New option.
20656 (window-deletable-p): Use frame-auto-delete.
20657 (window-list-no-nils, window-state-ignored-parameters)
20658 (window-state-get-1, window-state-get, window-state-put-list)
20659 (window-state-put-1, window-state-put-2, window-state-put):
20661 (display-buffer-normalize-options): Move special-display-p group
20662 after pop-up-frame group (Bug#8851) and (Bug#8856).
20664 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20666 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20668 (rx-submatch-n): New function.
20671 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20674 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20676 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20678 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20679 anytime existing face settings are present (Bug#8889).
20681 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20682 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20683 Remove unused argument.
20685 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20687 * window.el (display-buffer-default-specifiers):
20688 Remove pop-up-frame. Add pop-up-window-min-height,
20689 pop-up-window-min-width, and another reuse-window specifier
20690 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20691 (display-buffer-normalize-specifiers-2):
20692 Handle split-height-threshold and split-width-threshold also when
20693 pop-up-windows is unset. Add a reuse-window specifier for the
20694 case popping up a new window fails.
20695 (special-display-popup-frame): Remove double quoting.
20696 (display-buffer-normalize-specifiers-1): Fix thinko.
20698 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20700 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20701 according to comint-completion-addsuffix.
20703 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20704 (pcomplete-suffix-list): Mark as obsolete.
20705 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20706 pcomplete-seen in the closure.
20707 (pcomplete-comint-setup): Setup completion-at-point as well.
20708 (pcomplete--entries): New function.
20709 (pcomplete--env-regexp): New var.
20710 (pcomplete-entries): Rewrite to work with partial-completion and
20711 without relying on pcomplete-suffix-list.
20712 (pcomplete-pare-list): Remove, unused.
20714 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20716 * window.el (display-buffer-alist): Set pop-up-window-min-height
20717 and pop-up-window-min-width in default value. Reported by
20718 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20719 other-window-means-other-frame.
20720 (display-buffer-macro-specifiers): Comment out entry for
20721 other-window specifier.
20722 (display-buffer-other-window-means-other-frame): New function.
20723 (display-buffer-normalize-specifiers-1): New arguments
20724 buffer-name and label. Treat other-window case specially.
20725 (display-buffer-normalize-specifiers-2): Treat other-window case
20727 (display-buffer-normalize-specifiers-3): New function.
20728 (display-buffer-normalize-specifiers):
20729 Call display-buffer-normalize-specifiers-3.
20731 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20733 * window.el (same-window-p): Fix two typos introduced when
20734 adding with-no-warnings.
20735 (display-buffer-normalize-specifiers-1): Don't check
20736 pop-up-frames for 'unset initialization.
20737 (display-buffer-normalize-specifiers-2): Major rewrite using
20738 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20739 (pop-up-frames, display-buffer-reuse-frames)
20740 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20741 Suggested by David Engster <deng@randomsample.de>.
20742 (even-window-heights): Initialize to 'unset.
20743 (display-buffer-alist-set): Handle new 'unset initializations.
20744 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20747 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20749 * window.el (display-buffer-normalize-specifiers-1):
20750 Respect current value of pop-up-frames for most reasonable values of
20751 second argument of display-buffer (Bug#8865).
20752 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20753 (switch-to-buffer-other-window-same-frame)
20754 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20756 (display-buffer): Don't check noninteractive when calling
20757 display-buffer-pop-up-frame.
20758 (display-buffer-pop-up-frame): Never pop up a frame in
20759 noninteractive mode (Bug#8857).
20760 (enlarge-window, shrink-window): Don't report an error when the
20761 window can't be resized as requested (Bug#8862).
20763 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20765 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20767 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20769 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20771 2011-06-15 Alan Mackenzie <acm@muc.de>
20773 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20774 for declarators, disable knr checking to speed up for normal files.
20775 2: Refactor, replacing a sequence of nested if forms by a cond form.
20777 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20779 * net/network-stream.el (open-network-stream): Add the keyword
20780 :always-query-capabilities for the case where you want to force a
20781 `plain' network connection, but the protocol still requires the
20782 capabilitiy command (i.e., SMTP and EHLO).
20784 * subr.el (process-live-p): Rename from `process-alive-p' for
20785 consistency with other `-live-p' functions.
20787 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20789 * window.el (same-window-buffer-names, same-window-regexps)
20790 (special-display-frame-alist, special-display-popup-frame)
20791 (special-display-function, special-display-buffer-names)
20792 (special-display-regexps, pop-up-frame-alist)
20793 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20794 (pop-up-windows, split-window-preferred-function)
20795 (split-height-threshold, split-width-threshold, even-window-heights)
20796 (display-buffer-mark-dedicated): Don't encourage the use of
20797 display-buffer-alist from Elisp code.
20799 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20801 * progmodes/python.el (python-mode): Derive from prog-mode.
20802 * progmodes/ps-mode.el (ps-mode):
20803 * progmodes/mixal-mode.el (mixal-mode):
20804 * progmodes/cfengine.el (cfengine-mode):
20805 * progmodes/ld-script.el (ld-script-mode): Likewise.
20807 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20809 * window.el (display-buffer-alist): Trim default value to avoid
20810 popping up a new frame (Bug#8857) or reusing an arbitrary window
20812 (display-buffer): Do not fall back on popping up a new frame in
20813 batch mode (Bug#8857).
20815 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20817 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20818 (custom-theme-summary): New function.
20819 (customize-themes): Use it.
20821 2011-06-13 Glenn Morris <rgm@gnu.org>
20823 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20825 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20827 * help.el (help-window): Remove variable.
20828 (help-window-point-marker, temp-buffer-max-height)
20829 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20830 (help-print-return-message): Don't set help-window.
20831 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20832 (help-window-setup-finish): Remove.
20833 (help-window-display-message, help-window-setup)
20834 (with-help-window): Major rewrite based on new
20835 display-buffer-window variable.
20837 * help-mode.el (help-mode-finish): Remove help-window related
20840 * view.el (view-exits-all-viewing-windows): Remove reference to
20841 view-return-to-alist in doc-string.
20842 (view-return-to-alist): Make obsolete.
20843 (view-buffer): Call pop-to-buffer-same-window and remove
20845 (view-buffer-other-window): Call pop-to-buffer-other-window and
20846 simplify code. Ignore second argument.
20847 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20848 simplify code. Ignore second argument.
20849 (view-return-to-alist-update): Make obsolete.
20850 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20851 Rewrite using quit-restore window parameters.
20852 (view-mode-exit): Rename second argument to EXIT-ONLY.
20853 Rewrite using quit-restore-window.
20854 (View-exit, View-exit-and-edit, View-leave, View-quit)
20855 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20856 appropriate arguments.
20857 (view-end-message): Use quit-restore window parameter.
20859 * window.el (display-buffer-function): Rewrite doc-string.
20860 (display-buffer-window, display-buffer-alist): New variables.
20861 (display-buffer-split-specifiers)
20862 (display-buffer-side-specifiers)
20863 (display-buffer-macro-specifiers): New constants.
20864 (display-buffer-even-window-sizes, display-buffer-set-height)
20865 (display-buffer-set-width, display-buffer-select-window)
20866 (display-buffer-in-window, display-buffer-reuse-window)
20867 (display-buffer-split-window-1, display-buffer-split-window)
20868 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20869 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20870 (display-buffer-in-side-window, normalize-buffer-to-display)
20871 (display-buffer-normalize-specifiers-1)
20872 (display-buffer-normalize-specifiers-2)
20873 (display-buffer-normalize-specifiers, display-buffer-frame):
20875 (display-buffer): Major rewrite.
20876 (display-buffer-other-window, display-buffer-other-frame)
20877 (pop-to-buffer, switch-to-buffer-other-window)
20878 (switch-to-buffer-other-frame): Rewrite.
20879 (display-buffer-same-window, display-buffer-same-frame)
20880 (display-buffer-same-frame-other-window)
20881 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20882 (pop-to-buffer-other-window)
20883 (pop-to-buffer-same-frame-other-window)
20884 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20885 (switch-to-buffer-other-window-same-frame): New functions.
20886 (same-window-p, special-display-p): Rewrite disabling warnings.
20888 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20889 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20891 (same-window-buffer-names, same-window-regexps)
20892 (special-display-frame-alist, special-display-popup-frame)
20893 (special-display-function, special-display-buffer-names)
20894 (special-display-regexps, pop-up-frame-alist)
20895 (pop-up-frame-function, split-window-preferred-function)
20896 (split-height-threshold, split-width-threshold)
20897 (even-window-heights): Make obsolete.
20899 2011-06-12 Glenn Morris <rgm@gnu.org>
20901 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20902 Misc simplifications.
20904 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20906 * window.el (window-safely-shrinkable-p): Restore function which
20907 was inadvertently removed in change from 2011-06-11. Declare as
20910 * calendar/calendar.el (calendar-generate-window):
20911 Use window-iso-combined-p instead of combination of one-window-p and
20912 window-safely-shrinkable-p.
20914 2011-06-12 Glenn Morris <rgm@gnu.org>
20916 * progmodes/fortran.el (fortran-mode-syntax-table):
20917 * progmodes/f90.el (f90-mode-syntax-table):
20918 Set % to punctuation. (Bug#8820)
20919 (f90-find-tag-default): Remove, no longer needed.
20921 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20923 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20925 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20927 * image.el (image-animated-p): Return animation delay in seconds.
20928 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20929 (image-animate-timeout): Remove DELAY argument. Don't assume
20930 every subimage has the same delay; get it from image-animated-p.
20931 (image-animate): Caller changed.
20933 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20935 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20936 to ignored backtrace functions.
20938 2011-06-11 Glenn Morris <rgm@gnu.org>
20940 * calendar/appt.el (appt-disp-window-function): Doc fix.
20941 (appt-check): Handle overlapping appointments. (Bug#8337)
20943 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20945 * window.el (window-tree-1, window-tree): New functions, moving
20946 the latter to window.el.
20947 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20948 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20949 (bw-refresh-edges): Remove.
20950 (balance-windows-1, balance-windows-2): New functions.
20951 (balance-windows): Rewrite in terms of window tree functions,
20952 balance-windows-1 and balance-windows-2.
20953 (bw-adjust-window): Remove.
20954 (balance-windows-area-adjust): New function with functionality of
20955 bw-adjust-window but using resize-window.
20956 (set-window-text-height): Rewrite doc-string.
20957 Use normalize-live-window and resize-window.
20958 (enlarge-window-horizontally, shrink-window-horizontally):
20959 Rename argument to DELTA.
20960 (window-buffer-height): New function.
20961 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20962 Rewrite using new window resize routines.
20963 (kill-buffer-and-window, mouse-autoselect-window-select):
20964 Use ignore-errors instead of condition-case.
20965 (quit-window): Call delete-frame instead of delete-windows-on
20966 for the only buffer on frame.
20968 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20970 * loadup.el (top-level): Load window before files for the sake
20971 of replace-buffer-in-windows.
20973 * files.el (read-buffer-to-switch)
20974 (switch-to-buffer-other-window)
20975 (switch-to-buffer-other-frame, display-buffer-other-frame):
20978 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20979 (previous-buffer): Move to window.el.
20981 * bindings.el (unbury-buffer): Move to window.el.
20983 * window.el (delete-other-windows-vertically): Move after
20984 definition of delete-other-windows.
20985 (other-window, delete-windows-on, replace-buffer-in-windows):
20986 Move here from window.c.
20987 (record-window-buffer, unrecord-window-buffer)
20988 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20989 (switch-to-next-buffer): New functions.
20990 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20991 from simple.el. Call switch-to-next-buffer.
20992 (previous-buffer): Move here from simple.el.
20993 Call switch-to-prev-buffer.
20994 (bury-buffer): Move here from buffer.c. Switch to previous
20995 buffer when window cannot be deleted.
20996 (unbury-buffer): Move here from bindings.el.
20997 (ctl-x-map): Move binding for other-window from window.c to
20999 (read-buffer-to-switch, switch-to-buffer-other-window)
21000 (switch-to-buffer-other-frame): Move here from files.el.
21001 (normalize-buffer-to-switch-to): New functions.
21002 (switch-to-buffer): Move here from buffer.c.
21003 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21005 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21007 * window.el (window-min-height, window-min-width): Move here
21008 from window.c. Add defcustoms and rewrite doc-strings.
21009 (resize-mini-window, resize-window): New functions.
21010 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21011 Move here from window.c.
21012 (maximize-window, minimize-window): New functions.
21013 (delete-window, delete-other-windows, split-window): Move here
21015 (window-split-min-size): New function.
21016 (split-window-keep-point): Mention split-window-above-each-other
21017 instead of split-window-vertically.
21018 (split-window-above-each-other, split-window-vertically):
21019 Rename split-window-vertically to split-window-above-each-other
21020 and provide defalias for old definition.
21021 (split-window-side-by-side, split-window-horizontally):
21022 Rename split-window-horizontally to split-window-side-by-side
21023 and provide defalias for the old definition.
21024 (ctl-x-map): Move bindings for delete-window,
21025 delete-other-windows and enlarge-window here from window.c.
21026 Replace bindings for split-window-vertically and
21027 split-window-horizontally by bindings for
21028 split-window-above-each-other and split-window-side-by-side.
21030 * cus-start.el (all): Remove entries for window-min-height and
21031 window-min-width. Add entries for window-splits and
21034 2011-06-09 Glenn Morris <rgm@gnu.org>
21036 * calendar/appt.el (appt-mode-line): New function.
21037 (appt-check, appt-disp-window): Use it.
21039 * files.el (hack-one-local-variable-eval-safep):
21040 Allow minor-modes with explicit +/-1 arguments.
21042 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21044 * term/xterm.el (xterm): Add defgroup.
21045 (xterm-extra-capabilities): Add defcustom to supply known xterm
21046 capabilities, skip querying them, or query them (default).
21047 (terminal-init-xterm): Use it.
21048 (terminal-init-xterm-modify-other-keys): New function to set up
21049 modifyOtherKeys support to simplify `terminal-init-xterm'.
21051 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21053 * window.el (resize-window-reset, resize-window-reset-1)
21054 (resize-subwindows-skip-p, resize-subwindows-normal)
21055 (resize-subwindows, resize-other-windows, resize-this-window)
21056 (resize-root-window, resize-root-window-vertically)
21057 (window-deletable-p, window-or-subwindow-p)
21058 (frame-root-window-p): New functions.
21060 2011-06-09 Glenn Morris <rgm@gnu.org>
21062 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21063 (ange-ftp-get-files): Use it.
21065 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21067 * mail/sendmail.el (mail-recover-1, mail-recover):
21068 * files.el (recover-file, recover-session):
21069 Handle dired-listing-switches not being just a single short option.
21071 2011-06-09 Glenn Morris <rgm@gnu.org>
21073 * calendar/appt.el (appt-display-message, appt-disp-window):
21074 Handle lists of appointments.
21076 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21078 * window.el (one-window-p): Move down in code.
21079 Rewrite doc-string.
21080 (window-current-scroll-bars): Rewrite doc-string.
21081 Normalize live window argument.
21082 (walk-windows, get-window-with-predicate, count-windows):
21083 Rewrite doc-string. Use window-list-1.
21084 (window-in-direction-2, window-in-direction, get-mru-window):
21087 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21089 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21090 Doc fix (Bug#8713).
21092 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21094 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21096 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21098 * loadhist.el (unload-feature-special-hooks):
21099 Add `comint-output-filter-functions'.
21101 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21103 * calendar/appt.el (appt-check): Move some initializations into the let.
21105 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21107 * window.el (window-height): Defalias to window-total-height.
21108 (window-width): Defalias to window-body-width.
21110 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21112 * image-mode.el (image-toggle-animation): New command.
21113 (image-mode-map): Bind it to RET.
21114 (image-mode): Update message.
21115 (image-toggle-display-image): Avoid a spurious cache flush.
21116 (image-transform-rotation): Doc fix.
21117 (image-transform-properties): Return quickly in the normal case.
21118 (image-animate-loop): Rename from image-animate-max-time.
21120 * image.el (image-animate-max-time): Move to image-mode.el.
21121 (create-animated-image): Remove unnecessary function.
21122 (image-animate): Rename from image-animate-start. New arg.
21123 (image-animate-stop): Remove; just use image-animate-timer.
21124 (image-animate-timer): Use car-safe.
21125 (image-animate-timeout): Rename argument.
21127 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21129 * window.el (get-lru-window, get-largest-window): Move here from
21130 window.c. Rename first argument to ALL-FRAMES.
21131 Rephrase doc-strings.
21132 (get-buffer-window-list): Rewrite using window-list-1.
21133 Rephrase doc-string.
21134 (window-safe-min-height, window-safe-min-width): New constants.
21135 (window-size-ignore, window-min-size, window-min-size-1)
21136 (window-sizable, window-sizable-p, window-size-fixed-1)
21137 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21138 (window-max-delta-1, window-max-delta, window-resizable)
21139 (window-resizable-p, window-total-height, window-total-width)
21140 (window-body-width): New functions.
21141 (window-full-height-p, window-full-width-p): Rewrite using
21143 (window-body-height): Rewrite using window-body-size.
21145 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21147 * window.el (window-right, window-left, window-child)
21148 (window-child-count, window-last-child, window-any-p)
21149 (normalize-live-buffer, normalize-live-frame)
21150 (normalize-any-window, normalize-live-window)
21151 (window-iso-combination-p, window-iso-combined-p)
21152 (window-iso-combinations)
21153 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21154 (windows-with-parameter, window-with-parameter)
21155 (window-atom-root, make-window-atom, window-atom-check-1)
21156 (window-atom-check, window-side-check, window-check):
21158 (ignore-window-parameters, window-sides, window-sides-vertical)
21159 (window-sides-slots): New variables.
21160 (window-size-fixed): Move down in code. Minor doc-string fix.
21162 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21164 * comint.el (comint-dynamic-complete-as-filename)
21165 (comint-dynamic-complete-filename): Correctly call
21166 completion-in-region.
21168 2011-06-05 Deniz Dogan <deniz@dogan.se>
21170 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21173 2011-06-05 Deniz Dogan <deniz@dogan.se>
21175 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21176 (rcirc): Use it to prompt for encryption.
21178 2011-06-05 Roland Winkler <winkler@gnu.org>
21180 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21181 (bibtex-search-entries): New command bound to C-c C-a.
21182 (bibtex-display-entries): New function.
21184 2011-06-05 Roland Winkler <winkler@gnu.org>
21186 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21187 (bibtex-insert-kill): After yanking insert newline if necessary.
21188 (bibtex-initialize): Call bibtex-string-files-init only once.
21189 (bibtex-mode): Do not call easy-menu-add.
21190 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21191 (bibtex-yank): Set arg properly if nil.
21193 2011-06-05 Roland Winkler <winkler@gnu.org>
21195 * textmodes/bibtex.el (bibtex-search-entry-globally):
21197 (bibtex-search-entry): Use it.
21199 2011-06-05 Roland Winkler <winkler@gnu.org>
21201 * textmodes/bibtex.el (bibtex-entry-format): New option
21203 (bibtex-format-entry, bibtex-reformat): Honor this option.
21204 (bibtex-parse-entry): Return fields in proper order.
21206 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21208 * doc-view.el (doc-view-remove-if): Move computation of result out
21209 of `dolist' to silence misleading lexical-binding warning.
21211 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21213 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21214 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21216 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21218 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21221 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21223 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21224 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21225 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21226 (tramp-parse-putty):
21227 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21228 (tramp-completion-function-alist-ssh)
21229 (tramp-completion-function-alist-telnet)
21230 (tramp-completion-function-alist-su)
21231 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21234 * net/tramp-ftp.el:
21236 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21237 load "tramp.el" `tramp-set-completion-function'.
21239 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21241 * shell.el: Require and use pcomplete.
21242 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21243 (shell-completion-vars): Set pcomplete-default-completion-function.
21245 2011-06-04 Deniz Dogan <deniz@dogan.se>
21247 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21250 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21252 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21254 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21256 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21257 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21258 * vc/log-view.el (log-view-beginning-of-defun):
21259 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21260 (smerge-refine-forward, smerge-refine-chopup-region):
21261 Silence warning for unused `dotimes' counter variables.
21263 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21265 * net/tramp.el (tramp-with-progress-reporter): Rename from
21266 with-progress-reporter. Use `declare'.
21267 * net/tramp-smb.el:
21269 * net/tramp-gvfs.el: Update all uses.
21271 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21273 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21274 buffer isn't killed before making it current.
21276 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21278 Silence various byte-compiler warnings.
21279 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21280 `access-type' and new obsolescence format.
21281 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21283 (byte-compile-check-variable): New `access-type' argument.
21284 Only warn if the access-type is obsolete.
21285 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21286 (byte-compile-variable-set): Adjust callers.
21287 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21288 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21289 setting it as obsolete.
21290 * simple.el (minibuffer-completing-symbol):
21291 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21292 access as obsolete.
21293 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21295 * international/quail.el (quail-mouse-choose-completion): Remove unused
21296 code referring to obsolete var.
21297 (quail-choose-completion-string): Remove.
21298 * server.el (server-clients-with, server-kill-buffer-query-function)
21299 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21300 * proced.el (proced-send-signal):
21301 * emacs-lisp/lisp.el (lisp-complete-symbol):
21302 Replace completion-annotate-function with completion-extra-properties.
21304 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21306 * simple.el (goto-line): Use read-number.
21307 (overriding-map-is-bound): Remove.
21308 (saved-overriding-map): Change default.
21309 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21310 Take the map as argument.
21311 (universal-argument, negative-argument, digit-argument): Use it.
21312 (restore-overriding-map): Adjust.
21313 (do-auto-fill): Use fill-forward-paragraph.
21314 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21316 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21317 (minibuffer-inactive-mode): New major mode.
21318 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21319 the *Messages* buffer" hack.
21320 (mouse-popup-menubar): Don't burp if the event is a normal key.
21322 Miscellaneous tweaks.
21323 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21324 lexical scoping as in subr.el's dolist and dotimes.
21325 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21326 Silence compiler warning.
21327 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21328 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21329 * international/ccl.el (ccl-compile): Trivial simplification.
21330 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21331 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21332 `printflag' argument.
21333 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21334 Purecopy the whole obsolescence data.
21336 2011-06-01 Leo Liu <sdl.web@gmail.com>
21338 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21339 improve doc-string as suggested by Marco Pessotto
21340 <melmothx@gmail.com>.
21341 (rcirc-print): Fix last change.
21343 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21345 * minibuffer.el (complete-with-action): Return nil for the metadata and
21346 boundaries of non-functional tables.
21347 (completion-table-dynamic): Return nil for the metadata.
21348 (completion-table-with-terminator): Add default case, using
21349 complete-with-action.
21350 (completion--metadata): New function.
21351 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21352 to try and avoid pathological performance problems.
21353 (completion--embedded-envvar-table): Return `category' metadata.
21355 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21357 * subr.el (process-alive-p): New tiny convenience function.
21359 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21361 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21362 content but also its previous major mode.
21364 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21366 * emacs-lisp/debug.el (debug): Restore the previous content of the
21367 *Backtrace* buffer when we exit with C-M-c.
21369 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21371 * minibuffer.el: Add metadata method to completion tables.
21372 (completion-category-overrides): New defcustom.
21373 (completion-metadata, completion--field-metadata)
21374 (completion-metadata-get, completion--styles)
21375 (completion--cycle-threshold): New functions.
21376 (completion-try-completion, completion-all-completions):
21377 Add `metadata' argument to choose completion-styles.
21378 (completion--do-completion): Use metadata to choose cycling.
21379 (completion-all-sorted-completions): Use metadata for sorting.
21380 Remove :completion-cycle-penalty which is not needed any more.
21381 (completion--try-word-completion): Add `metadata' argument.
21382 (minibuffer-completion-help): Check metadata for annotation function
21384 (completion-file-name-table): Return `category' metadata.
21385 (minibuffer-completing-file-name): Make obsolete.
21386 * simple.el (minibuffer-completing-symbol): Make obsolete.
21387 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21388 completion-try-completion.
21390 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21392 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21394 2011-05-30 Leo Liu <sdl.web@gmail.com>
21396 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21397 (rcirc-print): Decode all incoming messages (bug#8744).
21398 (rcirc-decode-coding-system): Allow value nil for automatic coding
21401 2011-06-01 Glenn Morris <rgm@gnu.org>
21403 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21405 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21407 * image.el (image-animate-max-time): Allow nil and t values.
21409 (create-animated-image): Doc fix.
21410 (image-animate-start): Remove second arg; just use
21411 image-animate-max-time.
21412 (image-animate-timeout): Doc fix. Args changed.
21414 * image-mode.el (image-toggle-display-image): Ensure that the
21415 image spec passed to the animate timer is the same object as in
21416 the buffer's display property (Bug#6981).
21417 (image-transform-properties): Doc fix.
21419 * image.el (image-animate-max-time): Default to nil.
21421 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21423 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21424 entire buffer list (Bug#8184).
21426 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21428 * image.el (imagemagick-types-inhibit)
21429 (imagemagick-register-types): Doc fix.
21431 2011-05-29 Deniz Dogan <deniz@dogan.se>
21433 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21436 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21438 * select.el: Don't perform clipboard-manager saving in hooks;
21439 leave the hooks empty.
21441 2011-05-28 Leo Liu <sdl.web@gmail.com>
21443 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21444 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21445 (occur-edit-mode): New major mode (Bug#8463).
21446 (occur-after-change-function): New function.
21447 (occur-engine): Give Occur tags a read-only property.
21449 2011-05-28 Kevin Ryde <user42@zip.com.au>
21451 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21453 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21455 * bindings.el (help-echo): Make the initial non-indicator dash
21456 empty on graphical terminals (Bug#7295).
21458 * files.el (auto-mode-alist): Move config rule after the
21459 in-stripping one (Bug#8547).
21461 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21463 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21464 setting (Bug#8740).
21466 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21468 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21469 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21472 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21474 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21476 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21478 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21479 (hs-hide-block-at-point, hs-find-block-beginning)
21480 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21483 2011-05-28 Glenn Morris <rgm@gnu.org>
21485 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21487 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21489 * help-fns.el (describe-function-1): If the function is a derived
21490 major mode, print the parent mode.
21492 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21493 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21495 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21497 * minibuffer.el (completion--capf-wrapper): Check applicability before
21498 returning non-nil for non-exclusive completion data.
21499 * progmodes/etags.el (tags-completion-at-point-function):
21500 * info-look.el (info-lookup-completions-at-point): Mark as
21502 (info-complete): Adjust accordingly.
21504 * info-look.el: Convert to lexical-binding and completion-at-point.
21505 (info-lookup-completions-at-point): New function.
21506 (info-complete): Use it and completion-in-region.
21508 2011-05-28 Drew Adams <drew.adams@oracle.com>
21510 * isearch.el: Let M-e start with point at the first mismatched char.
21511 (isearch-fail-pos): New function.
21512 (isearch-edit-string): Use it.
21514 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21516 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21518 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21520 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21521 traversal functions for avl-trees.
21522 (avl-tree--stack): New struct.
21523 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21524 (avl-tree-enter): Add optional `updatefun' arg.
21525 (avl-tree--do-enter): Add optional `updatefun' arg.
21526 Change return value.
21527 (avl-tree-delete): Add optional `test' and `nilflag' args.
21528 (avl-tree--do-delete): Add `test' and `nilflag' args.
21529 Change return value.
21530 (avl-tree-member): Add optional `nilflag'
21531 (avl-tree-member-p): New function.
21532 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21533 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21534 (avl-tree-stack-empty-p): New functions.
21536 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21537 avl-tree--del-balance1 and make it work both ways.
21538 (avl-tree--del-balance2): Remove.
21539 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21540 make it work both ways.
21541 (avl-tree--enter-balance2): Remove.
21542 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21544 (avl-tree--mapc, avl-tree-map): Add direction argument.
21546 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21548 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21550 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21552 * select.el: Support clipboard managers with built-in function
21553 x-clipboard-manager-save, via delete-frame-functions and
21555 (xselect-convert-to-targets): Add MULTIPLE target to list.
21556 (xselect-convert-to-save-targets): New function.
21558 2011-05-27 Kenichi Handa <handa@m17n.org>
21560 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21561 let-binding rfc2047-encode-encoded-words to nil.
21563 2011-05-27 Glenn Morris <rgm@gnu.org>
21565 * mail/emacsbug.el: Don't require url-util.
21567 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21569 * files.el (set-auto-mode):
21570 Also respect mode: entries at the end of the file. (Bug#8586)
21572 2011-05-26 Glenn Morris <rgm@gnu.org>
21574 * files.el (hack-local-variables-prop-line, hack-local-variables):
21575 Downcase mode names, as seems to be traditional.
21576 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21578 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21579 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21581 2011-05-25 Julien Danjou <julien@danjou.info>
21583 * textmodes/rst.el (rst-define-level-faces): Do not define face
21584 symbol if it is already defined.
21586 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21588 * play/5x5.el (5x5-new-game, 5x5-randomize):
21589 Reset 5x5-solver-output to nil when a new grid is cast.
21590 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21591 these debugging traces, as defmacro breaks the compiled code.
21593 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21595 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21597 2011-05-24 Leo Liu <sdl.web@gmail.com>
21599 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21600 (vc-bzr-sha1): Adapt.
21602 * sha1.el: Remove. Function `sha1' is now builtin.
21604 * bindings.el: Provide sha1 feature.
21606 2011-05-24 Kenichi Handa <handa@m17n.org>
21608 * mail/sendmail.el: Require `rfc2047'.
21609 (mail-insert-from-field): Do not perform RFC2047 encoding.
21610 (mail-encode-header): New function.
21611 (sendmail-send-it): Set buffer-file-coding-system of the work
21612 buffer to the return value of select-message-coding-system.
21613 Call mail-encode-header.
21615 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21617 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21619 * mail/supercite.el (sc-default-cite-frame):
21620 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21622 2011-05-24 Glenn Morris <rgm@gnu.org>
21624 * progmodes/python.el (brm-menu): Declare.
21626 * emulation/viper.el (viper-set-hooks): Declare.
21628 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21629 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21630 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21631 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21632 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21633 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21635 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21637 Add an :exit-function for completion-at-point.
21639 * minibuffer.el (completion--done): New fun.
21640 (completion--do-completion): Use it. New arg `expect-exact'.
21641 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21642 since completion--do-completion does it for us now.
21643 (minibuffer-force-complete): Use completion--done and
21644 completion--replace. Handle sole-completion case with more care.
21645 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21646 (completion-extra-properties): New var.
21647 (completion-annotate-function): Make obsolete.
21648 (minibuffer-completion-help): Adjust accordingly.
21649 Use completion-list-insert-choice-function.
21650 (completion-at-point, completion-help-at-point):
21651 Bind completion-extra-properties.
21652 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21653 * simple.el (completion-list-insert-choice-function): New var.
21654 (completion-setup-function): Preserve it.
21655 (choose-completion): Pay attention to it, shuffle the code a bit.
21656 (choose-completion-string): New arg `insert-function'.
21658 * textmodes/bibtex.el: Convert to lexical binding.
21659 (bibtex-mode-map): Use completion-at-point.
21660 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21661 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21662 (bibtex-complete): Define as obsolete alias.
21663 (bibtex-complete-internal): Remove.
21664 (bibtex-format-entry): Remove unused sub-group in regexp.
21665 * shell.el (shell--command-completion-data)
21666 (shell-environment-variable-completion):
21667 * pcomplete.el (pcomplete-completions-at-point):
21668 * comint.el (comint--complete-file-name-data): Use :exit-function
21669 instead of completion-table-with-terminator so it also works for
21672 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21674 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21676 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21679 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21681 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21683 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21684 customization variable and implement: If non-nil, auto-fill will
21685 be inhibited while on topic's header line.
21687 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21689 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21690 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21691 always have a solution in grid size = 5 cases.
21692 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21693 (5x5-solver-output, 5x5-log-buffer): New vars.
21694 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21695 Make these variables buffer local to achieve 5x5 multi-session-ness.
21696 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21697 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21698 (5x5-solve-suggest): New funs.
21699 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21700 randomize a grid so that we ensure that there is always a solution.
21701 (5x5-make-random-grid): Allow other movement than flipping.
21703 2011-05-23 Kevin Ryde <user42@zip.com.au>
21705 * emacs-lisp/advice.el (ad-read-advised-function):
21706 Use `function-called-at-point' as the default, if it has
21707 advice and passes PREDICATE.
21709 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21711 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21712 byte-compile-lambda if it's actually a lambda.
21714 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21715 Fix function quoting. Use backquote better.
21717 2011-05-22 Yuanle Song <sylecn@gmail.com>
21719 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21720 matching (Bug#8516).
21722 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21724 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21725 different face (Bug#8178).
21727 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21729 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21730 defface (Bug#8144).
21732 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21734 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21735 funcall as well (bug#8712). Warn when performing those conversions.
21736 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21738 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21740 2011-05-22 Glenn Morris <rgm@gnu.org>
21742 * files.el (hack-local-variables-prop-line): Small simplifications.
21743 (hack-local-variables, hack-local-variables-prop-line):
21744 If MODE-ONLY, return the mode, rather than just `t'.
21746 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21748 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21750 2011-05-21 Glenn Morris <rgm@gnu.org>
21752 * files.el (hack-local-variables-prop-line, hack-local-variables):
21753 If only interested in the mode, don't bother doing the other stuff.
21755 * image-mode.el (image-after-revert-hook):
21756 Redraw all frames on which the image is visible. (Bug#8567)
21758 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21760 * wid-edit.el (widget-checklist-match-inline):
21761 Fix 2011-04-19 change. (Bug#8649)
21763 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21765 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21766 Also allow singlespace after single-letter capitals followed by a dot.
21768 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21769 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21771 2011-05-20 Nix <nix@esperi.org.uk>
21773 * files.el (basic-save-buffer-2):
21774 Fix handling of break-hardlink-on-save with non-existent files.
21776 2011-05-19 Deniz Dogan <deniz@dogan.se>
21778 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21779 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21781 2011-05-19 Glenn Morris <rgm@gnu.org>
21783 * progmodes/f90.el (f90-type-def-re):
21784 Handle "type, bind(c)". (Bug#8691)
21786 * emacs-lisp/autoload.el (batch-update-autoloads):
21787 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21789 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21791 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21792 property for the correct connection in case of multihops.
21794 2011-05-18 Glenn Morris <rgm@gnu.org>
21796 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21797 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21799 Rationalize calendar handling of day and month abbrev-arrays.
21800 * calendar/calendar.el (calendar-customized-p): New function.
21801 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21802 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21804 (calendar-abbrev-length, calendar-day-abbrev-array)
21805 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21806 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21807 Elements may no longer be nil.
21808 (calendar-day-name, calendar-month-name):
21809 Update for changed nature of abbrev arrays.
21810 * calendar/diary-lib.el (diary-name-pattern):
21811 Update for changed nature of abbrev arrays.
21812 (diary-mark-entries-1): Update calendar-make-alist calls.
21813 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21814 * calendar/cal-html.el (cal-html-day-abbrev-array):
21815 Simply inherit from calendar-day-abbrev-array.
21817 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21819 * progmodes/grep.el (grep-mode): Disable default
21820 compilation-directory-matcher setting (bug#8684).
21822 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21824 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21825 instead of "head" and "tail". There were problems with SunOS 5.9,
21826 and it performs better.
21828 2011-05-17 Glenn Morris <rgm@gnu.org>
21830 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21832 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21833 Replace obsolete function.
21835 * shell.el (pcomplete-parse-arguments-function): Declare.
21837 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21838 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21839 (appt-check): Doc fixes.
21840 (appt-disp-window-function, appt-delete-window-function):
21841 Remove needless special case in custom :type.
21842 (appt-display-count): Default to 0, not nil.
21843 (appt-check): Reset appt-display-count to 0, not nil.
21845 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21847 * progmodes/python.el (python-font-lock-keywords):
21848 Add the Python 3.X keyword "nonlocal" (bug#8639).
21850 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21852 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21854 2011-05-16 Kevin Ryde <user42@zip.com.au>
21856 * info-look.el (makefile-automake-mode): New setups, looking in
21857 automake manual, then makefile-mode.
21858 (makefile-mode): Remove automake manual, have it just in
21859 makefile-automake-mode since there's various things different or
21860 not relevant to plain make.
21861 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21862 believe a hypothetical automake-mode would go to makefile-mode,
21863 not the other way around.
21865 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21867 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21868 hunk-end tags (Bug#8672).
21870 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21871 vc-annotate-show-diff-revision-at-line (Bug#8671).
21873 2011-05-14 Glenn Morris <rgm@gnu.org>
21875 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21876 in the middle of an existing one with multiple authors. (Bug#8645)
21877 (change-log-font-lock-keywords): Also handle multiple author lines
21878 with leading tabs. (Bug#8644)
21880 * calendar/appt.el (appt-check): Rename some local variables.
21881 Some simplification/reordering.
21883 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21884 (feedmail-sendmail-f-doesnt-sell-me-out)
21885 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21886 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21887 (feedmail-queue-runner-message-sender): Set :version.
21888 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21889 (bbdb-dwim-net-address, vm-mail): Declare.
21890 (feedmail-binmail-gnulinuxish-template):
21891 Rename from feedmail-binmail-linuxish-template.
21892 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21893 Use insert-buffer-substring.
21895 2011-05-14 Bill Carpenter <bill@carpenter.org>
21897 * mail/feedmail.el (feedmail-patch-level): Increase.
21898 (feedmail-debug): New custom group.
21899 (feedmail-confirm-outgoing-timeout)
21900 (feedmail-sendmail-f-doesnt-sell-me-out)
21901 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21902 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21903 (feedmail-sender-line, feedmail-from-line)
21904 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21905 (feedmail-spray-this-address)
21906 (feedmail-spray-address-fiddle-plex-list)
21907 (feedmail-queue-use-send-time-for-date)
21908 (feedmail-queue-use-send-time-for-message-id)
21909 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21910 (feedmail-buffer-eating-function):
21912 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21913 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21914 (feedmail-message-action-scroll-down): New functions.
21915 (feedmail-queue-directory, feedmail-queue-draft-directory):
21916 Use expand-file-name.
21917 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21918 Remove C-v help entry.
21919 (feedmail-queue-buffer-file-name): New variable.
21920 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21921 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21922 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21923 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21924 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21925 (feedmail-message-action-toggle-spray)
21926 (feedmail-run-the-queue-no-prompts)
21927 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21928 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21929 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21930 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21931 (feedmail-envelope-deducer, feedmail-fiddle-from)
21932 (feedmail-fiddle-sender, feedmail-default-date-generator)
21933 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21934 (feedmail-fiddle-spray-address)
21935 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21936 (feedmail-fiddle-list-of-fiddle-plexes)
21937 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21938 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21939 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21940 Change default. Doc fix.
21941 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21942 (feedmail-binmail-linuxish-template): New constant.
21943 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21944 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21945 (feedmail-send-it): Add debug call.
21946 Use feedmail-queue-buffer-file-name, and
21947 feedmail-send-it-immediately-wrapper.
21948 (feedmail-message-action-send): Add debug call.
21949 Use feedmail-send-it-immediately-wrapper.
21950 (feedmail-queue-express-to-queue): Add debug call.
21951 Run feedmail-queue-express-hook.
21952 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21953 (feedmail-message-action-help-blat):
21954 Rename from feedmail-queue-send-edit-prompt-help-first.
21955 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21956 Check line-endings. Handle errors better.
21957 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21958 Doc fix. Add debug call.
21959 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21960 Use feedmail-queue-send-edit-prompt-inner.
21961 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21962 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21963 from feedmail-queue-send-edit-prompt.
21964 (feedmail-queue-send-edit-prompt-help)
21965 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21966 (feedmail-tidy-up-slug): Add debug call.
21967 Respect feedmail-queue-slug-suspect-regexp.
21968 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21969 (feedmail-dump-message-to-queue): Add debug call.
21970 Expand queue-directory.
21971 (feedmail-dump-message-to-queue): Change message slightly.
21972 Use feedmail-say-chatter.
21973 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21974 (feedmail-send-it-immediately-wrapper): New function.
21975 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21976 Insert empty string rather than newline. Handle full-frame case.
21977 Use catch/throw. Use feedmail-say-chatter.
21978 (feedmail-fiddle-from): Try mail-host-address.
21979 (feedmail-default-message-id-generator): Doc fix.
21980 Bind system-time-locale. Handle missing end.
21981 (feedmail-fiddle-x-mailer): Add debug call.
21982 Handle feedmail-x-mailer-line being nil.
21983 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21984 Add debug call. Use buffer-substring-no-properties.
21985 (feedmail-say-debug, feedmail-say-chatter): New functions.
21986 (feedmail-find-eoh): Give an explicit error.
21988 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
21990 * net/newst-treeview.el (newsticker-treeview-face): Change default
21991 family from helvetica to sans.
21992 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
21993 etc/images/newsticker.
21995 * net/newst-reader.el (newsticker-feed-face): Change default
21996 family from helvetica to sans.
21998 * net/newst-plainview.el (newsticker-new-item-face)
21999 (newsticker-old-item-face, newsticker-immortal-item-face)
22000 (newsticker-obsolete-item-face, newsticker-date-face)
22001 (newsticker-statistics-face): Change default family from
22003 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22004 etc/images/newsticker.
22006 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22007 (newsticker--process-auto-mark-filter-match): Tell user about
22010 2011-05-13 Didier Verna <didier@xemacs.org>
22012 Common Lisp indentation improvements on defmethod and lambda-lists.
22013 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22015 (lisp-lambda-list-keyword-parameter-indentation)
22016 (lisp-lambda-list-keyword-parameter-alignment)
22017 (lisp-lambda-list-keyword-alignment): New customizable user options.
22018 (lisp-indent-defun-method): Improve docstring.
22019 (extended-loop-p): Fix comment.
22020 (lisp-indent-lambda-list-keywords-regexp): New variable.
22021 (lisp-indent-lambda-list): New function.
22022 (lisp-indent-259): Use it.
22023 (lisp-indent-defmethod): Support for more than one
22024 method qualifier and properly indent methods lambda-lists.
22025 (defgeneric): Provide a missing common-lisp-indent-function property.
22027 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22029 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22030 bounds for the empty string (bug#8667).
22032 2011-05-13 Glenn Morris <rgm@gnu.org>
22034 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22036 * mail/sendmail.el (sendmail-program): Try executable-find first.
22037 (sendmail-send-it): `sendmail-program' cannot be unbound.
22039 * calendar/appt.el (appt-make-list): Simplify.
22040 (appt-time-msg-list): Doc fix.
22041 (appt-check): Change mode-line message at the time of the appointment.
22043 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22045 * progmodes/ld-script.el (ld-script-keywords)
22046 (ld-script-builtins): Update keywords list.
22048 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22050 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22052 * shell.el (shell-completion-vars): New function.
22054 * simple.el (read-shell-command): Use it.
22055 (blink-matching-open): No need for " [...]" in minibuffer-message.
22057 2011-05-12 Glenn Morris <rgm@gnu.org>
22059 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22060 (appt-check): Simplify.
22062 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22064 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22065 literal "/dev/null".
22067 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22069 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22072 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22074 * progmodes/which-func.el (which-function):
22075 Use add-log-current-defun instead of add-log-current-defun-function,
22076 which might not be defined (Bug#8260).
22078 2011-05-12 Glenn Morris <rgm@gnu.org>
22080 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22081 Let byte-compile-initial-macro-environment always take precedence.
22083 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22085 * net/rcirc.el: Add support for SSL/TLS connections.
22086 (rcirc-server-alist): New field `encryption'.
22087 (rcirc): Check `encryption' settings.
22088 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22089 Merge make-local-variable into `set'.
22090 (rcirc--connection-open-p): New function.
22091 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22092 the process is not a network process (e.g. running gnutls-cli).
22093 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22094 Make rcirc-(en|de)code-coding-system local here.
22095 (rcirc-mode): Merge make-local-variable into `set'.
22096 (rcirc-parent-buffer): Make permanent buffer-local.
22097 (rcirc-multiline-minor-mode): Don't do it here.
22098 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22099 there's no server buffer.
22101 2011-05-11 Glenn Morris <rgm@gnu.org>
22103 * newcomment.el (comment-kill): Prefix "unused" local.
22105 * term/w32console.el (get-screen-color): Declare.
22107 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22108 Handle symbol elements of byte-compile-initial-macro-environment.
22110 2011-05-10 Leo Liu <sdl.web@gmail.com>
22112 * bookmark.el (bookmark-bmenu-mode-map):
22113 Bind bookmark-bmenu-search to `/'.
22115 * mail/footnote.el: Convert to utf-8 encoding.
22116 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22117 (Footnote-unicode): New function.
22118 (footnote-style-alist): Add unicode style to the list.
22119 (footnote-style): Doc fix.
22121 2011-05-10 Jim Meyering <meyering@redhat.com>
22123 Fix doubled-word typos.
22124 * international/quail.el (quail-insert-kbd-layout): and and -> and
22125 * kermit.el: and and -> and
22126 * net/ldap.el (ldap-search-internal): to to -> to
22127 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22128 * progmodes/js.el (js-mode): and and -> and
22129 * textmodes/artist.el (artist-move-to-xy): at at -> at
22130 (artist-draw-region-trim-line-endings): if if -> if
22131 And Safetyc -> Safety.
22132 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22134 2011-05-10 Glenn Morris <rgm@gnu.org>
22135 Stefan Monnier <monnier@iro.umontreal.ca>
22137 * files.el (hack-one-local-variable-eval-safep):
22138 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22140 2011-05-10 Glenn Morris <rgm@gnu.org>
22142 * calendar/diary-lib.el (diary-list-entries-hook)
22143 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22144 (diary-nongregorian-marking-hook, diary-list-entries)
22145 (diary-include-other-diary-files, diary-mark-entries)
22146 (diary-mark-included-diary-files): Doc fixes.
22148 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22150 * misc.el: Require tabulated-list.el during compilation.
22152 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22154 * progmodes/compile.el (compilation-start):
22155 Run compilation-filter-hook for the async case too.
22156 (compilation-filter-hook): Doc fix.
22158 2011-05-09 Deniz Dogan <deniz@dogan.se>
22160 * wdired.el: Remove outdated installation comment. Fix usage
22163 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22165 * misc.el: Implement new command `list-dynamic-libraries'.
22166 (list-dynamic-libraries--loaded-only-p): New variable.
22167 (list-dynamic-libraries--refresh): New function.
22168 (list-dynamic-libraries): New command.
22170 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22172 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22173 Fix the ant regexp to handle end-line and end-column info from jikes.
22174 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22175 higher priority to avoid clobbering by gnu.
22177 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22179 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22180 if the face has existing theme settings (Bug#8454).
22182 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22184 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22185 Only match variables declared via `my' or `our' (Bug#8261).
22187 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22188 special file names `.' and `..' (Bug#8259).
22190 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22192 * progmodes/grep.el (grep-mode-font-lock-keywords):
22193 Remove buffer-changing entries.
22194 (grep-filter): New function.
22195 (grep-mode): Add it to compilation-filter-hook.
22197 * progmodes/compile.el (compilation-filter-hook)
22198 (compilation-filter-start): New defvars.
22199 (compilation-filter): Call compilation-filter-hook prior to
22200 updating the process mark.
22202 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22204 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22206 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22208 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22209 mailclient-send-it even if window-system is nil. (Bug#8595)
22211 * term/w32console.el (terminal-init-w32console):
22212 Call get-screen-color and use its output to set the frame
22213 background-mode. (Bug#8597)
22215 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22217 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22218 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22220 (defgeneric, eieio--defmethod): Use them.
22221 (eieio-defgeneric): Remove.
22222 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22224 2011-05-07 Glenn Morris <rgm@gnu.org>
22226 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22227 Use let rather than let*.
22228 (timeclock-find-discrep): Remove unused local.
22230 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22232 * calendar/appt.el (appt-time-msg-list): Doc fix.
22234 2011-05-06 Noah Friedman <friedman@splode.com>
22236 * apropos.el (apropos-print-doc): Only use
22237 emacs-lisp-docstring-fill-column when it is bound to an integer,
22238 per that variable's documentation.
22240 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22242 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22243 and warnings are not silently discarded (e.g. use -d instead of -P).
22245 2011-05-06 Glenn Morris <rgm@gnu.org>
22247 * calendar/appt.el (appt-message-warning-time): Doc fix.
22248 (appt-warning-time-regexp): New option.
22249 (appt-make-list): Respect appt-message-warning-time.
22251 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22253 (diary-add-to-list): Strip comments from the displayed string.
22254 (diary-mode): Set comment-start and comment-end.
22256 * vc/diff-mode.el (smerge-refine-subst): Declare.
22257 (diff-refine-hunk): Don't require smerge-mode when compiling.
22259 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22261 * simple.el (list-processes): Return nil as the docstring says.
22263 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22265 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22267 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22268 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22269 determining of binary transfer. (Bug#7383)
22271 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22273 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22274 Fix port computation bug. (Bug#8618)
22276 2011-05-05 Glenn Morris <rgm@gnu.org>
22278 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22280 * simple.el (shell-dynamic-complete-functions)
22281 (comint-dynamic-complete-functions): Declare.
22283 * net/network-stream.el (gnutls-negotiate):
22284 * simple.el (tabulated-list-print): Fix declarations.
22286 * progmodes/gud.el (syntax-symbol, syntax-point):
22287 Remove unnecessary and incorrect declarations.
22289 * emacs-lisp/check-declare.el (check-declare-scan):
22290 Handle byte-compile-initial-macro-environment in bytecomp.el.
22292 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22294 Fix earlier half-done eieio-defmethod change (bug#8338).
22295 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22296 Streamline and change calling convention.
22297 (defmethod): Adjust accordingly and simplify.
22298 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22299 new eieio--defmethod.
22300 (slot-boundp): Minor CSE simplification.
22302 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22304 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22305 (glasses-make-readable): Use glasses-separate-capital-groups.
22307 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22309 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22310 (warning-series): Doc fix.
22311 (display-warning): Don't try to create the buffer if we just found it.
22313 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22315 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22316 (autoload-find-generated-file): New function.
22317 (generate-file-autoloads): Bind generated-autoload-file to
22319 (update-file-autoloads, update-directory-autoloads):
22320 Use autoload-find-generated-file. If called interactively, prompt for
22321 output file (Bug#7989).
22322 (batch-update-autoloads): Doc fix.
22324 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22326 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22328 2011-05-04 Glenn Morris <rgm@gnu.org>
22330 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22331 function, so it follows changes in calendar-date-style.
22332 (diary-fancy-date-matcher): New function.
22333 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22334 (diary-fancy-font-lock-fontify-region-function):
22335 Use diary-fancy-date-pattern as a function.
22337 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22338 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22340 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22342 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22343 instead of positional arguments. Allow :keylist and :crlfiles
22345 (open-gnutls-stream): Call it.
22347 * net/network-stream.el (network-stream-open-starttls): Adjust to
22348 call `gnutls-negotiate' with :process and :hostname arguments.
22350 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22352 * minibuffer.el (completion--message): New function.
22353 (completion--do-completion, minibuffer-complete)
22354 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22355 (completion--do-completion): Don't ignore completion-auto-help when in
22358 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22359 internal encoding (e.g. tibetan zero is not whitespace).
22360 (global-whitespace-mode): Prefer save-current-buffer.
22361 (whitespace-trailing-regexp): Remove useless save-match-data.
22362 (whitespace-empty-at-bob-regexp): Minor simplification.
22364 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22366 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22368 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22370 * textmodes/ispell.el (ispell-add-per-file-word-list):
22371 Use `concat' to create string for insertion.
22373 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22375 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22376 Avoid open-line which runs post-self-insert-hook.
22377 (bibtex-fill-entry): Remove unused `end' var.
22379 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22381 * textmodes/ispell.el (ispell-add-per-file-word-list):
22382 Protect against `nil' value of `comment-start' (Bug#8579).
22384 2011-05-03 Leo Liu <sdl.web@gmail.com>
22386 * isearch.el (isearch-yank-pop): New command.
22387 (isearch-mode-map): Bind it to `M-y'.
22388 (isearch-forward): Mention it.
22390 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22392 * simple.el (minibuffer-complete-shell-command): Remove.
22393 (minibuffer-local-shell-command-map): Use completion-at-point.
22394 (read-shell-command): Setup completion vars here instead.
22395 (read-expression-map): Bind TAB to symbol completion.
22397 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22398 error directly rather via storing it into `results'.
22400 2011-05-02 Leo Liu <sdl.web@gmail.com>
22402 * vc/diff.el: Fix description.
22404 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22406 * server.el (server-eval-at): New function.
22408 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22410 * net/network-stream.el (open-network-stream): Take a :nowait
22411 parameter and pass it on to `make-network-process'.
22412 (network-stream-open-plain): Ditto.
22414 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22416 * faces.el (face-spec-set-match-display): Don't match toolkit
22417 options on terminal frames.
22419 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22421 * progmodes/pascal.el: Use lexical binding.
22422 (pascal-mode-map): Remove author preferences.
22424 * pcomplete.el (pcomplete-std-complete): Don't abuse
22425 completion-at-point.
22427 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22429 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22430 removing code that has been dead since 1991 or so.
22432 * startup.el (command-line): When warning about "_emacs", use a
22433 delayed warning to allow the user to filter it out.
22435 2011-04-28 Deniz Dogan <deniz@dogan.se>
22437 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22438 user has not joined.
22440 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22442 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22443 aren't any completions at point.
22445 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22447 * subr.el (display-delayed-warnings): New function.
22448 (delayed-warnings-hook): New variable.
22450 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22452 * minibuffer.el (completion-at-point, completion-help-at-point):
22453 Don't presume that a given completion-at-point-function will always
22454 use the same calling convention.
22456 * pcomplete.el (pcomplete-completions-at-point):
22457 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22458 pcomplete-seen is non-nil.
22459 (pcomplete-comint-setup): Also recognize the new comint/shell
22460 completion functions.
22461 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22462 pcomplete-seen is non-nil.
22464 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22466 * calendar/icalendar.el (diary-lib): Add require statement.
22467 (icalendar--create-uid): Read out a uid from a text-property on
22468 the first character in the entry. This allows for code to add its
22469 own uid to the entry.
22470 (icalendar--convert-float-to-ical): Add export of
22471 `diary-float'-entries save for those with the optional DAY
22474 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22476 * subr.el (shell-quote-argument): Use alternate escaping strategy
22477 when we spot a variable reference in a string.
22479 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22481 * cus-start.el (all): Define customization for debug-on-event.
22483 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22485 * subr.el (shell-quote-argument): Escape correctly under Windows.
22487 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22489 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22491 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22493 * net/tramp.el (tramp-process-actions): Add POS argument.
22494 Delete region between POS and (pos).
22496 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22497 Use `nil' position in `tramp-process-actions' call.
22498 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22500 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22501 position in `tramp-process-actions' call.
22503 * net/trampver.el: Update release number.
22505 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22507 * custom.el (defcustom): Obey lexical-binding.
22509 Fix octave-inf completion problems reported by Alexander Klimov.
22510 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22511 Inherit from octave-mode-syntax-table.
22512 (inferior-octave-mode): Set info-lookup-mode.
22513 (inferior-octave-completion-at-point): New function.
22514 (inferior-octave-complete): Use it and completion-in-region.
22515 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22516 comint-filename-completion.
22517 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22518 symbol elements which shouldn't be word elements.
22519 (octave-font-lock-keywords, octave-beginning-of-defun)
22520 (octave-function-header-regexp): Adjust regexps accordingly.
22521 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22523 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22525 * net/gnutls.el (gnutls-errorp): Declare before first use.
22527 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22529 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22530 verify-error, and verify-hostname-error parameters. Check whether
22531 default trustfile exists before going to use it. Add missing
22532 argument to gnutls-message-maybe call. Return value.
22533 Reported by Claudio Bley <claudio.bley@gmail.com>.
22534 (open-gnutls-stream): Add usage example.
22536 * net/network-stream.el (network-stream-open-starttls): Give host
22537 parameter to `gnutls-negotiate'.
22538 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22539 * subr.el (shell-quote-argument): Escape correctly under Windows.
22541 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22543 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22544 Use correct match group (bug#8438).
22546 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22548 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22549 (package-menu--generate): New arg specifying packages to show.
22550 (package-menu-refresh, package-menu-execute, list-packages):
22552 (package-show-package-list): New function, replacing deleted
22553 package--list-packages (renamed because it is non-internal).
22555 * finder.el (finder-list-matches): Use package-show-package-list
22556 instead of deleted package--list-packages.
22558 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22559 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22560 (vc-annotate-mode-map): Bind it to RET.
22562 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22564 * progmodes/etags.el (next-file): Don't use set-buffer to change
22565 buffers (Bug#8478).
22567 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22569 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22571 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22572 (apropos-accumulator): Doc fix.
22573 (apropos-function, apropos-macro, apropos-command)
22574 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22575 (apropos-plist): Add face property.
22576 (apropos-symbols-internal): Fix indentation.
22577 (apropos-print): Simplify help, and recognize apropos-multi-type.
22578 (apropos-print-doc): Use button-type-get to extract the button's
22579 face property. Fill docstring (Bug#8352).
22581 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22583 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22585 * play/mpuz.el (mpuz-silent): Doc fix.
22586 (mpuz-mode-map): Use mapc.
22587 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22588 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22589 Fix typos in docstrings.
22591 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22592 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22594 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22596 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22598 * minibuffer.el (completion--do-completion): Avoid the "Next char
22599 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22601 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22602 mouse-2 into unread-command-events, it is interpreted correctly.
22604 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22605 (image-toggle-display): Doc fix.
22607 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22609 * textmodes/page.el (what-page): Use line-number-at-pos to
22610 calculate line number (Bug#6825).
22612 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22614 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22615 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22616 Pass argument NO-DEFAULT to `find-tag-interactive'.
22618 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22620 Lexical-binding cleanup.
22622 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22623 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22624 * progmodes/ada-prj.el (ada-prj-initialize-values)
22625 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22626 (ada-prj-show-value):
22627 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22628 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22629 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22630 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22631 * progmodes/bug-reference.el (bug-reference-push-button):
22632 * progmodes/fortran.el (fortran-line-length):
22633 * progmodes/glasses.el (glasses-change):
22634 * progmodes/octave-mod.el (octave-fill-paragraph):
22635 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22636 (python-pdbtrack-grub-for-buffer, python-sentinel):
22637 * progmodes/sql.el (sql-save-connection):
22638 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22639 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22640 Mark unused parameters.
22642 * progmodes/compile.el (compilation--flush-directory-cache)
22643 (compilation--flush-parse, compile-internal): Mark unused parameters.
22644 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22645 (compilation-next-error-function): Remove unused variable `timestamp'.
22647 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22648 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22650 * progmodes/dcl-mode.el (dcl-end-of-command):
22651 Remove unused variable `start'.
22652 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22653 (dcl-option-value-basic, dcl-option-value-offset)
22654 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22655 Mark unused parameters.
22656 (dcl-save-local-variable): Remove unused variable `val'.
22659 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22660 Mark unused parameters.
22661 (delphi-ignore-changes): Move before first use.
22662 (delphi-charset-token-at): Remove unused variable `start'.
22663 (delphi-else-start): Remove unused variable `if-count'.
22664 (delphi-comment-block-start, delphi-comment-block-end):
22665 Remove unused variable `kind'.
22666 (delphi-indent-line): Remove unused variable `new-point'.
22668 * progmodes/ebrowse.el (ebrowse-files-list)
22669 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22670 Mark unused parameters. Don't quote `lambda'.
22671 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22672 Don't quote `lambda'.
22673 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22674 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22675 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22676 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22677 Use `ignore-errors'.
22678 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22679 (ebrowse-view/find-file-and-search-pattern)
22680 (ebrowse-view/find-member-declaration/definition):
22681 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22682 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22683 Rename parameter PREFIX-ARG to PREFIX.
22684 (ebrowse-tags-read-name): Remove unused variables `start' and
22686 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22689 * progmodes/etags.el (local-find-tag-hook): Declare.
22690 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22691 Mark unused parameters.
22693 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22694 (executable-interpret): Mark unused parameter.
22696 * progmodes/flymake.el (flymake-process-sentinel)
22697 (flymake-after-change-function)
22698 (flymake-create-temp-with-folder-structure)
22699 (flymake-get-include-dirs-dot): Mark unused parameters.
22700 (flymake-safe-delete-directory): Remove unused variable `err'.
22702 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22703 (speedbar-timer-fn, speedbar-line-text)
22704 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22705 (speedbar-center-buffer-smartly): Declare functions.
22706 (gdb-find-watch-expression): Remove unused variable `array'.
22707 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22708 (gdb-starting): Mark unused parameters.
22709 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22710 (gdb-table-string): Remove unused variable `res'.
22711 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22712 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22713 (gdb-display-buffer): Remove unused variable `cur-size'.
22715 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22716 allow lexical-binding compilation.
22717 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22718 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22719 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22720 Mark unused parameters.
22721 (gud-gdb-marker-filter): Remove unused variable `match'.
22722 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22723 lambda expressions and funcall them, instead of using `fset'.
22725 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22726 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22728 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22729 variable `header-beg'; use `let'.
22731 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22732 `restart', `last-sexp' and `at-do'.
22734 * progmodes/js.el (js--debug): Mark unused parameter.
22735 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22736 (js--splice-into-items): Remove unused variable `item'.
22737 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22739 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22740 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22741 (makefile-complete): Remove unused variable `try'.
22742 (makefile-fill-paragraph, makefile-match-function-end):
22743 Mark unused parameters.
22745 * progmodes/octave-inf.el (inferior-octave-complete):
22746 Remove unused variable `proc'.
22747 (inferior-octave-output-digest): Mark unused parameter.
22749 * progmodes/perl-mode.el (perl-calculate-indent):
22750 Remove unused variable `err'.
22752 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22753 (prolog-indent-line): Mark unused parameters.
22754 (prolog-indent-line): Remove unused variable `beg'.
22756 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22757 (reporter-dont-compact-list): Declare.
22759 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22760 Remove unused variable `char'.
22761 (sh-debug): Mark unused parameter.
22762 (sh-get-indent-info): Remove unused variable `start'.
22763 (sh-calculate-indent): Remove unused variable `var'.
22765 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22766 (simula-electric-keyword): Remove unused variable `null'.
22767 (simula-search-backward, simula-search-forward): Remove unused
22768 variables `begin' and `end'.
22770 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22771 Remove unused variable `pos'.
22772 (vera-electric-tab, vera-comment-uncomment-region):
22773 Mark unused parameters.
22774 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22776 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22778 * emacs-lisp/package.el (package--builtins, package-alist)
22779 (package-load-descriptor, package-built-in-p, package-activate)
22780 (define-package, package-installed-p)
22781 (package-compute-transaction, package-buffer-info)
22782 (package--push): Doc fix. Distinguish more clearly between
22783 version strings and version lists.
22785 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22787 Lexical-binding cleanup.
22789 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22790 (5x5-make-mutate-best):
22791 * play/fortune.el (fortune-in-buffer):
22792 * play/gomoku.el (gomoku-init-display):
22793 * play/solitaire.el (solitaire, solitaire-do-check):
22794 * play/tetris.el (tetris-default-update-speed-function):
22795 Mark unused parameters.
22797 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22798 (bubbles--shift): Remove unused variable `char-org'.
22799 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22800 (bubbles--show-images): Remove unused variable `char'.
22802 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22803 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22804 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22805 (decipher-analyze-buffer): Use ?\s.
22806 (decipher-make-checkpoint): Remove unused variable `mapping'.
22808 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22810 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22811 Remove unused variable `result'; use `let'.
22813 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22814 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22815 (gametree-children-shown-p, gametree-compute-reduced-score):
22816 Use `ignore-errors'.
22818 * play/handwrite.el (ps-lpr-switches): Declare.
22819 (handwrite): Remove unused variables `pmin' and `lastp'.
22821 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22823 * play/landmark.el (landmark-init-display)
22824 (landmark-update-naught-weights): Mark unused parameters.
22825 (landmark-y): Remove unused variable `noise'. Simplify.
22826 (landmark-human-plays): Remove unused variable `score'.
22828 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22829 (mpuz-try-proposal): Remove unused variable `game'.
22831 * play/zone.el (life-patterns): Declare.
22833 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22835 * vc/vc.el (ediff-vc-internal): Declare function.
22837 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22839 * shell.el: Use lexical-binding and std completion UI.
22840 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22841 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22842 comint-preoutput-filter-functions rather than on
22843 comint-output-filter-functions.
22844 (shell-command-completion, shell--command-completion-data)
22845 (shell-filename-completion, shell-environment-variable-completion)
22846 (shell-c-a-p-replace-by-expanded-directory): New functions.
22847 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22848 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22849 (shell-dynamic-complete-environment-variable): Use them.
22850 (shell-dynamic-complete-as-environment-variable)
22851 (shell-dynamic-complete-as-command): Remove.
22852 (shell-match-partial-variable): Match past point.
22853 * comint.el: Clean up use of completion-at-point-functions.
22854 (comint-completion-at-point): New function.
22855 (comint-mode): Use it completion-at-point-functions.
22856 (comint-dynamic-complete): Make it obsolete.
22857 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22858 (comint-c-a-p-replace-by-expanded-history): New function.
22859 (comint-dynamic-complete-functions)
22860 (comint-replace-by-expanded-history): Use it.
22861 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22862 termination strings. Try harder to avoid second try-completion.
22863 (completion-in-region-mode-map): Disable bindings that don't work yet.
22865 * comint.el: Use lexical-binding. Require CL.
22866 (comint-dynamic-complete-functions): Use comint-filename-completion.
22867 (comint-completion-addsuffix): Tweak custom type.
22868 (comint-filename-completion, comint--common-suffix)
22869 (comint--common-quoted-suffix, comint--table-subvert)
22870 (comint--complete-file-name-data): New functions.
22871 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22872 (comint-dynamic-list-filename-completions): Use them.
22873 (comint-dynamic-simple-complete): Make obsolete.
22875 * minibuffer.el (completion-in-region-mode):
22876 Keep completion-in-region-mode--predicate global.
22877 (completion-in-region--postch):
22878 Assume completion-in-region-mode--predicate is not null.
22880 * progmodes/flymake.el (flymake-start-syntax-check-process):
22881 Obey `dir'. Simplify.
22883 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22884 we're in VC after all.
22886 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22888 * vc/vc.el (vc-diff-build-argument-list-internal)
22889 (vc-version-ediff, vc-ediff): New commands.
22890 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22892 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22894 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22897 * obsolete/erc-hecomplete.el: Make obsolete.
22898 * obsolete/: Standardize obsolescence info in the header.
22900 2011-04-20 Glenn Morris <rgm@gnu.org>
22902 * calendar/solar.el (solar-horizontal-coordinates):
22903 Use the longitude argument rather than `calendar-longitude'.
22904 (solar-date-next-longitude): Remove unused locals.
22906 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22908 * whitespace.el: New version 13.2.1.
22910 2011-04-20 felix <EmacsWiki> (tiny change)
22912 * whitespace.el (global-whitespace-mode): Keep highlight when
22913 switching between major modes on a file.
22915 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22917 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22918 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22919 multi-line comments as well.
22921 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22923 Lexical-binding cleanup.
22925 * arc-mode.el (archive-mode-revert):
22926 * cmuscheme.el (scheme-interactively-start-process):
22927 * custom.el (custom-initialize-delay):
22928 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22929 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22930 * emacs-lock.el (emacs-lock-clear-sentinel):
22931 * ezimage.el (defezimage):
22932 * follow.el (follow-avoid-tail-recenter):
22933 * fringe.el (set-fringe-mode-1):
22934 * generic-x.el (bat-generic-mode-compile):
22935 * help-mode.el (help-info-variable, help-do-xref)
22936 (help-mode-revert-buffer):
22937 * help.el (view-emacs-todo):
22938 * iswitchb.el (iswitchb-completion-help):
22939 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22940 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22941 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22942 * locate.el (locate-update):
22943 * longlines.el (longlines-encode-region)
22944 (longlines-after-change-function):
22945 * outline.el (outline-isearch-open-invisible):
22946 * ps-def.el (declare-function, charset-dimension, char-width)
22948 * ps-mule.el (ps-mule-plot-string):
22949 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22950 (recentf-edit-list-select, recentf-edit-list-validate)
22951 (recentf-open-files-action):
22952 * rect.el (delete-whitespace-rectangle-line)
22953 (rectangle-number-line-callback):
22954 * register.el (window-configuration-to-register)
22955 (frame-configuration-to-register):
22956 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22957 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22958 (xselect-convert-to-targets, xselect-convert-to-delete)
22959 (xselect-convert-to-filename, xselect-convert-to-charpos)
22960 (xselect-convert-to-lineno, xselect-convert-to-colno)
22961 (xselect-convert-to-os, xselect-convert-to-host)
22962 (xselect-convert-to-user, xselect-convert-to-class)
22963 (xselect-convert-to-name, xselect-convert-to-integer)
22964 (xselect-convert-to-atom, xselect-convert-to-identity):
22965 * subr.el (declare, ignore, process-kill-without-query)
22966 (text-clone-maintain):
22967 * terminal.el (te-get-char, te-tic-sentinel):
22968 * tool-bar.el (tool-bar-make-keymap):
22969 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22970 * type-break.el (type-break-mode, type-break-noninteractive-query):
22971 * view.el (View-back-to-mark):
22972 * wid-browse.el (widget-browse-action, widget-browse-widget)
22973 (widget-browse-widgets, widget-browse-sexp):
22974 * widget.el (define-widget-keywords):
22975 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22976 Mark unused parameters.
22978 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22979 (align-areas): Remove unused variable `look'.
22980 (align-region): Remove unused variables `real-end' and `pos-list'.
22982 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22984 * bindings.el (mode-line-modified, mode-line-remote):
22985 Mark unused parameters.
22986 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22988 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22989 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22991 * comint.el (comint-history-isearch-pop-state)
22992 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22993 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22994 (comint-substitute-in-file-name): Doc fix.
22996 * completion.el (cmpl-statistics-block): Mark unused parameter.
22997 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22998 (save-completions-to-file, load-completions-from-file):
22999 Remove unused local variable `e'.
23001 * composite.el (compose-chars): Remove unused variable `len'.
23002 (lgstring-insert-glyph): Remove unused variable `g'.
23003 (compose-glyph-string): Remove unused variables `ascent',
23004 `descent', `lbearing' and `rbearing'.
23005 (compose-glyph-string-relative): Remove unused variables
23006 `lbearing', `rbearing' and `wadjust'.
23007 (compose-gstring-for-graphic): Remove unused variables `header',
23008 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23009 (compose-gstring-for-terminal): Remove unused variables `header'
23010 and `nchars'. Use `let', not `let*'.
23012 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23013 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23014 (Custom-buffer-done, custom-buffer-create-internal)
23015 (custom-browse-visibility-action, custom-browse-group-tag-action)
23016 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23017 (widget-magic-mouse-down-action, custom-toggle-parent)
23018 (custom-add-parent-links, custom-toggle-hide-variable)
23019 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23020 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23021 (custom-face-menu-create, custom-variable-menu-create, get)
23022 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23023 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23024 (customize-apropos): Remove unused variable `tests'.
23025 (custom-group-value-create): Remove unused variable `hidden-p'.
23026 (sort-fold-case): Declare.
23028 * cus-theme.el (custom-reset-standard-faces-list)
23029 (custom-reset-standard-variables-list): Declare.
23030 (customize-create-theme, custom-theme-revert, custom-theme-write)
23031 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23032 Mark unused parameters.
23034 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23036 * delim-col.el (delimit-columns-max): Move defvar before first use.
23038 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23039 (describe-char): Don't quote `lambda'. Mark unused parameter.
23041 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23042 (auto-insert): Declare.
23043 (desktop-restore-file-buffer): Rename desktop-* parameters;
23045 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23046 (desktop-buffer): Rename desktop-* parameters.
23048 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23049 (dframe-reposition-frame-xemacs, dframe-help-echo)
23050 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23051 Mark unused parameters.
23053 * dired-aux.el (backup-extract-version-start, overwrite-query)
23054 (overwrite-backup-query, rename-regexp-query)
23055 (rename-non-directory-query): Declare.
23056 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23057 (dired-add-entry): Remove unused variable `orig-file-name'.
23058 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23059 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23060 `dired-copy-preserve-time' directly.
23061 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23062 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23064 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23065 (dired-virtual-revert, dired-make-relative-symlink):
23066 Mark unused parameters.
23067 (manual-program): Declare.
23068 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23069 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23070 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23072 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23074 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23076 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23079 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23081 * electric.el (Electric-command-loop): Rename parameter
23082 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23084 * expand.el (expand-in-literal): Remove unused variable `here'.
23086 * facemenu.el (facemenu-add-new-color):
23087 Remove unused variable `docstring'.
23089 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23090 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23091 (face-attr-construct): Mark unused parameter. Doc fix.
23092 (read-color): Remove unused variable `hex-string'.
23094 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23095 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23096 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23097 (display-buffer-other-frame): Remove unused variable `old-window'.
23098 (kill-buffer-hook): Declare.
23099 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23100 Mark unused parameters.
23101 (after-find-file): Pass 1 to `auto-save-mode', not t.
23103 * files-x.el (auto-insert): Declare.
23104 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23106 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23107 variable `buf'. Mark unused parameter.
23108 (find-lisp-insert-directory): Mark unused parameter.
23110 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23111 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23112 (format-common-tail): Remove, unused.
23113 (format-deannotate-region): Remove unused variable `loc'.
23114 (format-annotate-region): Remove unused variable `p'.
23115 (format-annotate-single-property-change): Remove unused variables
23116 `default' and `tail'.
23118 * forms.el (read-file-filter): Declare.
23119 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23121 * frame.el (frame-creation-function-alist): Mark unused parameter.
23122 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23124 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23125 Remove unused parameters.
23126 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23127 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23129 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23130 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23131 (hfy-prepare-tag-map): Mark unused parameters.
23132 (htmlfontify-buffer): Use `called-interactively-p'.
23134 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23135 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23136 (ibuffer-do-occur): Mark unused parameters.
23137 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23138 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23140 * ibuffer.el: Don't quote `lambda'.
23141 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23142 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23143 Mark unused parameters.
23145 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23146 (ido-completing-read): Mark unused parameters.
23147 (ido-copy-current-word): Mark unused parameters;
23148 remove unused variable `name'.
23149 (ido-sort-merged-list): Remove unused parameter `dirs'.
23151 * ielm.el (ielm-input-sender): Mark unused parameter.
23152 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23153 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23154 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23155 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23156 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23158 * image-dired.el (image-dired-display-thumbs): Remove unused
23159 variables `curr-file' and `count'.
23160 (image-dired-remove-tag): Remove unused variable `start'.
23161 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23162 variable `curr-file'
23163 (image-dired-rotate-original): Remove unused variable `temp-file'.
23164 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23165 Remove unused variable `file'.
23166 (image-dired-gallery-generate): Remove unused variable `curr'.
23167 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23169 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23171 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23173 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23175 * isearch.el (minibuffer-history-symbol): Declare.
23176 (isearch-edit-string): Remove unused variable `err'.
23177 (isearch-message-prefix, isearch-message-suffix):
23178 Mark unused parameters.
23180 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23182 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23184 * makesum.el (double-column): Remove unused variable `cnt'.
23186 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23187 (ido-ignore-item-temp-list): Declare.
23189 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23190 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23191 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23192 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23195 * mouse-sel.el (mouse-extend-internal):
23196 Remove unused variable `orig-window-frame'.
23198 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23199 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23200 Move declarations before first use.
23201 (pcomplete-opt): Mark unused parameters; doc fix.
23203 * proced.el (proced-revert): Mark unused parameter.
23204 (proced-send-signal): Remove unused variable `err'.
23206 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23207 Rename parameter PREFIX-ARG to ARG.
23208 (ps-basic-plot-string, ps-basic-plot-whitespace):
23209 Mark unused parameters.
23211 * replace.el (replace-count): Define.
23212 (occur-revert-function): Mark unused parameters.
23213 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23214 (isearch-case-fold-search, isearch-string): Declare.
23215 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23216 bind `case-fold-search'. Remove unused variables `beg' and `end',
23218 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23219 COUNT and bind `replace-count'.
23220 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23223 * savehist.el (print-readably, print-string-length): Declare.
23225 * shadowfile.el (shadow-expand-cluster-in-file-name):
23226 Remove unused variable `cluster'.
23227 (shadow-copy-file): Remove unused variable `i'.
23228 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23229 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23230 (shadow-define-literal-group, shadow-define-regexp-group)
23231 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23233 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23234 (shell): Use `called-interactively-p'.
23235 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23237 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23238 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23239 (delete-backward-char): Remove unused variable `ocol'.
23240 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23241 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23242 (event-apply-hyper-modifier, event-apply-shift-modifier)
23243 (event-apply-control-modifier, event-apply-meta-modifier):
23244 Mark unused parameters.
23245 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23246 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23248 * speedbar.el (speedbar-ignored-directory-expressions)
23249 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23250 (speedbar-find-file, speedbar-dir-follow)
23251 (speedbar-directory-buttons-follow, speedbar-tag-find)
23252 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23253 (speedbar-buffers-line-directory, speedbar-buffer-click):
23254 Mark unused parameters.
23255 (speedbar-tag-file): Remove unused variable `mode'.
23256 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23258 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23260 * talk.el (talk): Remove unused variable `display'.
23262 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23263 (tar-write-region-annotate): Mark unused parameter.
23265 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23266 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23267 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23268 warning by another.
23270 * time-stamp.el (time-stamp-string-preprocess):
23271 Remove unused variable `require-padding'.
23273 * tree-widget.el (widget-glyph-enable): Declare.
23274 (tree-widget-action): Mark unused parameter.
23276 * w32-fns.el (x-get-selection): Mark unused parameter.
23277 (autoload-make-program, generated-autoload-file): Declare.
23279 * wdired.el (wdired-revert): Mark unused parameters.
23280 (wdired-xcase-word): Remove unused variable `err'.
23282 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23283 (whitespace-help-scroll): Remove unused variable `data-help'.
23285 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23286 (widget-image-insert, widget-after-change, default)
23287 (widget-default-format-handler, widget-default-notify)
23288 (widget-default-prompt-value, widget-info-link-action)
23289 (widget-url-link-action, widget-function-link-action)
23290 (widget-variable-link-action, widget-file-link-action)
23291 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23292 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23293 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23294 (widget-insert-button-action, widget-delete-button-action, visibility)
23295 (widget-documentation-link-action, widget-documentation-string-action)
23296 (widget-const-prompt-value, widget-regexp-match, symbol)
23297 (widget-coding-system-prompt-value)
23298 (widget-key-sequence-value-to-external, sexp)
23299 (widget-sexp-value-to-internal, character, vector, cons)
23300 (widget-choice-prompt-value, widget-boolean-prompt-value)
23301 (widget-color--choose-action): Mark unused parameters.
23302 (widget-item-match-inline, widget-choice-match-inline)
23303 (widget-checklist-match, widget-checklist-match-inline)
23304 (widget-group-match): Rename parameter VALUES to VALS.
23305 (widget-field-value-set): Remove unused variable `size'.
23306 (widget-color-action): Remove unused variables `value' and `start'.
23308 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23309 variable `dir'. Doc fix.
23310 (windmove-find-other-window): Don't pass it.
23312 * window.el (count-windows): Mark unused parameter.
23313 (bw-adjust-window): Remove unused variable `err'.
23315 * woman.el (woman-file-name): Remove unused variable `default'.
23316 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23317 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23318 (global-font-lock-mode): Declare.
23319 (woman-decode-region): Mark unused parameter.
23320 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23322 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23323 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23324 (x-dnd-handle-moz-url): Remove unused variable `title'.
23325 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23327 * xml.el (xml-parse-tag, xml-parse-attlist):
23328 Remove unused variable `pos'.
23330 2011-04-19 Glenn Morris <rgm@gnu.org>
23332 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23333 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23334 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23335 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23336 * calendar/cal-html.el (cal-html-insert-minical):
23337 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23338 (calendar-mark-date-pattern):
23339 Prefix "unused" locals.
23341 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23342 optional argument `style'.
23344 * calendar/appt.el (appt-make-list):
23345 * calendar/cal-china.el (calendar-chinese-date-string):
23346 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23347 (diary-hebrew-yahrzeit):
23348 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23349 * calendar/calendar.el (calendar-generate-window):
23350 * calendar/time-date.el (time-to-days):
23351 Remove unused local variables.
23353 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23355 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23356 glyphless-char-display table.
23357 (tabulated-list-glyphless-char-display): New var.
23359 2011-04-18 Sam Steingold <sds@gnu.org>
23361 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23362 to acknowledgments.
23364 2011-04-17 Glenn Morris <rgm@gnu.org>
23366 * calendar/diary-lib.el (diary-sexp-entry):
23367 * calendar/holidays.el (holiday-sexp):
23368 Set debug-on-error rather than the removed stack-trace-on-error.
23370 2011-04-16 Glenn Morris <rgm@gnu.org>
23372 * progmodes/f90.el: Use lexical-binding.
23373 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23375 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23377 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23378 (mail-mode): Setup mailalias completion here instead.
23379 * mail/mailalias.el: Use lexical-binding.
23380 (pattern, mailalias-done): Declare dynamic.
23381 (mail-completion-at-point-function): New function, from mail-complete.
23382 (mail-complete): Use it.
23383 (mail-completion-expand): New function.
23384 (mail-get-names): Use it.
23385 (mail-directory, mail-directory-process, mail-directory-stream):
23386 Don't use `pattern' for lexically bound arg.
23388 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23390 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23391 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23392 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23394 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23395 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23396 (byte-interactive-p): Define them again, for use when inlining
23399 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23401 * loadup.el: Use `string-to-number', not `string-to-int'.
23403 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23405 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23406 gud-gdb-complete-command.
23407 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23408 (gud-gdb-completion-at-point): New function.
23409 (gud-gdb-completions): Remove.
23411 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23413 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23414 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23415 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23416 whether `executable-find' is bound.
23418 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23420 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23422 * minibuffer.el (completion-in-region-mode-predicate)
23423 (completion-in-region-mode--predicate): New vars.
23424 (completion-in-region, completion-in-region--postch)
23425 (completion-in-region-mode): Use them.
23426 (completion--capf-wrapper): Also return the hook function.
23427 (completion-at-point, completion-help-at-point):
23428 Adjust and provide a predicate.
23430 Preserve arg names for advice of subr and lexical functions (bug#8457).
23431 * help-fns.el (help-function-arglist): Consolidate the subr and
23432 new-byte-code cases. Add argument `preserve-names' to extract names
23433 from the docstring when needed.
23434 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23435 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23436 (ad-arglist): Use help-function-arglist's new arg.
23437 (ad-definition-type): Use cond.
23439 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23441 * autorevert.el (auto-revert-handler):
23442 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23443 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23444 Don't quote lambda.
23446 * image-mode.el (image-transform-set-scale):
23447 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23449 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23451 * net/network-stream.el (network-stream-open-starttls): Only do
23452 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23453 Upgrades via gnutls-cli are too slow to be done opportunistically.
23455 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23457 * dframe.el (dframe-current-frame): Remove spurious quote.
23459 2011-04-12 Glenn Morris <rgm@gnu.org>
23461 * calendar/cal-tex.el (cal-tex-end-document):
23462 Try to automatically use latin1 input if needed.
23464 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23465 Don't try to cons a mark onto an empty element.
23467 2011-04-11 Leo Liu <sdl.web@gmail.com>
23469 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23471 (ido-kill-buffer-at-head): Support killing virtual buffers.
23473 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23475 * minibuffer.el (completion-show-inline-help): New var.
23476 (completion--do-completion, minibuffer-complete)
23477 (minibuffer-force-complete, minibuffer-complete-word):
23478 Inhibit minibuffer messages if completion-show-inline-help is nil.
23480 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23481 to avoid interference from inline help (Bug#5849).
23483 2011-04-10 Leo Liu <sdl.web@gmail.com>
23485 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23488 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23490 * image-mode.el (image-toggle-display-image): Signal an error if
23492 (image-transform-mode, image-transform-resize)
23493 (image-transform-set-rotation): Doc fix.
23494 (image-transform-set-resize): Delete.
23495 (image-transform-set-scale, image-transform-fit-to-height)
23496 (image-transform-fit-to-width): Handle image-toggle-display-image
23497 and image-transform-resize directly.
23499 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23501 * doc-view.el (doc-view-fit-width-to-window)
23502 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23503 New functions for fitting the shown image to the Emacs window size.
23504 (doc-view-mode-map): Add bindings for the new functions.
23506 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23508 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23509 Fix typo in docstring.
23511 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23513 * files.el (file-size-human-readable): Produce one digit after
23514 decimal, like "ls -lh" does.
23516 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23517 the file size representation.
23519 * simple.el (list-processes): If async subprocesses are not
23520 available, error out with a clear error message.
23522 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23524 * help.el (help-form-show): New function, to be called from C.
23525 Put help-form output in a buffer named differently than *Help*.
23527 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23529 * files.el (file-size-human-readable): New function.
23531 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23532 computing the representation inline. Don't require `cl'.
23534 2011-04-08 Glenn Morris <rgm@gnu.org>
23536 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23538 * net/browse-url.el (browse-url-firefox):
23539 Test system-type, not system-configuration.
23541 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23542 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23543 Use log-edit-empty-buffer-p. (Bug#7598)
23545 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23546 (rlogin-mode-map): Initialize in the defvar.
23547 (rlogin): Use ignore-errors.
23549 * replace.el (occur-mode-map): Some fixes for menu items.
23551 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23553 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23555 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23557 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23558 issuing unused warnings.
23560 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23563 * simple.el: Lisp reimplement of list-processes. Based on an
23564 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23565 (process-menu-mode): New major mode.
23566 (list-processes--refresh, list-processes):
23567 (process-menu-visit-buffer): New functions.
23569 * files.el (save-buffers-kill-emacs): Don't assume any return
23570 value of list-processes, which is undocumented anyway.
23572 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23574 * emacs-lisp/tabulated-list.el: New file.
23576 * emacs-lisp/package.el: Use Tabulated List mode.
23577 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23578 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23579 table format using Tabulated List mode variables.
23580 (package--push): New macro, replacing package-list-maybe-add.
23581 (package-menu--generate): Use package--push. Renamed from
23582 package--generate-package-list.
23583 (package-menu-refresh, list-packages): Use it.
23584 (package-menu--print-info): Rename from package-print-package.
23585 Return insertion data instead of inserting it directly.
23586 (package-menu-describe-package, package-menu-execute):
23587 Use tabulated-list-get-id.
23588 (package-menu-mark-delete, package-menu-mark-install)
23589 (package-menu-mark-unmark, package-menu-backup-unmark)
23590 (package-menu-mark-obsolete-for-deletion):
23591 Use tabulated-list-put-tag.
23592 (package--list-packages, package-menu-revert)
23593 (package-menu-get-package, package-menu-get-version)
23594 (package-menu-sort-by-column): Functions deleted.
23595 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23596 (package-menu--status-predicate, package-menu--version-predicate)
23597 (package-menu--name-predicate)
23598 (package-menu--description-predicate): Handle arguments in the
23599 Tabulated List format.
23600 (package-list-packages-no-fetch): Call list-packages.
23602 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23604 * files.el (after-find-file-from-revert-buffer): Remove variable.
23605 (after-find-file): Don't bind it.
23606 (revert-buffer-in-progress-p): New variable.
23607 (revert-buffer): Bind it.
23608 Pass nil for `after-find-file-from-revert-buffer'.
23610 * saveplace.el (save-place-find-file-hook): Use new variable
23611 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23613 2011-04-06 Glenn Morris <rgm@gnu.org>
23615 * Makefile.in (AUTOGEN_VCS): New variable.
23616 (autoloads): Use $AUTOGEN_VCS.
23618 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23619 * calendar/calendar.el (calendar-mode-map):
23620 Check for toolkit scroll bars. (Bug#8305)
23622 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23624 * minibuffer.el (completion-in-region--postch)
23625 (completion-in-region-mode): Remove unnecessary messages.
23627 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23629 * font-lock.el (font-lock-refresh-defaults):
23630 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23631 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23633 * info.el (Info-directory-list, Info-read-node-name-2)
23634 (Info-split-parameter-string): Doc fixes.
23635 (Info-virtual-nodes): Reflow docstring.
23636 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23637 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23638 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23639 Fix typos in docstrings.
23640 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23641 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23642 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23643 (Info-restore-desktop-buffer): Mark unused parameters.
23644 (Info-directory-find-file, Info-directory-find-node)
23645 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23646 (Info-virtual-index-find-node, Info-apropos-find-file)
23647 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23648 Mark unused parameters; fix typos in docstrings.
23649 (Info-virtual-index): Remove unused local variable `nodename'.
23651 2011-04-05 Deniz Dogan <deniz@dogan.se>
23653 * net/rcirc.el: Update my e-mail address.
23654 (rcirc-mode-map): Remove M-o binding.
23656 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23658 * startup.el (command-line): Save the cursor's theme-face
23659 directly, instead of using face-override-spec.
23661 * custom.el (load-theme): Minor optimization in assigning faces.
23663 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23665 * help-fns.el (describe-variable): Complete all variables having
23666 documentation, including keywords.
23667 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23669 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23671 Convert to lexical-binding.
23673 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23674 (bs--get-marked-string, bs--get-modified-string)
23675 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23676 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23677 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23679 * ehelp.el (electric-help-execute-extended)
23680 (electric-help-ctrl-x-prefix):
23681 * hexl.el (hexl-revert-buffer-function):
23682 * linum.el (linum-after-change, linum-after-scroll):
23683 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23685 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23687 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23694 * epg.el: Use lexical binding.
23696 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23698 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23700 * textmodes/flyspell.el (flyspell-word): Recognize default
23701 dictionary case for flyspell-mark-duplications-exceptions.
23702 Use regexp matching for languages.
23703 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23704 default dictionary (Bug#7926).
23706 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23708 * emacs-lisp/package.el (package--with-work-buffer):
23709 Recognize https URLs.
23711 * net/network-stream.el: Move from gnus/proto-stream.el.
23712 Change prefix to network-stream throughout.
23713 (open-protocol-stream): Merge into open-network-stream, leaving
23714 open-protocol-stream as an alias. Handle nil BUFFER args.
23716 * subr.el (open-network-stream): Move to net/network-stream.el.
23718 2011-04-02 Glenn Morris <rgm@gnu.org>
23720 * find-dired.el (find-exec-terminator): New option.
23721 (find-ls-option): Test for -ls support.
23722 (find-ls-subdir-switches): Test for -b in find-ls-option.
23723 (find-dired, find-grep-dired): Doc fixes.
23724 (find-dired): Use find-exec-terminator.
23726 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23727 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23728 (find-name-arg): Remove purecopy.
23730 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23731 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23732 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23733 accordingly. Don't add the null-device if not needed.
23735 * files.el (save-some-buffers): Doc fix.
23737 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23739 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23741 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23743 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23744 Use `dolist' rather than `mapcar'.
23746 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23748 Add lexical binding.
23750 * subr.el (apply-partially): Use new closures rather than CL.
23751 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23752 (dolist, dotimes): Use slightly different expansion for lexical code.
23753 (functionp): Move to C.
23754 (letrec): New macro.
23755 (with-wrapper-hook): Use it and apply-partially instead of CL.
23756 (eval-after-load): Preserve lexical-binding.
23757 (save-window-excursion, with-output-to-temp-buffer): Turn them
23760 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23762 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23764 (help-add-fundoc-usage): Don't add `Not documented'.
23765 (help-function-arglist): Handle closures, subroutines, and new
23766 byte-code-functions.
23767 (help-make-usage): Remove leading underscores.
23768 (describe-function-1): Handle closures.
23769 (describe-variable): Use special-variable-p for completion.
23771 * files.el (lexical-binding): Declare safe.
23773 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23774 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23775 (pcase): Add `let' pattern.
23776 Change memoization so it actually works.
23777 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23778 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23781 * emacs-lisp/macroexp.el: Use lexical binding.
23782 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23783 Don't convert ' to #' without checking that it's indeed quoting
23786 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23787 Use eval-sexp-add-defvars.
23788 (eval-sexp-add-defvars): New fun.
23790 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23792 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23794 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23795 than the internal `byte-compile-lambda'.
23796 (defmethod): Don't hide code under quotes.
23797 (eieio-defmethod): New `code' argument.
23799 * emacs-lisp/eieio-comp.el: Remove.
23801 * emacs-lisp/edebug.el (edebug-eval-defun)
23802 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23803 (edebug-toggle): Avoid `eval'.
23805 * emacs-lisp/disass.el (disassemble-internal): Handle new
23807 (disassemble-1): Handle new byte codes.
23809 * emacs-lisp/cl.el (pushnew): Silence warning.
23811 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23812 (cl-byte-compile-throw): Remove.
23813 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23815 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23818 * emacs-lisp/cconv.el: New file.
23820 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23821 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23822 (byte-compile-initial-macro-environment):
23823 Handle declare-function here.
23824 (byte-compile--lexical-environment): New var.
23825 (byte-stack-ref, byte-stack-set, byte-discardN)
23826 (byte-discardN-preserve-tos): New lap codes.
23827 (byte-interactive-p): Don't use any more.
23828 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23830 (byte-compile-lapcode): Use them and handle new lap codes.
23831 (byte-compile-obsolete): Remove.
23832 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23833 (byte-compile-arglist-warn): Check late def of inlinable funs.
23834 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23835 since they should have been expanded by now.
23836 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23837 (byte-compile-from-buffer): Remove unused second arg.
23838 (byte-compile-preprocess): New function.
23839 (byte-compile-toplevel-file-form): New function to distinguish
23840 file-form calls from outside from file-form calls from hunk-handlers.
23841 (byte-compile-file-form): Simplify.
23842 (byte-compile-file-form-defsubst): Remove.
23843 (byte-compile-file-form-defmumble): Simplify now that
23844 byte-compile-lambda always returns a byte-code-function.
23845 (byte-compile): Preprocess.
23846 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23847 Remove, not used any more.
23848 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23849 (byte-compile-make-args-desc): New funs.
23850 (byte-compile-lambda): Handle lexical functions. Always return
23851 a byte-code-function.
23852 (byte-compile-reserved-constants): New var, to make up room for
23853 closed-over variables.
23854 (byte-compile-constants-vector): Obey it.
23855 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23856 (byte-compile-macroexpand-declare-function): New function.
23857 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23858 byte-code-functions.
23859 (byte-compile-form): Check obsolescence here.
23860 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23861 (byte-compile-variable-ref): Remove.
23862 (byte-compile-dynamic-variable-op): New fun.
23863 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23864 (byte-compile-variable-set): New funs.
23865 (byte-compile-discard): Add 2 args.
23866 (byte-compile-stack-ref, byte-compile-stack-set)
23867 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23868 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23869 macroexpand-all instead.
23870 (byte-compile-quote-form): Remove.
23871 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23872 (byte-compile-bind, byte-compile-unbind): New funs.
23873 (byte-compile-let): Handle let* and lexical binding.
23874 (byte-compile-let*): Remove.
23875 (byte-compile-catch, byte-compile-unwind-protect)
23876 (byte-compile-track-mouse, byte-compile-condition-case):
23877 Handle a new :fun-body form, used for lexical scoping.
23878 (byte-compile-save-window-excursion)
23879 (byte-compile-with-output-to-temp-buffer): Remove.
23880 (byte-compile-defun): Simplify.
23881 (byte-compile-stack-adjustment): New fun.
23882 (byte-compile-out): Use it.
23883 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23885 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23888 * emacs-lisp/byte-opt.el: Use lexical binding.
23889 (byte-inline-lapcode): Remove (to bytecomp).
23890 (byte-compile-inline-expand): Pay attention to inlining to/from
23891 lexically bound code.
23892 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23894 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23895 any more and don't call compiler-macros.
23896 (byte-compile-splice-in-already-compiled-code): Remove.
23897 (byte-code): Don't inline any more.
23898 (disassemble-offset): Receive `bytes' as argument rather than via
23900 (byte-compile-tag-number): Declare before first use.
23901 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23902 `return' even if make-spliceable.
23903 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23904 obsolete interactive-p.
23905 (byte-optimize-lapcode): Optimize new lap-codes.
23906 Don't trip up on new form of `byte-constant' lap code.
23908 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23910 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23912 * custom.el (custom-initialize-default, custom-declare-variable):
23915 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23917 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23918 (COMPILE_FIRST): Add macroexp and cconv.
23919 * makefile.w32-in: Mirror changes in Makefile.in.
23921 * vc/cvs-status.el:
23925 * vc/smerge-mode.el:
23926 * textmodes/bibtex-style.el:
23927 * textmodes/css-mode.el:
23935 * emacs-lisp/smie.el:
23938 * abbrev.el: Use lexical binding.
23940 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23942 * info.el (info-display-manual): New function.
23944 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23946 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23948 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23950 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23951 an entry for that server in rcirc-authinfo. (Bug#8385)
23953 2011-03-31 Glenn Morris <rgm@gnu.org>
23955 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23957 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23959 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23961 * progmodes/python.el (python-default-interpreter)
23962 (python-python-command-args, python-jython-command-args)
23963 (python-which-shell, python-which-args, python-which-bufname)
23964 (python-file-queue, python-comint-output-filter-function)
23965 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23966 variables and functions.
23968 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23970 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23971 (completion-in-region-mode): New minor mode.
23972 (completion-in-region): Use it.
23973 (completion-in-region--data, completion-in-region-mode-map): New vars.
23974 (completion-in-region--postch): New function.
23975 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23977 (completion--capf-wrapper): New function.
23978 (completion-at-point): Use it to track well-behavedness of
23980 (completion-help-at-point): New command.
23982 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23984 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23985 syntax class to search for whitespace on a single line
23986 (Message-ID: <4D938140.4030905@redhat.com>).
23988 2011-03-30 Leo Liu <sdl.web@gmail.com>
23990 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23992 (edit-abbrevs-map): Bind them here.
23993 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23995 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23997 * allout.el (allout-hide-by-annotation, allout-flag-region):
23998 Reduce possibility of overlay leakage by making them volatile.
24000 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24001 hash is not shared between buffers. Mode initialization is
24002 responsible for giving it a useful starting value.
24003 (allout-item-span): Reduce possibility of overlay leakage by
24004 making them volatile.
24005 (allout-widgets-count-buttons-in-region): Add diagnostic function
24006 for tracking down button overlay leaks.
24008 2011-03-29 Leo Liu <sdl.web@gmail.com>
24010 * ido.el (ido-read-internal): Use the default history var
24011 minibuffer-history if no HISTORY is specified.
24013 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24015 * net/imap.el (imap-shell-open, imap-process-connection-type):
24016 Use imap-process-connection-type for 'shell' streams as well as
24017 Kerberos, SSL, other subprocesses.
24019 2011-03-28 Leo Liu <sdl.web@gmail.com>
24021 * abbrev.el (abbrev-table-empty-p): New function.
24022 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24023 nonempty ones. (Bug#5937)
24025 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24027 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24029 2011-03-27 Leo Liu <sdl.web@gmail.com>
24031 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24032 for foreground and background colors.
24033 (ansi-color-make-color-map): Adapt.
24035 2011-03-25 Leo Liu <sdl.web@gmail.com>
24037 * midnight.el (midnight-time-float): Remove. Note it calculates
24038 the microsecond component incorrectly and seconds-to-time does the
24040 Remove redundant (require 'timer).
24042 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24043 (ido-completions): Remove unused arguments. (Bug#8329)
24045 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24047 * minibuffer.el (completion--flush-all-sorted-completions):
24048 Remove itself from hook.
24049 (completion-at-point): Let the functions perform the completion
24050 immediately and return nil or t.
24051 * comint.el (comint-dynamic-complete-functions): Now identical to
24052 completion-at-point-functions.
24053 (comint-dynamic-list-input-ring): Remove unused var `index'.
24054 (comint--match-partial-filename, comint--unquote&expand-filename):
24055 New funs, split from comint-match-partial-filename.
24056 (comint-dynamic-complete): Use completion-at-point.
24057 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24059 2011-03-24 Drew Adams <drew.adams@oracle.com>
24061 * thingatpt.el: Support `defun'.
24063 2011-03-23 Leo Liu <sdl.web@gmail.com>
24065 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24067 * help-mode.el (help-mode-finish): Tweak regexp.
24069 2011-03-23 Glenn Morris <rgm@gnu.org>
24071 * eshell/esh-opt.el (eshell-eval-using-options):
24072 Do not bind unused local variable `eshell-option-stub'.
24074 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24076 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24078 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24079 keymap variable in `with-no-warnings' to avoid a warning when the
24080 keymap has been already `defconst'ed.
24082 2011-03-22 Leo Liu <sdl.web@gmail.com>
24084 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24085 encode all chars in abbrevs; otherwise use emacs-mule or
24086 utf-8-emacs. (Bug#8308)
24088 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24090 * simple.el (backward-delete-char-untabify):
24091 Avoid warning about using `delete-backward-char'.
24093 * image.el (image-type-file-name-regexps): Make it variable.
24094 `imagemagick-register-types' modifies it, and the user may want
24095 to add new extensions for known image types.
24096 (imagemagick-register-types): Throw error if not using ImageMagick.
24098 2011-03-22 Leo Liu <sdl.web@gmail.com>
24100 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24101 located before rcirc-prompt-end-marker.
24102 (rcirc-complete): Error if point is not after rcirc prompt.
24103 Handle the case when table is nil.
24104 (rcirc-user-authenticated): Define to fix compiler warning.
24106 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24108 * custom.el (custom--inhibit-theme-enable): Make it affect only
24109 custom-theme-set-variables and custom-theme-set-faces.
24110 (provide-theme): Ignore custom--inhibit-theme-enable.
24111 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24112 (custom-enabling-themes): Delete variable.
24113 (enable-theme): Accept only loaded themes as arguments.
24114 Ignore the special custom-enabled-themes variable.
24115 (custom-enabled-themes): Forbid themes from setting this.
24116 Eliminate use of custom-enabling-themes.
24117 (custom-push-theme): Quote "changed" custom var entry.
24119 2011-03-21 Leo Liu <sdl.web@gmail.com>
24121 * ido.el (ido-read-internal): Add ido-selected to history instead
24124 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24126 * subr.el (deferred-action-list, deferred-action-function):
24129 2011-03-21 Leo Liu <sdl.web@gmail.com>
24131 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24132 change on 2011-02-13 (bug#8309).
24134 * minibuffer.el (read-file-name-function): Change default value.
24135 (read-file-name--defaults): Rename from read-file-name-defaults.
24136 (read-file-name-default): Rename from read-file-name.
24137 (read-file-name): Call read-file-name-function.
24139 2011-03-21 Glenn Morris <rgm@gnu.org>
24141 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24144 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24146 * cus-theme.el: Add missing provide statement.
24147 (customize-create-theme): Extract theme value correctly.
24148 (custom-theme-visit-theme): Autoload.
24149 (customize-create-theme): Prompt before inserting default faces.
24151 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24153 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24154 units and musical notes.
24156 2011-03-20 Leo Liu <sdl.web@gmail.com>
24158 * ido.el (ido-read-internal): Use completing-read-default.
24159 (ido-completing-read): Fix compatibility with completing-read.
24161 2011-03-20 Christian Ohler <ohler@gnu.org>
24163 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24164 (ert-delete-all-tests): Use `called-interactively-p' rather than
24166 (ert--make-xrefs-region): Respect END.
24168 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24170 * dired-aux.el (dired-create-directory): Signal an error if the
24171 directory already exists (Bug#8246).
24173 * facemenu.el (list-colors-display): Call list-faces-display
24174 inside with-help-window.
24175 (list-colors-print): Use display property to align the final
24176 column, instead of checking window-width.
24178 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24180 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24181 windows-nt systems.
24182 (emerge-protect-metachars): Quote correctly for ms-dos and
24183 windows-nt systems.
24185 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24187 * info.el (info-initialize): Replace all uses of `:' with
24188 path-separator for compatibility with non-Unix systems.
24189 Cache quoting of path-separator. (Bug#8258)
24191 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24193 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24194 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24195 (mouse-avoidance-mode): Fix typos in docstrings.
24197 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24199 * startup.el (package-subdirectory-regexp): Move from package.el.
24200 Omit \\` and \\', and let callers add them.
24202 * emacs-lisp/package.el (package-strip-version)
24203 (package-load-all-descriptors): Add \\` and \\' to
24204 package-subdirectory-regexp before using it.
24205 (package-untar-buffer): New arg DIR; ensure that file untars only
24206 into this expected directory. Remove superfluous delete-region.
24207 (package-unpack): Caller changed.
24208 (package-tar-file-info): Use package-subdirectory-regexp.
24210 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24212 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24213 diff-mode-shared-map (bug#8284).
24214 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24216 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24218 * calendar/time-date.el (format-seconds): Use assoc instead of
24219 assoc-string, since assoc-string doesn't exist in XEmacs.
24221 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24223 * custom.el (custom-known-themes): Reflow docstring.
24224 (custom-theme-load-path): Fix typo in docstring.
24225 (load-theme): Fix typo in error message.
24226 (custom-available-themes, custom-variable-theme-value):
24227 Use `let', not `let*'.
24229 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24231 * calc/README: Mention inclusion of musical notes.
24233 * calc/calc-units.el (calc-lu-quant): Rename from
24234 `calc-logunits-quantity'.
24235 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24236 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24237 (calc-db): Rename from `calc-dblevel'.
24238 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24239 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24240 (calc-np): Rename from `calc-nplevel'.
24241 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24242 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24243 (calc-lu-plus): Rename from `calc-logunits-add'.
24244 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24245 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24246 (calc-lu-minus): Rename from `calc-logunits-sub'.
24247 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24248 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24249 (calc-lu-times): Rename from `calc-logunits-mul'.
24250 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24251 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24252 (calc-lu-divide): Rename from `calc-logunits-div'.
24253 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24254 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24256 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24257 functions being autoloaded.
24259 * calc/calc.el (calc-lu-power-reference): Rename from
24260 `calc-logunits-power-reference'.
24261 (calc-lu-field-reference): Rename from
24262 `calc-logunits-field-reference'.
24264 * calc/calc-help.el (calc-l-prefix-help):
24265 Mention musical note functions.
24267 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24269 * minibuffer.el (completion-all-sorted-completions):
24270 Use :completion-cycle-penalty text property if present.
24272 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24274 * allout.el (allout-yank-processing): Adjust for new rebulleting
24275 regime so bullet being yanked is used without prompting the user
24278 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24280 * startup.el (command-line): Warn the user that _emacs is deprecated.
24282 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24284 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24285 (delphi-verbose, delphi-comment-face, delphi-string-face)
24286 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24287 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24288 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24289 (delphi-new-comment-line, delphi-font-lock-defaults)
24290 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24291 Fix typos in docstrings.
24293 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24295 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24296 Invert the roles of character and string values for INSTEAD, so a
24297 string is used for the more common case of a defaulting prompt.
24299 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24301 * progmodes/ruby-mode.el (ruby-backward-sexp):
24302 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24303 * play/gamegrid.el (gamegrid-make-face):
24304 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24305 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24306 * notifications.el (notifications-notify):
24307 * net/xesam.el (xesam-search-engines):
24308 * net/quickurl.el (quickurl-list-insert):
24309 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24311 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24313 * startup.el (command-line): Update package subdirectory regexp.
24315 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24317 * allout.el (allout-abbreviate-flattened-numbering)
24318 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24320 * subr.el (read-char-choice): Only show the cursor after the prompt,
24321 not after the answer.
24323 2011-03-15 Kevin Ryde <user42@zip.com.au>
24325 * help-fns.el (variable-at-point): Skip leading quotes, if any
24328 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24330 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24333 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24335 * shell.el (shell): When called interactively, offer to change the
24336 shell file name on remote hosts.
24338 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24340 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24341 integration for LDAP parameters. The host, base, user or binddn,
24342 and secret tokens can be specified in a netrc file, for instance.
24343 This is optional because an `auth-source' parameter must be
24344 specified in the search attributes.
24346 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24348 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24350 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24352 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24353 into declaration. Remove redundant and harmful binding.
24355 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24357 * files.el (file-ownership-preserved-p): Pass `integer' as an
24358 explicit 2nd argument to `file-attributes'. If the file's owner
24359 is the Administrators group on Windows, and the current user is
24360 Administrator, consider that a match.
24362 * server.el (server-ensure-safe-dir): Consider server directory
24363 safe on MS-Windows if its owner is the Administrators group while
24364 the current Emacs user is Administrator. Use `=' to compare
24365 numerical UIDs, since they could be integers or floats.
24367 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24369 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24371 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24373 Sync with Tramp 2.2.1.
24375 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24377 * net/trampver.el: Update release number.
24379 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24381 * progmodes/compile.el (compilation--previous-directory): Fix up
24382 various nil/dead-marker mismatches (bug#8014).
24383 (compilation-directory-properties, compilation-error-properties):
24384 Don't call it at a position past the one we're about to change.
24386 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24387 Disable obsolescence warnings in the file that declares it.
24389 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24391 * allout-widgets.el (allout-widgets-tally):
24392 Initialize allout-widgets-tally as a hash table rather than nil to
24393 prevent mode-line redisplay warnings. Also, clarify the module
24394 description and fix a comment typo.
24396 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24398 * help-fns.el (describe-variable): Don't complete keywords.
24399 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24401 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24403 * emacs-lisp/package.el (package-version-join): Impose a standard
24404 string representation for pre/alpha/beta version lists.
24405 (package-unpack-single): Standardize the directory name by passing
24406 it through package-version-join.
24407 (package-strip-rcs-id): Accept any version string that does not
24408 signal an error in version-to-list.
24410 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24412 * simple.el (delete-trailing-whitespace): Return nil for the
24413 benefit of `write-file-functions'.
24415 2011-03-10 Glenn Morris <rgm@gnu.org>
24417 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24419 * vc/vc-git.el (vc-git-program): New option.
24420 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24421 (vc-git--call): Use it.
24423 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24425 * cus-edit.el (Custom-newline): If no button at point, look
24426 for a subgroup button at start-of-line. (Bug#2298)
24428 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24430 2011-03-10 Julien Danjou <julien@danjou.info>
24432 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24433 `cursor-type' is nil.
24435 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24437 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24439 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24441 * allout.el: Change so yank of distinctive-bullet items
24442 preserves the existing header prefix, rebulleting it if necessary,
24443 rather than replacing it. This is necessary for proper operation
24444 of cooperative addons like allout-widgets.
24445 (allout-make-topic-prefix, allout-rebullet-heading):
24446 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24447 value as alternate bullet to be used, instead of prompting the user
24448 for a bullet character.
24450 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24452 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24453 Do not use `tramp-file-name-port', because this returns also
24454 `tramp-default-port'.
24456 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24458 * net/rcirc.el (rcirc-handler-001): Remove useless
24459 with-rcirc-process-buffer.
24460 (rcirc-check-auth-status): Swap arguments to string-match.
24462 2011-03-09 Glenn Morris <rgm@gnu.org>
24464 * shell.el (shell-mode):
24465 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24467 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24468 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24470 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24472 * emacs-lisp/package.el (package-refresh-contents)
24473 (package-menu-execute): Use condition-case-no-debug.
24475 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24477 * simple.el (shell-command-to-string): Use `process-file'.
24479 * emacs-lisp/package.el (package-tar-file-info): Handle also
24482 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24483 Use `equal' for upload base check.
24485 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24487 * textmodes/texinfo.el (texinfo-environments):
24488 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24490 2011-03-08 Glenn Morris <rgm@gnu.org>
24492 * cus-start.el (cursor-in-non-selected-windows):
24493 Fix :set quoting oddness. (Bug#8192)
24495 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24496 in some setf expressions. (Bug#2159)
24498 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24500 * custom.el (custom-available-themes): Return themes in
24501 alphabetical order.
24503 See ChangeLog.15 for earlier changes.
24505 ;; Local Variables:
24509 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24511 This file is part of GNU Emacs.
24513 GNU Emacs is free software: you can redistribute it and/or modify
24514 it under the terms of the GNU General Public License as published by
24515 the Free Software Foundation, either version 3 of the License, or
24516 (at your option) any later version.
24518 GNU Emacs is distributed in the hope that it will be useful,
24519 but WITHOUT ANY WARRANTY; without even the implied warranty of
24520 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24521 GNU General Public License for more details.
24523 You should have received a copy of the GNU General Public License
24524 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.