1 2013-02-17 Glenn Morris <rgm@gnu.org>
3 * image-mode.el (image-mode-map): Add image-dired menu entry.
5 * image-dired.el (tumme): Make this alias obsolete.
7 2013-02-16 Glenn Morris <rgm@gnu.org>
9 * image.el (image-animated-types): Remove.
10 (image-multi-frame-p): Rename from image-animated-p, and generalize.
11 (image-animated-p): Make obsolete alias.
12 (image-animate, image-nth-frame, image-animate-timeout):
13 Use image-multi-frame-p.
14 (image-animate-timeout): If no delay, use image-default-frame-delay.
15 * image-mode.el (image-mode, image-toggle-animation):
16 Use image-multi-frame-p. (Bug#763, bug#10739)
17 (image-mode): Adjust startup message for a multi-frame image.
19 * image-mode.el (image-mode-map): Give it a menu.
21 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
23 * net/tramp-cache.el (tramp-connection-properties): New customer
25 (tramp-get-connection-property): Use it.
27 * net/tramp-compat.el (top): Require 'trampver.
29 * net/tramp-sh.el (tramp-remote-process-environment): Set
30 tramp-autoload cookie.
32 2013-02-16 Kevin Ryde <user42@zip.com.au>
34 * info-look.el (info-lookup-select-mode): If major-mode has no
35 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
37 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
39 * replace.el (read-regexp): Tighten the regexp that matches tag.
40 When tag is retrieved with `find-tag-default', use regexp that
41 matches tag at point. Also update docstring (Bug#13687).
43 2013-02-16 Eli Zaretskii <eliz@gnu.org>
45 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
46 add watch for the file, not its parent directory, since w32notify
47 sets up the watch for the directory internally. (Bug#13725)
49 2013-02-16 Glenn Morris <rgm@gnu.org>
51 * image.el (image-default-frame-delay): New variable.
52 (image-animated-p): Use image-default-frame-delay.
53 (image-minimum-frame-delay): New constant.
54 (image-animate-timeout): Use image-minimum-frame-delay.
56 * image.el (image-nth-frame): New, split from image-animate-timeout.
57 (image-animate-timeout): Use image-nth-frame.
58 * image-mode.el (image-goto-frame, image-next-frame)
59 (image-previous-frame): New commands.
60 (image-mode-map): Add new frame commands.
62 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
64 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
65 If col-desc already has help-echo, use it. (Bug#13563)
67 2013-02-16 Glenn Morris <rgm@gnu.org>
69 * image.el (image-current-frame): New variable.
70 (image-animate-timeout): Set image-current-frame.
71 * image-mode.el (image-mode): For animated images,
72 display a frame counter via mode-line-process.
74 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
76 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
78 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
80 2013-02-15 Alan Mackenzie <acm@muc.de>
82 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
83 global minor mode has been enabled, call the minor mode function
84 for a new buffer once only, after the major mode hook, whilst
85 allowing that hook explicitly to disable the minor mode.
86 (MODE-disable-in-buffer): New (generated) function.
87 (disable-MODE): New (generated) buffer local variable.
89 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
91 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
92 `iswitchb-next-match' and `iswitchb-prev-match' resply.
93 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
94 `ido-next-match' and `ido-prev-match' resply.
95 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
96 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
97 `icomplete-backward-completions' (Bug#13708).
99 2013-02-15 Glenn Morris <rgm@gnu.org>
101 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
103 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
105 * net/goto-addr.el (goto-address-fontify): Add start and end args.
106 (goto-address-fontify-region): Use them instead of narrowing, so
107 syntax-ppss has access to the whole buffer.
109 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
111 * progmodes/python.el: Explain how to restore "cc-mode"-like
112 forward-sexp movement in header documentation (Bug#13642).
113 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
114 comments and strings (GH bug 114).
116 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
118 * progmodes/python.el (python-info-current-defun): Fix current
119 defun detection (Bug#13618).
121 2013-02-15 Chong Yidong <cyd@gnu.org>
123 * xml.el (xml-parse-string): Fix typo in handling of bad character
126 2013-02-15 Glenn Morris <rgm@gnu.org>
128 * play/fortune.el (fortune-compile): Simplify and fix previous change.
130 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
132 * net/tramp.el (tramp-debug-message):
133 Add `tramp-condition-case-unless-debug'.
134 (tramp-debug-on-error): New defvar.
135 (tramp-condition-case-unless-debug): New defun.
136 (tramp-file-name-handler): Use it.
138 2013-02-14 Juri Linkov <juri@jurta.org>
140 * info.el (Info-isearch-filter): Treat non-nil values of
141 `search-invisible' including its default value `open'
142 like the value `t' to match hidden text. (Bug#13402)
144 2013-02-14 Glenn Morris <rgm@gnu.org>
146 * help-fns.el (find-lisp-object-file-name): Give special treatment
147 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
149 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
151 * net/quickurl.el (quickurl-save-urls):
152 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
154 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
156 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
157 depth for unfinished percent literal. Not using it in the caller.
158 (ruby-move-to-block): Jump over multiline literals of all types,
159 ignoring code-looking contents inside them.
160 (ruby-add-log-current-method): Improve performance at the expense
161 of accuracy. `ruby-block-contains-point' is relatively slow, so
162 only use it for method and singleton class blocks.
164 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
166 Use ControlMaster where applicable. (Bug#13677)
168 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
169 replacing `tramp-detect-ssh-controlmaster'.
170 (tramp-default-method): Use it.
172 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
173 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
175 [scpc, rsyncc]: Remove methods.
176 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
178 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
179 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
181 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
183 * emacs-lisp/package.el (package--initialized): Move before first use.
185 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
187 * icomplete.el (icomplete-hide-common-prefix): New user option.
188 (icomplete-first-match): New face.
189 (icomplete-completions): Correct handling of "complete but not
192 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
194 * descr-text.el (describe-char): Display the script (bug#13698).
196 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
198 * tmm.el: Use lexical-binding and current-active-maps.
199 (tmm-menubar): Use map-keymap and pcase.
200 (tmm--completion-table): New function.
201 (tmm-prompt): Use it to fix the menu order.
202 (tmm-get-keybind): Use current-active-maps.
204 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
206 Add dired-hide-details-mode. (Bug#6799)
208 * locate.el (locate-mode): Set parent mode property to dired-mode.
210 * find-dired.el (find-dired): Call dired-insert-set-properties on
211 initial information line. Set process mark on end of buffer.
212 (find-dired-sentinel):
213 Call dired-insert-set-properties on summary.
215 * dired.el (dired-hide-details-hide-symlink-targets)
216 (dired-hide-details-hide-information-lines): New options.
217 (dired-insert-directory):
218 Set properties after final treatment of output.
219 (dired-insert-set-properties):
220 Set dired-hide-details-* properties.
221 (dired-mode-map): Bind dired-hide-details-mode.
222 (dired-mode): Set buffer-invisibility-spec to a list.
223 (dired-next-line): Skip hidden lines.
224 (dired-previous-line): Use dired-next-line.
225 (dired-hide-details-mode): New minor mode.
226 (dired-hide-details-update-invisibility-spec): New function.
228 2013-02-13 Glenn Morris <rgm@gnu.org>
230 * play/yow.el: Move to obsolete/. (Bug#9384)
232 2013-02-13 Juri Linkov <juri@jurta.org>
234 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
235 to select `ediff-control-frame' and set input focus correctly on Xfce.
238 2013-02-13 Juri Linkov <juri@jurta.org>
240 * image-mode.el (image-mode-map):
241 * doc-view.el (doc-view-mode-map):
242 * vc/ediff-util.el (ediff-setup-keymap):
243 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
245 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
247 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
248 performance. Instead of recalculating indentation fully for each
249 line, sum up indentation depth based only on visited lines.
250 (ruby-parse-partial): Increase the depth after "do" even when END
252 (ruby-parse-partial): When END is in the middle of a percent
253 literal, increase the depth if the delimiter chars belong to the
256 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
258 * play/fortune.el (fortune-compile): Also make the compiled file
259 if it does not exist at all, not just if it is old. (Bug#5338)
261 2013-02-13 Glenn Morris <rgm@gnu.org>
263 * emacs-lisp/package.el (package-menu-execute): Doc fix.
265 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
267 * lisp/emacs-lisp/package.el (package-menu-execute):
268 Add optional noquery argument. (Bug#13625)
270 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
272 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
273 if DIR exists and PARENTS is non-nil.
275 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
277 * progmodes/js.el (js--multi-line-declaration-indentation):
278 Silence byte-compiler warning.
280 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
282 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
284 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
285 only if it doesn't exist.
287 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
290 2013-02-12 Tassilo Horn <tsdh@gnu.org>
292 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
293 UserInstallation when calling soffice to work around LibreOffice
296 2013-02-12 Glenn Morris <rgm@gnu.org>
298 * files.el (basic-save-buffer):
299 Offer to create a non-existing directory. (Bug#3016)
301 * calc/calc-graph.el (calc-graph-show-dumb):
302 * calendar/calendar.el (calendar-mode-map):
303 * cus-edit.el (custom-mode-map):
304 * ehelp.el (electric-help-map):
305 * emulation/vip.el (vip-mode-map):
306 * epa.el (epa-key-list-mode-map):
307 * info.el (Info-mode-map):
308 * mail/rmail.el (rmail-mode-map):
309 * mail/rmailsum.el (rmail-summary-mode-map):
310 * man.el (Man-mode-map):
311 * net/newst-plainview.el (newsticker-mode-map):
312 * progmodes/cpp.el (cpp-edit-mode-map):
313 * progmodes/grep.el (grep-mode-map):
314 * progmodes/idlw-help.el (idlwave-help-mode-map):
315 * simple.el (special-mode-map):
316 * startup.el (splash-screen-keymap):
317 * view.el (view-mode-map):
318 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
320 2013-02-11 Elias Pipping <pipping@lavabit.com>
322 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
325 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
327 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
329 2013-02-11 Glenn Morris <rgm@gnu.org>
331 * vc/diff.el (diff-use-labels): New variable.
332 (diff-no-select): Use --label rather than -L, and first
333 check that it is supported. (Bug#11067)
335 * files.el (enable-dir-local-variables): New variable.
336 (hack-dir-local-variables): Respect enable-dir-local-variables.
337 * tutorial.el (help-with-tutorial):
338 Ignore directory-local variables. (Bug#11127)
340 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
341 (vc-svn-global-switches): ... to here. (Bug#13513)
343 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
345 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
346 Handle "foo (bar, default: xxx): " prompts.
348 2013-02-10 Chong Yidong <cyd@gnu.org>
350 * files.el (basic-save-buffer-1): Do not set
351 buffer-file-coding-system-explicit (Bug#4533).
353 * mail/emacsbug.el (report-emacs-bug): Change binding of
354 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
356 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
358 * calc/calc.el (calc-allow-units-as-numbers): New variable.
359 * calc/calc-units.el (calc-convert-units): Use new variable.
361 2013-02-09 Eli Zaretskii <eliz@gnu.org>
363 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
365 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
368 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
369 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
370 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
371 coding-system-for-write instead.
373 * jka-compr.el (jka-compr-write-region): Don't bind
376 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
379 * files.el (file-name-buffer-file-type-alist): Remove defvar.
380 (insert-file-contents-literally): Remove reference to
381 file-name-buffer-file-type-alist.
383 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
385 (find-buffer-file-type-match, find-buffer-file-type): Remove.
386 (find-buffer-file-type-coding-system): Remove references to
387 find-buffer-file-type-match, find-buffer-file-type, and
389 Don't put find-buffer-file-type-coding-system into
390 file-coding-system-alist.
391 (find-file-binary, find-file-text): Bind coding-system-for-read
392 instead of file-name-buffer-file-type-alist.
394 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
396 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
397 converter (Bug#13622).
398 (doc-view-unoconv-program): Make obsolete alias.
399 (doc-view-odf->pdf-converter-program): New variable.
400 (doc-view-odf->pdf-converter-function): New variable.
401 (doc-view-mode-p): Use it.
402 (doc-view-odf->pdf-converter-unoconv):
403 Rename from `doc-view-odf->pdf-converter-unoconv'.
404 (doc-view-odf->pdf-converter-soffice): New function.
405 (doc-view-convert-current-doc):
406 Use `doc-view-odf->pdf-converter-function'.
408 2013-02-09 Chong Yidong <cyd@gnu.org>
410 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
411 view-echo-area-messages (Bug#13340).
413 * help.el (view-echo-area-messages): Use display-buffer.
415 * dired-x.el (dired-do-run-mail): Prompt for confirmation
418 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
420 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
421 Eval body right away, now that we do eager macroexpansion (bug#13605).
423 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
424 (fundamental-mode): Use run-mode-hooks.
426 * eshell/esh-proc.el (eshell/kill): Fix last change.
427 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
429 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
431 * eshell/esh-proc.el (eshell/kill): Rewrite.
433 * eshell/em-ls.el (show-almost-all): Declare.
434 (eshell-do-ls): Add support for -A argument.
436 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
438 * icomplete.el (icomplete-forward-completions)
439 (icomplete-backward-completions): Handle corner case (bug#13602).
441 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
443 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
444 be nil. Handle this. (Bug#13636)
446 2013-02-07 Richard Stallman <rms@gnu.org>
448 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
449 `save-buffer-coding-system'.
451 2013-02-07 Alan Mackenzie <acm@muc.de>
453 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
454 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
455 (c-parse-state-get-strategy): Don't return 'BOD any more.
456 (c-append-lower-brace-pair-to-state-cache):
457 Extra parameter HERE instead of narrowing.
458 Widen to top of buffer before searching backwards for a brace pair.
459 (c-state-push-any-brace-pair): Add HERE parameter to function call.
460 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
461 Narrow to parameter HERE, in place of being called narrowed.
462 (c-remove-stale-state-cache): Extra parameter HERE in place of
463 narrowing. Check there's an open brace in the cache before
464 searching for its match.
465 (c-invalidate-state-cache-1): Add HERE parameter to function call.
466 (c-parse-state-1): Don't narrow here for 'forward strategy,
467 instead passing extra parameter HERE to several functions.
468 Remove 'BOD strategy.
470 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
472 * emacs-lisp/package.el (describe-package-1): Tell what archive is
473 used to install the package.
475 2013-02-06 Glenn Morris <rgm@gnu.org>
477 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
478 if we can't get user input. (Bug#6567)
480 * startup.el (command-line): If simple.el is missing,
481 test and warn about for some possible causes.
483 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
485 * cus-start.el (all): Add ns-use-native-fullscreen.
487 2013-02-05 Glenn Morris <rgm@gnu.org>
489 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
491 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
492 Fix directory creation in fallback case.
494 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
496 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
497 (vc-update-change-log): Use dolist.
499 2013-02-04 Chong Yidong <cyd@gnu.org>
501 * thingatpt.el: Rewrite the URL detection routines, absorbing some
503 (thing-at-point-beginning-of-url-regexp): New var.
504 (thing-at-point-uri-schemes): Update list of URI schemes.
505 (thing-at-point-url-regexp): Variable deleted.
506 (thing-at-point-markedup-url-regexp): Disallow newlines.
507 (thing-at-point-newsgroup-regexp)
508 (thing-at-point-newsgroup-heads)
509 (thing-at-point-default-mail-uri-scheme): New variables.
510 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
511 method to find the possible bounds of the URI at point.
512 New optional argument to find ill-formed URIs.
513 (thing-at-point-url-at-point): Rewrite. New arguments for finding
514 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
515 the scheme-adding heuristics from ffap-url-at-point.
516 (thing-at-point--bounds-of-well-formed-url): New function.
517 Do parens matching to decide whether to include parens in the URI
520 * ffap.el: Require thingatpt.
521 (ffap-url-at-point): Delegate URI detection to thing-at-point.
522 All URI-valid characters are now recognized (Bug#5673).
523 (ffap-string-at-point): Use use-region-p.
524 (ffap-url-regexp): Extra character is handled by thing-at-point.
525 (ffap-string-at-point-mode-alist): Allow parentheses.
526 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
527 Convert to aliases; code moved to thingatpt.el.
528 (ffap-gnus-hook): Use setq-local.
530 2013-02-04 Glenn Morris <rgm@gnu.org>
532 * emacs-lisp/ert.el (ert--explain-format-atom):
533 Don't try to print non-characters as characters. (Bug#13543)
535 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
537 * net/tramp.el (tramp-debug-message): Extend function exclude list.
538 (tramp-backtrace): New defun.
539 (tramp-handle-insert-file-contents): Use `visit' when inserting
542 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
543 Use `remote-file-name-inhibit-cache'.
545 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
547 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
550 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
551 current-load-list (bug#13366).
553 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
555 * progmodes/compile.el (compilation-error-regexp-alist-alist):
556 Identify g++ template instantiation trace. (Bug#12287)
557 (compilation-mode-hook, compilation-start-hook)
558 (compilation-window-height): Simplify docstrings. (Bug#13379)
560 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
562 * mouse.el (mouse-drag-track): Always deactivate the mark before
563 running the final event's command since that command is in charge of
564 activating the mark if needed (bug#13523).
566 2013-02-02 Juri Linkov <juri@jurta.org>
568 * replace.el (perform-replace): Move let-bindings of isearch-*
569 variables deeper to the loop that searches for the next match.
570 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
571 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
574 * isearch.el (isearch-search-fun-default): Check for null
575 first element of isearch-cmds as a precaution when it's used
576 with inactive isearch.
578 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
580 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
581 error when buffer in question is narrowed so position 1 is out of
584 2013-02-02 Glenn Morris <rgm@gnu.org>
586 * textmodes/remember.el (remember-clipboard): Doc fix.
588 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
590 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
591 properties (bug#13179).
593 2013-02-02 Juri Linkov <juri@jurta.org>
595 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
596 instead of hard-coded default face `match'. (Bug#9438)
598 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
600 * vc/vc-arch.el (vc-arch-registered):
601 * vc/vc-bzr.el (vc-bzr-registered):
602 * vc/vc-cvs.el (vc-cvs-registered):
603 * vc/vc-git.el (vc-git-registered):
604 * vc/vc-hg.el (vc-hg-registered):
605 * vc/vc-mtn.el (vc-mtn-registered):
606 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
609 * info.el (Info-next-reference, Info-prev-reference): Add numeric
610 prefix argument. (Bug#11656)
612 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
614 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
616 2013-02-01 Glenn Morris <rgm@gnu.org>
618 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
619 if the backend is known not to support it.
621 * imenu.el (imenu-default-create-index-function):
622 Tweak infinite loop test to check for forward motion as well as none.
624 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
626 * net/soap-client.el (soap-invoke): Encode the string for
627 `url-request-data' as UTF-8.
628 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
630 2013-02-01 Glenn Morris <rgm@gnu.org>
632 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
634 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
636 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
638 * net/tramp.el (tramp-tramp-file-p): Comment check for
639 `string-as-unibyte'. The function does not exist on XEmacs, and
640 likely we need another approach.
642 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
643 `tramp-gw-*' variables are bound.
645 2013-01-31 Glenn Morris <rgm@gnu.org>
647 * files.el (basic-save-buffer-2): Choose coding system for
648 writing the file before backing it up, to reduce delay between
649 backing up and writing the new version. (Bug#13522)
651 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
653 * simple.el (cycle-spacing): New command.
654 (just-one-space): Use it.
656 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
658 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
659 (opascal-newline-always-indents): Remove custom.
660 (opascal-tab, opascal-newline): Remove commands.
661 (opascal-new-comment-line): Insert "\n" instead of calling newline.
662 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
663 (opascal-save-match-data): Remove, use save-match-data instead.
664 (opascal-save-state): Use with-silent-modifications.
666 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
669 2013-01-30 Juri Linkov <juri@jurta.org>
671 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
672 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
673 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
675 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
677 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
678 column if we're just deleting the backslashes.
679 (makefile-fill-paragraph): Use eolp.
681 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
683 * autorevert.el (auto-revert-use-notify): Fix docstring.
685 2013-01-30 Leo Liu <sdl.web@gmail.com>
687 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
689 2013-01-30 Glenn Morris <rgm@gnu.org>
691 * mouse.el (mouse-drag-line): Avoid pushing same event onto
692 unread-command-events twice in some cases. This tries to implement
693 the 2012-07-26 changes in a different way. (Bug#13560)
695 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
697 * progmodes/python.el
698 (python-pdbtrack-comint-output-filter-function): Enhancements on
699 stacktrace detection. (thanks @gnovak)
701 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
703 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
704 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
706 (jit-lock-register): Use setq-local.
708 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
710 * calc-units.el (math-default-units-table): Remove initial value.
711 (calc-convert-units): Treat expressions where all the units cancel as
712 if they didn't have units.
714 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
716 * net/tramp.el (tramp-process-connection-type): Fix docstring.
717 (tramp-completion-reread-directory-timeout): Fix type.
718 (tramp-connection-min-time-diff): New defcustom.
720 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
722 2013-01-30 Glenn Morris <rgm@gnu.org>
724 * imenu.el (imenu-default-create-index-function):
725 Put back a version of the infinite loop test removed 2013-01-23.
727 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
729 * progmodes/python.el (python-shell-parse-command):
730 Find python-shell-interpreter with modified environment.
732 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
734 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
736 2013-01-29 Alan Mackenzie <acm@muc.de>
738 Amend to fontify /regexp/s in actions correctly.
739 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
740 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
741 are no longer included.
742 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
743 What used to be these variables without "-line" in the name.
744 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
745 (c-awk-non-arith-op-bra-re): Now also matches {.
746 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
747 "return", and "case".
748 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
750 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
751 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
753 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
755 * autorevert.el (auto-revert-use-notify):
756 Use `custom-initialize-default' for initialization. (Bug#13583)
758 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
760 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
761 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
762 in `tramp-file-name-handler'.
763 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
765 (tramp-compute-multi-hops): Check, whether
766 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
768 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
770 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
773 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
775 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
776 checks made superfluous by the \_< operator.
777 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
778 temporarily) broken indentation.
779 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
780 Highlight nested constants, too. \_< broke that.
782 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
784 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
787 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
789 * autorevert.el (auto-revert-handler): Notifications which result
790 from a saved file shall not be taken into account. (Bug#13557)
792 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
794 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
795 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
796 (lisp-mode): Pass t for it. (Bug#13556)
798 2013-01-25 Alan Mackenzie <acm@muc.de>
800 AWK Mode: Fix indentation bug at top level. Bug #12274.
802 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
805 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
807 * net/socks.el (socks-nslookup-host): Use string-to-number.
809 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
811 * autorevert.el (auto-revert-remote-files)
812 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
813 (auto-revert-notify-enabled, auto-revert-use-notify)
814 (auto-revert-notify-watch-descriptor-hash-list)
815 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
816 (auto-revert-notify-event-descriptor)
817 (auto-revert-notify-event-action)
818 (auto-revert-notify-event-file-name): Doc fix.
819 (global-auto-revert-mode): Reorder checks.
820 (auto-revert-notify-rm-watch): Respect changed values of
821 `auto-revert-notify-watch-descriptor-hash-list'.
822 (auto-revert-notify-add-watch): Check for
823 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
824 `inotify-add-watch'. Watch `default-directory' instead of
825 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
826 has a changed meaning now. (Bug#13540)
827 (auto-revert-notify-handler): Change implementation wrt events
828 returning from a directory.
829 (auto-revert-handler): Reorder implementation for checks of remote
831 (auto-revert-buffers): Fix parentheses error.
833 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
835 * progmodes/python.el: Enhancements to header documentation about
836 skeletons. (Bug#5716)
838 * imenu.el (imenu-default-create-index-function): Remove useless
839 infinite loop check. (Bug#13438)
841 2013-01-25 Alan Mackenzie <acm@muc.de>
843 Fix a bug in the state cache mechanism. Refactor this a bit.
845 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
846 `cache-pos' element from the return value.
847 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
848 buffer to enable proper searching from beyond HERE. Amend the
849 test for detecting the sought brace pair. Amend the value written
850 to the "brace desert cache" when the brace isn't found.
851 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
852 and several other variables analogously.
853 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
854 parameter to a locally calculated variable.
855 (c-parse-state-1): Change the calling conventions to the two
856 defuns involving `cache-pos'.
858 2013-01-25 Chong Yidong <cyd@gnu.org>
860 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
862 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
864 * paren.el (show-paren-function): Make sure to set 'priority and
865 'face only if the overlay does exist.
867 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
869 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
871 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
873 (tramp-sh-handle-set-file-acl): Improve error checking.
875 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
877 * doc-view.el (doc-view-display): Force mode line update until all
878 document is converted. Suggested by Stefan Monnier (Bug#13164).
880 2013-01-23 Bastien Guerry <bzg@gnu.org>
882 * paren.el (show-paren-function): Make sure an overlay exists
883 before trying to delete it. Also use `pos' as a position only
884 when it is an integer.
886 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
888 * play/gametree.el (gametree-break-line-here): Use point-marker.
890 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
892 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
893 Mark descriptive parts with `display' property.
895 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
897 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
898 New variable to map standard dict names to hunspell ones.
899 (ispell-set-spellchecker-params): Make sure specific dict names
900 are used for standard dicts with hunspell.
902 2013-01-21 Tassilo Horn <tsdh@gnu.org>
904 * textmodes/reftex-cite.el (reftex-format-citation): Add format
905 chars for note (%N) and url (%U).
906 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
908 2013-01-21 Juri Linkov <juri@jurta.org>
910 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
911 in addition to existing separate binding `meta f10' in `global-map'.
914 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
916 Improve XEmacs compatibility.
918 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
920 * net/tramp-adb.el (top): Require `time-date'.
921 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
922 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
923 Use `tramp-file-name-handler'.
924 (tramp-adb-maybe-open-connection):
925 Use `tramp-compat-set-process-query-on-exit-flag'.
927 * net/tramp-sh.el (tramp-sh-handle-file-acl):
928 Use `tramp-compat-funcall'.
930 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
931 `tramp-compat-funcall'.
933 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
935 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
936 reimplementation using "adb shell command ..." instead of running
937 remote shell interactively.
939 2013-01-20 Glenn Morris <rgm@gnu.org>
941 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
942 Add native profiler menu entries.
944 * profiler.el (profiler-running-p): New function.
945 (profiler-cpu-profile): Use profiler-running-p.
946 (profiler-report-mode-map): Add some more menu entries.
948 2013-01-19 Glenn Morris <rgm@gnu.org>
950 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
951 fixes 2012-12-07 change. (Bug#13499)
953 2013-01-19 Leo Liu <sdl.web@gmail.com>
955 * dired.el (dired-get-marked-files): Prune erroneous values due to
956 last change. (Bug#13152)
958 2013-01-19 Glenn Morris <rgm@gnu.org>
960 * progmodes/etags.el (tags-table-check-computed-list):
961 Preserve point in tags buffer. (Bug#13412)
963 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
965 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
966 Chong Yidong <cyd@gnu.org>
968 * image-mode.el (image-next-file, image-previous-file):
969 New commands (Bug#8453).
970 (image-mode-map): Bind them to n and p.
971 (image-mode--images-in-directory): New helper function.
973 2013-01-19 Chong Yidong <cyd@gnu.org>
975 * image-mode.el (image-mode-fit-frame): Add a frame argument.
976 Suggested by Drew Adams (Bug#7730). Handle window decorations;
977 save and restore the old window configuration.
979 2013-01-18 Leo Liu <sdl.web@gmail.com>
981 * progmodes/js.el: Tweak autoload cookie for alias.
983 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
985 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
986 buffer local, again. This was lost with the fix on 2013-01-12.
988 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
990 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
991 order to support several eshell buffers in parallel.
993 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
995 * autorevert.el (auto-revert-use-notify): In the :set function, do
996 not modify `kill-buffer-hook'.
997 (auto-revert-notify-rm-watch):
998 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
999 (auto-revert-notify-add-watch): Do not call
1000 `auto-revert-notify-rm-watch', but add it to a buffer local
1003 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1005 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1006 call to `eval' rather than a backquoted lambda.
1008 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1010 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1011 to return an explicit nil.
1012 (advice--remove-function): Change accordingly.
1014 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1015 the use of nadvice.el.
1017 * progmodes/which-func.el (which-function): Silence imenu errors
1020 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1022 * progmodes/sql.el: (sql-imenu-generic-expression):
1023 (sql-mode-font-lock-object-name): Match schema qualified names.
1024 (sql-connect): Use string keys.
1025 (sql-product-interactive): Wait for interpreter prompt.
1026 (sql-comint-oracle): Set process coding based on NLS_LANG.
1028 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1030 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1031 (sql-interactive-remove-continuation-prompt):
1032 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1034 2013-01-14 Leo Liu <sdl.web@gmail.com>
1036 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1039 2013-01-14 Glenn Morris <rgm@gnu.org>
1041 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1042 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1044 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1046 * progmodes/python.el (python-nav-end-of-statement):
1047 Fix cornercase when handling multiline strings.
1049 2013-01-13 Richard Stallman <rms@gnu.org>
1051 * mail/sendmail.el (mail-position-on-field): Add doc string.
1053 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1054 Get current message boundaries and pass them to
1055 message-forward-make-body-mime. Minor style changes.
1057 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1059 * cus-start.el (all): Avoid warnings about
1060 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1062 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1064 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1066 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1068 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1069 (jit-lock--debug-fontifying): New var.
1070 (jit-lock--debug-fontify): New function.
1071 * subr.el (condition-case-unless-debug): Don't prevent catching the
1072 error, just let the debbugger run.
1073 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1074 timer code and don't drop errors silently.
1076 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1078 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1079 `permanent-local' property.
1080 (auto-revert-notify-handler): Use `file-equal-p'.
1082 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1084 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1085 file notification by ACTION. For filtering by file name, compare
1086 only the non-directory part of the file name.
1088 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1090 * autorevert.el: Use cl-lib instead of cl.
1092 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1093 (vc-bzr-checkin): Use it.
1094 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1095 will preserve match-data.
1097 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1099 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1100 (js--declaration-keyword-re): New var.
1101 (js--multi-line-declaration-indentation): New function.
1102 (js--proper-indentation): Use it.
1104 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1106 * calc/calc.el (calc-highlight-selections-with-faces)
1108 * comint.el (comint-history-isearch-message):
1109 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1110 * ffap.el (ffap-string-at-point-region, ffap-next)
1111 (ffap-string-at-point, ffap-string-around)
1112 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1114 * font-lock.el (font-lock-keywords-alist)
1115 (font-lock-removed-keywords-alist):
1116 * help-mode.el (help-xref-symbol-regexp):
1117 * info.el (Info-find-emacs-command-nodes):
1118 * international/mule.el (add-to-coding-system-list):
1119 * isearch.el (isearch-message-function, isearch-fail-pos):
1120 * misearch.el (multi-isearch-next-buffer-function):
1121 * newcomment.el (comment-box):
1122 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1123 (pr-setting-database):
1124 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1125 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1126 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1127 (pike-font-lock-keywords-3):
1128 * progmodes/compile.el (compile):
1129 * progmodes/etags.el (tags-table-files)
1130 (tags-table-files-function, tags-included-tables-function):
1131 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1132 (gdb-restore-windows):
1133 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1134 (ps-n-up-filling-database):
1135 * server.el (server-buffer, server-log):
1136 * simple.el (newline, delete-backward-char, delete-forward-char)
1137 (minibuffer-history-isearch-message, kill-line, track-eol)
1138 (temporary-goal-column):
1139 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1140 (flyspell-default-deplacement-commands):
1141 * textmodes/ispell.el (ispell-accept-output):
1142 * textmodes/sgml-mode.el (html-tag-help):
1143 * vc/compare-w.el (compare-ignore-whitespace)
1144 (compare-ignore-case, compare-windows-dehighlight):
1145 * vc/diff.el (diff):
1146 * whitespace.el (whitespace-point)
1147 (whitespace-font-lock-refontify, whitespace-bob-marker)
1148 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1150 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1152 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1153 (auto-revert-notify-rm-watch): Ignore errors.
1154 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1155 inotify, and '(size last-write-time) for w32notify.
1156 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1157 watch fails - this is a fallback to the file modification check.
1158 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1159 (auto-revert-notify-event-action)
1160 (auto-revert-notify-event-file-name): New defuns.
1161 (auto-revert-notify-handler): Use them. Implement first
1162 plausibility checks.
1163 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1165 2013-01-11 Julien Danjou <julien@danjou.info>
1167 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1168 max are almost equal. Also return the correct value for V which is
1169 already between 0 and 1.
1171 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1173 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1175 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1177 * autorevert.el (auto-revert-notify-rm-watch)
1178 (auto-revert-notify-add-watch): Fix typos in w32notify function
1181 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1183 * autorevert.el (auto-revert-notify-enabled): Move up.
1184 (auto-revert-use-notify): New defcustom.
1185 (auto-revert-mode, global-auto-revert-mode)
1186 (auto-revert-notify-add-watch, auto-revert-handler)
1187 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1188 `auto-revert-notify-enabled'.
1190 2013-01-10 Elias Pipping <pipping@exherbo.org>
1192 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1193 * doc-view.el (doc-view-document->bitmap):
1194 Use doc-view-single-page-converter-function instead of
1195 single-page-converter arg; adjust callers.
1197 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1199 * progmodes/which-func.el (which-function): Understand Semantic's use
1200 of overlays in imenu--index-alist.
1202 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1204 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1205 (Man-man-k-use-anchor): New var.
1206 (Man-parse-man-k): New function.
1207 (Man-completion-table): Use it.
1208 (man): Flush the completion cache between uses.
1210 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1212 * autorevert.el: Add file watch support.
1213 (auto-revert-notify-enabled): New defconst.
1214 (auto-revert-notify-watch-descriptor-hash-list)
1215 (auto-revert-notify-watch-descriptor)
1216 (auto-revert-notify-modified-p): New defvars.
1217 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1218 (auto-revert-notify-handler): New defuns.
1219 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1220 when mode is disabled.
1221 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1222 (auto-revert-buffers): Add file watches for active buffers.
1224 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1226 * cus-start.el (toplevel): Only allow float values for
1227 scroll-up-aggressively and scroll-down-aggressively.
1228 Allow any number for line-spacing.
1230 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1232 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1233 (doc-view-pdf->png-converter-function): Use mupdf if available.
1234 (doc-view-djvu->png-converter-function)
1235 (doc-view-ps->png-converter-function): Remove.
1236 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1237 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1238 (doc-view-already-converted-p): Adjust accordingly.
1239 (doc-view-mode-p): Simplify.
1240 (doc-view-enlarge): Use setq-local.
1241 (doc-view-pdf->png-converter-ghostscript)
1242 (doc-view-djvu->png-converter-ddjvu)
1243 (doc-view-pdf->png-converter-mupdf): Rework to call
1244 doc-view-start-process directly.
1245 (doc-view-pdf/ps->png): Simplify accordingly.
1246 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1247 (doc-view-document->bitmap): Rename from doc-view-document->png.
1248 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1249 (doc-view-set-slice-from-bounding-box): Fix completion table.
1250 (doc-view-mode): Use add-hook for after-revert-hook.
1252 2013-01-10 Glenn Morris <rgm@gnu.org>
1254 * emacs-lisp/authors.el (authors-ignored-files)
1255 (authors-valid-file-names, authors-renamed-files-alist):
1256 Add some more entries.
1258 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1260 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1261 `t' pseudo-window entry.
1263 2013-01-10 Alan Mackenzie <acm@muc.de>
1265 Fix bugs in the c-parse-state mechanism. Reuse some markers
1266 instead of continually generating new ones.
1268 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1269 (c-state-old-cpp-end-marker): New variables.
1270 (c-append-lower-brace-pair-to-state-cache): Start a backward
1271 search for "}" definitively outside CPP constructs.
1272 (c-remove-stale-state-cache): Inform the caller of a need to
1273 search back for a brace pair in certain circumstances.
1274 (c-state-maybe-marker): New macro.
1275 (c-parse-state): Reuse markers when appropriate.
1277 2013-01-10 Glenn Morris <rgm@gnu.org>
1279 * simple.el (execute-extended-command): Doc fix.
1280 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1282 2013-01-10 Chong Yidong <cyd@gnu.org>
1284 * faces.el (read-face-name): Doc fix.
1286 2013-01-10 Roland Winkler <winkler@gnu.org>
1288 * emacs-lisp/crm.el: Allow any regexp for separators.
1289 (crm-default-separator): All spaces around the default comma separator.
1290 (crm--completion-command): New macro.
1291 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1292 (crm-complete-and-exit): Handle non-single-char separators.
1294 2013-01-09 Elias Pipping <pipping@lavabit.com>
1296 * doc-view.el: Add support for DjVu (bug#13164).
1297 (doc-view-djvu->png-converter-function): New config var.
1298 (doc-view-single-page-converter-function, doc-view--image-type)
1299 (doc-view--image-file-extension): New vars.
1300 (doc-view-mode): Initialize them.
1301 (doc-view-goto-page): Use them.
1302 (doc-view-mode-p): Add support for ddjvu.
1303 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1304 (doc-view-set-up-single-converter): New funs.
1305 (doc-view-pdf/ps->png): Extend for djvu.
1306 (doc-view-document->png): Rename from doc-view-pdf->png.
1307 (doc-view-convert-current-doc): Handle djvu.
1308 (doc-view-insert-image, doc-view-display)
1309 (doc-view-already-converted-p): Don't hardcode png.
1310 (doc-view-set-doc-type): Recognize djvu docs.
1312 2013-01-09 Elias Pipping <pipping@lavabit.com>
1314 * doc-view.el: Add support for mupdf converter (bug#13164).
1315 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1316 (doc-view-ps->png-converter-function): New config vars.
1317 (doc-view-pdf->png-converter-ghostscript)
1318 (doc-view-ps->png-converter-ghostscript)
1319 (doc-view-pdf->png-converter-mupdf): New functions.
1320 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1322 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1324 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1325 first in session cache: When `tramp-own-remote-path' is in
1326 `tramp-remote-path', the remote path is only set in the session
1329 2013-01-09 Glenn Morris <rgm@gnu.org>
1331 * emacs-lisp/trace.el (trace-function-foreground)
1332 (trace-function-background): Doc fix.
1334 2013-01-09 Juri Linkov <juri@jurta.org>
1336 * international/mule-cmds.el (read-char-by-name): Move let-binding
1337 of completion-ignore-case around completing-read to fix regression
1338 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1339 `string-match-p' using the nil value of `case-fold-search' and
1340 `completion-ignore-case' in `completion-pcm--all-completions'.
1343 2013-01-09 Glenn Morris <rgm@gnu.org>
1345 * progmodes/compile.el (compilation-parse-errors):
1346 Fix typo. (Bug#13369)
1348 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1350 * comint.el (comint-send-input): Check size of buffer before
1351 waiting for process output, in case already accepted. (Bug#13290)
1353 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1356 * net/tramp-adb.el (tramp-adb-get-toolbox):
1357 Fix misspelling of 'unknown'.
1359 2013-01-08 Juri Linkov <juri@jurta.org>
1361 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1362 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1363 Use underline style wave on terminals that support it. (Bug#13000)
1365 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1368 the predicate returns nil.
1370 * simple.el: Use lexical-binding.
1371 (primitive-undo): Use pcase.
1372 (minibuffer-history-isearch-push-state): Use a closure.
1374 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1376 * simple.el (primitive-undo): Move from undo.c.
1378 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1380 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1381 (cvs-mode-remove-handled): Use it (bug#13380).
1383 * emacs-lisp/nadvice.el (advice--tweak): New function.
1384 (advice--remove-function, advice--subst-main): Use it.
1386 * emacs-lisp/advice.el: Update commentary.
1388 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1390 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1391 Remove spurious entry.
1393 2013-01-08 Glenn Morris <rgm@gnu.org>
1395 * net/tramp.el (tramp-default-host-alist): Add :version.
1397 2013-01-08 Juri Linkov <juri@jurta.org>
1399 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1400 single completion. (Bug#12456)
1401 (info--manual-names): Expand node completions into an explicit list
1402 before appending it to another list. Filter out internal buffers
1403 with the leading space in the buffer name. (Bug#10771)
1405 2013-01-08 Juri Linkov <juri@jurta.org>
1407 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1408 that defaults to the Top node.
1409 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1410 the short format (FILENAME) goes to the Top node.
1411 (Info-build-node-completions): Rename arg `file' to `filename'.
1414 2013-01-07 Bastien Guerry <bzg@gnu.org>
1416 * menu-bar.el (menu-bar-search-documentation-menu):
1417 Use `apropos-user-option' and fix the help message.
1419 2013-01-07 Bastien Guerry <bzg@gnu.org>
1421 * apropos.el (apropos-do-all): Update docstring.
1422 (apropos-user-option-button): New face.
1423 (apropos-user-option): Rename from `apropos-variable' and update
1425 (apropos-variable): Rewrite, now show all variables by default.
1426 (apropos-print): Mention "User option" instead of "Variable" when
1427 printing doc for user options. (Bug#13276)
1429 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1431 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1432 Handle filename correctly, when parsing "source -> target" symlink
1434 (tramp-adb-handle-set-file-times): New defun.
1436 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1438 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1439 advice list when the interactive-spec of ad-Advice-* changes.
1441 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1443 * wid-edit.el (widget-default-get): Work for inlined elements.
1446 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1448 * net/tramp.el (tramp-default-host-alist): New defcustom.
1449 (tramp-find-host): Use it.
1450 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1451 `eshell-directory-change-hook'.
1453 * net/tramp-adb.el (top): Add adb specific entry in
1454 `tramp-default-host-alist'.
1455 (tramp-adb-file-name-host): Remove function.
1456 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1457 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1459 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1461 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1463 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1465 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1467 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1468 consist of more than one digit.
1469 (tramp-adb-file-name-handler-alist):
1470 Use `tramp-handle-file-exists-p' consistently.
1471 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1472 (tramp-adb-handle-file-exists-p): Remove function.
1473 (tramp-adb-file-name-host): New defun.
1474 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1476 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1478 2013-01-06 Chong Yidong <cyd@gnu.org>
1480 * vc/vc.el (vc-next-action): Detect buffer modifications
1481 conflicting with locking VCS operation (Bug#11490).
1483 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1485 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1487 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1488 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1490 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1492 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1493 parsing of ls output using regular expression (handle filenames
1494 with spaces). Use virtual device number.
1495 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1498 2013-01-04 Daiki Ueno <ueno@gnu.org>
1500 * epg.el: Silence byte-compiler warnings.
1501 (epg--start): Use delete-char instead of delete-backward-char.
1502 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1504 2013-01-04 Daiki Ueno <ueno@gnu.org>
1506 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1507 Suggested by Eli Zaretskii <eliz@gnu.org>.
1509 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1511 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1512 non-negative integers. Otherwise, the default values are used.
1513 (tramp-convert-file-attributes): Convert uid and gid to integers.
1515 2013-01-04 Glenn Morris <rgm@gnu.org>
1517 * term.el (term-handle-colors-array): Ensure face attributes
1518 are fully specified, not nil. (Bug#13337)
1520 * term.el (term-default-fg-color, term-default-bg-color):
1523 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1524 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1525 rather than 'jka-compr being loaded. (Bug#13338)
1527 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1529 * icomplete.el (icomplete-completions):
1530 Honor icomplete-prospects-height once more following
1531 2012-11-29 changes. (Bug#13224)
1533 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1535 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1536 of called-interactively-p as well (bug#13237).
1538 * view.el (view--enable, view--disable): Rename from view-mode-enable
1539 and view-mode-disable and assume it's called from view-mode.
1540 (view-mode-enable, view-mode-disable): Redefine as obsolete
1541 compatibility layer above view-mode.
1542 (view-mode-enter): Call `view-mode'.
1544 * files.el (after-find-file): Call `view-mode'.
1546 * doc-view.el (doc-view-scale-internally): New var.
1547 (doc-view-enlarge, doc-view-insert-image): Obey it.
1549 2013-01-03 Daiki Ueno <ueno@gnu.org>
1551 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1554 2013-01-03 Glenn Morris <rgm@gnu.org>
1556 * mail/rmail.el (rmail-set-header-1): Ignore case.
1557 Handle multi-line headers. (Bug#13330)
1559 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1560 Handle paragraph starting at beginning of buffer.
1562 * subr.el (eval-after-load): Don't purecopy the form, so that it
1563 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1565 * emacs-lisp/byte-run.el (defun): Place cl declarations
1566 after any interactive spec. (Bug#13265)
1568 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1570 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1571 defun. Don't check for DECL if DOCSTRING isn't a string.
1574 2013-01-02 Glenn Morris <rgm@gnu.org>
1576 * eshell/em-cmpl.el (eshell-pcomplete):
1577 More thoroughly imitate pcomplete. (Bug#13293)
1579 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1580 Return nil for empty path elements. (Bug#13296)
1582 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1584 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1585 order to improve efficiency (Based on Daniel Colascione's
1586 <dancol@dancol.org> patch). (Bug#13182)
1588 2013-01-02 Glenn Morris <rgm@gnu.org>
1590 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1592 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1594 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1595 neither DOCSTRING nor DECL was given. (Bug#13316)
1597 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1599 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1601 (tramp-do-copy-or-rename-file): Ignore errors when calling
1602 `set-file-extended-attributes'.
1604 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1605 Add handler for `file-acl'.
1606 (tramp-smb-handle-file-acl): New defun.
1608 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1610 * calc/README: Mention ISO 8601 week-numbering dates.
1612 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1614 * view.el (view-mode-enable): New argument run-view-mode-hook.
1615 Run view-mode-hook only when it's non-nil (Bug#13315).
1616 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1619 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1621 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1622 (No device connected, invalid device name). (Bug #13299)
1624 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1626 * window.el (window-resizable--p): Rename to window-resizable-p.
1627 (window-resize-no-error): New function.
1629 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1630 broken in fix from 2012-12-28.
1632 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * subr.el (special-form-p): Don't signal errors on undef aliases.
1636 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1638 * calc/calc-forms.el (math-parse-date): Try using
1639 `math-parse-iso-date' when it looks like it might be needed.
1640 Allow times of 24:00.
1641 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1644 2012-12-30 Glenn Morris <rgm@gnu.org>
1646 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1647 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1648 (rmail-summary-displayed, rmail-summary): Declare.
1649 (mairix-rmail-display): Just require rmail.
1651 2012-12-30 Chong Yidong <cyd@gnu.org>
1653 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1654 check for the tarball contents.
1656 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1658 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1659 tarfile content listings (Bug#13136).
1661 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1663 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1664 Insert the undecoded text of the message being forwarded. (Bug#9521)
1666 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1668 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1669 integers, if they are real numbers. (Bug#13282)
1671 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1672 Return `t' on success.
1674 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1675 Add handler for `set-file-selinux-context'.
1677 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1679 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1680 (tramp-sh-handle-set-file-acl): Return `t' on success.
1682 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1684 * files.el (backup-buffer-copy, basic-save-buffer-2):
1685 If set-file-extended-attributes fails, fall back on set-file-modes
1686 instead of signaling an error. (Bug#13298)
1687 (basic-save-buffer): Likewise.
1689 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1691 * progmodes/python.el: Support other commands triggering
1692 python-indent-line so indentation cycling continues to work.
1693 (python-indent-trigger-commands): New defcustom.
1694 (python-indent-line): Use it.
1696 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1698 * progmodes/python.el (python-shell-send-region): Add blank lines
1699 for non sent code so backtraces remain correct.
1701 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1703 * progmodes/python.el: Remove cl dependency.
1704 (python-syntax-count-quotes): Replace incf call.
1705 (python-fill-string): Replace setf call.
1707 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1709 * info.el (info-other-window): New arg, for consistency with info.
1711 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1713 * mail/rmail.el (rmail-maybe-display-summary):
1714 Rewrite (Bug#13066).
1716 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1718 * epg.el (epg--start): Modify process-environment locally.
1720 2012-12-28 Daiki Ueno <ueno@gnu.org>
1722 * epg.el: Support pinentry-curses.
1723 Suggested by Werner Koch in
1724 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1725 (epg-agent-file, epg-agent-mtime): New variable.
1726 (epg--start): Record the modified time of gpg-agent socket file,
1727 to restore Emacs frame after pinentry-curses termination.
1728 (epg-wait-for-completion): Restore Emacs frame here.
1730 2012-12-27 Juri Linkov <juri@jurta.org>
1732 * info.el (Info-file-completions): New variable.
1733 (Info-read-node-name-1): Complete node names in the Info file
1734 when a file name is given. Call `Info-build-node-completions'
1736 (Info-build-node-completions): Add new arg `file'. When it is
1737 non-nil, visit it in a temporary buffer and cache its completions in
1738 `Info-current-file-completions'. Move most of the function body to
1739 `Info-build-node-completions-1'.
1740 (Info-build-node-completions-1): New function with the body from
1741 `Info-build-node-completions'. (Bug#12456)
1743 2012-12-27 Juri Linkov <juri@jurta.org>
1745 * frame.el (frame-maximization-style): Remove user option.
1746 (cycle-frame-maximized): Remove function.
1747 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1748 (toggle-frame-fullscreen): New command bound to <f11> instead of
1749 `toggle-frame-maximized'.
1750 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1752 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1754 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1756 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1757 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1758 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1759 for `file-accessible-directory-p'. (Bug#13275)
1761 2012-12-27 Sam Steingold <sds@gnu.org>
1763 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1764 continuations, see <http://stackoverflow.com/questions/3582436>.
1766 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1768 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1769 "module" and "def" to have indentation before them.
1770 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1772 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1774 2012-12-27 Alan Mackenzie <acm@muc.de>
1776 Speed up fontification where there's large brace blocks.
1777 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1778 to a call of c-beginning-of-decl-1.
1780 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1782 * comint.el (comint-adjust-window-point): New function.
1783 (comint-postoutput-scroll-to-bottom):
1784 Call comint-adjust-window-point (Bug#13248).
1786 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1788 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1790 (auto-mode-alist): Associate .gemspec files with ruby-mode
1791 (https://bugs.ruby-lang.org/issues/5453).
1793 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1795 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1796 Suppress coloring, if possible (required for BusyBox based systems like
1798 (tramp-adb-handle-file-attributes)
1799 (tramp-adb-handle-insert-directory)
1800 (tramp-adb-handle-file-name-all-completions): Use it.
1801 (tramp-adb-get-toolbox): New defun. Check for remote shell
1802 implementation (BusyBox or Toolbox).
1804 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1806 * startup.el (initial-buffer-choice): Allow function as value
1808 (command-line-1): Handle case where initial-buffer-choice
1809 specifies a function.
1810 * server.el (server-execute): Handle case where
1811 initial-buffer-choice specifies a function.
1813 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1815 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1817 (smtpmail-try-auth-methods): Forget the user name/password if the
1818 login is unsuccessful (bug#12424).
1820 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1822 * notifications.el (notifications-notify): Protect body with
1823 `with-demoted-errors'.
1825 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1826 Check properties of remote device. Restart connection, if there is a
1829 2012-12-21 Chong Yidong <cyd@gnu.org>
1831 * sort.el (sort-subr): Doc fix (Bug#13056).
1833 2012-12-21 Bastien Guerry <bzg@gnu.org>
1835 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1837 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1839 * simple.el (process-file): Overwrite stderr file, if exists.
1841 2012-12-21 Daiki Ueno <ueno@gnu.org>
1843 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1844 (epg-error): Set `error-message' property.
1846 2012-12-21 Chong Yidong <cyd@gnu.org>
1848 * international/mule-cmds.el (read-char-by-name): Signal an error
1849 if the user does not supply a valid character (Bug#13177).
1851 * simple.el (transpose-subr-1): Preserve marker positions by
1852 changing the insertion sequence (Bug#13122).
1854 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1856 * simple.el (kill-region): Deactivate mark even for empty regions
1859 2012-12-21 Chong Yidong <cyd@gnu.org>
1861 * help-fns.el (describe-variable): Make sure we get the right
1862 buffer name (Bug#13105). Suggested by Kelly Dean.
1864 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1866 * comint.el (comint-redirect-previous-input-string): New variable.
1867 (comint-redirect-setup, comint-redirect-cleanup)
1868 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1869 (comint-redirect-preoutput-filter): Fix verbose message.
1871 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1873 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1874 is too long for Tramp. See discussion in
1875 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1877 * progmodes/compile.el (compilation-start): Remove line escape
1880 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1882 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1885 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1887 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1888 following non-comment text (bug#13207).
1889 (lm-header-multiline): Continuation lines need to be indented more than
1891 (lm-homepage): New function.
1892 (lm-with-file): Don't be confused if narrowing is in effect.
1894 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1896 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1897 very beginning of a hunk (e.g. killing the first line).
1899 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1901 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1902 and text properties from returned ACL string.
1903 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1904 for "setfacl" command.
1906 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1908 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1909 `tramp-cleanup-this-connection', when the process has died.
1912 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1914 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1916 2012-12-17 Kevin Ryde <user42@zip.com.au>
1918 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1920 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1922 Add support for preserving ACL entries of files.
1924 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1925 `set-file-acl' handlers.
1927 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1928 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1930 * net/tramp-compat.el (tramp-compat-copy-file):
1931 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1933 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1934 Add `file-acl' and `set-file-acl' handlers.
1935 (tramp-gvfs-handle-copy-file):
1936 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1937 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1940 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1941 Add `file-acl' and `set-file-acl' handlers.
1942 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1943 (tramp-sh-handle-set-file-acl): New defuns.
1944 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1945 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1947 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1948 Add `file-acl' and `set-file-acl' handlers.
1949 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1951 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1953 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1954 use pop-to-buffer with NORECORD argument t. As buffer name, use
1955 *Metahelp* with a leading space (Bug#13190).
1957 2012-12-16 Romain Francoise <romain@orebokech.com>
1959 * files.el (file-extended-attributes)
1960 (set-file-extended-attributes): New functions.
1961 (backup-buffer): Use them to handle both SELinux context and ACL
1963 (backup-buffer-copy): Work with an alist of extended attributes,
1964 rather than an SELinux context.
1965 (basic-save-buffer-2): Ditto.
1967 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1969 * battery.el (battery-bsd-apm): New function.
1971 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1973 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1974 standard date formats.
1976 2012-12-15 Juri Linkov <juri@jurta.org>
1978 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1979 `isearch-insert-char-by-name'.
1980 (with-isearch-suspended): New defmacro with body mostly from
1981 `isearch-edit-string' except the part that sets
1982 `isearch-new-string' and `isearch-new-message'.
1983 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1984 body that sets `isearch-new-string' and `isearch-new-message'.
1985 (isearch-insert-char-by-name): New command.
1986 * international/mule-cmds.el (read-char-by-name): Let-bind
1987 `enable-recursive-minibuffers' to t.
1988 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1990 2012-12-15 Juri Linkov <juri@jurta.org>
1992 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1995 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1997 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1998 the prompt. (Bug#13045)
2000 2012-12-14 Glenn Morris <rgm@gnu.org>
2002 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2003 Try to include filename in non-bytecomp warning. (Bug#13132)
2005 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2007 Fix permissions bugs with setgid directories etc. (Bug#13125)
2008 * files.el (backup-buffer): Don't rely on 9th output of
2009 file-attributes, as it's now a placeholder. Instead, use the new
2010 optional arg of file-ownership-preserved-p.
2011 (file-ownership-preserved-p): New optional arg GROUP.
2012 Fix mishandling of setuid directories that would cause this
2013 function to return t when it should have returned nil.
2014 Document what happens if the file does not exist, and when
2015 it's not known whether the ownership will be preserved.
2016 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2018 (tramp-get-local-gid): Use group-gid for integer, as that's
2019 faster and more reliable.
2021 2012-12-14 Julien Danjou <julien@danjou.info>
2023 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2024 Update keywords list, data type and PL/pgSQL.
2026 2012-12-14 Dave Abrahams <dave@boostpro.com>
2028 * vc/ediff-util.el (ediff-buffer-type): New function.
2029 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2030 rather than taking it as as argument.
2031 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2033 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2035 * json.el: Add pretty-print option (bug#12634).
2036 (json-encoding-separator, json-encoding-default-indentation)
2037 (json--encoding-current-indentation, json-encoding-pretty-print)
2038 (json-encoding-lisp-style-closings): New vars.
2039 (json--with-indentation): New macro.
2040 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2041 (json-encode-array): Use it to obey json-encoding-pretty-print.
2042 (json-pretty-print-buffer, json-pretty-print): New commands.
2044 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2046 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2047 Extract `ruby-syntax-propertize-expansions'.
2048 (ruby-syntax-propertize-expansions): Only change syntax on
2049 certain string delimiters, to punctuation. This way the common
2050 functions like forward-word and thing-at-point still work.
2051 (ruby-match-expression-expansion): Improve readability.
2052 (ruby-block-contains-point): New function.
2053 (ruby-add-log-current-method): Handle several edge cases.
2055 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2057 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2058 unload-feature finishes even when aborting an ongoing edebug session.
2059 Also, do not worry about edebug-mode, unload-feature takes care of it.
2061 2012-12-13 Andreas Schwab <schwab@suse.de>
2063 * net/tls.el (tls-program): Update customize type.
2065 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2067 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2068 (edebug-setup-hook, cl-read-load-hooks): Use it.
2069 (edebug-unload-function): New function. (Bug#13163)
2071 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2073 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2074 Otherwise, there could be errors in autoloading. (Bug#13151)
2076 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2078 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2081 2012-12-13 Alan Mackenzie <acm@muc.de>
2083 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2084 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2085 around `forward-comment' not recognizing ^M as whitespace.
2087 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2089 * progmodes/python.el (python-skeleton-class)
2090 (python-skeleton-def): Do not add space after defun name.
2092 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2094 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2095 (cl--symbol-function): Remove (now that funbound is like nil).
2097 2012-12-12 Glenn Morris <rgm@gnu.org>
2099 * button.el (button--area-button-p): Fix typo.
2101 2012-12-12 Sam Steingold <sds@gnu.org>
2103 * frame.el (frame-maximization-style): New user option.
2104 (toggle-frame-maximized): Toggle frame maximization according to
2105 `frame-maximization-style', bound to <f11>.
2106 (cycle-frame-maximized): Cycle between all maximization styles and
2107 non-maximized frame, bound to shift-<f11>.
2109 2012-12-12 David Cadé <codename68@gmail.com>
2111 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2113 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2115 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2116 (eieio-override-prin1): Don't quote kewords and booleans.
2117 (object-write) <eieio-default-superclass>: Don't put closing parens
2118 on new line, avoid needless empty lines, align values that are objects
2119 with the slot keyword (instead of beginning on the same line).
2120 (eieio-list-prin1): Align value with slot keyword; increase
2121 eieio-print-depth before printing members of the list.
2123 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2125 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2126 a display text-property.
2127 (report-emacs-bug-hook): Don't bother deleting it any more.
2129 * hilit-chg.el (highlight-save-buffer-state): Delete.
2130 Use with-silent-modifications instead.
2131 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2133 * button.el: Handle buttons in display text-properties.
2134 (button--area-button-p, button--area-button-string):
2135 Use (STRING . STRING-POS) representation instead of just STRING.
2137 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2139 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2140 subdirectory be skipped.
2142 2012-12-11 Glenn Morris <rgm@gnu.org>
2144 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2146 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2147 Treat preprocessor lines embedded in continuations like comments.
2148 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2150 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2152 * calc/calc.el (calc-standard-date-formats): Add more date
2154 * calc/calc-forms.el (math-parse-iso-date): New function.
2155 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2156 (math-parse-iso-date-validate): Add extra error checking.
2157 (calc-date-notation): Add ability to access new date formats.
2159 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2161 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2162 font-lock as well as when there's no text-property.
2164 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2166 * hi-lock.el: Refine the choice of default face.
2167 (hi-lock-keyword->face): New function. Use it wherever we used
2169 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2170 (hi-lock--last-face): Remove var.
2171 (hi-lock--unused-faces): New var to replace it.
2172 (hi-lock-read-face-name): Use/maintain it.
2173 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2174 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2175 if it has another face.
2177 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2179 * subr.el (w32notify-handle-event): New function.
2180 (inotify-handle-event): Doc fix.
2182 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2184 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2186 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2188 * simple.el (just-one-space): Doc fix.
2190 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2192 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2194 2012-12-10 Le Wang <l26wang@gmail.com>
2196 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2197 narrowed buffer (bug#12361).
2199 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2201 * vc/vc-hooks.el (vc-state): Doc fix.
2203 2012-12-10 Glenn Morris <rgm@gnu.org>
2205 * mail/rmail.el (rmail-maybe-display-summary):
2206 Preserve buffer, in case select-window changes it. (Bug#13066)
2208 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2210 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2211 cl-load-hook where they belong.
2213 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2215 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2217 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2219 Parallelize byte compilation on MS-Windows.
2220 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2221 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2222 (WINS_BASIC): Define as concatenation of the above.
2223 (compile): Subdivide into 4 separate and independent jobs that can
2225 (compile0-CMD, compile0-SH): New targets for compiling
2226 COMPILE_FIRST files, which are prerequisites for the rest of the
2228 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2229 New targets for parallel compilation with cmd.exe.
2230 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2231 compiling under a Unixy shell.
2233 2012-12-09 Chong Yidong <cyd@gnu.org>
2235 * simple.el (set-mark-default-inactive): Delete this
2236 accidentally-introduced option.
2237 (set-mark-command, exchange-point-and-mark): Remove calls.
2239 2012-12-09 Glenn Morris <rgm@gnu.org>
2241 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2242 Respect a defcustom's :set function, if appropriate. (Bug#109)
2243 (eval-defun): Doc fix.
2245 2012-12-08 Juri Linkov <juri@jurta.org>
2247 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2248 (Info-fontify-node, Info-bookmark-make-record): Remove the
2249 file extension from Info-current-file (Bug#13016).
2251 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2253 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2254 point, still provide some default.
2255 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2256 names, since we don't use it right now. Actually return the list.
2257 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2259 2012-12-07 Chong Yidong <cyd@gnu.org>
2261 * novice.el (disabled-command-function): Remove a spurious help
2262 xref (Bug#13043). Suggested by Kelly Dean.
2264 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2265 syntax is specified (Bug#13025).
2267 * info.el (Info-set-mode-line): Remove the file extension from
2268 Info-current-file if there is one (Bug#13016).
2270 2012-12-07 Glenn Morris <rgm@gnu.org>
2272 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2273 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2274 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2275 and rmail-mime-decoded. (Bug#9841)
2277 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2278 (batch-unrmail, unrmail): Doc fixes.
2279 (unrmail): Respect unrmail-mbox-format.
2280 * mail/rmail.el (rmail-mbox-format): New option.
2281 (rmail-show-message-1): Respect rmail-mbox-format.
2283 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2285 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2287 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2289 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2290 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2291 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2292 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2293 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2294 (cl-progv): Don't rely on dynamic scoping to find the body.
2295 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2296 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2297 (cl-declaim): Use backquotes.
2298 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2299 Use "cl--" prefix for the object's tag.
2301 * ses.el: Use advice-add/remove.
2302 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2303 (copy-region-as-kill, yank): Use advice-add.
2304 (ses-unload-function): Use advice-remove.
2306 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2308 * button.el: Make them work in header-lines (bug#12817).
2309 (button-map): Add bindings for header-line and mode-line use.
2310 (button-get, button-put, button-label): `button' may now be a string.
2311 (button-activate): Don't make it a defsubst.
2312 (button--area-button-p, button--area-button-string): New functions.
2313 (make-text-button): Fix the return value when `beg' was a string.
2314 (push-button): Handle the mode-line case.
2316 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2318 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2319 (sql-signum): Remove. Use `cl-signum' instead.
2320 (sql-read-passwd): Remove; use read-passwd instread.
2321 (sql-get-login-ext): Use read-string.
2322 (sql-get-login): Use dolist and pcase.
2323 (sql--completion-table): Rename from sql-try-completion.
2324 Use complete-with-action.
2325 (sql-mode): Don't change abbrev-all-caps globally.
2326 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2327 (sql-postgres-completion-object): Initialize vars in their `let'.
2328 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2329 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2330 (sql-comint-interbase): Use a single append, without setq.
2331 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2333 * hi-lock.el: Rework the default face and the serialize regexp code.
2334 (hi-lock--auto-select-face-defaults): Remove.
2335 (hi-lock-string-serialize-serial): Remove.
2336 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2338 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2340 (hi-lock-set-pattern): Adjust accordingly.
2341 (hi-lock--regexps-at-point): Simplify accordingly.
2342 (hi-lock--auto-select-face-defaults): Remove.
2343 (hi-lock--last-face): New var to replace it.
2344 (hi-lock-read-face-name): Rewrite (bug#11095).
2345 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2347 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2349 * net/tramp.el (tramp-replace-environment-variables):
2350 Hide compiler warning.
2351 (tramp-file-name-for-operation): Remove `executable-find',
2352 `start-process', `call-process' and `call-process-region'.
2354 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2356 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2359 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2361 2012-12-06 Chong Yidong <cyd@gnu.org>
2363 * ffap.el (ffap-replace-file-component): Fix typo.
2365 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2367 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2368 fix open-paren-like token test (bug#12785).
2370 2012-12-06 Glenn Morris <rgm@gnu.org>
2372 * mail/rmailsum.el (rmail-new-summary): Tweak for
2373 rmail-maybe-display-summary changing buffer. (Bug#13066)
2375 2012-12-06 Juri Linkov <juri@jurta.org>
2377 * info.el (Info-fontify-node): Don't hide the last newline.
2380 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2382 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2383 so as to enable message-read-from-minibuffer to expand mail aliases.
2385 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2387 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2388 the `intangible' property.
2389 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2391 2012-12-05 Deniz Dogan <deniz@dogan.se>
2393 * net/rcirc.el (rcirc-urls): Update documentation.
2394 (rcirc-condition-filter): New function.
2395 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2396 and exclude consecutive duplicate URLs (Bug#6082).
2398 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2400 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2401 Check return code of copy command.
2403 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2404 Use group `tramp'. Add version.
2406 2012-12-05 Chong Yidong <cyd@gnu.org>
2408 * ffap.el (ffap-url-regexp): Don't require matching at front of
2410 (ffap-url-p): If only a substring matches, return that.
2411 (ffap-url-at-point): Use the return value of ffap-url-p.
2412 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2413 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2414 (ffap-guess-file-name-at-point): Likewise.
2415 (ffap-replace-file-component): Fix typo.
2417 * info.el (info-display-manual): Add existing Info buffers, whose
2418 files may not be in Info-directory-list, to the completion.
2419 (info--manual-names): New helper function.
2421 2012-12-05 Glenn Morris <rgm@gnu.org>
2423 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2424 New functions, for detecting and resolving conflicts. (Bug#10709)
2426 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2428 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2429 (hi-lock-auto-select-face-defaults): New buffer local variable.
2430 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2431 (hi-lock-unface-buffer): Prompt user with useful defaults.
2432 With prefix arg, unhighlight all hi-lock patterns in buffer.
2434 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2436 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2438 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2440 * Makefile.in (TRAMP_SRC):
2441 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2443 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2445 * net/tramp-adb.el: New package.
2447 2012-12-04 Chong Yidong <cyd@gnu.org>
2449 * terminal.el: Move to obsolete/.
2451 * longlines.el: Move to obsolete/.
2453 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2454 Remove code referring to longlines mode.
2456 2012-12-03 Juri Linkov <juri@jurta.org>
2458 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2460 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2462 * textmodes/ispell.el (ispell-init-process)
2463 (ispell-start-process, ispell-internal-change-dictionary):
2464 Make sure personal dictionary name is expanded after initial
2465 `default-directory' value. Use expanded strings for
2466 keep/restart checks and for value (Bug#13019).
2468 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2470 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2472 2012-12-03 Leo Liu <sdl.web@gmail.com>
2474 * files.el (dir-locals-read-from-file): Check file non-empty
2475 before reading. (Bug#13038)
2477 2012-12-03 Glenn Morris <rgm@gnu.org>
2479 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2480 Remove any version extension before checking filename. (Bug#13006)
2481 (jka-compr-compression-info-list): Belated :version bump.
2483 2012-12-03 Chong Yidong <cyd@gnu.org>
2485 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2487 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2488 (buffer-menu): Doc fix (Bug#12294).
2490 2012-12-03 Roland Winkler <winkler@gnu.org>
2492 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2493 of diary-show-all-entries in the diary buffer (Bug#12994).
2495 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2497 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2498 "<STDIN>". This is binary safe.
2500 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2502 * calc/calc-forms.el (math-absolute-from-iso-dt)
2503 (math-date-to-iso-dt, math-parse-iso-date-validate)
2504 (math-iso-dt-to-date): New functions.
2505 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2506 (math-fd-isoweekday): New variables.
2507 (calc-date-notation, math-parse-standard-date, math-format-date)
2508 (math-format-date-part): Add support for more formatting codes.
2510 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2512 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2513 current buffer's file name when called interactively (Bug#12488).
2515 2012-12-02 Juri Linkov <juri@jurta.org>
2517 * info.el (info-display-manual): Don't clobber an existing Info
2518 buffer (Bug#10770). Add completion (Bug#10771).
2520 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2522 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2523 before using it for comparison (Bug#5297).
2525 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2527 * textmodes/css-mode.el (css-current-defun-name): New function.
2530 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2531 (html-mode): Use it.
2533 2012-12-01 Chong Yidong <cyd@gnu.org>
2535 Modularize add-log-current-defun (Bug#2224).
2536 Suggested by Jari Aalto.
2538 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2539 (add-log-current-defun): Move mode-specific code to other files.
2540 (add-log-lisp-like-modes, add-log-c-like-modes)
2541 (add-log-tex-like-modes): Variables deleted.
2543 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2544 (lisp-mode-variables): Use it.
2546 * progmodes/cc-mode.el (c-common-init):
2547 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2548 add-log-current-defun-function.
2550 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2553 * progmodes/perl-mode.el (perl-current-defun-name): New.
2554 (perl-mode): Use it.
2556 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2557 Use lisp-current-defun-name.
2559 * textmodes/tex-mode.el (tex-current-defun-name): New.
2560 (tex-common-initialization): Use it.
2562 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2563 (texinfo-mode): Use it.
2565 2012-12-01 Chong Yidong <cyd@gnu.org>
2567 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2568 * progmodes/autoconf.el (autoconf-mode):
2569 * progmodes/js.el (js-mode):
2570 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2571 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2572 * progmodes/perl-mode.el (perl-mode):
2573 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2574 * textmodes/css-mode.el (css-mode):
2575 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2576 (sgml-tags-invisible, sgml-guess-indent):
2577 * textmodes/tex-mode.el (tex-common-initialization)
2578 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2579 (doctex-mode, plain-tex-mode, latex-mode):
2580 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2582 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2584 * vc/vc-hg.el (vc-hg-next-revision):
2585 Ensure use of default "tip" output format. (Bug#6968)
2587 2012-12-01 Kim F. Storm <storm@cua.dk>
2589 * startup.el (fancy-startup-tail): Add a clickable link
2592 2012-12-01 Chong Yidong <cyd@gnu.org>
2594 * startup.el (fancy-startup-tail): Improve the message about
2595 auto-save files (Bug#2176).
2597 * files.el (recover-session): Improve the descriptive message, and
2598 use substitute-command-keys.
2600 2012-12-01 Glenn Morris <rgm@gnu.org>
2602 * ido.el (ido-file-internal):
2603 Handle other-window, other-frame for dired. (Bug#13036)
2605 2012-11-30 Glenn Morris <rgm@gnu.org>
2607 * icomplete.el (icomplete-separator): Fix :version.
2609 2012-11-30 Chong Yidong <cyd@gnu.org>
2611 * shell.el (shell): For C-u M-x shell, use an inactive shell
2612 buffer as the default (Bug#1975).
2613 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2614 (shell-mode): Use them to reapply ansi colorization if Shell mode
2617 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2619 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2621 2012-11-30 Samuel Bronson <naesten@gmail.com>
2623 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2624 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2626 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2628 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2629 by move-to-column (Bug#3234).
2631 2012-11-30 Chong Yidong <cyd@gnu.org>
2633 * longlines.el (longlines-wrap-line, longlines-encode-region):
2634 Preserve text properties (Bug#1425).
2636 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2638 * vc/vc.el (vc-register): Allow registering a file which is
2639 already registered with a different backend (Bug#10589).
2641 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2642 Stefan Monnier <monnier@iro.umontreal.ca>
2644 * icomplete.el: Change separator; add ido-style commands.
2645 (icomplete-show-key-bindings): Remove custom var.
2646 (icomplete-get-keys): Remove function.
2647 (icomplete-forward-completions, icomplete-backward-completions):
2649 (icomplete-minibuffer-map): New var.
2650 (icomplete-minibuffer-setup): Use it.
2651 (icomplete-exhibit): Don't delay if the list of completions is known.
2652 (icomplete-separator): New custom.
2653 (icomplete-completions): Use it.
2654 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2655 (minibuffer-force-complete-and-exit): New command.
2656 (minibuffer--complete-and-exit): New function extracted from
2657 minibuffer-complete-and-exit.
2658 (minibuffer-complete-and-exit): Use it.
2660 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2661 error message when the file doesn't exist (bug#12974).
2663 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2665 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2667 2012-11-29 Glenn Morris <rgm@gnu.org>
2669 * files.el (hack-dir-local-variables): Warn if try to set
2670 coding via dir-locals, since it doesn't work. (Bug#7169)
2672 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2673 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2674 Set buffer-local value of desktop-save-buffer.
2675 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2677 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2678 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2680 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2681 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2683 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2686 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2688 * calc/calc-forms.el (calc-date-notation): Fix regexp
2689 used to find time codes. Fix symbol for seconds.
2691 2012-11-27 Glenn Morris <rgm@gnu.org>
2693 * emacs-lisp/derived.el (derived-mode-make-docstring):
2694 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2696 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2698 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2699 lexically scoped variables (bug#13005).
2701 2012-11-27 Glenn Morris <rgm@gnu.org>
2703 * vc/vc-hooks.el (vc-mistrust-permissions):
2704 Default to t, to avoid data-loss. (Bug#11490)
2706 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2708 * progmodes/python.el (python-indent-guess-indent-offset):
2709 If indentation is guessed make python-indent-offset buffer-local.
2711 Fix Imenu regression.
2712 * progmodes/python.el (python-nav-beginning-of-defun):
2713 Fix forward movement when statement(s) separates point from defun.
2714 (python-imenu-prev-index-position): New function.
2716 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2718 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2720 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2721 Don't set buffer-file-type. Return nil. (Bug#12989)
2723 2012-11-27 Glenn Morris <rgm@gnu.org>
2725 * hippie-exp.el (hippie-expand-try-functions-list):
2726 Re-autoload it. (Bug#12982)
2728 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2730 * descr-text.el (describe-char-padded-string):
2731 Call internal-char-font only on GUI frames. (Bug#11964)
2733 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2735 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2736 and obsoletion message.
2738 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2740 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2741 the constructs to keep outside of the `cl-block' (bug#12977).
2743 2012-11-27 Chong Yidong <cyd@gnu.org>
2745 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2746 keep reading until we get the up-event anyway, in order to process
2747 the up-event for mouse-1-click-follows-link (Bug#12971).
2749 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2751 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2752 base function is not yet defined (bug#12965).
2753 (ad-activate-advised-definition): Use ad-compile-function.
2754 (ad-activate): Use cond.
2756 2012-11-25 Leo Liu <sdl.web@gmail.com>
2758 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2761 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2763 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2764 reftex-section-info-function in order to be compatible with
2765 Texinfo integration.
2767 * textmodes/reftex.el (reftex-section-pre-regexp)
2768 (reftex-section-post-regexp, reftex-section-info-function):
2770 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2771 reftex-section-post-regexp, and reftex-section-info-function in order
2772 to be compatible with Texinfo integration.
2774 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2775 use reftex-section-pre-regexp variable in order to be compatible with
2776 Texinfo integration.
2778 2012-11-25 Chong Yidong <cyd@gnu.org>
2780 * faces.el: Make face-spec-set more analogous to setq.
2781 (face-spec-set): Change the third arg to specify whether this
2782 function is being called via defface, customize, or a third party.
2783 Set the appropriate symbol properties. Clear the override spec if
2784 setting via Custom. Initialize face if necessary. (Bug#4988)
2785 (face-spec-recalc): Allow theme faces to completely replace the
2786 defface spec, in the same way as custom faces (Bug#8454).
2788 * cus-face.el (custom-declare-face): Move face initialization to
2790 (custom-theme-set-faces): Don't initialize the face name here, as
2791 that is now done in face-spec-set.
2793 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2794 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2795 Simplify by using the new arg to face-spec-set.
2797 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2798 reset face-override-spec too, and use custom-declare-face.
2800 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2802 * term/ns-win.el (ns-initialize-window-system): Move creation of
2803 fontsets here (Bug#11964).
2805 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2807 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2810 2012-11-24 Chong Yidong <cyd@gnu.org>
2812 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2815 * custom.el (custom-theme-set-variables): Use a topological sort
2816 for ordering by custom dependencies (Bug#12952).
2817 (custom--sort-vars, custom--sort-vars-1): New functions.
2819 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2821 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2822 lexical-binding (bug#12938).
2824 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2826 * image-mode.el (image-transform-check-size): Use assertions only
2827 for images of type imagemagick.
2829 Otherwise no error, image-transform-fit-to-{width,height} is
2830 silently ignored, as before. Doc fix.
2832 2012-11-24 Chong Yidong <cyd@gnu.org>
2834 * faces.el (color-defined-p): Doc fix (Bug#12853).
2836 2012-11-24 Juri Linkov <juri@jurta.org>
2838 * dired.el (dired-mark): Add optional arg `interactive'.
2839 Check for `use-region-p' if `interactive' is non-nil.
2840 (dired-unmark, dired-flag-file-deletion): Add optional arg
2841 `interactive'. Call `dired-mark' with the arg `interactive'.
2844 * wdired.el: Revert 2012-10-17 change partly and replace it with
2845 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2846 (wdired-finish-edit): Add marks for new file names to
2847 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2848 after `revert-buffer'.
2849 (wdired-do-renames): Remove calls to `dired-remove-file',
2850 `dired-add-file', `dired-add-entry'. (Bug#11795)
2852 2012-11-24 Alan Mackenzie <acm@muc.de>
2854 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2856 Fix bugs in the state cache. Enhance a debugging mechanism.
2857 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2858 "brace at column zero" strategy for C++.
2859 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2860 (c-parse-state-point): New variable.
2861 (c-record-parse-state-state): Record old parse state with
2862 `copy-tree'. Record previous value of point.
2863 (c-debug-parse-state-double-cons): New debugging function.
2864 (c-debug-parse-state): Call the above new function.
2865 (c-toggle-parse-state-debug): Output a confirmatory message.
2867 * progmodes/cc-mode.el (c-before-change, c-after-change):
2868 Call c-invalidate-state-cache from `c-before-change' instead of
2871 2012-11-23 Chong Yidong <cyd@gnu.org>
2873 * find-cmd.el (find-constituents): Add executable, ipath,
2874 readable, samefile, writable, daystart, regextype (Bug#12856).
2876 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2878 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2880 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2882 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2883 definition. This fixes a bootstrap failure.
2884 (calc-gregorian-switch): In menu, put dates before regions.
2885 This is easier to follow, lines up better in the menu, and lets us
2886 coalesce regions that switch at the same time. Give country
2887 names, not "Vatican", as that's better for non-expert users.
2888 Use names that are stable between the date of switch and now, e.g.,
2889 Bohemia and Moravia (which existed then and now) and not
2890 Czechoslovakia (which didn't exist then and doesn't exist now).
2891 What is now the U.S. mostly did not switch at the same time as
2892 Britain, so omit the U.S. Correct spelling of "Britain".
2893 Catholic Switzerland was too much of a mess, so omit it.
2895 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2897 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2898 after the variable is changed.
2900 2012-11-21 Daniel Colascione <dancol@dancol.org>
2902 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2903 in SQL declarations for font-lock.
2904 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2906 2012-11-21 Glenn Morris <rgm@gnu.org>
2908 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2909 (face-italic-p): Add optional argument "inherit".
2911 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2912 Remove -p suffix from names, for consistency with other set-face-*.
2913 (set-face-inverse-video): Fix interactive spec.
2914 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2915 * textmodes/table.el (table--update-cell-face):
2916 Use set-face-inverse-video rather than now obsolete alias.
2918 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2920 * simple.el (line-move): Don't call line-move-partial if
2921 scroll-conservatively is in effect. (Bug#12927)
2923 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2925 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2926 Fallback on completion-at-point rather than
2927 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2928 (eshell-cmpl-initialize): Setup completion-at-point.
2930 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2932 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2934 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2936 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2937 are remote, check out-of-band property for both.
2939 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2941 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2944 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2946 More minor time fixes.
2947 * calendar/time-date.el: Commentary fix.
2948 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2949 too much other code depends on (0 0) time stamps.
2950 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2951 Add a couple of FIXME comments.
2953 Minor cleanup for times as lists of four integers.
2954 * files.el (dir-locals-directory-cache):
2955 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2957 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2958 * ps-bdf.el (bdf-file-newer-than-time):
2959 Process four-integers time stamps, not two. Doc fixes.
2961 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2963 * uniquify.el (uniquify-managed): Use defvar-local.
2964 (rename-buffer, create-file-buffer): Advise with advice-add.
2965 (uniquify-unload-function): Unadvise accordingly.
2967 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2968 (trace-buffer): Don't purecopy.
2969 (trace-entry-message, trace-exit-message): Add `context' arg.
2970 (trace--timer): New var.
2971 (trace-make-advice): Adjust for use in nadvice.
2972 Add `context' argument. Delay `display-buffer' via a timer.
2973 (trace-function-internal): Use advice-add.
2974 (trace--read-args): New function.
2975 (trace-function-foreground, trace-function-background): Use it.
2976 (trace-function): Rename to trace-function-foreground and redefine as
2977 an alias to that new name.
2978 (untrace-function, untrace-all): Adjust to the use of nadvice.
2980 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2982 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2984 * subr.el (called-interactively-p-functions): New var.
2985 (internal--called-interactively-p--get-frame): New macro.
2986 (called-interactively-p, interactive-p): Rewrite in Lisp.
2987 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2988 (called-interactively-p-functions): Use it.
2989 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2990 (called-interactively-p-functions): Use it.
2991 * allout.el (allout-called-interactively-p): Don't assume
2992 called-interactively-p is a subr.
2994 2012-11-20 Glenn Morris <rgm@gnu.org>
2996 * profiler.el (profiler-report-mode-map): Add a menu.
2997 No need to bind `q' because we derive from special-mode.
2998 (profiler-report-find-entry): Handle calls from the menu-bar.
3000 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3002 * emacs-lisp/byte-run.el (defun-declarations-alist):
3003 Allow a compiler-macro to be a lambda expression.
3005 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3007 (python-syntax-context): Add compiler-macro.
3008 (python-font-lock-keywords): Simplify with De Morgan.
3010 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3012 * files.el (load-file): Require match in minibuffer selection, as was
3013 the case in Emacs-20 before we changed the spec to allow .elc files
3016 * json.el: Don't require cl since we don't use it.
3017 * color.el: Don't require cl.
3018 (color-complement): `caddr' -> `nth 2'.
3020 * calendar/time-date.el (time-to-seconds): De-obsolete.
3022 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3024 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3026 (math-date-to-julian-dt): Adjust the initial approximation for the
3027 year to deal with the new definition of the DATE.
3029 2012-11-19 Daniel Colascione <dancol@dancol.org>
3031 * term/w32-win.el (cygwin-convert-path-from-windows):
3032 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3034 2012-11-18 Chong Yidong <cyd@gnu.org>
3036 * filecache.el (file-cache--read-list): New function.
3037 (file-cache-add-directory-list, file-cache-add-file-list)
3038 (file-cache-delete-file-list, file-cache-delete-directory-list):
3039 Use it to read a list of files or directories (Bug#12846).
3040 (file-cache-add-file, file-cache-add-directory)
3041 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3042 (file-cache-delete-directory): Print an message.
3044 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3046 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3047 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3049 2012-11-18 Glenn Morris <rgm@gnu.org>
3051 * image.el (insert-image, insert-sliced-image): Doc fix.
3053 2012-11-18 Chong Yidong <cyd@gnu.org>
3055 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3058 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3060 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3061 response when the target file is in a subdirectory (Bug#12757).
3063 2012-11-18 Chong Yidong <cyd@gnu.org>
3065 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3067 2012-11-18 Glenn Morris <rgm@gnu.org>
3069 * emacs-lisp/cl-lib.el (face-underline-p):
3070 Use set-face-underline rather than the alias set-face-underline-p.
3072 * window.el (with-temp-buffer-window): Doc fix.
3073 * subr.el (with-output-to-temp-buffer):
3074 Add doc xref to with-temp-buffer-window.
3076 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3078 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3079 * calc/calc.el (math-format-date-cache): Declare.
3081 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3083 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3084 It also uses January 1, 1 AD as its day number 1.
3085 * calc/calc-forms.el (math-julian-date-beginning)
3086 (math-julian-date-beginning-int): Implement this.
3088 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3090 * descr-text.el (quail-find-key):
3091 * dired.el (desktop-file-name):
3092 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3093 * generic-x.el (comint-mode, comint-exec):
3094 * image-dired.el (widget-forward):
3095 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3096 (speedbar-change-expand-button-char)
3097 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3098 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3099 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3100 (widget-field-action, widget-value-set):
3101 * speedbar.el (imenu--make-index-alist):
3102 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3103 (ring-length, ring-insert):
3104 * vcursor.el (compare-windows-skip-whitespace):
3105 * woman.el (dired-get-filename):
3108 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3110 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3112 * calc/calc.el (calc-gregorian-switch): New variable.
3114 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3115 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3116 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3117 (math-leap-year-p): Add option to distinguish between Julian
3118 and Gregorian calendars.
3119 (math-day-number): Use `math-day-in-year' to do the computations.
3120 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3121 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3122 to do the computations.
3123 (math-date-to-dt): Use `math-date-to-julian-dt' and
3124 `math-date-to-gregorian-dt' to do the computations.
3125 (calcFunc-weekday, math-format-date-part): Use the new version of
3126 the DATE to determine the weekday.
3127 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3130 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3132 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3133 Cygwin; otherwise use 'file:'. (Bug#12914)
3134 (cygwin-convert-path-from-windows): Declare, to avoid
3135 byte-compiler warnings.
3137 2012-11-17 Andreas Politz <politza@fh-trier.de>
3139 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3140 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3141 prefix and negative numeric prefix args (Bug#12795).
3143 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3145 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3146 Don't signal an error with a score that is too low to add to the
3147 list of top scores. (Bug#12779)
3149 2012-11-17 Chong Yidong <cyd@gnu.org>
3151 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3153 * filecache.el (file-cache-add-file): Handle relative file name in
3154 the argument (Bug#12694).
3156 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3158 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3160 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3162 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3164 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3166 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3168 * window.el (enlarge-window, shrink-window): Don't mention return
3169 value in doc-string (Bug#12896).
3170 (window--display-buffer): Don't resize frames - it won't work
3171 with all window managers and defeat pop-up-frame-alist.
3172 (display-buffer-alist): In doc-string explain that CONDITION can
3173 be a function and which arguments are passed to it (Bug#12854).
3174 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3175 expressions (Bug#12854).
3176 (display-buffer): Pass ACTION argument to
3177 display-buffer-assq-regexp.
3179 2012-11-16 Glenn Morris <rgm@gnu.org>
3181 * window.el (fit-frame-to-buffer-bottom-margin)
3182 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3184 * faces.el (face-underline-p): Use face-attribute-specified-or.
3186 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3188 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3190 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3192 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3194 2012-11-16 Glenn Morris <rgm@gnu.org>
3196 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3197 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3199 * faces.el (face-underline-p): Doc fix. Handle :underline being
3200 things other than `t' (a string, a list).
3201 (face-inverse-video-p): Doc fix.
3202 (set-face-underline): Rename it back from set-face-underline-p.
3203 Doc fix. Allow interactive input of values other than t.
3204 (read-face-attribute): Apply formatting to :underline,
3205 since like :box and :stipple it can take list values.
3207 * term.el (ansi-term): Don't let C-x escape-char binding
3208 clobber the more standard C-c binding. (Bug#12842)
3210 * subr.el (set-temporary-overlay-map): Doc fix.
3212 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3214 * window.el (record-window-buffer)
3215 (display-buffer-record-window): When copying the markers to
3216 window-point preserve window-point-insertion-type. (Bug#12588)
3218 2012-11-16 Glenn Morris <rgm@gnu.org>
3220 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3221 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3222 Use new names for hooks rather than obsolete aliases.
3224 2012-11-15 Daniel Colascione <dancol@dancol.org>
3226 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3227 prefix instead of "file:" so that when FILE-NAME begins with "//",
3228 as it does when the target file is on a network share, url-handler
3231 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3233 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3234 a preactivated advice from an old advice.el; they're not compatible!
3236 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3238 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3239 Fix string-spec case.
3241 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3243 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3245 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3246 (advice--buffer-local-function-sample): New var.
3247 (advice--set-buffer-local, advice--buffer-local): New functions.
3248 (add-function, remove-function): Use them.
3250 2012-11-15 Drew Adams <drew.adams@oracle.com>
3252 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3254 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3257 potential binding of print-gensym to t, and prettify (back)quotes in
3258 case they appear in args's default values (bug#12884).
3260 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3262 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3263 (advice-eval-interactive-spec): New function.
3264 (advice--make-interactive-form): Support around advice (bug#12844).
3266 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3268 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3269 more strict. Add docstring.
3270 (ruby-expression-expansion-re): Extract from
3271 `ruby-match-expression-expansion'.
3272 (ruby-syntax-propertize-function): After everything else, search
3273 for expansions in string literals, mark their insides as
3274 whitespace syntax and save match data for font-lock.
3275 (ruby-font-lock-keywords): Use the 2nd group from expression
3277 (ruby-match-expression-expansion): Use the match data saved to the
3278 text property in ruby-syntax-propertize-function.
3280 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3282 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3285 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3287 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3288 start/end keyword a bit harder. Works with different values of N.
3290 (ruby-end-of-block): Update accordingly.
3292 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3294 * woman.el (woman-file-name): Don't mess with unread-command-events
3297 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3298 Remove out of date self-require hack.
3299 (ad-do-advised-functions): Use simple `dolist'.
3300 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3301 (ad-advice-definition): Redefine as functions.
3302 (ad-advice-classes): Move before first use.
3303 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3304 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3305 (ad--defalias-fset): Remove functions.
3306 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3307 (ad-get-orig-definition): Rewrite.
3308 (ad-make-advised-definition-docstring): Change base docstring.
3309 (ad-real-orig-definition): Rewrite.
3310 (ad-map-arglists): Change name of called function.
3311 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3312 (ad-make-advised-definition): Simplify.
3313 (ad-assemble-advised-definition): Tweak for new calling context.
3314 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3315 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3316 function and call ad-activate if needed.
3317 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3318 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3319 (ad-compile-function): Compile ad-Advice-*.
3320 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3321 (ad-start-advice, ad-stop-advice): Remove.
3323 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3325 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3326 period before class method names, not after. Remove handling of
3327 one impossible case. Add comments.
3329 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3331 * emacs-lisp/advice.el: Remove support for freezing.
3332 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3333 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3334 Remove support for `freeze'.
3336 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3337 override the default.
3338 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3340 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3343 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3345 (advice--strip-macro): New function.
3346 (advice--defalias-fset): Use them to handle macros.
3347 (advice-add): Use them.
3348 (advice-member-p): Correctly handle macros.
3350 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3352 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3353 Never font-lock the beginning of singleton class as heredoc.
3355 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3357 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3359 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3361 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3362 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3363 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3365 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3367 Fix end-of-defun misbehavior.
3368 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3369 python-beginning-of-defun-function. Handle nested defuns
3371 (python-nav-end-of-defun): Rename from
3372 python-end-of-defun-function. Ensure forward movement.
3373 (python-info-current-defun): Reimplement to work as intended
3374 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3375 parent defuns as soon as possible.
3377 2012-11-13 Glenn Morris <rgm@gnu.org>
3379 * progmodes/flymake.el (flymake-error-bitmap)
3380 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3381 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3383 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3385 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3386 backward, always stop at indentation. Reverts the change from
3387 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3389 2012-11-13 Glenn Morris <rgm@gnu.org>
3391 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3392 Add ibuffer-filter-by-derived-mode.
3394 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3395 the same name shadowing each other.
3397 * window.el (with-temp-buffer-window): Doc tweak.
3399 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3401 * help.el (temp-buffer-max-height):
3402 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3403 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3405 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3407 * emacs-lisp/nadvice.el: New package.
3408 * subr.el (special-form-p): New function.
3409 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3410 (elp-all-instrumented-list): Remove var.
3411 (elp-not-profilable): Remove elp-wrapper.
3412 (elp-profilable-p): Use autoloadp and special-form-p.
3413 (elp--advice-name): New const.
3414 (elp-instrument-function): Use advice-add.
3415 (elp--instrumented-p): New predicate.
3416 (elp-restore-function): Use advice-remove.
3417 (elp-restore-all, elp-reset-all): Use mapatoms.
3418 (elp-set-master): Use elp--instrumented-p.
3419 (elp--make-wrapper): Rename from elp-wrapper, return a function
3420 suitable for advice-add. Use cl-inf.
3421 (elp-results): Use mapatoms+elp--instrumented-p.
3422 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3423 (debug-function-list): Remove var.
3424 (debug): Rename arg, and then let-bind it explicitly inside.
3425 (debugger-setup-buffer): Rename arg.
3426 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3427 (debugger-frame-number): Adjust to new debug-on-entry setup.
3428 (debug--implement-debug-on-entry): Rename from
3429 implement-debug-on-entry, add argument.
3430 (debugger-special-form-p): Remove, use special-form-p instead.
3431 (debug-on-entry): Use advice-add.
3432 (debug--function-list): New function.
3433 (cancel-debug-on-entry): Use it, along with advice-remove.
3434 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3435 (debugger-list-functions): Use debug--function-list instead of
3436 debug-function-list.
3437 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3438 (ad-special-form-p): Remove, use special-form-p instead.
3439 (ad-set-advice-info): Use add-function and remove-function.
3440 (ad--defalias-fset): Adjust accordingly.
3442 2012-11-10 Glenn Morris <rgm@gnu.org>
3444 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3445 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3446 (report-emacs-bug-create-existing-bugs-buffer)
3447 (report-emacs-bug-parse-query-results)
3448 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3450 * term.el (term-default-fg-color, term-default-bg-color):
3451 Make obsolete, rather than just saying "deprecated" in the doc.
3453 * term.el (term): Rename from `term-face'.
3454 (term-current-face, ansi-term-color-vector)
3455 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3458 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3460 * server.el (server-create-window-system-frame): Handle Nextstep
3461 specially (Bug#12780).
3463 2012-11-10 Glenn Morris <rgm@gnu.org>
3465 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3466 Unautoload, and make obsolete. (Bug#7449)
3468 2012-11-10 Chong Yidong <cyd@gnu.org>
3470 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3471 rename from diff-remove-trailing-whitespace (Bug#12831).
3473 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3475 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3476 miscompilation of trace.el.
3478 2012-11-10 Glenn Morris <rgm@gnu.org>
3480 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3482 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3484 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3487 2012-11-10 Chong Yidong <cyd@gnu.org>
3489 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3490 a defcustom with an appropriate :set function.
3491 (minibuffer-default--in-prompt-regexps): New function.
3493 2012-11-10 Glenn Morris <rgm@gnu.org>
3495 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3496 (define-modify-macro): Doc fixes.
3498 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3499 (gv-define-simple-setter): Update doc of `fix-return'.
3501 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3503 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3504 twice when `fix-return' is set (bug#12813).
3506 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3507 gv-define-simple-setter (bug#12812).
3509 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3512 2012-11-10 Glenn Morris <rgm@gnu.org>
3514 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3516 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3517 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3518 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3519 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3521 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3523 2012-11-10 Leo Liu <sdl.web@gmail.com>
3525 * ido.el (ido-set-matches-1): Improve flex matching performance by
3526 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3528 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3530 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3531 (ad--defalias-fset): New function.
3532 (ad-safe-fset): Remove.
3533 (ad-make-freeze-definition): Use cl-letf*.
3535 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3537 * subr.el (dolist): Don't bind VAR in RESULT.
3539 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3540 (fset, documentation): Don't save real def since we don't advise.
3541 (ad-do-advised-functions): Remove problematic `result-form'.
3542 (ad-safe-fset): `ad-real-fset' => `fset'.
3543 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3544 uses CL's dolist internally.
3545 (ad-arglist): Remove unused arg `name'.
3546 (ad-docstring, ad-make-advised-docstring):
3547 `ad-real-documentation' => `documentation'.
3548 (warning-suppress-types): Declare.
3549 (ad-set-arguments): Simple CSE.
3550 (ad-recover-normality): Sanity check.
3552 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3553 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3555 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3557 * ses.el: symbol to coordinate mapping is made by symbol property
3558 `ses-cell'. This means that the same mapping is done for all SES
3559 sheets. That is good enough for cells with standard A1 names, but
3560 not for named cell. So a hash map is added for the latter.
3561 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3562 (ses-sym-rowcol): Use hashmap for named cell.
3563 (ses-is-cell-sym-p): New defun.
3564 (ses-decode-cell-symbol): New defun.
3565 (ses-create-cell-variable): Add cell to hashmap when name is not
3567 (ses-rename-cell): Check that cell new name is not already in
3568 spreadsheet with the use of ses-is-cell-sym-p
3569 (ses-rename-cell): Use hash map for named cells, but accept also
3570 renaming back to A1-like.
3572 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3574 * emacs-lisp/advice.el: Use new dynamic docstrings.
3575 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3576 Use dynamic-docstring-function instead of ad-advice-info.
3577 (ad--make-advised-docstring): New function extracted from
3578 ad-make-advised-docstring.
3579 (ad-make-advised-docstring): Use it.
3580 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3582 (sql-help): Use it with dynamic-docstring-function.
3584 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3586 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3588 * files.el (hack-one-local-variable--obsolete): New function.
3589 (hack-one-local-variable): Use it for obsolete settings.
3591 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3594 * progmodes/js.el (js--filling-paragraph): New var.
3595 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3596 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3599 2012-11-08 Julien Danjou <julien@danjou.info>
3601 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3602 `auto-mode-alist' (Bug#12835).
3604 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3606 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3607 (perl--prettify-symbols-alist): New const.
3608 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3610 (perl-font-lock-keywords-2): Use them.
3611 (perl-electric-noindent-p): New function.
3612 (perl-mode): Use it to set up electric-indent-mode.
3613 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3614 (perl-mode-map): Remove bindings for them.
3615 (perl-imenu-generic-expression, perl-outline-level):
3616 Match functions&packages in column>0.
3618 * env.el (env--substitute-vars-regexp): New const.
3619 (substitute-env-vars): Use it. Add `only-defined' arg.
3620 * net/tramp.el (tramp-replace-environment-variables): Use it.
3622 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3623 Byte-compile *before* eval in eval-and-compile.
3624 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3625 (byte-compile-file-form-autoload): Don't hide actual definition.
3626 (byte-compile-maybe-guarded): Accept `functionp' as well.
3628 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3630 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3632 * notifications.el (notifications-get-server-information-method):
3634 (notifications-get-capabilities): Fix docstring.
3635 (notifications-get-server-information): New defun.
3637 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3639 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3642 * textmodes/ispell.el: Experimental support for support debugging.
3643 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3645 (ispell-print-if-debug): New function to print stuff to
3646 `ispell-debug-buffer' if debugging is enabled.
3647 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3648 show some debugging info.
3649 (ispell-buffer-with-debug): New function that creates a debugging
3650 buffer and calls `ispell-buffer' with debugging enabled.
3652 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3653 comment in autoconf mode. (Bug#12768)
3655 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3657 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3658 frame-first-window, frame-root-window, frame-selected-window,
3659 minibuffer-selected-window, minibuffer-window,
3660 window-absolute-pixel-edges, window-at, window-body-height,
3661 window-body-width, window-display-table, window-combination-limit,
3662 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3663 window-inside-edges, window-inside-pixel-edges, window-left-child,
3664 window-left-column, window-margins, window-next-buffers,
3665 window-next-sibling, window-new-normal, window-new-total,
3666 window-normal-size, window-parameter, window-parameters, window-parent,
3667 window-pixel-edges, window-point, window-prev-buffers,
3668 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3669 window-start, window-text-height, window-top-child, window-top-line,
3670 window-total-height, window-total-width and window-use-time to the list
3671 of functions without side-effects.
3672 (toplevel): Add window-valid-p to the list of error-free functions
3673 without side-effects.
3675 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3677 * textmodes/ispell.el (ispell-program-name):
3678 Update spellchecker parameters when customized.
3680 2012-11-04 Glenn Morris <rgm@gnu.org>
3682 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3684 2012-11-04 Chong Yidong <cyd@gnu.org>
3686 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3687 same-window-* variables.
3689 2012-11-04 Juri Linkov <juri@jurta.org>
3691 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3692 (isearch-describe-key, isearch-describe-mode): Use a display
3693 action instead of binding same-window-* variables (Bug#10040).
3695 2012-11-03 Glenn Morris <rgm@gnu.org>
3697 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3698 Rename handler properties back from cl-- to cl-. (Bug#12788)
3700 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3702 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3704 * term/pc-win.el: Don't load term/internal from here.
3706 * loadup.el: Load term/internal from here.
3708 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3710 * progmodes/python.el (inferior-python-mode): Fix hang in
3711 jit-lock (Bug#12645).
3713 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3715 * window.el (switch-to-visible-buffer)
3716 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3718 2012-11-03 Glenn Morris <rgm@gnu.org>
3720 * emacs-lisp/cl-lib.el (cl--random-time):
3721 Rename from cl-random-time. (Bug#12773)
3722 (cl--gensym-counter, cl--random-state): Update callers.
3723 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3725 2012-11-03 Chong Yidong <cyd@gnu.org>
3727 * cus-start.el: Make cursor-type customizable (Bug#11633).
3729 2012-11-02 Glenn Morris <rgm@gnu.org>
3731 * filecache.el: No need to load find-lisp when compiling.
3732 (find-lisp-find-files): Autoload it.
3733 (file-cache-add-directory-recursively): Don't require find-lisp.
3735 * image.el (image-type-from-file-name): Trivial simplification.
3737 * emacs-lisp/bytecomp.el (byte-compile-eval):
3738 Decouple "noruntime" and "cl-functions" warnings.
3740 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3742 * play/gomoku.el (gomoku-display-statistics): Update mode line
3743 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3745 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3747 * window.el (quit-restore-window): If the window has been
3748 created on an existing frame and ended up as the sole window on
3749 that frame, do not delete it (Bug#12764).
3751 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3753 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3754 Rename from sh--inside-arithmetic-expression, handle more cases
3757 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3758 (sh-font-lock-open-heredoc): Use it (bug#12770).
3760 2012-10-30 Glenn Morris <rgm@gnu.org>
3762 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3764 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3766 2012-10-29 Chong Yidong <cyd@gnu.org>
3768 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3769 function key is stored in a keyboard macro (Bug#4894).
3771 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3773 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3775 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3777 (diff-unified->context, diff-context->unified)
3778 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3780 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3782 * files.el (find-alternate-file): Only ask one question (bug#12487).
3784 2012-10-29 Chong Yidong <cyd@gnu.org>
3786 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3787 Suggested by Dan Nicolaescu (Bug#6326).
3789 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3791 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3793 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3795 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3797 * face-remap.el (face-remap-add-relative): Handle the case where a
3798 face-remapping-alist entry is a cons cell (Bug#12762).
3800 2012-10-29 Kevin Ryde <user42@zip.com.au>
3802 * woman.el (woman-parse-numeric-value): Handle picas correctly
3805 2012-10-29 Glenn Morris <rgm@gnu.org>
3807 * emacs-lisp/cl.el (defsetf): Doc fix.
3809 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3811 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3812 syntax to the matching opener, if any (bug#12547).
3813 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3814 matching open as a "case-(".
3815 (sh-smie-rc-grammar): Add a corresponding rule for it.
3817 2012-10-28 Daniel Hackney <dan@haxney.org>
3819 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3820 "PKGNAME-autoloads.el" in case we created it.
3822 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3824 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3825 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3826 (completion--twq-all): Disable too-strict assertions.
3828 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3830 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3832 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3833 text to match the real keybindings.
3835 2012-10-27 Juri Linkov <juri@jurta.org>
3837 * wdired.el (wdired-keep-marker-rename): New defcustom.
3838 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3841 * dired.el (dired-keep-marker-rename): Add reference to
3842 `wdired-keep-marker-rename' in the docstring.
3843 Add default character value ?R to display initially in
3844 Customization UI instead of ?@.
3846 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3848 * window.el (display-buffer): In doc-string describe
3849 window-height and window-width alist entries.
3851 * time.el (display-time-world): Restore fit-window-to-buffer
3854 2012-10-27 Chong Yidong <cyd@gnu.org>
3856 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3858 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3860 * minibuffer.el (completion-category-overrides): New completion
3861 category `bookmark' (bug#11131).
3863 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3865 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3866 Silence bogus compiler warnings for ad-do-it.
3868 * bookmark.el (bookmark-completing-read): Set the completion category
3869 to `bookmark' (bug#11131).
3871 2012-10-26 Bastien <bzg@altern.org>
3872 Stefan Monnier <monnier@iro.umontreal.ca>
3874 * face-remap.el: Use lexical-binding.
3875 (text-scale-adjust): Improve docstring. Use itself for the temporary
3876 overlay-map bindings, so as to repeat the "Use..." message each time.
3878 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3880 * emacs-lisp/macroexp.el (macroexp--expand-all):
3881 Obey byte-compile-warning-enabled-p (bug#12486).
3883 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3884 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3886 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3888 * mouse.el (mouse-drag-line): Move last form into preceding when
3891 * help.el (resize-temp-buffer-window): Fix doc-string.
3893 2012-10-25 David Engster <deng@randomsample.de>
3895 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3896 Remove. This feature is already integrated in imenu.
3898 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3899 always loaded. Require `speedbar' unconditionally.
3901 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3903 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3905 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3907 * net/ldap.el (ldap-search-internal): The official ldif format starts
3908 with a "version: 1" header (bug#12724).
3910 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3913 2012-10-25 Glenn Morris <rgm@gnu.org>
3915 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3917 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3919 * minibuffer.el (minibuffer-force-complete): Use one more marker
3920 for the temporary-overlay-map command (bug#12619).
3922 2012-10-24 Chong Yidong <cyd@gnu.org>
3924 * time.el (display-time-world-mode): Derive from special-mode.
3925 (display-time-world): Use display-buffer (Bug#12708).
3926 (display-time-world-mode-map): Variable deleted.
3927 (display-time-world-display): Wrap the final delete-char inside
3930 2012-10-24 Chong Yidong <cyd@gnu.org>
3932 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3935 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3937 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3939 * minibuffer.el (completion--all-sorted-completions-location): New var.
3940 (completion--cache-all-sorted-completions)
3941 (completion--flush-all-sorted-completions): Use it.
3942 (completion-in-region, completion-in-region--postch)
3943 (completion-at-point, completion-help-at-point): Use markers in
3944 completion-in-region--data (bug#12619).
3946 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3948 * progmodes/compile.el (compilation-start): Try to handle common
3949 quoting of `cd' argument (bug#12640).
3951 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3954 2012-10-23 Glenn Morris <rgm@gnu.org>
3956 * progmodes/gud.el (gud-menu-map):
3957 Check gdb-active-process is bound. (Bug#12358)
3959 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3961 * repeat.el (repeat): Set real-this-command (bug#12232).
3963 * htmlfontify.el (hfy-post-html-hook):
3964 * filesets.el (filesets-cache-fill-content-hook):
3965 * arc-mode.el (archive-extract-hook):
3966 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3967 * net/rcirc.el (rcirc-sentinel-functions)
3968 (rcirc-receive-message-functions, rcirc-activity-functions)
3969 (rcirc-print-functions):
3970 * net/dbus.el (dbus-event-error-functions):
3971 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3972 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3973 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3974 * term/sun.el (sun-raw-prefix-hooks):
3975 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3977 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3979 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3980 Set `tramp-chunksize' to 1. This improves the performance.
3981 (tramp-smb-wait-for-output): Add timeout to
3982 `tramp-accept-process-output' calls.
3984 2012-10-23 Chong Yidong <cyd@gnu.org>
3986 * faces.el (font-list-limit): Define as an obsolete variable.
3988 * startup.el (command-line):
3989 * cus-start.el: Don't refer to font-list-limit.
3991 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3993 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3995 * subr.el (internal-temp-output-buffer-show): Rename from
3996 temp-output-buffer-show, since previously compiled files expect this name.
3998 2012-10-23 Glenn Morris <rgm@gnu.org>
4000 * image.el (image-type-from-file-name): If multiple types match,
4001 return the first one that is supported. (Bug#9045)
4003 2012-10-22 Glenn Morris <rgm@gnu.org>
4005 * image.el (imagemagick-enabled-types): Doc fix.
4007 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4009 * progmodes/which-func.el (which-func-current): The hash-table may have
4010 an explicit nil (bug#12338).
4012 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4014 * electric.el (electric-pair-delete-selection-self-insert-function):
4015 Rename to electric-pair-will-use-region, return a boolean.
4016 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4018 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4019 (delete-selection-pre-hook): Use use-region-p.
4020 (delete-selection-self-insert-function): Remove.
4021 (self-insert-command): Obey self-insert-uses-region-functions.
4022 (self-insert-iso): Revert to previous setting, since we don't actually
4023 know what that command does.
4024 (delete-selection-self-insert-hooks): Remove.
4026 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4028 * delsel.el (delete-selection-helper): New function, extracted from
4029 delete-selection-pre-hook.
4030 (delete-selection-pre-hook): Use it.
4031 (delete-selection-self-insert-function): New function.
4032 (delete-selection-self-insert-hooks): New hook.
4033 (self-insert-command, self-insert-iso): Use it.
4034 * electric.el (electric-pair-syntax): New function, extracted from
4035 electric-pair-post-self-insert-function.
4036 (electric-pair-post-self-insert-function): Use it.
4037 (electric-pair-delete-selection-self-insert-function): New function.
4038 (electric-pair-mode): Require delsel and setup
4039 delete-selection-self-insert-hooks (bug#11520).
4041 2012-10-20 Chong Yidong <cyd@gnu.org>
4043 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4044 no changes to show (Bug#12586).
4046 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4047 list explicitly (Bug#12571).
4049 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4051 * progmodes/flymake.el (flymake-create-temp-inplace):
4054 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4056 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4058 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4060 * calc/calc-units.el (math-extract-units): Properly extract powers
4063 2012-10-20 Daniel Colascione <dancol@dancol.org>
4065 * frame.el (make-frame): Set x-display-name as we used to in order
4066 to unbreak creating an X11 frame from an Emacs daemon started
4069 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4071 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4072 the same completion-field (bug#12221).
4074 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4076 * emacs-lisp/debug.el (debug): Record height of debugger window
4077 also when debugger will be back (Bug#8789).
4079 2012-10-18 Chong Yidong <cyd@gnu.org>
4081 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4082 Convert to defcustom.
4083 (gdb-get-source-file): Don't bind pop-up-windows.
4085 * progmodes/gud.el (gud-display-line): Don't specially re-use
4086 other frames for the gdb-mi case (Bug#12648).
4088 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4090 * emacs-lisp/advice.el: Clean up commentary a bit.
4091 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4092 (byte-code-function-p): Never redefine.
4094 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4096 2012-10-18 Glenn Morris <rgm@gnu.org>
4098 * dired.el (dired-sort-toggle): Some ls implementations only allow
4099 a single option string. (Bug#12666)
4101 * minibuffer.el (completion-cycle-threshold): Doc fix.
4103 2012-10-17 Kenichi Handa <handa@gnu.org>
4105 * international/mule.el (set-keyboard-coding-system):
4106 Recover input meta mode when the new coding system doesn not use 8-bit.
4107 Supply TERMINAL arg to set-input-meta-mode.
4109 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4111 * wdired.el (wdired-old-marks): New variable.
4112 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4113 (wdired-do-renames): Move point with renamed file and don't lose
4114 mark status (Bug#11795).
4116 2012-10-16 Juri Linkov <juri@jurta.org>
4118 * replace.el (query-replace-help): Mention multi-buffer replacement
4119 keys in the Help message. (Bug#12655)
4121 2012-10-15 Chong Yidong <cyd@gnu.org>
4123 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4125 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4127 * window.el (display-buffer): Doc fix.
4129 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4130 Adjust the msft regexp to the output of Studio 2010, and move msft
4131 before edg-1. See the discussion on emacs-devel,
4132 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4135 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4138 (oset): Move uses of object-class-fast macro after its definition.
4140 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4142 2012-10-13 Chong Yidong <cyd@gnu.org>
4144 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4145 enabled, re-enable it (Bug#11963).
4147 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4149 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4150 non-nil, restore window configuration (Bug#12623).
4152 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4154 * help-fns.el (describe-variable, describe-function-1):
4155 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4157 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4159 2012-10-12 Glenn Morris <rgm@gnu.org>
4161 * mail/rmailsum.el (rmail-header-summary):
4162 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4164 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4166 * progmodes/python.el (python-mode-map):
4167 Replace subtitute-key-definition with proper command remapping.
4168 (python-nav--up-list): Fix behavior for blocks on the same level.
4170 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4172 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4174 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4175 changes to the format of load-history.
4177 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4178 completion-ignore-case in case that var is buffer-local (bug#12615).
4180 2012-10-11 Kenichi Handa <handa@gnu.org>
4182 * international/eucjp-ms.el: Re-generated.
4184 2012-10-10 Kenichi Handa <handa@gnu.org>
4186 * select.el (xselect--encode-string): If a coding is specified for
4187 selection, and that is compatible with COMPOUND_TEXT, use it.
4189 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4191 * window.el (switch-to-buffer-preserve-window-point): New option.
4193 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4195 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4197 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4198 Don't document nil as a useful value (bug#12583).
4200 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4202 * net/tramp.el (tramp-debug-message):
4203 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4204 (with-tramp-progress-reporter): Rename from
4205 `tramp-with-progress-reporter'.
4206 (with-tramp-file-property, with-tramp-connection-property):
4207 Move from tramp-cache.el, rename from `with-file-property' and
4208 `with-connection-property', respectively.
4210 * net/tramp-cache.el: Remove `with-file-property' and
4211 `with-connection-property'.
4214 * net/tramp-gvfs.el:
4216 * net/tramp-smb.el: Adapt callees.
4218 * net/trampver.el: Update release number.
4220 2012-10-09 Glenn Morris <rgm@gnu.org>
4222 * w32-fns.el (set-message-beep):
4223 * term/w32-win.el (set-message-beep): Update declarations.
4225 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4227 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4228 (mode-line-widen, mode-line-input-method-map)
4229 (mode-line-coding-system-map, mode-line-remote)
4230 (mode-line-unbury-buffer, mode-line-bury-buffer)
4231 (mode-line-next-buffer, mode-line-previous-buffer):
4232 Replace save-selected-window+select-window => with-selected-window.
4234 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4235 * progmodes/cc-vars.el (bq-process): Remove, unused.
4237 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4239 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4241 Implemented `backward-up-list'-like navigation.
4242 * progmodes/python.el (python-nav-up-list)
4243 (python-nav-backward-up-list): New functions.
4244 (python-mode-map): Define substitute key for backward-up-list to
4245 python-nav-backward-up-list.
4247 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4249 * progmodes/python.el (python-fill-paragraph): Rename from
4250 python-fill-paragraph-function. Fixed fill-paragraph for
4251 decorators (Bug#12605).
4253 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4255 * progmodes/python.el (python-shell-output-filter): Handle extra
4256 carriage return in OSX (Bug#12409).
4258 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4260 Fix shell handling of unbalanced quotes and parens in output.
4261 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4262 (python-syntax-propertize-function): Use it.
4263 (python-shell-output-syntax-table): New var.
4264 (inferior-python-mode): Prevent unbalanced parens/quotes from
4265 previous output mess with current input context.
4267 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4269 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4270 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4272 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4274 * ffap.el (ffap-replace-file-component): Support Tramp file name
4275 syntax, not only ange-ftp's one.
4277 2012-10-08 Glenn Morris <rgm@gnu.org>
4279 * cus-start.el (message-log-max): Set :version.
4281 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4283 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4285 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4286 the minibuffer window (Bug#10851).
4288 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4290 Enhancements on forward-sexp movement.
4291 * progmodes/python.el (python-nav-beginning-of-statement)
4292 (python-nav-end-of-statement): Return point-marker.
4293 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4294 (python-info-current-symbol)
4295 (python-info-statement-starts-block-p): Rename from
4296 python-info-beginning-of-block-p.
4297 (python-info-statement-ends-block-p): Rename from
4298 python-info-end-of-block-p.
4299 (python-info-beginning-of-statement-p)
4300 (python-info-end-of-statement-p)
4301 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4304 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4306 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4307 frame-selected-windows.
4309 2012-10-08 Daniel Colascione <dancol@dancol.org>
4311 * battery.el (battery-status-function): Check for
4312 w32-battery-status itself, not system-time windows-nt.
4314 * frame.el: Require cl-lib.
4315 (display-format-alist): New variable mapping frame types to
4316 functions that initialize them.
4317 (window-system-for-display): New function: interprets
4318 display-format-alist.
4319 (make-frame-on-display): Remove existing display-selection logic
4320 and just forward to make-frame, which will now DTRT.
4321 (make-frame): Restructure to use window-system-for-display to
4322 figure out how to create a frame on a given display.
4323 (display-mouse-p): Look for frame-type w32, not a particular
4326 * loadup.el: Load w32 lisp code when we have the w32 feature.
4328 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4329 system-type windows-nt.
4331 * server.el (server-create-window-system-frame): Look for window
4333 (server-proces-filter): Only force a window system when windows-nt
4334 _and_ w32. Explain why.
4336 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4337 of window systems we configure for the mode.
4339 * startup.el (command-line): Mark window system is initialized
4340 after we've done it.
4342 * common-win.el (x-select-text): Look for w32, not windows-nt.
4344 * ns-win.el: Require cl-lib. Add ourselves to
4345 display-format-alist.
4346 (ns-initialize-window-system): Assert we're not initialized twice.
4348 * w32-win.el: Enable lexical binding; require cl-lib; add
4349 ourselves to display-format-alist.
4350 (w32-handle-dropped-file): Convert incoming dropped files from
4351 Windows paths to Cygwin ones before passing them on to the rest of
4353 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4354 (w32-initialize-window-system): Assert we're not initialized twice.
4356 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4357 (x-initialize-window-system): Assert we're not initialized twice.
4359 * w32-common-fns.el: New File.
4360 (w32-version, w32-using-nt, w32-get-clipboard-data)
4361 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4362 (w32-charset-info-alist, x-last-selected, text)
4363 (x-get-selection-value, x-selection-value): Move here.
4365 * w32-fns.el: Require w32-common-fns.
4366 (w32-version, w32-using-nt, w32-get-clipboard-data)
4367 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4368 (w32-charset-info-alist, x-last-selected, text)
4369 (x-get-selection-value, x-selection-value): Move to
4373 (w32-allow-system-shell, w32-system-shells): Define only in
4376 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4378 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4379 (read-passwd): Remove a few more potential sources of leaks.
4381 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4383 * progmodes/python.el (inferior-python-mode)
4384 (python-shell-make-comint): Fix initialization of local
4385 variables copied from parent buffer.
4387 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4389 * term/ns-win.el (ns-read-file-name): Update declaration to match
4391 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4392 it is set when font is acted upon.
4394 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4396 Enhancements to indentation.
4397 * progmodes/python.el (python-indent-context): Give priority to
4398 inside-string context. Make comments indentation markers.
4399 (python-indent-region): Do not mess with strings, unless it's the
4400 enclosing set of quotes.
4402 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4404 * window.el (internal--before-save-selected-window)
4405 (internal--after-save-selected-window): New functions extracted from
4406 save-selected-window. Make sure we return the `alist' we construct.
4407 (save-selected-window): Use them.
4409 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4410 Use with-selected-window.
4412 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4413 forms that define macros (bug#12593).
4415 2012-10-07 Kenichi Handa <handa@gnu.org>
4417 * international/mule-conf.el (compound-text-with-extensions):
4418 Add :mime-charset property as x-ctext.
4420 2012-10-07 Stefan Merten <smerten@oekonux.de>
4422 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4423 (rst-indent-literal-normal, rst-indent-literal-minimized)
4424 (rst-indent-comment): Correct :version tag.
4425 (rst-official-cvs-rev): Correct version string.
4427 2012-10-07 Glenn Morris <rgm@gnu.org>
4429 * mail/rmailmm.el (rmail-mime-process-multipart):
4430 Do not confuse a multipart message with an epilogue
4431 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4433 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4435 Fix shell output retrieval and comint-prompt-regexp init.
4436 * progmodes/python.el (inferior-python-mode):
4437 (python-shell-make-comint): Fix initialization of
4438 comint-prompt-regexp from copied file local variables.
4439 (python-shell-fetched-lines): Remove var.
4440 (python-shell-output-filter-in-progress): Rename from
4441 python-shell-fetch-lines-in-progress.
4442 (python-shell-output-filter-buffer): Rename from
4443 python-shell-fetch-lines-string.
4444 (python-shell-fetch-lines-filter): Delete function.
4445 (python-shell-output-filter): New function.
4446 (python-shell-send-string-no-output): Use them.
4448 2012-10-07 Glenn Morris <rgm@gnu.org>
4450 * hi-lock.el (hi-lock-process-phrase):
4451 Try to make it less fragile. (Bug#7161)
4453 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4455 2012-10-06 Glenn Morris <rgm@gnu.org>
4457 * ehelp.el (electric-help-mode): Use help-mode rather than
4458 non-existent mode `help'.
4459 (electric-help-map): Use button-buffer-map. (Bug#10917)
4461 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4462 (reftex-create-bibtex-footer): Fix custom types.
4464 * progmodes/sh-script.el (sh-indent-after-continuation):
4465 Add explicit :group.
4467 * textmodes/rst.el (rst-preferred-decorations)
4468 (rst-shift-basic-offset): Clarify obsolescence versions.
4470 * profiler.el (profiler): Add missing group :version tag.
4471 * avoid.el (mouse-avoidance-banish-position):
4472 * proced.el (proced-renice-command):
4473 * calc/calc.el (calc-ensure-consistent-units):
4474 * calendar/icalendar.el (icalendar-import-format-uid):
4475 * net/tramp.el (tramp-save-ad-hoc-proxies):
4476 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4477 * progmodes/flymake.el (flymake-error-bitmap)
4478 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4479 * progmodes/sh-script.el (sh-indent-after-continuation):
4480 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4481 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4482 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4483 (vhdl-array-index-record-field-in-sensitivity-list)
4484 (vhdl-indent-comment-like-next-code-line):
4485 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4486 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4487 (reftex-cite-key-separator, reftex-create-bibtex-header)
4488 (reftex-create-bibtex-footer):
4489 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4490 (rst-indent-literal-normal, rst-indent-literal-minimized)
4491 (rst-indent-comment): Add missing custom :version tags.
4493 * calendar/timeclock.el (timeclock-modeline-display):
4494 Add missing obsolete alias for renamed user option.
4496 * strokes.el (strokes-modeline-string):
4497 * emulation/crisp.el (crisp-mode-modeline-string):
4498 * eshell/esh-mode.el (eshell-status-in-modeline):
4499 Aliases to defcustoms must come before the defcustom.
4501 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4502 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4503 (cal-tex-cursor-week-monday): Doc fixes.
4504 (cal-tex-cursor-week2-summary): Doc fix.
4505 Rename from cal-tex-cursor-week-at-a-glance.
4507 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4508 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4510 * calendar/calendar.el (calendar-mode-map):
4511 Add cal-tex-cursor-week2-summary.
4513 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4515 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4517 * subr.el (read-passwd-map): New var.
4518 (read-passwd): Use `read-string' again.
4519 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4521 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4523 * register.el (append-to-register, prepend-to-register):
4524 Deactivate mark, as does `copy-to-register' (bug#12389).
4526 2012-10-06 Chong Yidong <cyd@gnu.org>
4528 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4530 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4532 * international/characters.el: Fix simple mistake ((car chars) ->
4533 elt), delete duplicated code.
4535 2012-10-06 Glenn Morris <rgm@gnu.org>
4537 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4539 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4541 * color.el (color-hsl-to-rgb): Fix incorrect results for
4542 small and large hue values. (Bug#12559)
4544 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4546 Enhancements to docstring formatting when filling paragraphs.
4547 * progmodes/python.el (python-fill-docstring-style): Rename from
4548 python-fill-string-style. Added new style.
4549 (python-fill-string): Use new style. Better checks for
4552 2012-10-05 Glenn Morris <rgm@gnu.org>
4554 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4556 * color.el (color-name-to-rgb, color-rgb-to-hex)
4557 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4558 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4559 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4560 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4562 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4564 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4566 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4567 to get the correct size across symlinks.
4569 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4571 2012-10-04 Juri Linkov <juri@jurta.org>
4573 * replace.el (query-replace-interactive): Declare obsolete.
4574 (query-replace-read-from): Add the last incremental search string
4575 to the list of default values accessible via M-n.
4576 (map-query-replace-regexp): Use `read-regexp'.
4577 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4578 (map-query-replace-regexp, replace-string, replace-regexp):
4579 Fix docstrings to replace mentions of `query-replace-interactive'
4580 with alternatives. (Bug#12526)
4582 2012-10-04 Juri Linkov <juri@jurta.org>
4584 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4585 (dired-pop-to-buffer): Declare obsolete.
4586 (dired-mark-pop-up): Doc fix.
4588 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4590 Allow user to set docstring style for fill-paragraph.
4591 * progmodes/python.el
4592 (python-fill-comment-function, python-fill-string-function)
4593 (python-fill-decorator-function, python-fill-paren-function):
4594 Remove :safe for defcustoms.
4595 (python-fill-string-style): New defcustom
4596 (python-fill-paragraph-function): Enhance context detection.
4597 (python-fill-string): Honor python-fill-string-style settings.
4599 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4601 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4602 after setting its buffer (Bug#10805).
4604 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4606 Fix cornercase for string syntax.
4607 * progmodes/python.el (python-syntax-propertize-function):
4608 Simplify and enhance the regexp for unescaped quotes. Now it also
4609 matches quotes in weird situations like the single quote in
4611 (python-syntax-stringify): Simplify num-quotes detecting code.
4613 2012-10-03 Glenn Morris <rgm@gnu.org>
4615 * help-macro.el (three-step-help):
4616 Revert 2012-09-29 change. (Bug#12567)
4618 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4620 * menu-bar.el (kill-this-buffer): Don't do anything when
4621 `menu-frame' is not alive or visible (Bug#8184).
4623 * emacs-lisp/debug.el (debug): When quitting the debugger window
4624 restore current buffer (Bug#12502).
4626 2012-10-02 Chong Yidong <cyd@gnu.org>
4628 * progmodes/hideif.el (hif-lookup, hif-defined):
4629 Handle semantic-c-takeover-hideif.
4631 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4633 Change sampling interval units from ms to ns.
4634 * profiler.el (profiler-sampling-interval): Change units
4635 from ms to ns, multiplying the default by 1000000 so that
4637 (profiler-report-cpu-line-format): Give enough room for
4638 the maximum counters on 64-bit hosts.
4639 (profiler-report-render-calltree-1): Call them "CPU samples",
4640 not "Time (ms)", since they are not milliseconds now (and
4643 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4645 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4646 Fix querying BBDB for entries without a last name (Bug#11580).
4648 2012-10-02 Chong Yidong <cyd@gnu.org>
4650 * emacs-lisp/eieio.el: Restore Version header.
4652 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4654 * vc/diff-mode.el (diff--auto-refine-data): New var.
4655 (diff-hunk): Use it to delay refinement.
4656 (diff-mode): Remove overlays when we turn off font-lock.
4658 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4659 (table-initialize-table-fixed-width-mode)
4660 (table-set-table-fixed-width-mode): Remove functions.
4661 (table-command-list): Move initialization into declaration.
4662 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4663 (table-with-cache-buffer): Use `declare'.
4664 (table-span-cell): Simplify via CSE.
4665 (table-fixed-width-mode): Use define-minor-mode.
4666 (table-call-interactively, table-funcall, table-apply): Remove.
4667 (table-function): New function, to replace them.
4669 * bookmark.el (bookmark-search-pattern): Remove var.
4670 (bookmark-read-search-input): Remove function.
4671 (bookmark-bmenu-search): Reimplement using a minibuffer.
4673 * faces.el (modeline): Remove obsolete face name.
4675 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4676 and give a non-nil default value.
4677 (add-change-log-entry): Simplify accordingly.
4679 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4681 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4682 (vc-git-log-edit-toggle-amend): New function.
4683 (vc-git-log-edit-toggle-signoff): New function.
4684 (vc-git-log-edit-mode): New major mode.
4685 (vc-git-log-edit-mode-map): Keymap for it.
4686 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4688 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4690 (log-edit-toggle-header): New function.
4691 (log-edit-extract-headers): Accept function values in HEADERS alist.
4693 2012-10-01 David Engster <deng@randomsample.de>
4695 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4696 from symbol property and change message to be more consistent with
4698 (eieio-describe-generic): Add filename for each implementation.
4699 Fix indices for generic and normal methods.
4700 (eieio-method-def, eieio-class-def): New buttons.
4701 (eieio-help-find-method-definition)
4702 (eieio-help-find-class-definition): New functions.
4703 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4704 class, constructor and method definitions.
4706 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4707 information in symbol property.
4708 (scoped-class): Remove.
4709 (eieio-slot-name-index, call-next-method): Check if it is bound.
4711 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4713 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4714 (eieio-custom-mode): New major mode.
4715 (eieio-customize-object): Use it.
4717 2012-10-01 Eric Ludlam <zappo@gnu.org>
4719 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4720 specifying the expected class, and whether subclassing is allowed.
4721 (eieio-persistent-convert-list-to-object):
4722 (eieio-persistent-validate/fix-slot-value)
4723 (eieio-persistent-slot-type-is-class-p): New functions.
4724 (eieio-named::slot-missing): Doc fix.
4726 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4727 Stop using unused publd variable.
4729 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4730 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4731 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4732 (eieio-speedbar-handle-click): Do not specify a class for the
4733 method. Fixes method invocation order problems with EDE.
4735 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4737 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4738 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4740 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4742 * bookmark.el (bookmark-version-control): Give tags in the
4743 :type choices (Bug#12309), and improve doc string.
4744 (bookmark-write-file): Bind `print-circle' to `t' to allow
4745 circular custom bookmark types. (Bug#12503)
4747 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4749 Revert the FOLLOW-SYMLINKS change for file-attributes.
4750 * files.el (remote-file-name-inhibit-cache, after-find-file):
4751 * time.el (display-time-file-nonempty-p): Undo last change.
4753 * profiler.el (profiler-sampling-interval): Change default back to 1.
4754 See Stefan Monnier in
4755 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4757 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4759 Shell output catching a la gud-gdb.
4760 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4761 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4763 (python-shell-fetch-lines-filter): New function.
4764 (python-shell-send-string-no-output): Use them.
4766 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4768 * profiler.el (profiler-sampling-interval): Rename from
4769 profiler-sample-interval.
4770 (profiler-sampling-interval): Default to 10.
4771 (profiler-find-profile): New command (was profiler-find-log).
4772 (profiler-find-profile-other-window): New command.
4773 (profiler-find-profile-other-frame): New command.
4774 (profiler-profile): Introduce API-level data structure.
4776 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4778 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4779 * files.el (remote-file-name-inhibit-cache):
4780 * time.el (display-time-file-nonempty-p): Use it.
4781 * files.el (after-find-file): Don't chase links before calling
4782 file-exists-p, as file-exists-p already does the right thing.
4784 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4786 Merge from standalone RefTeX repository.
4788 The following ChangeLog entries are shortened versions of the
4789 original ones with file paths adapted. A not so strongly edited
4790 version of the original ChangeLog can be found in the commit log.
4792 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4793 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4794 Correctly handle new value type returned by `reftex-citation'.
4796 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4797 that entries with whitespace at various places are found.
4798 Doc fix. Include entries that are cross-referenced from cited entries.
4799 Include @String definitions in the resulting bib file. Add header
4800 and footer defined in `reftex-create-bibtex-header' and
4801 `reftex-create-bibtex-footer'.
4802 (reftex-do-citation): Make it possible again to insert
4803 non-existent entries. Save match data when asking for optional
4804 arguments. Return all keys, not just the first one.
4805 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4806 all citations in the same line.
4807 (reftex-parse-bibtex-entry): Accept additional optional argument
4808 `raw' and keep quotes or braces if it is non-nil. Match fields
4809 containing hyphens besides word constituents.
4810 (reftex-get-string-refs): New function.
4811 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4812 and ask if it should be reread in case it did.
4813 (reftex-pop-to-bibtex-entry)
4814 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4815 entries with spaces or tabs in front of arguments.
4816 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4817 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4818 Match entries containing numbers and symbol constituents.
4819 (reftex-do-citation, reftex-figure-out-cite-format):
4820 Use `reftex-cite-key-separator'.
4822 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4823 (reftex-mouse-view-crossref): Explain why point is set.
4825 * textmodes/reftex-global.el: Whitespace changes.
4827 * textmodes/reftex-index.el: Move provide statement to end of
4829 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4830 (reftex-index-visit-phrases-buffer): Set marker when visiting
4831 buffer. This allows for returning from the phrases file to the
4832 file one was just editing instead of the file where the last
4833 phrases was added from.
4834 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4835 punctuation syntax as it usually is not used as string quote in
4836 TeX-related modes and may occur unmatched. The change also
4837 prevents fontification of quoted content.
4838 (reftex-index-phrases-mode): Use it.
4840 * textmodes/reftex-parse.el (reftex-parse-from-file):
4841 Move backward one char if a `\' was matched after a section macro.
4842 (reftex-parse-from-file): Use beginning of match instead of end as
4845 * textmodes/reftex-ref.el: Adapt creation of
4846 `reftex-<package>-<macro>' functions to new structure of
4847 `reftex-ref-style-alist'.
4848 (reftex-reference): Use `reftex-ref-style-list' function.
4849 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4850 reference macro if `reftex-ref-macro-prompt' is non-nil.
4851 (reftex-reference): Pass refstyle to `reftex-format-special'.
4852 Determine reference macro by looking at
4853 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4854 Use only one special format function.
4855 (reftex-varioref-vref, reftex-fancyref-fref)
4856 (reftex-fancyref-Fref): Remove definitions. The functions are now
4857 generated from `reftex-ref-style-alist'.
4858 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4860 (reftex-format-special): New function.
4862 * textmodes/reftex-sel.el
4863 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4864 of `reftex-ref-style-alist'. Remove code for testing macro type.
4865 (reftex-select-toggle-varioref)
4866 (reftex-select-toggle-fancyref): Remove.
4867 (reftex-select-cycle-ref-style-internal)
4868 (reftex-select-cycle-ref-style-forward)
4869 (reftex-select-cycle-ref-style-backward): New functions.
4870 (reftex-select-label-map): Use `v' and `V' for general cycling
4871 through reference styles. Add `p' for switching between number
4872 and page reference types.
4874 * textmodes/reftex-toc.el (reftex-re-enlarge):
4875 Call `enlarge-window' only if there is something to do because in Emacs
4876 the horizontal version throws an error even if the parameter is 0.
4878 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4879 (reftex-plug-into-AUCTeX): Doc fix.
4880 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4881 string. Adapt to new name.
4882 (reftex-ref-style-alist): Change structure so that it is not
4883 possible to use multiple different package names within a style.
4884 Remove the symbols for symbols for macro type distinction.
4885 Add characters for macro selection.
4886 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4887 (reftex-create-bibtex-footer): New variables.
4888 (reftex-format-ref-function): Mention third argument of special
4890 (reftex-ref-style-alist, reftex-ref-style-default-list):
4892 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4893 to new implementation. Mark as obsolete. Add compatibility code
4894 for honoring the variable values in case they are set.
4895 (reftex-cite-format-builtin, reftex-bibliography-commands):
4896 Add support for ConTeXt.
4897 (reftex-format-ref-function, reftex-format-cite-function):
4899 (reftex-cite-key-separator): New variable.
4901 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4902 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4903 `reftex-syntax-table' because parens have to retain their paren
4904 syntax in order for parsing of BibTeX entries like @book(...) to
4906 (reftex-in-comment): Do not error out if `comment-start-skip' is
4907 not set. Deal correctly with escaped comment characters.
4908 (reftex-tie-multifile-symbols): Add doc string.
4909 Initialize `reftex-ref-style-list'.
4910 (reftex-untie-multifile-symbols): Add doc string.
4911 (reftex-add-index-macros): Doc fix.
4912 (reftex-ref-style-activate, reftex-ref-style-toggle)
4913 (reftex-ref-style-list): New functions.
4914 (reftex-mode-menu): Use them. Adapt to new structure of
4915 `reftex-ref-style-alist'.
4916 (reftex-select-with-char): Kill the RefTeX Select buffer when
4918 (reftex-remove-if): New function.
4919 (reftex-erase-all-selection-and-index-buffers)
4920 (reftex-mode-menu): Reference styles are now computed from
4921 `reftex-ref-style-alist'. Fix typo.
4922 (reftex-report-bug): New function.
4923 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4924 algorithms with O(n log n). Introduce optional argument SORT (not
4927 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4929 Enhancements for triple-quote string syntax.
4930 * progmodes/python.el (python-syntax-propertize-function):
4931 Match both quote cases in one regexp.
4932 (python-syntax-stringify): Handle matches properly.
4934 2012-09-30 Juri Linkov <juri@jurta.org>
4936 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4937 to nil around the call to `insert' to prevent
4938 directory time modification by lock_file. (Bug#2295)
4939 * tar-mode.el (tar-summarize-buffer): Idem.
4941 2012-09-30 Juri Linkov <juri@jurta.org>
4943 * facemenu.el (list-colors-sort): Add option "Luminance".
4944 (list-colors-sort-key): Implement it.
4946 * vc/diff-mode.el (diff-refine-removed):
4947 * vc/ediff-init.el (ediff-fine-diff-A):
4948 * vc/smerge-mode.el (smerge-refined-removed):
4949 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4951 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4953 * term/ns-win.el (x-file-dialog): New function.
4955 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4957 * ido.el (ido-max-directory-size): Default to nil; the current
4958 default is small for POSIX systems, and impractical on Windows 7
4959 now that lstat returns directory sizes for NTFS.
4961 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4963 In buffer display functions handle window-height/window-width
4964 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4965 * window.el (window--display-buffer): New argument ALIST.
4966 Obey window-height and window-width alist entries.
4967 (window--try-to-split-window): New argument ALIST.
4968 Bind window-combination-limit to t when the window's size shall be
4969 changed and window-combination-limit equals `window-size'.
4970 (display-buffer-in-atom-window)
4971 (display-buffer-in-major-side-window)
4972 (display-buffer-in-side-window, display-buffer-same-window)
4973 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4974 (display-buffer-pop-up-window, display-buffer-below-selected)
4975 (display-buffer-at-bottom, display-buffer-in-previous-window)
4976 (display-buffer-use-some-window): Adjust all callers of
4977 window--display-buffer and window--try-to-split-window.
4978 (fit-frame-to-buffer): New option.
4979 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4981 (display-buffer-in-major-side-window): Evaluate window-height /
4982 window-width alist entries.
4984 * help.el (temp-buffer-resize-frames)
4985 (temp-buffer-resize-regexps): Remove options.
4986 (temp-buffer-resize-mode): Adjust doc-string.
4987 (resize-temp-buffer-window): Don't consult
4988 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4989 temp-buffer-resize-frames.
4991 * dired.el (dired-mark-pop-up):
4992 Call display-buffer-below-selected with a fit-window-to-buffer alist
4995 2012-09-30 Chong Yidong <cyd@gnu.org>
4997 * server.el (server-host): Document the security implications.
4998 (server-auth-key): Doc fix.
5000 * startup.el (initial-buffer-choice): Doc fix.
5002 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5004 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5007 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5009 * help-fns.el (help-fns--obsolete): Fix last change.
5011 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5013 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5014 (minor-mode-map-alist): Remove redundant code.
5016 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5017 visited in a buffer.
5018 (cvs-insert-visited-file): New function.
5019 (find-file-hook): Use it.
5021 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5023 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5025 (log-edit-empty-buffer-p): Don't require a space after a header.
5027 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5029 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5031 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5032 a proper minor-mode.
5034 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5036 2012-09-29 Glenn Morris <rgm@gnu.org>
5038 * winner.el (winner-mode): Remove variable (let define-minor-mode
5040 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5042 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5043 (winner-mode): Use define-minor-mode.
5045 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5046 the full definition in loaddefs, rather than duplicating it.
5048 * help-macro.el (three-step-help): No need to autoload defcustom.
5050 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5051 (inferior-lisp-program, inferior-lisp-load-command)
5052 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5053 No need to autoload defcustoms.
5055 * hippie-exp.el (hippie-expand-try-functions-list)
5056 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5057 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5058 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5059 (hippie-expand-only-buffers): No need to autoload defcustoms.
5060 * progmodes/vhdl-mode.el (vhdl-line-expand):
5061 Explicitly load hippie-exp, so it does not get autoloaded
5062 while hippie-expand-try-functions-list is let-bound.
5064 2012-09-28 Glenn Morris <rgm@gnu.org>
5066 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5068 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5069 Only "cl.el" counts as cl these days.
5071 2012-09-28 Juri Linkov <juri@jurta.org>
5073 Display archive errors in the echo area instead of inserting
5076 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5077 to STDERR-TEST that can be a regexp matching a successful output.
5078 Create a temporary file and redirect stderr to it. Search for
5079 STDERR-TEST in the stderr output and display it in the echo area
5080 if no match is found.
5081 (archive-extract-by-file): New function like
5082 `archive-extract-by-stdout' but extracting archives to files
5083 and looking for successful matches in stdout. Function body is
5084 mostly copied from `archive-rar-extract'.
5085 (archive-rar-extract): Use `archive-extract-by-file'.
5086 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5088 2012-09-28 Leo Liu <sdl.web@gmail.com>
5090 * pcomplete.el (pcomplete-show-completions):
5091 Use minibuffer-message to make pcomplete usable in minibuffer.
5093 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5095 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5097 * type-break.el: Use lexical-binding.
5098 (type-break-mode): Use define-minor-mode.
5100 * emacs-lisp/pcase.el (pcase--mark-used): New.
5101 (pcase--u1): Use it (bug#12512).
5103 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5104 in load-history with the right file name.
5106 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5108 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5109 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5110 (doc-view-get-bounding-box): Make bounding box slicing work for
5111 ODF and DVI documents.
5113 2012-09-28 Glenn Morris <rgm@gnu.org>
5115 * type-break.el (type-break-mode, type-break-interval)
5116 (type-break-good-rest-interval, type-break-keystroke-threshold):
5117 No need to autoload.
5118 (type-break-good-rest-interval, type-break-keystroke-threshold):
5121 2012-09-28 Chong Yidong <cyd@gnu.org>
5123 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5126 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5128 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5130 2012-09-27 Glenn Morris <rgm@gnu.org>
5132 * faces.el (x-display-name): Declare (for without-x builds).
5134 * linum.el (linum-format): Don't autoload it. Improve :type.
5136 * progmodes/tcl.el: Don't require outline when compiling.
5137 (outline-regexp, outline-level): Declare.
5138 * textmodes/sgml-mode.el: Don't require outline when compiling.
5139 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5141 * term.el (term-ansi-reset):
5142 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5144 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5145 files for RCS and SCCS. (Bug#9781)
5147 2012-09-27 Chong Yidong <cyd@gnu.org>
5149 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5150 change; value should be t.
5152 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5154 * image-mode.el: Use lexical-binding.
5155 (image-mode-winprops): Use t to stand for the window of
5156 a buffer that's not displayed.
5157 * doc-view.el (doc-view-new-window-function): Handle the new
5159 (doc-view-enlarge): Make it a real nop if the size is not changed.
5160 (doc-view-display): Handle the case where the buffer is not (yet?)
5161 displayed in any window.
5162 (doc-view-saved-settings): New var.
5163 (doc-view-mode): Use it.
5164 (doc-view-fallback-mode): Set it.
5166 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5167 Set lexical-binding.
5168 (minibuffer-eldef-shorten-default): New var.
5169 (minibuffer-default-in-prompt-regexps): Use it for new default.
5170 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5172 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5174 * international/uni-bidi.el:
5175 * international/uni-category.el:
5176 * international/uni-name.el:
5177 * international/uni-numeric.el: Regenerate.
5179 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5180 Stefan Monnier <monnier@iro.umontreal.ca>
5182 * profiler.el: New file.
5184 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5186 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5187 (testcover-reinstrument): Simplify with CSE.
5189 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5191 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5193 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5195 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5196 (verilog-auto-input, verilog-auto-insert-lisp)
5197 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5198 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5199 (verilog-auto-unused, verilog-auto-wire)
5200 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5201 newline. Reported by Andrew Jones.
5202 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5203 Reported by Brad Dobbie.
5204 (verilog-batch-delete-trailing-whitespace):
5205 Create verilog-batch-delete-trailing-whitespace.
5206 Reported by Brad Dobbie.
5207 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5208 parameters from another module. Reported by Dan Katz.
5209 (verilog-auto, verilog-auto-assign-modport)
5210 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5211 AUTOINOUTMODPORT for UVM interface module shell generation.
5212 Reported by Brad Dobbie.
5213 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5215 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5216 Reported by Matt Martin.
5218 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5220 * window.el (window--resize-child-windows): When resizing child
5221 windows proportionally, process them in reverse order to
5222 preserve the "when splitting a window the new one gets the odd
5224 (window--resize-root-window-vertically): When resizing the
5225 minibuffer window try to affect only windows at the bottom of the
5228 2012-09-25 Chong Yidong <cyd@gnu.org>
5230 * subr.el (declare): Doc fix.
5232 * help-fns.el (help-fns--obsolete): Handle macros properly.
5234 2012-09-25 Chong Yidong <cyd@gnu.org>
5236 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5237 this function obsolete.
5239 * calendar/cal-x.el (calendar-two-frame-setup)
5240 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5241 * calendar/calendar.el (american-calendar, european-calendar)
5242 (calendar-for-loop):
5243 * comint.el (comint-dynamic-simple-complete)
5244 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5245 * desktop.el (desktop-load-default):
5246 * dired-x.el (dired-omit-here-always)
5247 (dired-hack-local-variables, dired-default-directory):
5248 * emacs-lisp/derived.el (derived-mode-class):
5249 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5250 * emacs-lock.el (toggle-emacs-lock):
5251 * epa.el (epa-display-verify-result):
5252 * epg.el (epg-sign-keys, epg-start-sign-keys)
5253 (epg-passphrase-callback-function):
5254 * eshell/esh-util.el (eshell-for):
5255 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5256 (eshell-add-to-window-buffer-names):
5257 * files.el (locate-file-completion):
5258 * imenu.el (imenu-example--create-c-index)
5259 (imenu-example--create-lisp-index)
5260 (imenu-example--lisp-extract-index-name)
5261 (imenu-example--name-and-position):
5262 * international/mule-cmds.el (princ-list):
5263 * international/mule-diag.el (decode-codepage-char):
5264 * international/mule-util.el (detect-coding-with-priority):
5265 * iswitchb.el (iswitchb-read-buffer):
5266 * mail/mailalias.el (mail-complete):
5267 * mail/sendmail.el (mail-sent-via):
5268 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5269 (mouse-major-mode-menu):
5270 * password-cache.el (password-read-and-add):
5271 * pcomplete.el (pcomplete-parse-comint-arguments):
5272 * progmodes/sh-script.el (sh-maybe-here-document):
5273 * replace.el (query-replace-regexp-eval):
5274 * savehist.el (savehist-load):
5275 * simple.el (choose-completion-delete-max-match):
5276 * term.el (term-dynamic-simple-complete):
5277 * vc/ediff-init.el (ediff-check-version):
5278 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5279 * vc/vc.el (vc-diff-switches-list):
5280 * view.el (view-return-to-alist-update): Likewise.
5282 * subr.el (eval-next-after-load, makehash, insert-string)
5283 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5285 (mode-line-inverse-video): Variable deleted.
5287 * international/mule-util.el (string-to-sequence): Remove.
5289 * calendar/calendar.el (calendar-version):
5290 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5291 (icalendar-convert-diary-to-ical):
5292 * cus-edit.el (custom-mode):
5293 * ansi-color.el (ansi-color-unfontify-region):
5294 * international/latin1-disp.el (latin1-char-displayable-p):
5295 * progmodes/cwarn.el (turn-on-cwarn-mode):
5296 * progmodes/which-func.el (which-func-update-1):
5297 Use define-obsolete-function-alias.
5299 * net/newst-backend.el (newsticker-cache-filename):
5300 * net/newst-treeview.el (newsticker-groups-filename):
5301 Fix incorrect obsolescence declaration.
5303 * allout.el (allout-passphrase-hint-string): Likewise.
5304 (allout-init): Use a declare form to mark obsolete.
5306 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5307 this applies to functions.
5309 * iswitchb.el (iswitchb-read-buffer): Move code of
5310 iswitchb-define-mode-map here, and delete that obsolete function.
5312 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5313 font-lock-reference-face.
5315 2012-09-25 Glenn Morris <rgm@gnu.org>
5317 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5320 * eshell/em-term.el (eshell-term-name):
5321 Default to term-term-name. (Bug#12485)
5323 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5325 * progmodes/python.el (python-shell-send-buffer): Better handling
5326 of "if __name__ == '__main__':" conditionals when sending the buffer.
5328 2012-09-24 Glenn Morris <rgm@gnu.org>
5330 * eshell/esh-cmd.el (eshell-find-alias-function):
5331 Tighten up file-name regexp. (Bug#12499)
5333 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5335 Enhancements for triple-quote string syntax.
5336 * progmodes/python.el (python-quote-syntax): Remove.
5337 (python-syntax-propertize-function): New value.
5338 (python-syntax-count-quotes, python-syntax-stringify):
5341 2012-09-24 Chong Yidong <cyd@gnu.org>
5343 * mail/supercite.el (sc-version): Remove obsolete function.
5344 (sc-describe): Don't mark as obsolete, since it is bound.
5345 (sc-submit-bug-report): Remove.
5347 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5348 (cvs-commit-buffer-require-final-newline): Remove.
5349 (log-edit-require-final-newline)
5350 (log-edit-changelog-full-paragraphs): Default to t.
5352 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5353 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5354 * vc/vc.el (vc-checkout-carefully): Likewise.
5356 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5357 (emerge-version): Remove.
5359 * progmodes/compile.el (compile-internal): Remove.
5360 (compilation-parse-errors-function): Fix typo.
5362 * international/mule.el (set-char-table-default): Remove.
5363 (set-coding-priority, make-coding-system, generic-char-p)
5364 (charset-list, charset-bytes, charset-id): Use declare to mark
5365 functions as obsolete.
5367 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5368 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5369 * vc/vc-hooks.el (vc-default-registered): Don't use
5370 vc-master-templates.
5372 * font-lock.el (font-lock-reference-face):
5373 Use define-obsolete-variable-alias.
5375 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5376 * calendar/calendar.el (calendar-font-lock-keywords):
5377 * calendar/diary-lib.el (diary-font-lock-keywords)
5378 (diary-fancy-font-lock-keywords):
5379 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5380 * textmodes/reftex-index.el (reftex-insert-index):
5381 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5382 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5383 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5384 * progmodes/prolog.el (prolog-font-lock-keywords):
5385 * progmodes/idlwave.el (idlwave-idl-keywords):
5386 * progmodes/ada-mode.el (ada-font-lock-keywords):
5387 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5389 2012-09-24 Glenn Morris <rgm@gnu.org>
5391 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5393 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5395 * progmodes/python.el (python-indent-line): More consistent cursor
5398 2012-09-23 Stefan Merten <smerten@oekonux.de>
5400 * textmodes/rst.el: Fix compiler warning.
5402 2012-09-23 Roland Winkler <winkler@gnu.org>
5404 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5405 Transcribe also LaTeX hyphenation.
5406 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5407 bibtex-reformat-previous-options.
5409 2012-09-23 Roland Winkler <winkler@gnu.org>
5411 * proced.el (proced-renice-command): New variable.
5412 (proced-marked-processes): New function.
5413 (proced-with-processes-buffer): New macro.
5414 (proced-send-signal): Use them.
5415 (proced-renice): New command bound to r.
5417 2012-09-23 Roland Winkler <winkler@gnu.org>
5419 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5420 ibuffer-saved-filter-groups has one element, shortcut the call of
5421 completing-read. (Bug#12331)
5423 2012-09-23 Chong Yidong <cyd@gnu.org>
5425 * bindings.el (mode-line-toggle-read-only):
5426 * bs.el (bs-toggle-readonly):
5427 * buff-menu.el (Buffer-menu-toggle-read-only):
5428 * dired.el (dired-toggle-read-only):
5429 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5431 2012-09-23 Chong Yidong <cyd@gnu.org>
5433 * image.el (image-type-available-p): Adapt to init-image-library
5436 2012-09-22 Juri Linkov <juri@jurta.org>
5438 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5439 `dired-toggle-read-only'. (Bug#12462)
5441 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5443 * subr.el (temp-output-buffer-show): New function.
5444 (with-output-to-temp-buffer): Call temp-output-buffer-show
5445 instead of internal-temp-output-buffer-show.
5447 2012-09-22 Chong Yidong <cyd@gnu.org>
5449 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5452 * repeat.el (repeat): Doc fix (Bug#12348).
5454 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5457 * simple.el (shell-command-on-region): Doc fix.
5458 (read-only-mode): Doc fix.
5460 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5462 * emacs-lisp/timer.el (run-with-idle-timer)
5463 (timer-activate-when-idle): Warn against reinvoking an idle timer
5464 from within its own timer action. (Bug#12447)
5466 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5468 * cus-start.el (window-combination-limit): Add new optional
5470 * window.el (temp-buffer-window-show)
5471 (window--try-to-split-window): Handle new values of
5472 window-combination-limit (Bug#1806).
5473 (split-window): Test window-combination-limit for t instead of
5475 (display-buffer-at-bottom): New buffer display action function.
5476 * help.el (temp-buffer-resize-regexps): New option.
5477 (temp-buffer-resize-mode): Rewrite doc-string.
5478 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5479 Don't resize reused window. Suggested by Glenn Morris.
5481 2012-09-22 Stefan Merten <smerten@oekonux.de>
5483 * textmodes/rst.el: Revamp section title faces.
5484 (rst-official-version)
5485 (rst-package-emacs-version-alist): Sync with official version
5487 (rst-faces-defaults, rst-set-level-default)
5488 (rst-level-face-max, rst-level-face-base-color)
5489 (rst-level-face-base-light, rst-level-face-format-light)
5490 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5491 (rst-adornment-faces-alist): Match new setup.
5492 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5493 (rst-level-5, rst-level-6): New faces.
5495 2012-09-22 Chong Yidong <cyd@gnu.org>
5497 * simple.el (undo): Handle indirect buffers (Bug#8207).
5499 2012-09-21 Leo Liu <sdl.web@gmail.com>
5501 IDO: Disable match re-ordering for buffer switching.
5502 * ido.el (ido-buffer-disable-smart-matches): New variable.
5503 (ido-set-matches-1): Use it. (Bug#2042)
5505 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5507 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5508 Fix 2011-05-17 change. (Bug#12418)
5510 2012-09-21 Leo Liu <sdl.web@gmail.com>
5512 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5514 2012-09-21 Glenn Morris <rgm@gnu.org>
5516 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5517 Be more robust about locating simple.el.
5519 2012-09-21 Glenn Morris <rgm@gnu.org>
5521 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5523 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5525 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5527 2012-09-20 Juri Linkov <juri@jurta.org>
5529 * replace.el (query-replace-read-from): Use `read-regexp' instead
5530 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5531 (occur-read-primary-args): Use `read-regexp' instead of
5533 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5534 `read-from-minibuffer'.
5535 * isearch.el (isearch-occur): Use `read-regexp' instead of
5537 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5538 `read-from-minibuffer'.
5539 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5540 of `read-string'. (Bug#7567)
5542 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5543 and allow accepting a list of strings prepended to a list of
5544 standard default values. Doc fix. (Bug#12321)
5546 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5548 * replace.el (read-regexp): Don't add ": " when PROMPT already
5549 ends with a colon and space. (Bug#12321)
5551 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5553 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5556 2012-09-20 Stefan Merten <smerten@oekonux.de>
5558 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5559 Fixes feature request bug#11711.
5560 (rst-mode): Create `imenu-create-index-function'.
5561 (rst-get-stripped-line): Delete after refactoring.
5562 (rst-section-tree, rst-section-tree-rec)
5563 (rst-section-tree-point): Refactor and document properly.
5564 (rst-imenu-find-adornments-for-position)
5565 (rst-imenu-convert-cell, rst-imenu-create-index):
5568 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5570 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5571 (macroexp--expand-all): Use it.
5572 (macroexp--funcall-and-return): Remove by folding it into its sole
5573 caller (macroexp--warn-and-return).
5574 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5575 Use macroexp--obsolete-warning.
5577 * calc/calc.el: Fix last change by removing the whole chunk, since it
5578 was only needed back when Calc was not bundled.
5580 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5582 * emacs-lisp/debug.el (debug): Restore assignment to
5583 debugger-old-buffer removed on 2012-09-08.
5585 2012-09-20 Juri Linkov <juri@jurta.org>
5587 * dired-aux.el (dired-diff): Remove (require 'diff) since
5588 `diff-latest-backup-file' is now autoloaded.
5590 2012-09-20 Chong Yidong <cyd@gnu.org>
5592 * vc/diff.el (diff-latest-backup-file): Autoload.
5594 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5596 * calc/calc.el: Remove redundant autoload shape check.
5597 (sel-mode): Don't defvar.
5598 (calc-get-stack-element): Add `sel-mode' arg instead.
5599 (calc-top, calc-top-list): Pass it this additional argument.
5600 * calc/calc-store.el (calc-store-map):
5601 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5602 (calc-map-equation, calc-outer-product, calc-inner-product):
5603 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5605 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5607 2012-09-19 Juri Linkov <juri@jurta.org>
5609 * dired-aux.el (dired-diff): Add (require 'diff) because
5610 `diff-latest-backup-file' is not autoloaded.
5611 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5612 of `dired-get-filename' to t to not report error when there is
5613 no default file on the current line.
5615 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5617 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5618 macroexp--eval-if-compile.
5619 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5620 (macroexp--expand-all): Use them (bug#12371).
5622 * doc-view.el (doc-view-guess-paper-size)
5623 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5625 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5627 New feature: set optimal slice from BoundingBox information.
5628 * doc-view.el (doc-view-mode-map): Add keybinding.
5629 (doc-view-menu): Add menu entry.
5630 (doc-view-set-slice): Adapt docstring.
5631 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5632 (doc-view-scale-bounding-box)
5633 (doc-view-set-slice-from-bounding-box): New functions.
5634 (doc-view-paper-sizes): New defvar.
5636 2012-09-19 Glenn Morris <rgm@gnu.org>
5638 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5639 (byte-compile-log-warning): Autoload. (Bug#12371)
5641 * calendar/calendar.el (calendar-american-month-header)
5642 (calendar-european-month-header, calendar-iso-month-header)
5643 (calendar-month-header): New options.
5644 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5645 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5647 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5649 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5651 2012-09-18 Juri Linkov <juri@jurta.org>
5653 * dired-aux.el (dired-diff): Restore original functionality of
5654 getting the default value, but keep new feature of using the
5655 latest existing backup file (`diff-latest-backup-file').
5657 2012-09-18 Juri Linkov <juri@jurta.org>
5659 * dired.el (dired-mark): If the region is active in Transient Mark
5660 mode, mark all files in the active region. Doc fix.
5661 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5662 Doc fix. (Bug#10624)
5664 2012-09-18 Juri Linkov <juri@jurta.org>
5666 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5667 attributes for M-n are pulled from the file at point.
5668 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5669 Suggested by Drew Adams. (Bug#10624)
5671 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5673 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5674 whitespace after "end".
5675 (ruby-do-end-to-brace): Collapse block to one line if it fits
5678 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5680 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5682 (debug): Don't remove debugger window when debugger is expected
5685 2012-09-18 Chong Yidong <cyd@gnu.org>
5687 * custom.el (defface): Doc fix.
5689 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5691 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5693 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5694 to initialize query-on-exit; then test that instead (bug#12288).
5696 2012-09-17 Stefan Merten <smerten@oekonux.de>
5698 * textmodes/rst.el: Add support for `testcover'.
5699 (rst-defcustom-testcover, rst-testcover-add-compose)
5700 (rst-testcover-add-1value): New functions.
5701 (rst-portable-mark-active-p): Replace by `use-region-p'.
5702 (rst-update-section, rst-classify-adornment)
5703 (rst-find-title-line): Mark `1value' forms.
5704 (rst-classify-adornment): Remove superfluous form.
5705 (rst-update-section, rst-get-adornments-around)
5706 (rst-adornment-complete-p, rst-get-next-adornment)
5707 (rst-adjust, rst-promote-region)
5708 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5709 (rst-find-pfx-in-region, rst-section-tree-rec)
5710 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5711 (rst-toc-node, rst-toc, rst-forward-section)
5712 (rst-iterate-leftmost-paragraphs)
5713 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5714 (rst-bullet-list-region)
5715 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5716 (rst-compile-find-conf, rst-compile)
5717 (rst-repeat-last-character): Fix style.
5719 2012-09-17 Chong Yidong <cyd@gnu.org>
5721 * comint.el (comint--complete-file-name-data): Don't add a space
5722 if the status is `sole'; that adds a gratuitous space in the
5723 completion-cycling case (Bug#12092).
5725 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5727 2012-09-17 Richard Stallman <rms@gnu.org>
5729 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5730 only in the mime-shown mode, not in raw mode.
5731 (rmail-mime): Toggle off mime by displaying the message without
5732 mime processing. (Bug#12305)
5734 * mail/rmail.el (rmail-retry-failure):
5735 Turn off mime processing first. (Bug#12037)
5737 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5739 2012-09-17 Chong Yidong <cyd@gnu.org>
5741 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5742 (shell-dynamic-complete-functions): Convert to defcustom.
5743 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5745 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5746 * comint.el (comint-prompt-read-only):
5747 * custom.el (defcustom):
5748 * hi-lock.el (hi-lock-mode):
5749 * ibuffer.el (ibuffer-formats):
5750 * ielm.el (ielm-prompt-read-only):
5751 * novice.el (disable-command):
5752 * saveplace.el (toggle-save-place):
5753 * speedbar.el (speedbar-supported-extension-expressions):
5754 * startup.el (auto-save-list-file-prefix, init-file-user)
5755 (after-init-hook, inhibit-startup-echo-area-message):
5756 * strokes.el (strokes-help):
5757 * time-stamp.el (time-stamp):
5758 * calendar/calendar.el (calendar, diary-file):
5759 * calendar/diary-lib.el (diary-mail-entries, diary)
5760 (diary-list-entries-hook):
5761 * calendar/holidays.el (holidays, calendar-holidays):
5762 * calendar/lunar.el (lunar-phases):
5763 * calendar/solar.el (sunrise-sunset):
5764 * emulation/edt.el (edt-load-keys):
5765 * emulation/viper.el (viper-mode):
5766 * eshell/em-alias.el (eshell-command-aliases-list):
5767 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5768 * international/ogonek.el (ogonek-information):
5769 * net/tramp-cmds.el (tramp-bug):
5770 * net/quickurl.el (quickurl-reread-hook-postfix):
5771 * play/decipher.el (decipher-font-lock-keywords):
5772 * progmodes/cc-styles.el (c-set-style):
5773 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5774 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5775 * progmodes/octave-mod.el (octave-mode):
5776 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5777 * progmodes/verilog-mode.el (verilog-read-defines):
5778 * textmodes/two-column.el (2C-mode): Likewise.
5780 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5782 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5783 that holds many addresses.
5785 2012-09-16 Chong Yidong <cyd@gnu.org>
5787 * align.el (align-areas): Call the indication function with
5788 positions instead of markers for arguments (Bug#12343).
5790 * files.el (parse-colon-path): Use split-string (Bug#12351).
5792 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5793 (display-buffer-function): Mark as obsolete.
5795 * progmodes/compile.el (compilation-parse-errors): Accept list
5796 values similar to font-lock-keywords (Bug#12136).
5797 Suggested by Oleksandr Manzyuk.
5798 (compilation-error-regexp-alist): Doc fix.
5800 2012-09-15 Glenn Morris <rgm@gnu.org>
5802 * version.el (emacs-bzr-version-bzr): New function.
5803 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5805 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5806 checkouts, check the parent dirstate matches the branch.
5807 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5810 * version.el (emacs-bzr-version): Doc fix.
5811 (emacs-bzr-version-dirstate): New function.
5812 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5813 is local try and check that it matches the branch. If not, just
5814 use dirstate information. (Bug#12441)
5816 2012-09-14 Juri Linkov <juri@jurta.org>
5818 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5821 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5823 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5825 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5826 Remove obsolete byte-compiler hack that tried to silence some warnings.
5827 (edebug-submit-bug-report): Remove.
5828 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5829 Remove aliases, use the un-prefixed name instead.
5830 (edebug-pop-to-buffer): Consider other frames.
5831 (edebug-original-read):: Make it more obvious that it's always defined.
5832 (edebug--make-form-data-entry, edebug--form-data-name)
5833 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5834 single-dashed name, and implement with cl-defstruct.
5835 (edebug-set-form-data-entry): Use the standard accessors.
5836 (edebug-make-top-form-data-entry): Use push.
5837 (edebug-no-match): Drop useless `funcall'.
5838 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5840 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5841 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5842 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5843 (easy-menu-define, with-custom-print): Remove redundant specs.
5844 (edebug-outside-overriding-local-map)
5845 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5846 (edebug--display): Bind unread-command-events directly to nil rather
5847 than binding it to unread-command-events and later setting it to nil.
5848 (edebug--display): Kill edebug-eval-buffer here...
5849 (edebug--recursive-edit): ...rather than here.
5850 Bind standard-output and standard-input.
5851 (edebug-eval): Check cl-macroexpand-all is fboundp.
5852 (edebug-temp-display-freq-count): Fix last change.
5854 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5855 * subr.el (noreturn, 1value): Add `debug' spec.
5856 * emacs-lisp/advice.el: Require cl-lib.
5857 (ad-copy-tree): Remove, use copy-tree instead.
5858 (ad-dolist): Remove use dolist or cl-dolist instead.
5859 (ad-do-return): Remove, use cl-return instead.
5860 (defadvice): Add `debug' spec.
5862 2012-09-13 Juri Linkov <juri@jurta.org>
5864 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5867 2012-09-13 Glenn Morris <rgm@gnu.org>
5869 * calc/calc.el (math-compose-expr):
5870 * calc/calc-ext.el (math-compose-expr):
5871 * progmodes/cc-defs.el (cl-macroexpand-all):
5872 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5873 (cl-macroexpand-all): Update declarations.
5875 * vc/vc.el: No need to require ediff.
5876 (ediff-load-version-control): Declare.
5877 (ediff-vc-internal): Fix declaration.
5878 (vc-version-ediff): Require ediff.
5880 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5882 Use a more backwards-compatible timer format (Bug#12430).
5883 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5884 being right after USECS, as that better supports old code that
5885 inadvisedly looked directly at the timer vector.
5887 2012-09-13 Kenichi Handa <handa@gnu.org>
5889 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5890 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5891 `coding-priority' property of these language environment.
5893 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5895 Fix glitches caused by addition of psec to timers (Bug#12430).
5896 * image.el (image-animate-timer):
5897 * time.el (display-time-world-timer):
5898 Use timer--function and timer--args rather than raw access to
5901 2012-09-13 Glenn Morris <rgm@gnu.org>
5903 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5904 If not compiling a file, try using load-file-name.
5906 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5908 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5910 (edebug-update-eval-list): Use `push'.
5912 * emacs-lisp/edebug.el: Use lexical-binding.
5913 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5914 Mark unused args with underscore.
5915 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5916 (edebug-form-data): Use defvar-local.
5917 (edebug-make-before-and-after-form, edebug-make-after-form):
5919 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5920 Not dynamically scoped any more.
5921 (edebug--enter-trace): Add arguments `function' and `args'.
5922 Rename from edebug-enter-trace.
5923 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5924 (edebug--update-coverage): Add `after-index' and `value' args.
5925 Rename from edebug-update-coverage.
5926 (edebug-slow-after): Call it accordingly.
5927 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5928 edebug-recursive-edit.
5929 (edebug--display): Call it accordingly. Add args `value',
5930 `offset-index', and `arg-mode'. Rename from edebug-display.
5931 (edebug-debugger, edebug): Call it accordingly.
5932 (edebug-eval-display-list): Use dolist.
5934 2012-09-12 Juri Linkov <juri@jurta.org>
5936 * info.el (Info-search): Don't check for isearch-mode and
5937 isearch-regexp before let-binding search-spaces-regexp to
5938 Info-search-whitespace-regexp.
5939 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5940 search-whitespace-regexp if isearch-lax-whitespace or
5941 isearch-regexp-lax-whitespace is non-nil.
5942 (Info-mode): Don't set local variable search-whitespace-regexp.
5943 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5945 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5947 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5948 (debugger-env-macro): Remove support for unread-command-char.
5950 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5951 the temporary map re-appearing on emulation-mode-map-alists.
5953 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5956 * ehelp.el (with-electric-help): Accept functions in
5957 electric-help-form-to-execute.
5958 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5959 And replace unread-command-char -> unread-command-events.
5961 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5963 Sync with Tramp 2.2.6.
5965 * net/tramp.el (tramp-accept-process-output): Don't use
5966 JUST-THIS-ONE in the XEmacs case.
5968 * net/trampver.el: Update release number.
5970 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5972 * emacs-lisp/debug.el (debugger-previous-window-height):
5974 (debug): When debugger-jumping-flag is non-nil try to restore
5975 height of debugger window. (Bug#8789)
5977 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5979 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5980 overriding-local-map and pre/post-command-hook here.
5981 (edebug-recursive-edit): Do it here instead (bug#12345).
5982 (edebug-outside-unread-command-char): Remove all uses of
5983 unread-command-char.
5985 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5986 inhibit-debugger is bound instead.
5988 2012-09-11 Bastien Guerry <bzg@gnu.org>
5990 * subr.el (set-temporary-overlay-map): Add a docstring.
5993 2012-09-11 Bastien Guerry <bzg@gnu.org>
5995 * minibuffer.el (completion-table-subvert): Fix docstring.
5998 2012-09-11 Bastien Guerry <bzg@gnu.org>
6000 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6002 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6004 * progmodes/sql.el: Version 3.1
6005 (sql-db2-escape-newlines): New variable.
6006 (sql-escape-newlines-filter): Use it.
6008 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6010 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6012 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6014 * vc/diff-mode.el (diff-mode-menu):
6015 Bind diff-remove-trailing-whitespace.
6017 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6019 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6020 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6021 (emacs-lisp-byte-code-mode): New functions.
6022 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6023 (eval-defun-2): Remove bogus interactive spec.
6024 (lisp-indent-line): Remove redundant whole-exp code, now done in
6025 indent-according-to-mode.
6026 (save-match-data): Remove redundant indent data.
6028 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6031 2012-09-09 Juri Linkov <juri@jurta.org>
6033 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6034 (replace-lax-whitespace, query-replace-regexp)
6035 (query-replace-regexp-eval, replace-regexp): Doc fix.
6036 (perform-replace, replace-highlight): Let-bind
6037 isearch-lax-whitespace to replace-lax-whitespace and
6038 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6040 * isearch.el (isearch-query-replace): Let-bind
6041 replace-lax-whitespace to isearch-lax-whitespace and
6042 replace-regexp-lax-whitespace to
6043 isearch-regexp-lax-whitespace. (Bug#10885)
6045 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6047 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6049 2012-09-09 Alan Mackenzie <acm@muc.de>
6051 * progmodes/cc-engine.el (c-state-cache-init):
6052 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6053 (c-record-parse-state-state):
6054 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6056 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6058 * register.el (register-separator): Rename from
6059 separator-register. All uses changed. Doc fix.
6060 (register): Fix version.
6062 2012-09-09 Chong Yidong <cyd@gnu.org>
6064 * replace.el (query-replace-map): Bind four new symbols for
6065 requesting window scrolling.
6067 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6068 query-replace-map (Bug#8948).
6070 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6072 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6073 since they are now in query-replace-map.
6075 * window.el (scroll-other-window-down): Make the arg optional.
6077 2012-09-09 Chong Yidong <cyd@gnu.org>
6079 * files.el (hack-local-variables-confirm): Use quit-window to kill
6080 the *Local Variables* buffer.
6082 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6084 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6085 not just expect to be at its beginning. Adjust callees.
6086 Succeed when do-end block has no space before the pipe character.
6087 (ruby-brace-to-do-end): When the original block is one-liner,
6088 convert to multiline. Reindent the result.
6090 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6092 * register.el (register): New group.
6093 (separator-register): New user option.
6094 (increment-register): Route it to `append-to-register', if
6095 register contains text. Implication is that `C-x r +' can now be
6096 used for appending to a text register (bug#12217).
6097 (append-to-register, prepend-to-register): Add separator based on
6098 `separator-register'.
6100 2012-09-08 Alan Mackenzie <acm@muc.de>
6102 AWK Mode: make auto-newline work when there's "==" in the pattern.
6103 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6105 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6106 Test more rigorously for "=" token.
6108 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6110 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6111 Only fail when reached LIMIT.
6113 2012-09-08 Chong Yidong <cyd@gnu.org>
6115 * dired.el (dired-mode-map): Don't bind M-=.
6117 * dired-aux.el (dired-diff): Use backup file as default.
6119 2012-09-08 Drew Adams <drew.adams@oracle.com>
6121 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6123 2012-09-08 Chong Yidong <cyd@gnu.org>
6125 * subr.el (syntax-after, syntax-class): Doc fix.
6127 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6129 * window.el (display-buffer-in-previous-window): New buffer
6130 display action function.
6132 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6133 (debugger-previous-window): New variable.
6134 (debug): Rewrite using display-buffer-in-previous-window,
6135 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6137 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6139 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6141 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6143 * progmodes/python.el (python-shell-send-string):
6144 When default-directory is remote, create temp file on remote
6146 (python-shell-send-file): When file is remote, pass local view of
6147 file paths to remote Python interpreter. (Bug#12340)
6149 2012-09-07 Chong Yidong <cyd@gnu.org>
6151 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6153 * files.el (after-find-file): Don't fail on a read-only buffer if
6154 require-final-newline is `visit' or `visit-save' (Bug#11156).
6156 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6158 * userlock.el (ask-user-about-supersession-threat):
6159 Use read-char-choice (Bug#12093).
6161 2012-09-07 Chong Yidong <cyd@gnu.org>
6163 * subr.el (buffer-narrowed-p): New function.
6165 * ses.el (ses-widen):
6166 * simple.el (count-words--buffer-message):
6167 * net/browse-url.el (browse-url-of-buffer): Use it.
6169 * simple.el (count-words-region): Don't signal an error if there
6170 is a non-nil prefix arg and the mark is not set.
6172 * help.el (describe-key-briefly): Allow the message to be seen
6173 when invoked from the minibuffer (Bug#7014).
6175 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6177 * progmodes/ruby-mode.el (ruby-end-of-defun)
6178 (ruby-beginning-of-defun): Simplify, allow indentation before
6179 block beginning and end keywords.
6180 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6181 (ruby-end-of-defun): Expect that the point is at the beginning of
6184 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6186 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6188 (cl--make-usage-args): Strip _ from argument names.
6190 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6192 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6193 obsolete alias speedbar-key-map.
6194 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6195 (vhdl-index-menu-init): Don't use obsolete variable
6196 font-lock-maximum-size.
6198 2012-09-06 Chong Yidong <cyd@gnu.org>
6200 * frame.el (window-system-version): Mark as obsolete.
6202 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6203 of obsolete variable speedbar-key-map.
6205 2012-09-06 Juri Linkov <juri@jurta.org>
6207 * replace.el (replace-lax-whitespace): New defcustom.
6208 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6209 (replace-string, replace-regexp): Mention it in docstrings.
6210 (perform-replace, replace-highlight): Let-bind
6211 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6212 to the values of replace-lax-whitespace and regexp-flag.
6213 Don't let-bind search-whitespace-regexp. (Bug#10885)
6215 * isearch.el (isearch-query-replace): Let-bind
6216 replace-lax-whitespace instead of let-binding
6217 replace-search-function and replace-re-search-function.
6218 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6219 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6220 (isearch-toggle-symbol): Set isearch-regexp to nil
6221 in isearch-word mode (like in isearch-toggle-word).
6223 2012-09-06 Juri Linkov <juri@jurta.org>
6225 * replace.el (replace-search-function)
6226 (replace-re-search-function): Set default values to nil.
6227 (perform-replace): Let-bind isearch-related variables based on
6228 replace-related values, call `isearch-search-fun' and let-bind
6229 the result to `search-function'. Remove code that sets
6230 `search-function' and `search-string' separately for
6232 (replace-highlight): Add new argument `delimited-flag' and
6233 rename other arguments to the names used in `perform-replace'.
6234 Let-bind `isearch-word' to the argument `delimited-flag'.
6235 (Bug#10885, bug#10887)
6237 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6239 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6240 ruby-beginning-of-indent, simplify, allow all keywords to have
6241 indentation before them.
6242 (ruby-beginning-of-indent): Adjust for above. Search until the
6243 found point is not inside a string or comment.
6244 (ruby-font-lock-keywords): Allow symbols to start with "@"
6245 character, give them higher priority than variables.
6246 (ruby-syntax-propertize-function)
6247 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6248 matchers. Expression expansions are not comments when inside a
6249 string, and there comment syntax status is irrelevant.
6250 (ruby-match-expression-expansion): New function. Check that
6251 expression expansion is inside a string, and it's not escaped.
6252 (ruby-font-lock-keywords): Use it.
6254 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6256 * help.el (temp-buffer-max-height): New default value.
6257 (temp-buffer-resize-frames): New option.
6258 (resize-temp-buffer-window): Optionally resize frame.
6260 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6261 (fit-frame-to-buffer): New function.
6263 2012-09-05 Glenn Morris <rgm@gnu.org>
6265 * emulation/cua-rect.el (cua--init-rectangles):
6266 * textmodes/picture.el (picture-mode-map):
6267 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6268 like forward-char and backward-char. (Bug#12317)
6270 2012-09-05 Leo Liu <sdl.web@gmail.com>
6272 * progmodes/flymake.el (flymake-warning-re): New variable.
6273 (flymake-parse-line): Use it.
6275 2012-09-05 Glenn Morris <rgm@gnu.org>
6277 * calendar/holidays.el (holiday-christian-holidays):
6278 Rename an entry. (Bug#12289)
6280 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6282 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6285 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6287 * loadup.el: Load macroexp. Remove hack.
6288 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6289 (macroexp--expand-all): Use it to get better warnings.
6290 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6291 (internal-macroexpand-for-load): New functions.
6292 (macroexp--pending-eager-loads): New var.
6293 (emacs-startup-hook): New hack to replace one in loadup.el.
6294 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6295 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6296 (cl-psetf): Simplify.
6297 (cl-defstruct): Add indent rule.
6299 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6301 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6302 over `user-mail-address' for the SMTP MAIL FROM envelope.
6303 (smtpmail-via-smtp): Ditto.
6305 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6307 * progmodes/ruby-mode.el: Clean up keybindings.
6308 (ruby-mode-map): Don't bind ruby-electric-brace,
6309 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6310 backward-kill-word, reindent-then-newline-and-indent.
6311 (ruby-mark-defun): Remove.
6312 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6313 (ruby-mode): Set local beginning-of-defun-function and
6314 end-of-defun-function values.
6316 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6318 * window.el (temp-buffer-window-setup-hook)
6319 (temp-buffer-window-show-hook): New hooks.
6320 (temp-buffer-window-setup, temp-buffer-window-show)
6321 (with-temp-buffer-window): New functions.
6322 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6323 (special-display-popup-frame): Make sure the window used shows BUFFER.
6325 * help.el (temp-buffer-resize-mode): Fix doc-string.
6326 (resize-temp-buffer-window): New optional argument WINDOW.
6328 * files.el (recover-file, save-buffers-kill-emacs):
6329 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6331 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6333 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6334 remote definition of `default-directory', ensure we can connect.
6336 2012-09-02 Juri Linkov <juri@jurta.org>
6338 Toggle whitespace matching mode with M-s SPC.
6339 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6341 * isearch.el (search-whitespace-regexp): Doc fix.
6342 Remove cons cell customization.
6343 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6344 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6346 (isearch-forward, isearch-forward-regexp): Doc fix.
6347 (isearch-toggle-lax-whitespace): New command.
6348 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6349 (re-search-forward-lax-whitespace)
6350 (re-search-backward-lax-whitespace): New functions.
6351 (isearch-whitespace-regexp): Remove function.
6352 (isearch-query-replace): Let-bind replace-search-function and
6353 replace-re-search-function.
6354 (isearch-occur): Let-bind search-spaces-regexp according to the
6355 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6356 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6357 condition for C-q SPC.
6358 (isearch-search-fun-default): Use new functions mentioned above.
6359 (isearch-search-forward, isearch-search-backward): Remove functions.
6360 (isearch-search): Don't let-bind search-spaces-regexp.
6361 (isearch-lazy-highlight-space-regexp): Remove variable.
6362 (isearch-lazy-highlight-lax-whitespace)
6363 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6364 (isearch-lazy-highlight-new-loop): Use them.
6365 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6367 2012-09-02 Chong Yidong <cyd@gnu.org>
6369 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6371 2012-09-02 Glenn Morris <rgm@gnu.org>
6373 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6375 2012-09-01 Glenn Morris <rgm@gnu.org>
6377 * term.el: Tidy up menu definitions.
6378 (term-mode-map): Use easymenu for In/Out, Complete menus.
6379 (term-pager-break-map): Initialize in the defvar.
6380 (term-terminal-menu, term-signals-menu): Define with easymenu.
6381 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6382 (term-pager-menu): New, extracted from term-process-pager.
6383 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6384 (term-update-mode-line): Propertize line/char and page items.
6385 (term-process-pager): Move keymap initialization elsewhere.
6387 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6389 * window.el (switch-to-prev-buffer): Handle additional values of
6390 BURY-OR-KILL argument. Don't switch in minibuffer window.
6391 (switch-to-next-buffer): Don't switch in minibuffer window.
6392 (quit-restore-window): New function based on quit-window.
6393 Handle additional values of former KILL argument.
6394 (quit-window): Call quit-restore-window with appropriate
6395 interpretation of KILL argument.
6396 (display-buffer-below-selected): New buffer display action
6399 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6401 * minibuffer.el (completion-at-point-functions): Complete docstring
6404 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6406 Better seed support for (random).
6407 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6408 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6409 * play/mpuz.el, play/tetris.el, play/zone.el:
6410 * calc/calc-comb.el (math-init-random-base):
6411 * play/blackbox.el (bb-init-board):
6412 * play/life.el (life):
6413 * server.el (server-use-tcp):
6414 * type-break.el (type-break):
6415 Remove unnecessary call to (random t).
6416 * net/sasl.el (sasl-unique-id-function):
6417 Change (random t) to (random), now that the latter is more random.
6418 * play/life.el (life-initialized): Remove no-longer-needed var.
6420 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6422 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6423 Consider frame's buffer predicate when choosing the buffer.
6426 2012-08-30 Richard Stallman <rms@gnu.org>
6428 * simple.el (special-mode-map): Delete binding for `z'.
6430 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6432 * progmodes/compile.el (compilation-always-kill): Doc fix.
6434 2012-08-30 Chong Yidong <cyd@gnu.org>
6436 * window.el (display-buffer-reuse-frames): Make the obsolescence
6437 message more informative.
6439 2012-08-30 Glenn Morris <rgm@gnu.org>
6441 * paren.el (show-paren-delay):
6442 Add a :set function. Doc fix. (Bug#12297)
6444 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6446 * progmodes/compile.el (compilation-always-kill): New var.
6447 (compilation-start): Use it.
6449 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6451 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6452 * files.el (read-only-mode): Move to simple.el.
6454 * files.el (read-only-mode): New minor mode.
6455 (toggle-read-only): Use it and mark obsolete.
6456 (find-file--read-only):
6457 * vc/vc.el (vc-next-action, vc-checkout):
6458 * vc/vc-cvs.el (vc-cvs-checkout):
6459 * obsolete/vc-mcvs.el (vc-mcvs-update):
6460 * ffap.el (ffap--toggle-read-only): Update callers.
6462 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6464 * eshell/esh-ext.el (eshell-external-command): Do not examine
6465 remote shell scripts.
6466 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6468 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6471 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6473 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6475 2012-08-28 Leo Liu <sdl.web@gmail.com>
6477 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6478 completion-at-point. (Bug#12220)
6480 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6482 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6484 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6486 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6487 be buffer-local; add delete-trailing-whitespace (bug#12259).
6489 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6491 * progmodes/hideif.el (hif-compress-define-list):
6492 Fix typo. (Bug#11951)
6494 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6496 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6497 buffer local setting.
6499 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6500 rcirc-encode-coding-system.
6502 2012-08-28 Leo Liu <sdl.web@gmail.com>
6504 * net/rcirc.el (rcirc-split-message): New function.
6505 (rcirc-send-message): Use it. (Bug#12051)
6507 2012-08-28 Juri Linkov <juri@jurta.org>
6509 * info.el (Info-fontify-node): Hide empty lines at the end of
6510 the node. (Bug#12272)
6512 2012-08-27 Drew Adams <drew.adams@oracle.com>
6514 * dired.el (dired-pop-to-buffer): Make window start at beginning
6515 of buffer (Bug#12281).
6517 2012-08-26 Chong Yidong <cyd@gnu.org>
6519 * window.el (special-display-regexps, special-display-frame-alist)
6520 (special-display-buffer-names, special-display-function)
6521 (display-buffer-reuse-frames): Mark as obsolete.
6523 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6525 * help.el (help-print-return-message): Don't treat
6526 display-buffer-reuse-frames specially.
6528 2012-08-26 Chong Yidong <cyd@gnu.org>
6530 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6531 New variable, replacing gdb-frame-parameters.
6532 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6533 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6534 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6535 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6536 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6537 the functions directly with gdb-display-buffer-other-frame-action.
6538 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6539 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6540 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6541 (gdb-display-registers-buffer): Define directly.
6542 (def-gdb-display-buffer): Macro deleted.
6543 (gdb-display-buffer): Remove second and third args, callers don't
6544 use them. Defer to the default display-buffer behavior, apart
6545 from making windows dedicated.
6546 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6548 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6550 * window.el (display-buffer-pop-up-frame): Handle a
6551 pop-up-frame-parameters alist entry.
6552 (display-buffer): Document it.
6554 2012-08-26 Chong Yidong <cyd@gnu.org>
6556 * isearch.el (search-whitespace-regexp): Make string and nil
6557 values apply to both ordinary and regexp search. Allow a cons
6558 cell value to distinguish between the two.
6559 (isearch-whitespace-regexp, isearch-search-forward)
6560 (isearch-search-backward): New functions.
6561 (isearch-occur, isearch-search-fun-default, isearch-search)
6562 (isearch-lazy-highlight-new-loop): Use them.
6563 (isearch-forward, isearch-forward-regexp): Doc fix.
6565 2012-08-26 Chong Yidong <cyd@gnu.org>
6567 * faces.el (help-argument-name): Always inherit from italic
6570 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6572 * window.el (window--even-window-heights): Even heights when
6573 WINDOW and the selected window form a vertical combination.
6574 (display-buffer-use-some-window): Provide that window used gets
6575 sized back by quit-window. (Bug#11880) and (Bug#12091)
6577 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6579 Fix file time stamp problem with bzr and CVS (Bug#12001).
6580 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6581 in the file's time stamp, since the version control system loses
6584 2012-08-22 Juri Linkov <juri@jurta.org>
6586 * info.el (Info-fontify-node): Hide the suffix of the
6587 Info file name in the header line. (Bug#12187)
6589 2012-08-22 Glenn Morris <rgm@gnu.org>
6591 * calendar/cal-tex.el (cal-tex-weekly-common):
6592 Restore leading blank page.
6594 2012-08-22 Le Wang <l26wang@gmail.com>
6596 * misc.el (forward-to-word, backward-to-word): Activate or extend
6597 the region under `shift-select-mode'. (Bug#12231)
6599 2012-08-22 Bastien Guerry <bzg@gnu.org>
6601 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6602 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6603 gives details on why the space is never needed.
6605 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6607 * window.el (walk-window-tree, window-with-parameter):
6608 New optional argument MINIBUF to control whether these functions
6609 should run on the minibuffer window.
6610 (window-at-side-list): Don't operate on minibuffer window.
6611 (window-in-direction): Simplify and rewrite doc-string.
6612 (window--size-ignore): Rename to window--size-ignore-p.
6614 (display-buffer-in-atom-window, window--major-non-side-window)
6615 (window--major-side-window, display-buffer-in-major-side-window)
6616 (delete-side-window, display-buffer-in-side-window):
6618 (window--side-check, window-deletable-p, delete-window)
6619 (delete-other-windows, split-window): Handle side windows and
6620 atomic windows appropriately.
6621 (window--display-buffer): Call display-buffer-record-window also
6622 when the window buffer did not change.
6624 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6626 * help-fns.el (help-fns--key-bindings):
6627 Abbreviate non-symbol remap targets. (Bug#12174)
6629 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6631 * dired.el (dired-mark-remembered): Don't clobber point.
6634 2012-08-22 Glenn Morris <rgm@gnu.org>
6636 * progmodes/bug-reference.el (bug-reference): New custom group.
6637 (bug-reference-bug-regexp): Make it a defcustom.
6639 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6641 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6642 (js-paren-indent-offset, js-square-indent-offset)
6643 (js-curly-indent-offset): Add :safe (Bug#12257).
6645 2012-08-22 Edward O'Connor <hober0@gmail.com>
6647 * json.el (json-key-format): Add error properties.
6648 (json-encode-key): New function.
6649 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6650 Use json-encode-key.
6652 2012-08-22 Glenn Morris <rgm@gnu.org>
6654 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6655 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6656 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6657 Update for above change.
6659 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6661 * cus-face.el (custom-face-attributes): Fix customize type for the
6662 :underline attribute. (Bug#11805)
6664 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6666 * window.el (window-point-1, set-window-point-1): Remove.
6667 (window-in-direction, record-window-buffer)
6668 (set-window-buffer-start-and-point, split-window-below)
6669 (window--state-get-1, display-buffer-record-window):
6670 Replace calls to window-point-1 and set-window-point-1 by calls to
6671 window-point and set-window-point respectively.
6673 2012-08-21 Glenn Morris <rgm@gnu.org>
6675 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6676 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6679 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6680 (cal-tex-shortday): New function.
6681 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6682 (cal-tex-cursor-filofax-daily): Use the above.
6684 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6686 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6687 (cal-tex-cursor-filofax-week): Use them.
6689 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6691 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6692 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6694 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6695 (cal-tex-end-document): Don't rely on buffer name.
6697 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6699 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6700 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6701 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6704 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6705 (cal-tex-cursor-week, cal-tex-cursor-week2)
6706 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6707 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6708 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6709 (cal-tex-insert-preamble, cal-tex-b-document)
6710 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6711 Improve cal-tex-cmd usage.
6713 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6714 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6715 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6716 (cal-tex-weekly-paper): New function.
6717 (cal-tex-cursor-week, cal-tex-cursor-week2)
6718 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6719 (cal-tex-cursor-day): Use it.
6721 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6722 (cal-tex-cursor-filofax-week): Remove leading blank page.
6724 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6725 Add autoload cookie. For now at least, don't use color, since
6726 no other cal-tex function does.
6728 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6729 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6730 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6732 2012-08-21 Juri Linkov <juri@jurta.org>
6734 * info.el (Info-file-attributes): New variable.
6735 (info-insert-file-contents): Add file attributes to
6736 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6737 `Info-toc-nodes' when previous modtime of the Info file is less
6739 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6740 of info.el. (Bug#12230)
6742 2012-08-20 Glenn Morris <rgm@gnu.org>
6744 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6745 * calendar/holidays.el (calendar-holiday-list):
6746 Report errors with display-warning rather than beep'n'sleep.
6748 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6750 * net/tramp.el (tramp-accept-process-output): Accept only output
6751 from PROC. Otherwise, process filters and sentinels might be
6752 confused. (Bug#12145)
6754 2012-08-20 Chong Yidong <cyd@gnu.org>
6756 * descr-text.el (describe-text-properties-1): Use overlays-in to
6757 report on empty overlays (Bug#3322).
6759 2012-08-20 Glenn Morris <rgm@gnu.org>
6761 * mail/rmailout.el (rmail-output-read-file-name):
6762 Trap and report errors in rmail-output-file-alist elements.
6764 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6765 since most non-font-lock faces are not also variables).
6767 2012-08-20 Edward Reingold <reingold@iit.edu>
6769 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6770 New function. (Bug12160)
6772 2012-08-19 Glenn Morris <rgm@gnu.org>
6774 * mail/rmailout.el (rmail-output-read-file-name):
6775 Fix previous change (when the alist is nil or does not match).
6777 2012-08-19 Chong Yidong <cyd@gnu.org>
6779 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6782 2012-08-18 Chong Yidong <cyd@gnu.org>
6784 * simple.el (yank-handled-properties): New defcustom.
6785 (yank-excluded-properties): Add font-lock-face and category.
6788 * subr.el (remove-yank-excluded-properties):
6789 Obey yank-handled-properties. The special handling of font-lock-face
6790 and category is now done this way, instead of being hard-coded.
6791 (insert-for-yank-1): Remove font-lock-face handling.
6792 (yank-handle-font-lock-face-property)
6793 (yank-handle-category-property): New function.
6795 2012-08-17 Glenn Morris <rgm@gnu.org>
6797 * mail/rmailout.el (rmail-output-read-file-name):
6798 Check rmail-output-file-alist against the full message body
6799 in the correct rmail buffer. (Bug#12214)
6801 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6803 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6804 Eliminate superfluous prompt. (Bug#12203)
6806 2012-08-17 Chong Yidong <cyd@gnu.org>
6808 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6809 font spec, set the font directly (Bug#3228).
6811 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6813 * window.el (delete-window): Fix last fix.
6815 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6817 * window.el (window-valid-p): Move to window.c.
6818 (window-child, window-child-count, window-last-child)
6819 (window-normalize-window, window-combined-p)
6820 (window-combinations, window-atom-root, window-min-size)
6821 (window-sizable, window-sizable-p, window-size-fixed-p)
6822 (window-min-delta, window-max-delta, window--resizable)
6823 (window--resizable-p, window-resizable, window-total-size)
6824 (window-full-height-p, window-full-width-p, window-body-size)
6825 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6826 (minimize-window, window-deletable-p, delete-window)
6827 (delete-other-windows, set-window-buffer-start-and-point)
6828 (next-buffer, previous-buffer, split-window, balance-windows-2)
6829 (set-window-text-height, window-buffer-height)
6830 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6831 (truncated-partial-width-window-p): Minor code adjustments.
6832 In doc-strings state whether the argument window has to denote a
6833 live, valid or any window.
6835 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6837 * progmodes/subword.el (subword-forward-function)
6838 (subword-backward-function, subword-forward-regexp)
6839 (subword-backward-regexp): New variables.
6840 (subword-forward, subword-forward-internal, subword-backward-internal):
6841 Use new variables, eg so that different "word" definitions
6842 can be easily used. (Bug#11411)
6844 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6846 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6847 for composite selectors.
6848 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6849 operation just because we can't find a previous revision.
6851 2012-08-15 Chong Yidong <cyd@gnu.org>
6853 * frame.el (set-frame-font): Accept font objects.
6855 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6857 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6859 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6861 * man.el (Man-overstrike-face, Man-underline-face)
6862 (Man-reverse-face): Remove variables.
6863 (Man-overstrike, Man-underline, Man-reverse): New faces.
6864 (Man-fontify-manpage): Use them instead of the variables.
6865 (Man-cleanup-manpage): Comment change.
6866 (Man-ansi-color-map): New variable.
6867 (Man-fontify-manpage): Use it.
6868 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6870 Implement ANSI SGR parameters 22-27 (bug#12146).
6871 * ansi-color.el (ansi-colors): Doc fix.
6872 (ansi-color-context, ansi-color-context-region): Doc fix.
6873 (ansi-color--find-face): New function.
6874 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6875 Rename the local variable `face' to `codes' since it is now a list of
6876 ansi codes. Doc fix.
6877 (ansi-color-get-face): Remove.
6878 (ansi-color-parse-sequence): New function, derived from
6879 ansi-color-get-face.
6880 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6883 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6885 * subr.el (read-passwd): Allow use from a minibuffer.
6887 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6889 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6890 inside comments and strings as identifiers.
6892 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6893 expression to evaluate. This allows to evaluate expressions with
6894 embedded whitespace.
6895 (gud-tooltip-tips): Add a blank before the newline in the
6896 message-box text, for the benefit of message-box emulation on
6899 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6900 messages from GDB, pop them up in a tooltip to give feedback to
6902 (gdb-tooltip-print-1): Quote the expression to evaluate.
6903 This allows to evaluate expressions with embedded whitespace.
6904 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6905 if the TTY name is nil or empty (which happens when communicating
6906 with the inferior via pipes, e.g. on MS-Windows).
6907 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6908 don't send that to the GUD buffer.
6910 2012-08-14 Glenn Morris <rgm@gnu.org>
6912 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6913 Optimize away setq-default with no args, as for setq. (Bug#12195)
6915 2012-08-14 Chong Yidong <cyd@gnu.org>
6917 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6919 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6922 2012-08-14 Glenn Morris <rgm@gnu.org>
6924 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6926 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6928 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6929 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6930 Use cached shell name.
6932 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6934 * progmodes/python.el (python-shell-send-string):
6935 (python-shell-send-setup-code): Do not use `format' with `message'.
6937 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6939 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6940 (ruby-percent-literal-beg-re): New constant.
6941 (ruby-syntax-general-delimiters-goto-beg): Rename to
6942 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6943 (ruby-syntax-propertize-general-delimiters): Rename to
6944 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6945 popular term. Adjust comments everywhere.
6946 (ruby-syntax-propertize-percent-literal): Only propertize when not
6947 inside a simple string or comment. When the literal is unclosed,
6948 leave the text after it unpropertized.
6949 (ruby-syntax-methods-before-regexp): New constant.
6950 (ruby-syntax-propertize-function): Use it to recognize regexps.
6951 Don't look at the text after regexp, just use the whitelist.
6953 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6955 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6956 non-nil always load the compiled file if it exists. (Bug#12197)
6958 2012-08-14 Chong Yidong <cyd@gnu.org>
6960 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6961 (hi-lock-set-pattern): When deciding whether to use font lock or
6962 overlays, look at font-lock-mode instead of font-lock-fontified
6964 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6965 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6967 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6969 * subr.el (internal--after-with-selected-window): Fix typo
6972 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6974 Use `completion-table-dynamic' for completion functions.
6975 * progmodes/python.el
6976 (python-shell-completion--do-completion-at-point)
6977 (python-shell-completion--get-completions):
6979 (python-shell-completion-complete-at-point): New function.
6980 (python-completion-complete-at-point): Use it.
6982 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6984 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6985 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6987 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6989 * subr.el (function-get): Refine `autoload' arg so it can also
6990 autoload functions for gv.el (bug#12191).
6991 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6994 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6995 Prefer pcase-let over destructuring-bind.
6996 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6997 Also, remove whitespace as we go, rather than after accumulating the
7000 * subr.el (internal--before-with-selected-window)
7001 (internal--after-with-selected-window): Fix typo seleted->selected.
7002 (with-selected-window): Adjust callers.
7003 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7005 2012-08-13 Bastien Guerry <bzg@gnu.org>
7007 * window.el (special-display-popup-frame): Minor docstring
7008 enhancement. (Bug#12172)
7010 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7012 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7014 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7017 * files.el (hack-local-variables-filter): Remove useless eval.
7019 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7021 * subr.el (with-selected-window): Fix last change.
7023 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7025 * subr.el (internal--before-with-seleted-window)
7026 (internal--after-with-seleted-window): New functions.
7027 (with-selected-window): Use them, to replace dependency on
7030 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7032 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7033 binding for `newline'.
7034 (ruby-move-to-block): When moving backward, stop at block opening,
7036 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7037 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7038 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7039 `ruby-toggle-block'.
7041 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7043 * ibuffer.el (ibuffer-do-toggle-read-only):
7044 * dired.el (dired-toggle-read-only):
7045 * buff-menu.el (Buffer-menu-toggle-read-only):
7046 * bindings.el (mode-line-toggle-read-only):
7047 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7049 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7051 * descr-text.el (describe-char): Put the overlays over the
7052 "displayed as" character.
7054 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7056 * calc/calc-units.el (math-default-units-table): Give an
7058 (math-put-default-units): Add options to put composite units and
7059 unit systems in the default units table.
7060 (calc-convert-units): Send composite units to
7061 `math-put-default-units' when appropriate.
7063 2012-08-11 Glenn Morris <rgm@gnu.org>
7065 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7067 * tutorial.el (help-with-tutorial):
7068 * emacs-lisp/copyright.el (copyright-update-directory):
7069 * emacs-lisp/autoload.el (autoload-find-generated-file)
7070 (autoload-find-file): Disable local eval: (for insurance).
7072 * files.el (hack-local-variables-filter): If an eval: form is not
7073 known to be safe, and enable-local-variables is :safe, then ignore
7074 the form totally, as is done for non-eval forms. (Bug#12155)
7075 This is CVE-2012-3479.
7077 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7079 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7080 (rx-form): Simplify.
7082 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7084 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7085 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7086 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7087 (ruby-syntax-propertize-function): Adjust for changes in
7088 `ruby-syntax-propertize-heredoc'.
7090 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7092 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7093 binding (use `M-;' instead).
7094 (ruby-singleton-class-p): New function.
7095 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7097 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7099 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7101 2012-08-10 Chong Yidong <cyd@gnu.org>
7103 * progmodes/python.el (python-shell-get-process-name): Don't mess
7104 with same-window-buffer-names.
7106 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7107 (eshell-remove-from-window-buffer-names): Make obsolete.
7108 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7109 (eshell): Just use pop-to-buffer-same-window instead.
7111 2012-08-10 Chong Yidong <cyd@gnu.org>
7113 * bindings.el: Bind M-= back to count-words-region.
7115 * simple.el (count-words-region): Accept a prefix arg for acting
7116 on the entire buffer.
7117 (count-words--buffer-message): New helper function.
7119 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7121 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7122 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7123 (event-start, event-end): Use posn-at-point to return a more
7125 (posnp): New function.
7126 * mouse.el (popup-menu-normalize-position): Use it.
7128 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7130 * mouse.el (popup-menu-normalize-position): New function.
7131 (popup-menu): Use `popup-menu-normalize-position' to normalize
7132 the form for POSITION argument.
7134 * term/x-win.el (x-menu-bar-open):
7135 Use the value returend from (posn-at-point) as position
7136 passed to `popup-menu'.
7138 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7140 * calc/calccomp.el (math-compose-expr): Add extra argument
7141 indicating that parentheses should be put around products in
7142 denominators. Give multiplication precedence over division during
7145 2012-08-09 Chong Yidong <cyd@gnu.org>
7147 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7148 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7149 (Man-untabify-command, manual-program): Convert to defcustom
7152 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7154 * descr-text.el (describe-char): Don't insert extra newlines
7157 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7158 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7160 * align.el (align-region): Delete temporary markers (Bug#10047).
7161 Plus some code cleanups.
7163 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7165 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7166 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7167 (python-shell-internal-last-output): Use make-local-variable
7168 instead of make-variable-buffer-local.
7170 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7172 * progmodes/python.el: Enhancements to forward-sexp.
7173 (python-nav-forward-sexp): Rename from
7174 python-nav-forward-sexp-function.
7175 (python-nav--forward-sexp, python-nav--backward-sexp):
7178 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7180 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7181 modes and simplification modes.
7183 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7185 * delsel.el (delete-selection-pre-hook): Don't propagate the
7186 file-supersession signals (bug#12161).
7188 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7190 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7191 (cl-map-extents): Add compatibility aliases (bug#12135).
7193 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7195 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7196 tests by `ignore-error'.
7197 (tramp-find-shell): Open also a new shell, when cache is already
7198 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7200 2012-08-08 Juri Linkov <juri@jurta.org>
7202 * bookmark.el: Add `defaults' property to the bookmark record.
7203 (bookmark-current-buffer): Doc fix.
7204 (bookmark-make-record): Add `defaults' property with default values
7205 to the bookmark record.
7206 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7207 with `bookmark-insert-current-bookmark'.
7208 (bookmark-set): Get `defaults' property from the bookmark record
7209 and use it in `read-from-minibuffer'.
7210 (bookmark-insert-current-bookmark): Remove function.
7212 * info.el (Info-bookmark-make-record): Add `defaults' property
7213 with values of canonical Info node name, the current Info file
7214 name and the current Info node name. (Bug#12107)
7216 2012-08-08 Juri Linkov <juri@jurta.org>
7218 * files.el (basic-save-buffer): Use `buffer-name' as the default
7219 of `read-file-name' when buffer is not visiting a file (bug#12128).
7221 2012-08-08 Juri Linkov <juri@jurta.org>
7223 * info.el (Info-isearch-search): Doc fix.
7224 (Info-search): Change search-failed message from "initial node" to
7225 "end of node" (bug#12078).
7226 (Info-isearch-search): Change `isearch-string-state' to
7227 `isearch--state-string'.
7229 2012-08-08 Glenn Morris <rgm@gnu.org>
7231 * language/persian.el: Remove file.
7232 * language/misc-lang.el: Move unique part of persian.el here.
7233 * loadup.el: Remove language/persian.
7235 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7237 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7239 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7241 * progmodes/python.el: Fix defsubst warning.
7242 (python-syntax-context) Rename from python-info-ppss-context.
7243 (python-syntax-context-type): Rename from
7244 python-info-ppss-context-type.
7245 (python-syntax-comment-or-string-p): Rename from
7246 python-info-ppss-comment-or-string-p.
7248 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7250 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7252 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7254 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7255 a defcustom that is quoted with backquote.
7257 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7258 Fix handling of interactive spec when the body uses return.
7259 (math-do-arg-check, math-define-function-body): Use backquote forms.
7260 * calc/calc-ext.el (math-defcache): Likewise.
7261 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7262 * allout.el (allout-new-exposure): Likewise.
7263 * calc/calcalg2.el (math-tracing-integral): Likewise.
7264 * info.el (Info-last-menu-item): Likewise.
7265 * emulation/vip.el (vip-loop): Likewise.
7266 * textmodes/artist.el (artist-funcall): Likewise.
7267 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7268 Construct menu-item directly.
7270 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7273 2012-08-07 Chong Yidong <cyd@gnu.org>
7275 * simple.el (deactivate-mark): Preserve text properties when
7276 saving the primary selection (Bug#8384).
7278 2012-08-07 Kevin Ryde <user42@zip.com.au>
7280 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7281 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7282 and continue processing (Bug#12110).
7284 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7286 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7287 syntax-propertize-function (bug#10095).
7289 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7291 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7292 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7293 describe-function-1.
7294 (describe-function-1): Use them. Move compiler macro after sig.
7295 (help-fns--compiler-macro): Use function-get. Assume we're already in
7296 standard-output. Adjust layout to new call order.
7298 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7299 re-binding a symbol that has a symbol-macro (bug#12119).
7301 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7303 * language/persian.el: New file. (Bug#11812)
7304 * loadup.el: Add language/persian.el.
7306 2012-08-06 Chong Yidong <cyd@gnu.org>
7308 * window.el (window--maybe-raise-frame): New function.
7309 (window--display-buffer): Split off from here.
7310 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7311 (display-buffer-pop-up-window, display-buffer-use-some-window):
7312 Obey an inhibit-switch-frame action alist entry.
7313 (display-buffer): Update doc.
7315 * replace.el (occur-after-change-function): Avoid losing focus by
7316 using the inhibit-switch-frame display parameter (Bug#12139).
7318 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7320 Make internal shell process buffer names start with space.
7321 * progmodes/python.el (python-shell-make-comint): Add optional
7323 (run-python-internal): Use it.
7324 (python-shell-internal-get-or-create-process): Check for new
7325 internal buffer names.
7327 2012-08-06 Glenn Morris <rgm@gnu.org>
7329 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7330 Do less getting and setting of environment variables.
7332 2012-08-05 Chong Yidong <cyd@gnu.org>
7334 * proced.el (proced): Add substitution string to docstring to
7335 trigger autoloading of the proced library on C-h f (Bug#1768).
7337 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7338 Don't show defvars which have no second argument (Bug#8638).
7340 * imenu.el (imenu-generic-expression): Move documentation here
7341 from imenu--generic-function.
7342 (imenu--generic-function): Refer to imenu-generic-expression.
7344 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7346 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7347 indentation declaration.
7348 (viper-loop): Add indentation declaration (Bug#7025).
7350 2012-08-05 Chong Yidong <cyd@gnu.org>
7352 * help-fns.el (describe-variable): Add hyperlink for
7353 directory-local variables files. Improve buffer-local and
7354 permanent-local reporting; suggested by MON KEY (Bug#6644).
7356 * help-mode.el (help-dir-local-var-def): New button type.
7358 * files.el (kill-buffer-hook): Provide a defvar.
7360 2012-08-05 Glenn Morris <rgm@gnu.org>
7362 * eshell/esh-ext.el (eshell/addpath):
7363 Also update eshell-path-env. (Bug#12013)
7365 2012-08-05 Chong Yidong <cyd@gnu.org>
7367 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7369 * fringe.el (fringe-styles): Add docstring.
7370 (fringe--check-mode): New function.
7371 (set-fringe-mode, set-fringe-style): Use it.
7372 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7374 * files.el (set-auto-mode): Fix invalid setq call.
7376 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7378 * isearch.el: Misc simplification; use defstruct.
7379 (isearch-mode-map): Dense maps now work like sparse ones.
7380 (isearch--state): New defstruct.
7381 (isearch-string-state, isearch-message-state, isearch-point-state)
7382 (isearch-success-state, isearch-forward-state)
7383 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7384 (isearch-wrapped-state, isearch-barrier-state)
7385 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7386 replaced by defstruct's accessors.
7387 (isearch--set-state): Rename from isearch-top-state and change
7389 (isearch-push-state): Use new isearch--get-state.
7390 (isearch-toggle-word): Disable regexp when enabling word.
7391 (isearch-message-prefix): Remove unused arg _c-q-hack.
7392 (isearch-message-suffix): Remove unused arg _ellipsis.
7394 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7396 * simple.el (list-processes--refresh): For a server use :host or
7397 :local as the address.
7398 (list-processes): Doc fix.
7400 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7402 * lisp/mpc.el: Support password in host argument.
7403 (mpc--proc-connect): Parse and use new password element.
7404 Set mpc-proc variable instead of returning process.
7405 (mpc-proc): Adjust accordingly.
7407 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7409 * whitespace.el (whitespace-display-mappings): Use Unicode
7410 codepoints, instead of emacs-mule codepoints. See
7411 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7414 * files.el (file-truename): Don't skip symlink-chasing part on
7415 windows-nt. Incorporate the resolution of 8+3 short aliases on
7416 Windows into the loop that recursively chases symlinks.
7417 Compare directory and its parent case-insensitively on MS-Windows and
7420 2012-08-03 Chong Yidong <cyd@gnu.org>
7422 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7424 * sort.el (sort-regexp-fields): Doc fix.
7426 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7428 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7429 labels regex position point at the expected place.
7431 2012-08-03 MON KEY <monkey@sandpframing.com>
7433 * net/imap.el (imap-interactive-login, imap-authenticate)
7434 (imap-mailbox-lsub, imap-mailbox-list)
7435 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7436 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7437 (imap-parse-response): Doc fix.
7439 2012-08-03 João Távora <joaotavora@gmail.com>
7441 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7442 if sexp scanning does not move point (Bug#5734).
7444 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7446 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7447 Add listings, minted, and ctable packages.
7448 (reftex-label-alist-builtin): Move listings, minted, and ctable
7449 entries before LaTeX.
7450 (reftex-label-alist): Docfix.
7452 2012-08-02 Bastien Guerry <bzg@gnu.org>
7454 * replace.el (occur): Fix docstring (bug#12122).
7456 2012-08-02 Glenn Morris <rgm@gnu.org>
7458 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7460 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7462 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7463 * international/mule-cmds.el: Create
7464 inactivate-current-input-method-function as an obsolete alias for
7465 deactivate-current-input-method-function. See Katsumi Yamaoka in
7466 <http://bugs.gnu.org/10150#46>.
7468 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7470 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7473 2012-08-01 Glenn Morris <rgm@gnu.org>
7475 * progmodes/autoconf.el (autoconf-definition-regexp):
7476 Add AH_TEMPLATE, adjust submatch numbering.
7477 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7478 (autoconf-current-defun-function): Update for above change.
7479 (autoconf-current-defun-function): First skip to end of current word.
7481 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7483 * calendar/cal-html.el (cal-html-insert-agenda-days):
7484 Fix typo. (Bug#12018)
7486 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7488 Shell processes: enhancements to startup and CEDET compatibility.
7489 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7490 (python-shell-make-comint): accept-process-output at startup.
7491 (run-python-internal): Set inferior-python-mode-hook to nil.
7492 (python-shell-internal-get-or-create-process): call sit-for.
7493 (python-preoutput-result): Add obsolete alias.
7494 (python-shell-internal-send-string): Use it.
7495 (python-shell-send-setup-code): Remove call to
7496 accept-process-output.
7498 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7500 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7503 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7505 * calc-mode.el (calc-basic-simplification-mode): Rename from
7506 `calc-limited-simplification-mode'.
7507 (calc-alg-simplification-mode): New function.
7508 (calc-set-simplify-mode): Adjust message.
7510 * calc.el (calc-set-mode-line): Adjust mode line display for
7511 basic simplification mode.
7513 * calc-help.el (calc-m-prefix-help): Update help message.
7515 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7516 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7518 2012-07-31 Bastien Guerry <bzg@gnu.org>
7520 * man.el (man): Fix comment. (bug#12101)
7522 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7524 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7525 Don't return a non-nil value when no suitable buffer was found.
7527 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7529 * progmodes/python.el (run-python-internal): Disable font lock for
7532 2012-07-30 Stefan Merten <smerten@oekonux.de>
7534 * textmodes/rst.el: Silence `checkdoc-ispell'.
7535 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7536 (rst-official-version, rst-official-cvs-rev)
7537 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7538 (rst-mode-map): New key binding.
7540 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7542 Update .PHONY listings in makefiles.
7543 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7544 autoloads, update-subdirs, updates, bzr-update, update-authors,
7545 compile-onefile, compile-calc, backup-compiled-files,
7546 compile-after-backup, compile-one-process, mh-autoloads,
7547 bootstrap-clean, distclean, maintainer-clean.
7549 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7551 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7552 (calc-set-mode-line): Don't display "AlgSimp ".
7554 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7555 (calc-lim-simplify-mode): New function.
7556 (calc-set-simplify-mode): Default to 'alg.
7557 (calc-default-simplify-mode): Make algebraic simplifications
7560 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7561 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7563 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7564 indicate new simplification modes.
7566 * calc/README: Mention new default simplification mode.
7568 * calc/calc.el (math-normalize-error): New variable.
7569 (math-normalize): Set `math-normalize-error' to t
7570 when there's an error.
7572 * calc/calc-alg.el (math-simplify): Don't simplify when
7573 `math-normalize' returns an error.
7575 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7577 * international/mule-cmds.el (set-locale-environment): Revert last
7578 change, since display-graphic-p returns nil when this function is
7579 called during startup. Instead...
7581 * term/w32console.el (terminal-init-w32console): ...setup the
7582 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7584 2012-07-29 Juri Linkov <juri@jurta.org>
7586 * simple.el (goto-line): Don't display default line number in the
7587 prompt because it should be displayed by `read-number' (bug#9952).
7588 Add the current line number to the defaults of `goto-line' to
7589 allow its easier modification by users with `M-n' (bug#9201).
7591 * subr.el (read-number): Support multiple default values like in
7592 other minibuffer reading functions. Replace `read' with
7593 `string-to-number' for consistency with `number-to-string'.
7595 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7597 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7598 * emulation/viper-init.el (viper-deactivate-input-method-action):
7599 Rename from viper-inactivate-input-method-action.
7600 (viper-deactivate-input-method):
7601 Rename from viper-inactivate-input-method.
7602 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7603 * international/mule-cmds.el (deactivate-input-method):
7604 Rename from inactivate-input-method.
7605 Also run input-method-deactivate-hook.
7606 (deactivate-current-input-method-function):
7607 Rename from inactivate-current-input-method-function.
7608 (input-method-deactivate-hook): New hook.
7609 (input-method-inactivate-hook): Mark obsolete.
7610 (inactivate-input-method): Mark obsolete.
7612 * international/quail.el (quail-activate):
7613 Also run quail-deactivate-hook.
7614 (quail-deactivate): Rename from quail-inactivate.
7615 * international/robin.el (robin-activate):
7616 Also run robin-deactivate-hook.
7617 (robin-deactivate): Rename from robin-inactivate.
7619 2012-07-29 Chong Yidong <cyd@gnu.org>
7621 * simple.el (indicate-copied-region): New function.
7622 (kill-ring-save): Split off from here.
7624 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7625 (kill-rectangle): Set deactivate-mark to t on read-only error.
7627 * register.el (copy-to-register, copy-rectangle-to-register):
7628 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7629 (append-to-register, prepend-to-register): Call indicate-copied-region.
7631 2012-07-29 Juri Linkov <juri@jurta.org>
7633 * simple.el (async-shell-command-buffer): New defcustom.
7634 (shell-command): Use it. (Bug#4719)
7636 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7638 * international/mule-cmds.el (set-locale-environment): In a
7639 console session on MS-Windows, set up keyboard and terminal
7640 encoding from the OEM codepage, not the ANSI codepage.
7643 2012-07-28 Chong Yidong <cyd@gnu.org>
7645 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7648 2012-07-28 Leo Liu <sdl.web@gmail.com>
7650 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7651 the alist (bug#12029).
7653 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7655 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7656 (compile-always, compile-first)
7657 ($(lisp)/calendar/cal-loaddefs.el)
7658 ($(lisp)/calendar/diary-loaddefs.el)
7659 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7660 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7661 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7662 instead of on update-subdirs.
7663 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7665 2012-07-28 Chong Yidong <cyd@gnu.org>
7667 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7668 directory if vc-deduce-backend returns nil (Bug#7350).
7670 * simple.el (delete-trailing-lines): New option.
7671 (delete-trailing-whitespace): Obey it (Bug#11879).
7673 2012-07-28 David Engster <deng@randomsample.de>
7675 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7676 Explanation of new 'symbol-qnames feature in doc-strings.
7677 (xml-maybe-do-ns): Return expanded names as plain symbols if
7678 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7679 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7681 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7683 Consistent completion in inferior python with emacs -nw.
7684 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7685 binding in inferior-python-mode-map with "\t".
7686 (python-shell-completion-complete-at-point)
7687 (python-completion-complete-at-point): Remove interactive spec.
7689 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7691 * calc/calccomp.el (math-compose-expr): Undo previous change.
7693 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7695 * progmodes/python.el (python-mode-map): Add keybinding for
7697 (python-shell-make-comint): Fix pop-to-buffer call.
7698 (run-python): Autoload. New arg SHOW.
7699 (python-shell-get-or-create-process): Do not pop python process
7702 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7704 * notifications.el (notifications-on-action-signal)
7705 (notifications-on-closed-signal): Use also the bus address for the map.
7706 (notifications-notify, notifications-close-notification)
7707 (notifications-get-capabilities): Add optional argument BUS.
7709 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7711 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7712 Add support for the lstlisting and minted environments, and for the
7714 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7715 labels written in keyvals syntax.
7717 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7719 * calc/calccomp.el (math-compose-expr): Use parentheses when
7720 there is a product in the denominator of a fraction.
7722 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7724 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7725 ($(lisp)/calendar/diary-loaddefs.el)
7726 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7727 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7728 Fixes failures in parallel bootstrap because subdirs.el is being
7729 rewritten while the autoload files are built at the same time,
7730 which needs to load subdirs.el.
7732 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7734 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7735 (mouse-drag-line): Don't exit tracking when a switch-frame or
7736 switch-window event occurs (Bug#12006).
7738 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7740 * mouse.el (popup-menu): Fix last change.
7742 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7744 Autoload from Lisp with more care. Follow aliases when looking for
7745 function properties.
7746 * subr.el (autoloadp): New function.
7747 (symbol-file): Use it.
7748 (function-get): New function.
7749 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7751 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7752 (lisp-indent-function):
7753 * emacs-lisp/gv.el (gv-get):
7754 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7755 * emacs-lisp/byte-opt.el (byte-optimize-form):
7756 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7757 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7759 * emacs-lisp/cl.el: Don't propagate function properties any more.
7761 * speedbar.el (speedbar-add-localized-speedbar-support):
7762 * emacs-lisp/disass.el (disassemble-internal):
7763 * desktop.el (desktop-load-file):
7764 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7765 (describe-function-1):
7766 * emacs-lisp/find-func.el (find-function-noselect):
7767 * emacs-lisp/elp.el (elp-instrument-function):
7768 * emacs-lisp/advice.el (ad-has-proper-definition):
7769 * apropos.el (apropos-safe-documentation, apropos-macrop):
7770 * emacs-lisp/debug.el (debug-on-entry):
7771 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7772 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7773 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7775 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7777 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7778 function, not an obsolete variable (Bug#12046).
7780 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7782 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7784 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7786 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7787 window only if it is still live (Bug#12034).
7789 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7791 * subr.el (redirect-frame-focus): Add advertised calling
7792 convention (Bug#12030).
7794 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7796 Prefer typical American spelling for "acknowledgment".
7797 * vc/add-log.el (change-log-acknowledgment): Rename from
7798 change-log-acknowledgement, with an alias for the old name.
7800 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7802 * calc-alg.el (math-simplify-divide): Don't cross multiply
7803 in an equation when the lhs is a variable.
7805 2012-07-24 Julien Danjou <julien@danjou.info>
7807 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7810 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7812 * startup.el (command-line): Don't display an empty user name in
7813 the error message about non-existent home directory, when
7814 init-file-user was set to an empty string. See
7815 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7816 for the details and context.
7818 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7820 * ses.el (ses-cell-formula-aset): New macro.
7821 (ses-cell-references-aset): New macro.
7822 (ses-cell-p): New function.
7823 (ses-rename-cell): Do no longer rely on complex operations like
7824 ses-cell-set-formula or ses-set-cell to change the cell and handle
7825 the undo at the same time, but rather use lower level new macros
7826 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7827 the undo directly. Refresh the mode line.
7829 2012-07-21 Leo Liu <sdl.web@gmail.com>
7831 * progmodes/cc-cmds.el (c-defun-name):
7832 Use match-string-no-properties instead for consistency.
7834 2012-07-20 Leo Liu <sdl.web@gmail.com>
7836 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7839 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7841 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7843 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7844 * progmodes/bug-reference.el, misearch.el: Provide themselves
7847 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7848 of narrowed buffer (bug#11966).
7850 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7852 * ses.el (ses-rename-cell): Set new name also in reference list of
7853 cells of which the renamed cell depends.
7855 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7857 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7858 to check whether menu-bar is shown or not. If not shown,
7859 show the menu-bar as a popup menu instead of using tmm.
7860 * mouse.el (popup-menu): Accept `point' as `position' argument.
7862 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7864 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7865 up inside string symbol literal (bug#11923).
7867 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7869 * startup.el (fancy-startup-text): Read the whole tutorial, not
7870 just its first 256 bytes. Prevents gibberish in display of the
7873 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7875 Drop idle buffer compaction due to an absence of the
7877 * compact.el: Remove.
7879 2012-07-19 Sam Steingold <sds@gnu.org>
7881 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7882 vc-bzr-pull & vc-bzr-merge-branch.
7883 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7884 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7885 for consistency with compilation-error-regexp-alist.
7886 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7887 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7888 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7889 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7891 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7893 * emacs-lisp/chart.el: Use lexical-binding.
7894 (chart-emacs-storage): Don't hardcode the list of entries.
7896 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7898 Next round of tweaks caused by Fgarbage_collect changes.
7899 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7901 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7903 Compact buffers when idle.
7904 * compact.el: New file.
7906 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7908 * subr.el (eventp): Presume that if it looks vaguely like an event,
7909 it's an event (bug#10190).
7911 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7913 Enhancements to ppss related code (thanks Stefan).
7914 * progmodes/python.el (python-indent-context)
7915 (python-indent-calculate-indentation, python-indent-dedent-line)
7916 (python-indent-electric-colon, python-nav-forward-block)
7917 (python-mode-abbrev-table)
7918 (python-info-assignment-continuation-line-p): Simplify checks
7920 (python-info-continuation-line-p): Cleanup.
7921 (python-info-ppss-context): Do not catch 'quote.
7922 (python-info-ppss-context-type)
7923 (python-info-ppss-comment-or-string-p): Simplify.
7925 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7927 * progmodes/python.el: Enhancements to eldoc support.
7928 (python-info-current-symbol): New function.
7929 (python-eldoc-at-point): Use python-info-current-symbol.
7930 (python-info-current-defun): Fix cornercase on first defun scan.
7931 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7932 and signal error when no inferior python process is available.
7934 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7936 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7937 assume it's always t.
7938 (vc-git-registered): Remove caching, the function is only called
7940 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7942 2012-07-18 Chong Yidong <cyd@gnu.org>
7944 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7946 * simple.el (count-words): Report on narrowing (Bug#9959).
7948 * bindings.el: Bind M-= to count-words.
7950 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7952 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7954 * progmodes/sh-script.el (sh-imenu-generic-expression):
7955 Capture a function with `function' keyword and without parentheses
7956 like "function FOO" (bug#11856).
7958 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7960 * window.el (split-window-sensibly): Make WINDOW argument
7963 2012-07-18 Chong Yidong <cyd@gnu.org>
7965 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7967 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7968 and make C-x 8 RET exit isearch (Bug#11439).
7970 * international/iso-transl.el: Move isearch-mode-map key
7971 definitions to isearch.el.
7973 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7975 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7976 (eieio-defclass): Use gv-define-setter when possible.
7978 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7980 Reflect recent changes in Fgarbage_collect.
7981 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7982 reflect new format of data returned by Fgarbage_collect.
7984 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7986 New utility functions + python-info-ppss-context fix (Bug#11910).
7987 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7988 (python-info-ppss-comment-or-string-p): New functions.
7989 (python-info-ppss-context): Small fix for string check.
7991 2012-07-17 Juri Linkov <juri@jurta.org>
7993 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7994 (dired-do-async-shell-command): Don't add `*' at the end of the
7995 command (Bug#11815).
7996 (dired-do-shell-command): Doc fix.
7997 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7998 Join the individual commands using either "&" or ";" as the
7999 separator depending on the values of these trailing characters.
8000 At the end re-add the trailing "&". (Bug#10598)
8002 * simple.el (async-shell-command): Sync the interactive spec with
8003 `shell-command'. Doc fix.
8004 (shell-command): Doc fix.
8006 2012-07-17 Juri Linkov <juri@jurta.org>
8008 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8010 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8012 Final renames and doc fixes for movement commands (bug#11899).
8013 * progmodes/python.el (python-nav-beginning-of-statement):
8014 Rename from python-nav-statement-start.
8015 (python-nav-end-of-statement): Rename from
8016 python-nav-statement-end.
8017 (python-nav-beginning-of-block): Rename from
8018 python-nav-block-start.
8019 (python-nav-end-of-block): Rename from python-nav-block-end.
8021 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8023 * progmodes/python.el (python-shell-send-string-no-output):
8024 Allow accept-process-output to quit, keeping shell process ready for
8025 future interactions (Bug#11868).
8027 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8029 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8031 * emacs-lisp/elint.el (elint-find-args-in-code):
8032 Use help-function-arglist, so as to handle lexical byte-code.
8034 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8037 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8039 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8040 Avoid spuriously marking the buffer as modified because of c-is-sws.
8042 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8043 as not-a-comment (bug#11946).
8045 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8046 for uninterned vars.
8048 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8049 Use read-event since we don't really want to read chars but bytes.
8051 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8052 $$..$$ but also $..$ using regexps (bug#11953).
8053 Use tex-verbatim for \url and \path.
8054 (tex-font-lock-keywords): Define as defconst like the others.
8055 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8057 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8059 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8060 alias for insert-char.
8062 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8064 * progmodes/python.el: Simplified imenu implementation.
8065 (python-nav-jump-to-defun): Remove command.
8066 (python-mode-map): Use `imenu' instead.
8067 (python-nav-list-defun-positions-cache)
8068 (python-imenu-include-defun-type, python-imenu-make-tree)
8069 (python-imenu-subtree-root-label, python-imenu-index-alist):
8071 (python-nav-list-defun-positions, python-nav-read-defun)
8072 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8073 (python-imenu-make-tree, python-imenu-create-index):
8075 (python-mode): Update to interact with imenu by setting
8076 `imenu-extract-index-name-function' only.
8078 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8080 * progmodes/python.el: Enhancements to navigation commands.
8081 (python-nav-backward-sentence)
8082 (python-nav-forward-sentence): Remove.
8083 (python-nav-backward-statement, python-nav-forward-statement)
8084 (python-nav-statement-start, python-nav-statement-end)
8085 (python-nav-backward-block, python-nav-forward-block)
8086 (python-nav-block-start, python-nav-block-end)
8087 (python-nav-forward-sexp-function)
8088 (python-info-current-line-comment-p)
8089 (python-info-current-line-empty-p): New functions.
8090 (python-indent-context): Use `python-nav-statement-start'.
8092 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8094 * eshell/em-ls.el (eshell/ls): Use `apply'.
8096 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8097 multi-hops, instead of Tramp internals.
8099 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8101 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8102 when F1 and F2 are located on different hosts.
8104 2012-07-14 Chong Yidong <cyd@gnu.org>
8106 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8107 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8108 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8109 (xterm-mouse--read-event-sequence-1000)
8110 (xterm-mouse--read-event-sequence-1006): New functions. For old
8111 mouse protocol, handle M-mouse-X events correctly.
8112 (xterm-mouse-event): New arg specifying mouse protocol.
8113 (turn-on-xterm-mouse-tracking-on-terminal)
8114 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8115 sequence to toggle extended coordinates on newer XTerms.
8116 This appears to be harmless on terminals which do not support this.
8118 2012-07-14 Leo Liu <sdl.web@gmail.com>
8120 Add fringe bitmap indicators for flymake. (Bug#11253)
8121 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8122 (flymake-make-overlay): New arg BITMAP.
8123 (flymake-error-bitmap, flymake-warning-bitmap)
8124 (flymake-fringe-indicator-position): New user variables.
8126 * fringe.el: New bitmap exclamation-mark.
8128 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8130 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8133 2012-07-14 Chong Yidong <cyd@gnu.org>
8135 * electric.el (electric-pair-post-self-insert-function): Fix pair
8136 insertion in empty-region case (Bug#11520).
8138 2012-07-14 Chong Yidong <cyd@gnu.org>
8140 * bindings.el: Consolidate ctl-x-r-map bindings.
8141 Bind copy-rectangle-as-kill to C-x r w.
8143 * rect.el, register.el: Move bindings to bindings.el.
8145 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8147 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8149 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8151 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8153 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8155 * bindings.el (top): Use `mapc' instead of `mapcar'.
8157 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8159 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8161 * progmodes/sql.el (sql-comint): Suppress the check for program on
8162 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8165 2012-07-13 Chong Yidong <cyd@gnu.org>
8167 * bindings.el: Assign a non-nil permanent-local property to
8168 per-buffer variables which lack a default value (Bug#11930).
8170 * help-fns.el (describe-variable): In the "automatically becomes
8171 local" notice, take note of permanent-local variables.
8173 2012-07-13 Chong Yidong <cyd@gnu.org>
8175 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8176 to allow printing the message when called from Lisp.
8178 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8179 Remove toggle-read-only.
8181 * bs.el (bs-toggle-readonly):
8182 * buff-menu.el (Buffer-menu-toggle-read-only):
8183 Remove with-no-warnings around toggle-read-only.
8185 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8186 Remove with-no-warnings around toggle-read-only.
8187 (ffap-read-only, ffap-read-only-other-window)
8188 (ffap-read-only-other-frame): Callers changed.
8190 * help-mode.el: Don't require view package.
8191 (help-mode-finish): Set buffer-read-only instead of calling
8194 * bindings.el (mode-line-toggle-read-only):
8195 * dired.el (dired-toggle-read-only):
8196 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8197 with non-nil second arg.
8199 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8200 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8203 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8205 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8208 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8210 More CL cleanups and reduction of use of cl.el.
8211 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8212 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8213 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8214 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8215 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8216 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8217 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8218 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8219 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8220 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8221 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8222 * eshell/em-cmpl.el, eshell/em-banner.el:
8223 * calendar/parse-time.el: Use cl-lib.
8224 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8225 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8226 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8227 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8228 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8229 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8230 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8231 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8232 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8233 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8234 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8235 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8236 `lambda' rather than with `quote'.
8237 (eshell-do-opt): Adjust accordingly.
8238 (eshell-process-option): Simplify.
8239 * eshell/esh-var.el:
8240 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8241 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8242 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8243 to `pcase--dontcare'.
8244 * emacs-lisp/cl.el (labels): Mark obsolete.
8245 (cl--letf, letf): Move to cl-lib.
8246 (cl--letf*, letf*): Remove.
8247 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8248 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8249 (cl-progv): Rewrite.
8250 (cl--letf, cl-letf): Move from cl.el.
8251 (cl-letf*): New macro.
8252 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8254 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8256 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8258 2012-07-11 Chong Yidong <cyd@gnu.org>
8260 * vc/log-edit.el (log-edit-vc-backend): New variable.
8261 (log-edit): Doc fix.
8263 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8264 argument of log-edit to set up all local variables.
8265 (vc-start-logentry): New optional arg specifying VC backend.
8267 * vc/vc.el (vc-checkin): Use it.
8268 (vc-deduce-fileset): Handle Log Edit buffers.
8269 (vc-diff): Make first argument optional too.
8271 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8273 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8275 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8276 command, just in case. The function is not needed anymore.
8277 (eshell-external-command): Do not call `eshell-remote-command'.
8279 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8281 Reduce use of (require 'cl).
8282 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8283 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8284 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8285 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8286 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8287 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8288 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8289 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8290 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8291 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8292 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8293 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8294 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8295 (byte-compile-unfold-bcf, byte-compile-check-variable):
8296 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8297 (byte-compile-nilconstp):
8298 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8299 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8301 * emacs-lisp/gv.el (cond): Make it a valid place.
8302 (if): Simplify slightly.
8304 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8305 (pcase--self-quoting-p): New function.
8306 (pcase--u1): Use it.
8308 2012-07-10 Glenn Morris <rgm@gnu.org>
8310 * emacs-lisp/authors.el (authors-fixed-entries):
8311 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8313 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8315 Rename configure.in to configure.ac (Bug#11603).
8316 * emacs-lisp/authors.el (authors-canonical-file-name):
8317 * progmodes/autoconf.el (autoconf-mode):
8318 Prefer configure.ac to configure.in.
8320 2012-07-08 Chong Yidong <cyd@gnu.org>
8322 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8323 Implement the mouse-1-click-follows-link handling properly.
8325 * info.el (Info-link-keymap): Use follow-link mechanism for
8326 header-line links (Bug#374).
8328 * simple.el (deactivate-mark): Do not set the primary selection
8329 if another program has acquired it (Bug#11772).
8331 2012-07-07 Kevin Ryde <user42@zip.com.au>
8333 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8334 (woman-decode-region): Replace escaped-escapes without destroying
8335 bold or underline (Bug#11552).
8336 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8338 2012-07-07 Chong Yidong <cyd@gnu.org>
8340 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8341 (interprogram-cut-function, interprogram-paste-function):
8342 Mention that we typically mean the clipboard.
8344 2012-07-06 Glenn Morris <rgm@gnu.org>
8346 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8348 * files.el (toggle-read-only): Restrict message to interactive use.
8350 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8352 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8354 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8356 2012-07-06 Glenn Morris <rgm@gnu.org>
8358 * Makefile.in (compile-one-process): Rename from "recompile".
8360 * Makefile.in (bzr-update): "compile" is the same as "recompile
8361 autoloads", but parallelizable, so use that instead.
8363 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8365 * window.el (quit-window): Always restore window height when
8366 it's saved in quit-restore parameter (Bug#11810).
8368 2012-07-06 Glenn Morris <rgm@gnu.org>
8370 * simple.el (kill-whole-line): Doc tweak.
8372 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8374 * files.el (file-relative-name): Compare file names
8375 case-insensitively if on MS-Windows or MS-DOS, or if
8376 read-file-name-completion-ignore-case is non-nil. Don't use
8377 case-fold-search for this purpose. (Bug#11827)
8379 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8381 * calendar/cal-dst.el (calendar-current-time-zone):
8382 Return calendar-current-time-zone-cache if non-nil.
8384 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8385 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8387 * calendar/cal-dst.el (calendar-current-time-zone):
8388 Return calendar-current-time-zone-cache if non-nil.
8390 2012-07-06 Glenn Morris <rgm@gnu.org>
8392 * Makefile.in (cvs-update): Remove old alias.
8394 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8396 Sync with Tramp 2.2.6-pre.
8398 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8399 compatible declaration.
8401 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8402 Protect `list-load-path-shadows' call.
8404 * net/tramp-compat.el (top): Require packages, which aren't
8405 autoloaded anymore for XEmacs. Protect call of
8406 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8407 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8408 it hurts at least for SXEmacs.
8409 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8410 standard-value for `temporary-file-directory'.
8412 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8413 Redirect stderr to /dev/null.
8414 (tramp-sh-handle-write-region): uid and gid can be floats.
8415 Reported by Russell Sim <russell.sim@gmail.com>.
8416 (tramp-sh-handle-vc-registered): Hide errors.
8417 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8418 and `start-file-process'.
8419 (tramp-maybe-open-connection): Check also whether `non-essential'
8422 2012-07-04 Chong Yidong <cyd@gnu.org>
8424 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8425 (xml-parse-tag): Likewise, and avoid changing entity tables.
8426 (xml-syntax-table): Define from scratch, making sure not to give
8427 x2000 and other Unicode spaces whitespace syntax, since those are
8429 (xml-parse-fragment): Delete unused function.
8430 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8431 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8432 (xml-entity-ref, xml-pe-reference-re)
8433 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8434 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8435 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8436 (xml-entity-value-re): Use syntax references in regexps where
8437 possible; no need to define inside a let-binding.
8438 (xml-parse-dtd): Use xml-pe-reference-re.
8439 (xml-entity-or-char-ref-re): New defconst.
8440 (xml-parse-string, xml-substitute-special): Use it.
8442 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8445 (find-file--read-only): New function.
8446 (find-file-read-only, find-file-read-only-other-window)
8447 (find-file-read-only-other-frame): Use it.
8448 (insert-file-contents-literally): Don't `fset'.
8449 (get-free-disk-space): Use locate-dominating-file.
8451 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8452 function is already compiled.
8454 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8456 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8458 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8459 files on the same host.
8461 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8463 * help-fns.el (describe-function-1): Only call
8464 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8466 2012-07-03 Chong Yidong <cyd@gnu.org>
8468 * xml.el: Protect parser against XML bombs.
8469 (xml-entity-expansion-limit): New variable.
8470 (xml-parse-string, xml-substitute-special): Use it.
8471 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8473 2012-07-03 Glenn Morris <rgm@gnu.org>
8475 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8476 Allow linking to specific messages in debbugs reports (eg 123#5).
8478 2012-07-02 Chong Yidong <cyd@gnu.org>
8480 * xml.el: Fix entity and character reference expansion, allowing
8481 them to expand into markup as per XML spec.
8482 (xml-default-ns): New variable.
8483 (xml-entity-alist): Use XML spec definitions for lt and amp.
8484 (xml-parse-region): Make first two arguments optional.
8485 Discard text properties.
8486 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8487 All callers changed.
8488 (xml-parse-tag): Call xml-parse-tag-1. For backward
8489 compatibility, this function should not modify buffer contents.
8490 (xml-parse-tag-1): Fix opening-tag regexp.
8491 (xml-parse-string): Rewrite, handling entity and character
8492 references properly.
8493 (xml--entity-replacement-text): Signal an error if a parameter
8494 entity is undefined.
8496 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8498 * comint.el (comint-output-filter): Filter out repeated prompts.
8500 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8501 and file-name-absolute-p.
8502 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8505 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8508 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8509 Rename from byte-compile--refiy-function. All uses changed.
8511 2012-07-01 Chong Yidong <cyd@gnu.org>
8513 * xml.el (xml--parse-buffer): New function. Move most of
8514 xml-parse-region here.
8515 (xml-parse-region): Copy region into a temporary buffer, since
8516 parameter entity substitution requires changing buffer contents.
8517 Use xml--parse-buffer.
8518 (xml-parse-file): Use xml--parse-buffer.
8519 (xml-parse-dtd): Make parameter entity substitution work right.
8520 Use proper regexps for ELEMENT declarations (Bug#7172).
8522 2012-06-30 Glenn Morris <rgm@gnu.org>
8524 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8526 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8527 Remove outdated and unnecessary dbus declarations.
8529 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8531 * emacs-lisp/timer.el (timer-until): Subtract results of
8532 float-time, instead of taking float-time of the result of
8533 time-subtract, since float-time signals an error for negative time
8536 2012-06-30 Chong Yidong <cyd@gnu.org>
8538 * xml.el (xml-*-re): Convert defvars into defconsts, and
8539 eval-and-compile them so eval-and-compile works on derivatives.
8540 (xml--entity-replacement-text): Use eval-and-comple.
8542 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8544 * vc/vc-git.el (vc-git-registered): Use cache property
8546 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8547 `vc-git-working-revision' in order to benefit from the cache.
8548 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8550 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8552 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8553 removed (likely outside Emacs). (Bug#11757)
8555 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8557 * emacs-lisp/cl-lib.el: Require macroexp.
8559 2012-06-30 Chong Yidong <cyd@gnu.org>
8561 * xml.el: Implement XML parameter entities.
8562 (xml-parameter-entity-alist): New variable.
8563 (xml-parse-region, xml-parse-fragment): Preserve previous values
8564 of xml-entity-alist and xml-parameter-entity-alist, so that
8565 repeated calls on different documents do not change them.
8566 (xml-parse-tag): Fix doctype regexp.
8567 (xml--entity-replacement-text): New function.
8568 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8569 properly requires url retrieval which is unimplemented.
8570 (xml-escape-string): Doc fix.
8572 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8574 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8576 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8578 * fringe.el (fringe-mode): Doc fix.
8580 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8582 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8584 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8585 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8587 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8589 * calendar/cal-dst.el (calendar-current-time-zone):
8590 Return calendar-current-time-zone-cache if non-nil.
8592 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8594 * progmodes/which-func.el (which-func-format):
8595 Add mouse-face. (Bug#11698)
8597 2012-06-29 Leo Liu <sdl.web@gmail.com>
8599 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8601 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8603 * minibuffer.el (minibuffer-confirm-exit-commands):
8604 Add completion-at-point (bug#11725).
8606 2012-06-29 Glenn Morris <rgm@gnu.org>
8608 * progmodes/f90.el (f90-font-lock-keywords-2):
8609 Add some preprocessor elements. (Bug#10499)
8611 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8613 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8614 Use syntax-propertize (bug#11739).
8616 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8618 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8620 2012-06-28 Julien Danjou <julien@danjou.info>
8622 * term.el (term-handle-colors-array): Use a set of new faces to
8623 color the terminal. Also uses :inverse-video property.
8624 (term-default-fg-color): Set to nil by default, deprecate in favor
8626 (term-default-bg-color): Set to nil by default, deprecate in favor
8628 (term-current-face): Use `term-face' by default.
8629 (term-bold-attribute): Variable deleted.
8631 2012-06-28 Glenn Morris <rgm@gnu.org>
8633 * simple.el (completion-list-mode-finish):
8634 Don't use toggle-read-only. (Since completion-list-mode has
8635 a special mode-class, it wasn't doing anything extra anyway.)
8637 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8639 Make inlining of other-mode interpreted functions work (bug#11799).
8640 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8641 (byte-compile): Use it to fix compilation of lexical-binding closures.
8642 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8643 function, if needed.
8645 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8647 * help-mode.el (help-make-xrefs): Don't just withstand
8648 cyclic-variable-indirection but any error in documentation-property.
8650 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8652 * bindings.el (bindings--define-key): New function.
8653 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8654 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8655 * bindings.el: Use it to purecopy define-key bindings.
8657 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8659 * emacs-lisp/cl.el (flet): Mark obsolete.
8660 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8661 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8662 * progmodes/js.el (js-c-fill-paragraph):
8663 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8664 (ebrowse-switch-member-buffer-to-derived-class):
8665 * play/5x5.el (5x5-solver): Use cl-flet.
8667 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8668 (cl--symbol-function): New macro.
8669 (cl--letf, cl--letf*): Use it.
8671 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8672 Strip "toggle-" if any.
8674 2012-06-27 Glenn Morris <rgm@gnu.org>
8676 * info.el (Info-default-directory-list): Move here from paths.el.
8677 * paths.el: Remove file, which is now empty.
8678 * loadup.el: No longer load "paths".
8680 * custom.el (custom-initialize-delay): Doc fix.
8682 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8683 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8684 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8685 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8686 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8687 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8688 * eshell/eshell.el (eshell-defgroup): Remove alias.
8690 2012-06-27 Chong Yidong <cyd@gnu.org>
8692 * help.el (help-enable-auto-load): New variable.
8694 * help-fns.el (help-fns--autoloaded-p): New function.
8695 (describe-function-1): Refer to a function as "autoloaded" if it
8696 was autoloaded at any time in the past. Perform autoloading if
8697 help-enable-auto-load is non-nil.
8699 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8701 * makefile.w32-in (compile, compile-always): Depend on
8702 update-subdirs, not on subdirs.el. Otherwise, several different
8703 sub-targets of 'bootstrap' running in parallel could
8704 simultaneously write to subdirs.el, producing a garbled file.
8706 2012-06-26 Sam Steingold <sds@gnu.org>
8708 * files.el (file-name-base): New convenience function.
8709 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8710 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8711 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8712 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8713 * textmodes/ispell.el, textmodes/reftex-ref.el:
8714 * textmodes/tex-mode.el: Use it.
8715 Did not touch cedet and org because they are maintained elsewhere.
8717 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8719 * calendar/calendar.el (calendar-exit): Don't try to delete or
8720 iconify last frame. See:
8721 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8723 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8725 * server.el (server-process-filter): Remember dir in the
8726 process's `server-client-directory' properties.
8728 2012-06-24 Chong Yidong <cyd@gnu.org>
8730 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8733 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8735 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8737 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8739 * help-fns.el (describe-variable): Don't croak when doc is not found.
8740 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8741 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8742 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8743 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8744 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8746 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8748 2012-06-23 Chong Yidong <cyd@gnu.org>
8750 * info.el (Info-mouse-follow-link): Accept symbol values of
8751 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8752 (Info-fontify-node): Use Info-link-keymap for all navigation
8753 buttons, with link-args property to perform the desired action.
8754 (Info-link-keymap): Doc fix.
8755 (Info-next-link-keymap, Info-prev-link-keymap)
8756 (Info-up-link-keymap): Delete now-unused keymaps.
8758 2012-06-23 Chong Yidong <cyd@gnu.org>
8760 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8762 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8765 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8767 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8769 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8772 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8773 the requote function doesn't work properly (bug#11714).
8775 2012-06-23 Glenn Morris <rgm@gnu.org>
8777 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8779 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8781 Further GV/CL cleanups.
8782 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8784 (gv--defun-declaration): New function.
8785 (defun-declarations-alist): Use it.
8786 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8787 (gv-place): Autoload.
8788 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8789 original definition of dotimes and dolist.
8790 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8791 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8792 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8793 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8794 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8795 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8796 to the function's definition.
8797 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8801 * env.el: Don't use CL.
8803 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8805 Support higher-resolution time stamps (Bug#9000).
8807 * calendar/time-date.el (with-decoded-time-value): New arg
8808 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8809 (encode-time-value): New optional arg PICO. New type 3.
8810 (time-to-seconds) [!float-time]: Support the new picoseconds
8811 component if it's used.
8812 (seconds-to-time, time-subtract, time-add):
8813 Support ps-resolution time stamps as well.
8815 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8816 (timerp): Timer vectors now have length 9, not 8.
8817 (timer--time): Support new-style (4-part) time stamps.
8818 (timer-next-integral-multiple-of-time): Time stamps now have
8819 picosecond resolution, so take a bit more care about rounding.
8820 (timer-relative-time, timer-inc-time): New optional arg psecs.
8821 (timer-set-time-with-usecs): Set psecs to 0.
8822 (timer--activate): Check psecs component, too.
8824 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8826 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8828 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8829 Move the non-essential binding to the post/pre-command-hook where it is
8830 more obviously correct.
8832 * subr.el (read-passwd): Don't use a history at all.
8833 * savehist.el (savehist-save): Remove password saved accidentally
8834 because of the above bug.
8836 2012-06-22 Bastien Guerry <bzg@gnu.org>
8838 * files.el (toggle-read-only): Display a message telling whether
8839 the buffer is read-only or not (bug#11726).
8841 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8843 * emacs-lisp/gv.el: New file.
8844 * subr.el (push, pop): Extend to generalized variables.
8845 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8846 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8847 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8848 gv-define-simple-setter, and gv-define-expander.
8849 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8850 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8851 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8852 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8853 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8855 (cl-defstruct): Don't define setf-method any more.
8856 * emacs-lisp/cl.el (flet): Don't autoload.
8857 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8858 (define-setf-expander, defsetf, define-modify-macro)
8859 (cl-struct-setf-expander): Move from cl-lib.el.
8860 * emacs-lisp/syntax.el:
8861 * emacs-lisp/ewoc.el:
8862 * emacs-lisp/smie.el:
8863 * emacs-lisp/cconv.el:
8864 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8865 (timer--time): Use gv-define-simple-setter.
8866 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8867 to avoid coding-system problems in subr.el. Adjust all users.
8868 (macroexp--maxsize, macroexp-small-p): New functions.
8869 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8870 * scroll-bar.el (scroll-bar-mode):
8871 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8872 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8873 * winner.el (winner-configuration, winner-make-point-alist)
8874 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8875 * files.el (locate-file-completion-table): Avoid list*.
8877 2012-06-22 Chong Yidong <cyd@gnu.org>
8879 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8880 (dired-create-files): Doc fix (Bug#11329).
8881 (dired-do-copy): Doc fix (Bug#11334).
8882 (dired-mark-read-string): Doc fix (Bug#11553).
8884 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8885 Doc fix (Bug#11326).
8886 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8887 (dired-dwim-target): Doc fix.
8889 * wdired.el (wdired-mode): Doc fix.
8891 2012-06-22 Glenn Morris <rgm@gnu.org>
8893 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8894 (pcmpl-rpm-cache-stamp-file): New constant.
8895 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8896 (pcmpl-rpm-packages): Optionally cache list of packages.
8898 * pcmpl-rpm.el (pcmpl-rpm): New group.
8899 (pcmpl-rpm-query-options): New option.
8900 (pcmpl-rpm-packages): No need to inline it.
8901 Use pcmpl-rpm-query-options.
8903 * calendar/calendar.el (calendar-in-read-only-buffer):
8904 Avoid some needless mode changes.
8906 2012-06-21 Chong Yidong <cyd@gnu.org>
8908 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8909 (desktop-path): Remove . from the default value (Bug#10977).
8910 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8912 2012-06-20 Chong Yidong <cyd@gnu.org>
8914 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8916 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8918 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8921 2012-06-20 Chong Yidong <cyd@gnu.org>
8923 * term.el (term-window-width): Handle the case of a missing right
8925 (term-check-size): Use window-text-height (Bug#5445).
8926 (term-mode): Use define-derived-mode. Minor cleanups.
8927 Set font-lock-defaults (Bug#7692).
8928 (term-move-columns, term-insert-char, term-emulate-terminal)
8929 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8931 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8933 * net/ange-ftp.el (ange-ftp-get-passwd):
8934 Bind `enable-recursive-minibuffers'.
8935 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8937 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8939 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8941 2012-06-19 Glenn Morris <rgm@gnu.org>
8943 * progmodes/python.el (python-mode): Derive from prog-mode.
8945 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8947 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8948 (edt-user-menu-bar-update-buffers): New functions.
8949 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8951 2012-06-19 Chong Yidong <cyd@gnu.org>
8953 * subr.el (with-selected-window): Preserve the selected window's
8954 terminal's top-frame (Bug#4702).
8956 * window.el (save-selected-window): Likewise.
8958 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8960 * progmodes/python.el (python-rx-constituents): Move backquote.
8961 (python-skeleton-define, python-define-auxiliary-skeleton):
8964 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8966 * minibuffer.el (read-file-name-default): Revert the patch from
8969 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8971 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8972 (pcase--u1, pcase--q1): Don't use apply-partially.
8974 2012-06-18 Glenn Morris <rgm@gnu.org>
8976 * progmodes/python.el (python-proc, python-buffer)
8977 (python-send-receive, python-send-string): Fix obsolete versions.
8979 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8981 * window.el (special-display-p): Completely remove stringp
8982 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8984 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8986 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8988 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8990 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8991 * net/tramp-sh.el (tramp-maybe-open-connection):
8992 Throw if `non-essential' is non-nil.
8994 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8996 * window.el (special-display-p): Signal an error if BUFFER-NAME
8997 is not a string (Bug#11713).
8999 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9001 * progmodes/python.el (python-info-beginning-of-backslash):
9002 Rename from python-info-beginning-of-backlash, as a spelling fix.
9004 2012-06-17 Chong Yidong <cyd@gnu.org>
9006 * term.el (term-emulate-terminal): If term-check-size is called,
9007 move point to the process mark without resetting point (Bug#4635).
9009 2012-06-17 Glenn Morris <rgm@gnu.org>
9011 * international/mule-cmds.el (mule-menu-keymap)
9012 (set-language-environment, set-locale-environment): Doc tweaks.
9014 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9016 * cus-face.el (custom-face-attributes): Add wave-style underline
9018 * faces.el (set-face-attribute): Update docstring to describe
9019 wave-style underline attribute.
9021 2012-06-16 Chong Yidong <cyd@gnu.org>
9023 * term/xterm.el (terminal-init-xterm): Discard input before
9024 querying background mode (Bug#10959).
9026 2012-06-16 Stefan Merten <smerten@oekonux.de>
9028 * textmodes/rst.el: Added and corrected some comments.
9029 (rst-re-alist-def): Improve symbol syntax.
9030 (rst-mode-syntax-table): Correct syntax entries.
9031 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9032 (rst-official-version, rst-official-cvs-rev): Update version
9035 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9037 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9038 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9040 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9042 * progmodes/python.el: New python.el merge.
9043 (python-guess-indent): Obsolete var.
9044 (python-indent-guess-indent-offset): New defcustom.
9045 (python-indent): Obsolete var.
9046 (python-indent-offset): New defcustom.
9047 (python-python-command, python-jython-command): Delete var.
9048 (python-shell-interpreter): New defcustom.
9049 (python-pdbtrack-do-tracking-p): Delete var.
9050 (python-pdbtrack-activate): New defcustom.
9051 (python-use-skeletons): Obsolete var.
9052 (python-skeleton-autoinsert): New defcustom.
9053 (inferior-python-filter-regexp, python-continuation-offset)
9054 (python-honour-comment-indentation, python-indent-string-contents)
9055 (python-jython-packages, python-mode-hook)
9056 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9057 (python-shell-prompt-alist)
9058 (python-source-modes): Delete defcustoms.
9059 (python-check-buffer-name, python-eldoc-setup-code)
9060 (python-eldoc-string-code, python-ffap-setup-code)
9061 (python-ffap-string-code, python-fill-comment-function)
9062 (python-fill-decorator-function, python-fill-paren-function)
9063 (python-fill-string-function, python-imenu-include-defun-type)
9064 (python-imenu-make-tree, python-imenu-subtree-root-label)
9065 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9066 (python-shell-compilation-regexp-alist)
9067 (python-shell-completion-module-string-code)
9068 (python-shell-completion-pdb-string-code)
9069 (python-shell-completion-setup-code)
9070 (python-shell-completion-string-code)
9071 (python-shell-enable-font-lock, python-shell-exec-path)
9072 (python-shell-extra-pythonpaths)
9073 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9074 (python-shell-process-environment)
9075 (python-shell-prompt-block-regexp)
9076 (python-shell-prompt-output-regexp)
9077 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9078 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9079 (python-shell-virtualenv-path): New defcustoms.
9080 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9081 (inferior-python-mode-syntax-table, python--prompt-regexp)
9082 (python-buffer, python-command python-python-command)
9083 (python-default-template, python-imports, python-indent-index)
9084 (python-indent-list, python-indent-list-length)
9085 (python-mode-running, python-pdbtrack-is-tracking-p)
9086 (python-preoutput-continuation, python-preoutput-leftover)
9087 (python-preoutput-result, python-preoutput-skip-next-prompt)
9088 (python-prev-dir/file, python-recursing)
9089 (python-saved-check-command, python-version-checked)
9090 (python-which-func-length-limit)
9091 (view-return-to-alist): Delete vars.
9092 (python-check-custom-command, python-dotty-syntax-table)
9093 (python-imenu-index-alist, python-indent-current-level)
9094 (python-indent-dedenters, python-indent-levels)
9095 (python-nav-beginning-of-defun-regexp)
9096 (python-nav-list-defun-positions-cache)
9097 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9098 (python-shell-internal-buffer)
9099 (python-skeleton-available): New vars.
9100 (def-python-skeleton): Delete macro.
9101 (python-skeleton-define): New macro.
9102 (python-define-auxiliary-skeleton, python-rx): New macros.
9103 (python-insert-class): Delete command.
9104 (python-skeleton-class): New command.
9105 (python-insert-def): Delete command.
9106 (python-skeleton-def): New command.
9107 (python-insert-for): Delete command.
9108 (python-skeleton-for): New command.
9109 (python-insert-if): Delete command.
9110 (python-skeleton-if): New command.
9111 (python-insert-try/except, python-insert-try/finally): Delete commands.
9112 (python-skeleton-try): New command.
9113 (python-insert-while): Delete command.
9114 (python-skeleton-while): New command.
9115 (python-backspace): Delete command.
9116 (python-indent-dedent-line-backspace): New command.
9117 (python-electric-colon): Delete command.
9118 (python-indent-electric-colon): New command.
9119 (python-guess-indent): Delete command.
9120 (python-indent-guess-indent-offset): New command.
9121 (python-shift-left): Delete command.
9122 (python-indent-shift-left): New command.
9123 (python-shift-right): Delete command.
9124 (python-indent-shift-right): New command.
9125 (python-find-function): Delete command.
9126 (python-nav-jump-to-defun): New command.
9127 (python-next-statement): Delete command.
9128 (python-nav-forward-sentence): New command.
9129 (python-previous-statement): Delete command.
9130 (python-nav-backward-sentence): New command.
9131 (python-fill-paragraph): Delete command.
9132 (python-fill-paragraph-function): New command.
9133 (python-send-buffer): Delete command.
9134 (python-shell-send-buffer): New command.
9135 (python-send-defun): Delete command.
9136 (python-shell-send-defun): New command.
9137 (python-send-region, python-send-region-and-go): Delete commands.
9138 (python-shell-send-region)
9139 (python-shell-switch-to-shell): New commands.
9140 (python-send-string): Delete command.
9141 (python-shell-send-string): New command.
9142 (python-switch-to-python): Delete command.
9143 (python-shell-switch-to-shell): New command.
9144 (python-describe-symbol): Delete command.
9145 (python-eldoc-at-point): New command.
9146 (python--set-prompt-regexp, python-args-to-list)
9147 (python-after-info-look, python-check-version)
9148 (python-check-comint-prompt, python-find-imports)
9149 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9150 (python-unload-function, python-expand-template)
9151 (python-maybe-jython, python-preoutput-filter)
9152 (python-pdbtrack-get-source-buffer)
9153 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9154 (python-pdbtrack-toggle-stack-tracking)
9155 (python-pdbtrack-track-stack-file, python-initial-text)
9156 (python-first-word, python-comment-line-p, python-send-command)
9157 (python-setup-brm, python-sentinel, python-set-proc)
9158 (python-skip-out, python-input-filter, python-outdent-p)
9159 (python-outline-level, python-backslash-continuation-line-p)
9160 (python-end-of-block, python-end-of-statement, python-mark-block)
9161 (python-beginning-of-block, python-beginning-of-statement)
9162 (python-blank-line-p, python-beginning-of-string)
9163 (python-open-block-statement-p): Delete functions.
9164 (python-indent-line, python-indent-line-1): Delete functions.
9165 (python-indent-line): New function.
9166 (python-indentation-levels): Delete function.
9167 (python-indent-calculate-levels): New function.
9168 (python-proc): Delete function.
9169 (python-shell-get-process): New function.
9170 (python-send-receive): Delete function.
9171 (python-shell-send-string-no-output): New function.
9172 (python-module-path): Delete function.
9173 (python-ffap-module-path): New function.
9174 (python-completion-at-point)
9175 (python-symbol-completions): Delete functions.
9176 (python-completion-complete-at-point): New function.
9177 (python-load-file): Delete function.
9178 (python-shell-send-file): New function.
9179 (python-calculate-indentation): Delete function.
9180 (python-indent-calculate-indentation): New function.
9181 (python-skip-comments/blanks): Delete function.
9182 (python-util-forward-comment): New function.
9183 (python-continuation-line-p): Delete function.
9184 (python-info-continuation-line-p): New function.
9185 (python-which-func, python-current-defun): Delete function.
9186 (python-info-current-defun): New function.
9187 (python-beginning-of-defun): Delete function.
9188 (python-nav-beginning-of-defun): New function.
9189 (python-close-block-statement-p)
9190 (python-block-end-p): Delete function.
9191 (python-info-closing-block): New function.
9192 (python-comint-output-filter-function)
9193 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9194 (python-fill-comment, python-fill-decorator, python-fill-paren)
9195 (python-fill-string, python-imenu-make-element-tree)
9196 (python-imenu-make-tree, python-imenu-tree-assoc)
9197 (python-indent-context, python-indent-dedent-line)
9198 (python-indent-line-function)
9199 (python-indent-post-self-insert-function)
9200 (python-indent-toggle-levels)
9201 (python-info-assignment-continuation-line-p)
9202 (python-info-beginning-of-backlash)
9203 (python-info-block-continuation-line-p)
9204 (python-info-closing-block-message)
9205 (python-info-line-ends-backslash-p)
9206 (python-info-looking-at-beginning-of-defun)
9207 (python-info-ppss-context, python-info-ppss-context-type)
9208 (python-nav-list-defun-positions, python-nav-read-defun)
9209 (python-nav-sentence-end, python-nav-sentence-start)
9210 (python-pdbtrack-comint-output-filter-function)
9211 (python-pdbtrack-set-tracked-buffer)
9212 (python-shell-calculate-exec-path)
9213 (python-shell-calculate-process-environment)
9214 (python-shell-completion--do-completion-at-point)
9215 (python-shell-completion--get-completions)
9216 (python-shell-completion-complete-at-point)
9217 (python-shell-completion-complete-or-indent)
9218 (python-shell-get-or-create-process)
9219 (python-shell-get-process-name)
9220 (python-shell-internal-get-or-create-process)
9221 (python-shell-internal-get-process-name)
9222 (python-shell-internal-send-string, python-shell-make-comint)
9223 (python-shell-parse-command, python-shell-send-setup-code)
9224 (python-skeleton-add-menu-items)
9225 (python-util-clone-local-variables, python-util-position)
9226 (run-python-internal, python-indentation-levels)
9227 (python-nav-beginning-of-defun)
9228 (python-completion-complete-at-point): New functions.
9229 (run-python): Change arguments. New API requirements.
9231 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9233 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9236 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9237 (macroexp--expand-all): Use it.
9239 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9240 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9241 Use `cl-function' instead.
9243 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9245 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9246 Suggested by Stefan Monnier while discussing bug#11657.
9248 2012-06-14 Sam Steingold <sds@gnu.org>
9250 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9252 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9254 * play/doctor.el (doctor-doc): Remove parameter and use
9255 doctor-sent instead of sent.
9256 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9258 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9260 * files.el: Require cl-lib.
9261 (file-name-non-special): Replace case -> cl-case.
9263 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9265 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9266 mapping from #' to function*.
9268 2012-06-13 Chong Yidong <cyd@gnu.org>
9270 * mouse.el (mouse-drag-track): Do not set the mark if the user
9271 releases the mouse without selecting anything (Bug#11588).
9273 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9275 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9276 as well (bug#11646).
9278 * loadup.el: Count byte-code functions as well.
9280 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9281 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9283 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9284 (bug#11649). Add cl-defun and cl-defmacro.
9286 2012-06-13 Drew Adams <drew.adams@oracle.com>
9288 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9291 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9293 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9294 Otherwise, it blocks in batch mode.
9296 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9298 * help-mode.el (bookmark-make-record-default): Declare.
9300 2012-06-13 Chong Yidong <cyd@gnu.org>
9302 * emacs-lisp/package.el (list-packages): Compute a list of
9303 packages that are newly-available since the last list-packages
9305 (package-menu--new-package-list): New var.
9306 (package-menu--generate, package-menu--print-info)
9307 (package-menu--status-predicate, package-menu-mark-install):
9308 Handle new status label "new".
9310 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9312 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9313 conversion to backquotes.
9315 2012-06-12 Chong Yidong <cyd@gnu.org>
9317 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9318 Rename from gud-inhibit-global-bindings.
9320 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9322 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9323 hook from nxml-glyph-set-hook.
9325 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9328 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9330 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9331 Convert to defcustom.
9333 2012-06-12 Drew Adams <drew.adams@oracle.com>
9335 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9337 (help-mode): Use them.
9339 2012-06-11 Glenn Morris <rgm@gnu.org>
9341 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9342 Use preprocessor face for directives.
9343 (fortran-directive-re): Doc fix.
9345 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9347 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9348 conversion to backquotes (bug#11652).
9350 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9351 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9352 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9353 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9354 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9355 (cl-ninth, cl-tenth): Mark them as inlinable.
9356 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9357 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9358 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9359 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9360 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9361 (cl-list*, cl-adjoin): Don't put an autoload manually.
9362 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9363 (cl--compiler-macro-list*): Add autoload cookie.
9364 (cl--compiler-macro-cXXr): New function.
9366 * help-fns.el (help-fns--compiler-macro): New function extracted from
9367 describe-function-1; follow aliases and use `compiler-macro' property.
9368 (describe-function-1): Use it.
9370 2012-06-11 Chong Yidong <cyd@gnu.org>
9372 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9373 is uninstalled, if imagemagick is installed.
9375 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9377 * emacs-lisp/cl-lib.el: Use lexical-binding.
9378 (cl-map-extents, cl-maclisp-member): Remove.
9379 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9380 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9381 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9382 * emacs-lisp/cl-extra.el: Use lexical-binding.
9383 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9384 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9385 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9386 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9387 * emacs-lisp/cl-seq.el: Use lexical-binding.
9388 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9389 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9390 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9391 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9392 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9395 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9397 Sync with Tramp 2.2.6-pre.
9399 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9400 `print-length' and `print-level' to nil, in order to avoid
9401 truncation. Reported by Christopher Schmidt
9402 <christopher@ristopher.com>.
9404 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9406 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9408 (tramp-compat-copy-directory): Add optional argument
9409 COPY-CONTENTS. It is not handled yet.
9411 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9412 (tramp-ftp-file-name-p): Simplify.
9414 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9415 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9418 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9419 (tramp-methods): Do not use `tramp-password-end-of-line'.
9420 (tramp-completion-function-alist-putty): Handle UNIX case.
9421 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9422 (tramp-do-file-attributes-with-stat)
9423 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9424 gid as real numbers. They could run out of integer range on cygwin.
9425 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9426 (tramp-sh-handle-expand-file-name): Handle hops.
9427 (tramp-open-connection-setup-interactive-shell):
9428 Use `tramp-cleanup'. Move check for busyboxes ...
9429 (tramp-find-shell): ... here. Simplify implementation.
9430 Set "remote-shell" property also for alternative shells.
9431 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9432 If failing, a regular file would be written otherwise.
9433 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9434 (tramp-find-inline-encoding): Cache the coding commands in the
9435 process cache. Apply test command on the remote side, if defined.
9436 (tramp-find-inline-compress): Cache the compress commands in the
9438 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9439 when requested. Handle hops.
9440 (tramp-current-connection): New defvar.
9441 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9442 Throw `suppress', if there was a failed connection shortly before.
9443 Handle user interrupt. (Bug#10187)
9444 (tramp-get-inline-compress, tramp-get-inline-coding):
9445 Read connection properties from the process cache.
9447 * net/tramp-smb.el (tramp-smb-server-version)
9448 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9450 (tramp-smb-prompt): Extend for powershell prompt.
9451 (tramp-smb-file-name-handler-alist): Add handlers for
9452 `process-file', `shell-command' and `start-file-process'.
9453 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9454 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9455 (tramp-smb-file-name-p): Simplify.
9456 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9457 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9458 (tramp-smb-shell-quote-argument): New defuns.
9459 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9460 Implement using "tar". By this, time-stamps are preserved.
9461 (tramp-smb-handle-copy-file): Handle also the case of directories.
9462 (tramp-smb-do-file-attributes-with-stat)
9463 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9464 Use `tramp-get-connection-buffer').
9465 (tramp-smb-handle-rename-file): Use "rename", when source and
9466 target are on the same share.
9467 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9468 Use `tramp-smb-server-version'.
9469 (tramp-smb-wait-for-output): Remove prompt.
9471 * net/tramp.el (top): Require 'cl.
9472 (tramp-methods, tramp-rsh-end-of-line):
9473 Remove `tramp-password-end-of-line' from docstring.
9474 (tramp-save-ad-hoc-proxies): New defcustom.
9475 (tramp-completion-function-alist): Adapt docstring.
9476 (tramp-default-password-end-of-line): Remove defcustom.
9477 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9478 (tramp-user-regexp, tramp-file-name-regexp-unified)
9479 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9480 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9481 (tramp-remote-file-name-spec-regexp): New defconst.
9482 (tramp-file-name-structure): Extend structure for hops.
9483 (tramp-get-method-parameter): Move up.
9484 (tramp-file-name-p, tramp-dissect-file-name)
9485 (with-parsed-tramp-file-name): Handle hops.
9486 (tramp-file-name-hop): New defun.
9487 (tramp-make-tramp-file-name): New optional arg HOP.
9488 (tramp-message-show-progress-reporter-message): New defvar.
9489 (tramp-with-progress-reporter): Use it. We cannot use
9490 `tramp-message-show-message' here, because this suppresses also
9492 (tramp-error-with-buffer): Suppress buffer view, if
9493 `tramp-message-show-message' is nil.
9494 Use `tramp-get-connection-buffer'.
9495 (tramp-cleanup): New defun.
9496 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9497 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9499 (tramp-completion-handle-file-name-all-completions): Handle hops.
9500 Fix an error when called from ido.
9501 (tramp-completion-dissect-file-name): Use better local variable
9502 name. Add hop to the vector.
9503 (tramp-handle-insert-file-contents): Use progress-reporter for the
9505 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9507 (tramp-check-for-regexp): Simplify search.
9508 (tramp-enter-password): Remove it. Move implementation ...
9509 (tramp-action-password): ... here.
9510 (tramp-mode-string-to-int, tramp-local-host-p)
9511 (tramp-make-tramp-temp-file, tramp-read-passwd)
9512 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9513 Set tramp-autoload cookie.
9515 * net/trampver.el: Update release number.
9517 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9518 Michael Albinus <michael.albinus@gmx.de>
9520 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9521 (tramp-parse-group, tramp-parse-file)
9522 (tramp-parse-shostkeys-sknownhosts): New defuns.
9523 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9524 (tramp-parse-shosts-group, tramp-parse-sconfig)
9525 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9526 (tramp-parse-sknownhosts, tramp-parse-hosts)
9527 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9529 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9530 (tramp-parse-putty-group): Don't narrow.
9531 (tramp-parse-putty): Make a loop.
9532 (tramp-file-name-handler): Catch the `suppress' signal.
9534 2012-06-11 Chong Yidong <cyd@gnu.org>
9536 * image.el (imagemagick-register-types): Put the ImageMagick entry
9537 at the end of image-type-file-name-regexps.
9539 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9541 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9542 (pcase, pcase-let*, pcase-dolist): Use them.
9544 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9546 * emacs-lisp/pcase.el (pcase--let*): New function.
9547 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9548 (pcase--expand): Use macroexp-let².
9550 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9552 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9553 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9554 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9555 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9556 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9557 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9559 2012-06-10 Glenn Morris <rgm@gnu.org>
9561 * mail/rmail.el (rmail-yank-current-message): Leave point at
9562 correct position. (Bug#11660)
9564 2012-06-10 Chong Yidong <cyd@gnu.org>
9566 * allout-widgets.el: Fix code header.
9568 2012-06-10 Chong Yidong <cyd@gnu.org>
9570 * cus-edit.el (customize-changed-options-previous-release):
9573 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9575 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9577 2012-06-09 Chong Yidong <cyd@gnu.org>
9579 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9581 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9583 * window.el (special-display-popup-frame): Don't use
9584 window--display-buffer (Bug#11651).
9586 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9588 Fix parallel builds: make sure loaddefs.el is not being written
9589 while Lisp files are compiled.
9590 (compile): Don't depend on 'mh-autoloads'.
9591 (compile-CMD, compile-SH): Depend on 'autoloads'.
9592 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9594 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9596 2012-06-09 Chong Yidong <cyd@gnu.org>
9598 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9599 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9600 Doc fixes (Bug#11225).
9602 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9604 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9605 a function if there's a clear indication that it has a compiler-macro.
9606 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9607 (macro-declarations-alist): Add arglist to declaration functions.
9608 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9609 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9610 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9611 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9612 Also add autoload to find the compiler macro.
9613 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9614 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9615 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9616 (cl--compiler-macro-get): New functions, replacing calls to
9617 cl-define-compiler-macro.
9618 (cl-typep) [compiler-macro]: Use macroexp-let².
9620 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9622 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9623 string properly, fixes Bug#11473.
9625 2012-06-08 Chong Yidong <cyd@gnu.org>
9627 * faces.el (set-face-attribute): Doc fix.
9628 (modify-face): Don't use :bold and :italic.
9629 (error, warning, success): Tweak definitions.
9631 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9632 (custom-modified, custom-set, custom-changed, custom-themed)
9633 (custom-saved, custom-button, custom-button-mouse)
9634 (custom-button-pressed, custom-state, custom-comment-tag)
9635 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9636 (custom-group-subtitle): Use new-style face specs.
9637 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9638 (custom-set-face, custom-changed-face, custom-saved-face)
9639 (custom-button-face, custom-button-pressed-face)
9640 (custom-documentation-face, custom-state-face)
9641 (custom-comment-face, custom-comment-tag-face)
9642 (custom-variable-tag-face, custom-variable-button-face)
9643 (custom-face-tag-face, custom-group-tag-face-1)
9644 (custom-group-tag-face): Remove obsolete face alias.
9646 * epa.el (epa-validity-high, epa-validity-medium)
9647 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9648 (epa-field-name, epa-field-body):
9649 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9650 (font-lock-keyword-face, font-lock-builtin-face)
9651 (font-lock-function-name-face, font-lock-variable-name-face)
9652 (font-lock-type-face, font-lock-constant-face):
9653 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9654 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9655 * speedbar.el (speedbar-button-face, speedbar-file-face)
9656 (speedbar-directory-face, speedbar-tag-face)
9657 (speedbar-selected-face, speedbar-highlight-face)
9658 (speedbar-separator-face):
9659 * whitespace.el (whitespace-newline, whitespace-space)
9660 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9661 (whitespace-line, whitespace-space-before-tab)
9662 (whitespace-space-after-tab, whitespace-indentation)
9664 * emulation/cua-base.el (cua-global-mark):
9665 * eshell/em-prompt.el (eshell-prompt):
9666 * net/newst-plainview.el (newsticker-new-item-face)
9667 (newsticker-old-item-face, newsticker-immortal-item-face)
9668 (newsticker-obsolete-item-face, newsticker-date-face)
9669 (newsticker-statistics-face, newsticker-default-face):
9670 * net/newst-reader.el (newsticker-feed-face)
9671 (newsticker-extra-face, newsticker-enclosure-face):
9672 * net/newst-treeview.el (newsticker-treeview-face)
9673 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9674 (newsticker-treeview-immortal-face)
9675 (newsticker-treeview-obsolete-face)
9676 (newsticker-treeview-selection-face):
9677 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9678 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9679 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9680 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9681 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9682 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9683 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9685 * progmodes/vera-mode.el (vera-font-lock-number)
9686 (vera-font-lock-function, vera-font-lock-interface):
9687 * textmodes/table.el (table-cell): Use new-style face specs, and
9688 don't use the old :bold and :italic attributes.
9690 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9691 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9692 (ebrowse-member-class, ebrowse-progress): Likewise.
9693 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9694 (ebrowse-file-name-face, ebrowse-default-face)
9695 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9696 (ebrowse-progress-face): Remove obsolete faces.
9698 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9699 Inherit from error and warning faces respectively.
9701 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9703 (flyspell-incorrect-face, flyspell-duplicate-face):
9704 Remove obsolete aliases.
9706 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9708 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9711 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9713 * startup.el (argv, argi): Make lexically scoped.
9714 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9715 * emacs-lisp/cl-macs.el: Use lexical-binding.
9716 Rename cl-bind-* to cl--bind-*.
9717 * files.el: Don't require `cl' since it doesn't use it.
9718 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9720 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9722 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9723 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9724 instead of calling external sort utility.
9725 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9727 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9729 * descr-text.el (describe-char): Mention how to insert the
9730 character, if the current input method doesn't support it.
9731 See the discussion in this thread for the details:
9732 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9734 2012-06-08 Sam Steingold <sds@gnu.org>
9736 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9737 XF86Back to previous-buffer.
9738 (minibuffer-local-map): Bind them to next-history-element and
9739 previous-history-element respectively.
9740 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9741 help-go-back respectively.
9742 * info.el (Info-mode-map): Bind them to Info-history-forward and
9743 Info-history-back respectively.
9744 These are the keys next to Up on the ThinkPad keyboard.
9746 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9748 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9749 * emacs-lisp/cl-macs.el: Provide itself.
9750 (cl--labels-convert-cache): New var.
9751 (cl--labels-convert): New function.
9752 (cl-flet, cl-labels): New implementation with new semantics, relying on
9754 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9755 (cl-closure-vars, cl--function-convert-cache)
9756 (cl--function-convert): Move from cl-macs.el.
9757 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9758 rename by removing the "cl-" prefix.
9759 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9761 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9763 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9764 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9765 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9766 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9767 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9768 (cl-hash-table-count): Add old compatibility aliases.
9770 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9771 Use macroexpand-all-environment instead.
9772 (cl--old-macroexpand): New var.
9773 (cl--sm-macroexpand): New function.
9774 (cl-symbol-macrolet): Use it during macro expansion.
9775 (cl--function-convert-cache): New var.
9776 (cl--function-convert): New function, extracted from
9778 (cl-lexical-let): Use it.
9780 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9781 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9782 (cl-member): Remove old alias.
9784 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9785 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9786 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9787 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9788 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9789 (cl-macroexpand-cmacs): Remove var.
9790 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9791 Use macroexpand-all instead.
9793 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9795 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9796 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9797 (macroexp-copyable-p): New functions and macros.
9798 * emacs-lisp/edebug.el (edebug-unwrap):
9799 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9800 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9801 (pcase--let*): Remove.
9802 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9803 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9804 macroexp-const-p instead.
9805 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9807 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9808 instead of "cl-" for internal definitions. Use macroexp-const-p.
9809 (cl-old-bc-file-form): Remove var.
9810 (cl-const-exprs-p): Remove fun.
9811 (cl-labels, cl-macrolet): Use backquote.
9812 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9813 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9814 (cl-define-setf-expander): Rename from cl-define-setf-method.
9815 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9817 * international/mule-cmds.el: Don't require CL.
9818 (view-hello-file): Don't use `letf'.
9820 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9822 * tmm.el (tmm-prompt): Use string-prefix-p.
9823 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9824 (tmm-add-prompt): Use minibuffer-completion-help.
9825 (tmm-delete-map): Remove.
9827 * subr.el (kbd): Make it its own function.
9829 2012-06-07 Stefan Merten <smerten@oekonux.de>
9831 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9832 Silence compiler warnings. Fix versions.
9833 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9834 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9835 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9836 (rst-package-emacs-version-alist): Correct Emacs version to
9837 represent major merge with upstream.
9838 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9840 2012-06-06 Glenn Morris <rgm@gnu.org>
9842 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9843 Only print environment variables if set.
9845 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9847 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9848 (macroexp--cons): Rename from maybe-cons.
9849 (macroexp--accumulate): Rename from macroexp-accumulate.
9850 (macroexp--all-forms): Rename from macroexpand-all-forms.
9851 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9852 (macroexp--expand-all): Rename from macroexpand-all-1.
9854 2012-06-06 Sam Steingold <sds@gnu.org>
9856 * calendar/calendar.el (calendar-in-read-only-buffer):
9857 Call `special-mode' to enable the standard read-only keybindings.
9859 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9861 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9862 with "loading" messages (bug#11635).
9864 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9866 * files.el (enable-remote-dir-locals): New option.
9867 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9869 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9870 Ensure, that the temp directory is local.
9872 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9873 `temporary-file-directory'.
9875 * progmodes/python.el (python-send-region): Ensure, that the
9876 temporary file is created also in the remote case.
9878 2012-06-06 Glenn Morris <rgm@gnu.org>
9880 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9881 (vc-rcs-update-changelog): Use it.
9883 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9885 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9886 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9887 (vc-sccs-diff): Replace use of the external vcdiff script.
9889 2012-06-05 Glenn Morris <rgm@gnu.org>
9891 * ledit.el: Move to obsolete/.
9893 2012-06-05 Sam Steingold <sds@gnu.org>
9895 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9898 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9900 * emacs-lisp/cust-print.el: Move to obsolete.
9902 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9903 compiler-macro expansion.
9905 Add native compiler-macro support.
9906 * emacs-lisp/macroexp.el (macroexpand-all-1):
9907 Support compiler-macros directly. Properly follow aliases and apply
9908 the compiler macros more thoroughly.
9909 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9910 macroexpand now properly follows aliases.
9911 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9912 (cl-compiler-macroexpand): Use new prop.
9913 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9915 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9917 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9919 * window.el (get-lru-window, get-mru-window, get-largest-window):
9920 New argument NOT-SELECTED to avoid picking the selected window.
9921 (window--display-buffer-1, window--display-buffer-2): Replace by
9922 new function window--display-buffer
9923 (display-buffer-same-window, display-buffer-reuse-window)
9924 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9925 Use window--display-buffer.
9926 (display-buffer-use-some-window): Remove temporary dedication
9927 hack by calling get-lru-window and get-largest-window with
9928 NOT-SELECTED argument non-nil. Call window--display-buffer.
9930 2012-06-05 Glenn Morris <rgm@gnu.org>
9932 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9933 Replace external vcdiff script.
9935 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9937 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9939 2012-06-04 Chong Yidong <cyd@gnu.org>
9941 * image.el (imagemagick-types-inhibit): Revert last change.
9943 (imagemagick-enabled-types): Remove CIN and EPS*.
9945 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9947 * emacs-lisp/cl-lib.el: Rename from cl.el.
9948 * emacs-lisp/cl.el: New compatibility file.
9949 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9950 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9951 to obey the "cl-" prefix.
9952 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9954 2012-06-03 Glenn Morris <rgm@gnu.org>
9956 * emacs-lisp/authors.el (authors-aliases): Addition.
9958 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9961 2012-06-03 Stefan Merten <smerten@oekonux.de>
9963 * textmodes/rst.el: Add comments.
9964 (rst-transition, rst-adornment): New faces.
9965 (rst-adornment-faces-alist): Make default safe to reevaluate.
9967 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9968 Improve customization tags.
9969 (rst-define-level-faces): Clarify meaning.
9971 2012-06-03 Chong Yidong <cyd@gnu.org>
9973 * progmodes/compile.el (compilation-mode-line-fail)
9974 (compilation-mode-line-run, compilation-mode-line-exit):
9976 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9978 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9980 * progmodes/which-func.el (which-func-update-ediff-windows):
9981 New function. Use it in ediff-select-hook (Bug#11478).
9983 2012-06-03 Chong Yidong <cyd@gnu.org>
9985 * bindings.el: Remove explicit help text from format-mode-line.
9986 It is now supplied by mode-line-default-help-echo.
9987 (mode-line-front-space, mode-line-end-spaces)
9988 (mode-line-misc-info): New variables.
9989 (mode-line-modes, mode-line-position): Move the default value to
9990 the variable definition.
9991 (mode-line-default-help-echo): New defcustom.
9992 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9993 (mode-line-modified-help-echo): New functions.
9994 (mode-line-mule-info, mode-line-modified): Use them.
9995 (mode-line-eol-desc, propertized-buffer-identification):
9996 Consistency fixes for help text.
9997 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9998 set-buffer-file-coding-system (Bug#289).
9999 (mode-line-mule-info-help-echo): Update help text.
10001 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10003 * simple.el (execute-extended-command): Set real-this-command
10006 2012-06-02 Chong Yidong <cyd@gnu.org>
10008 Remove incorrect uses of "modeline" in comments, docstrings, and
10009 function/variable names (Bug#10329).
10011 * cus-edit.el (mode-line):
10012 * dframe.el (dframe-mouse-hscroll):
10013 * emacs-lisp/re-builder.el:
10014 * emacs-lisp/easy-mmode.el (define-minor-mode):
10015 * frame.el (set-frame-name):
10016 * help.el (lookup-minor-mode-from-indicator):
10017 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10018 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10019 (c-toggle-hungry-state):
10020 * progmodes/antlr-mode.el (antlr-language-alist):
10021 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10022 * progmodes/vhdl-mode.el (vhdl-mode):
10023 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10024 * term/ns-win.el (ns-face-at-pos):
10025 * term/sup-mouse.el (sup-mouse-report):
10026 * textmodes/flyspell.el (flyspell-mode-line-string):
10027 * textmodes/ispell.el (ispell-highlight-face):
10028 * textmodes/reftex-global.el:
10029 * vc/vc-arch.el (vc-arch-mode-line-string):
10030 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10031 * vc/vc-git.el (vc-git-mode-line-string):
10032 * vc/vc-hooks.el (vc-display-status)
10033 (vc-default-mode-line-string):
10034 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10036 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10038 * dired.el (dired-sort-set-mode-line): Rename from
10039 dired-sort-set-modeline. All callers changed.
10041 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10042 eshell-status-in-modeline.
10044 * foldout.el (foldout-mode-line-string): Rename from
10045 foldout-modeline-string. All callers changed.
10046 (foldout-update-mode-line): Rename from foldout-update-modeline.
10048 * subr.el (redraw-modeline): Make into obsolete alias.
10050 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10051 timeclock-modeline-display. Make old name an alias.
10052 (timeclock-update-mode-line): Likewise. All callers changed.
10053 (timeclock-mode-line-display): No need to check before using
10055 (timeclock-relative, timeclock-day-over-hook)
10056 (timeclock-use-elapsed, timeclock-mode-string)
10057 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10059 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10060 crisp-mode-modeline-string.
10062 * play/solitaire.el (solitaire-build-mode-line): Rename from
10063 solitaire-build-modeline. All callers changed.
10065 * play/zone.el (zone-hiding-mode-line): Rename from
10066 zone-hiding-modeline. All callers changed.
10067 (zone): Remove unusued `modeline-hidden-level' property.
10069 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10070 xscheme-modeline-initialize. All callers changed.
10072 * strokes.el (strokes-lighter): Rename from
10073 strokes-modeline-string.
10075 * textmodes/sgml-mode.el (html-face-tag-alist)
10076 (html-tag-face-alist): Use mode-line face instead of obsolete
10079 2012-06-02 Stefan Merten <smerten@oekonux.de>
10081 * textmodes/rst.el: Always require `cl'.
10082 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10084 2012-06-02 Chong Yidong <cyd@gnu.org>
10086 * image.el (imagemagick-enabled-types): Rename from
10087 imagemagick-types-enable. Add many more types.
10088 (imagemagick-types-inhibit): Change default to nil.
10089 (imagemagick-filter-types): Caller changed.
10091 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10093 * emacs-lisp/cl-macs.el: Use backquotes.
10094 (cl-transform-function-property): Use eval-and-compile rather than
10096 (defstruct): Use declare-function instead of with-no-warnings.
10098 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10099 (byte-compile-output-docform): Re-add the print-circle bindings.
10100 (byte-compile-fix-header): Use #$ just because it's shorter.
10101 (byte-compile-output-file-form): Remove defun/defmacro.
10103 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10105 * simple.el (choose-completion): Remove now obsolete binding for
10108 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10110 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10111 in order to avoid "Stack overflow in regexp matcher".
10113 2012-05-31 Glenn Morris <rgm@gnu.org>
10115 * image.el: For clarity, call imagemagick-register-types at
10116 top-level, rather than relying on a custom :initialize.
10117 (imagemagick-types-enable): New option. (Bug#11557)
10118 (imagemagick-filter-types): New function. (Bug#7406)
10119 (imagemagick-register-types): Use imagemagick-filter-types.
10120 If disabling support, remove elements altogether rather
10121 than using an impossible regexp.
10122 (imagemagick-types-inhibit): Give it the default init function.
10124 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10126 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10127 Handle arbitrary file name lengths (Bug#11585).
10129 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10131 * desktop.el (desktop-read): Clear previous and next buffers for
10132 all windows and bury *Messages* buffer (bug#11556).
10134 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10136 Add `declare' for `defun'. Align `defmacro's with it.
10137 * emacs-lisp/easy-mmode.el (define-minor-mode)
10138 (define-globalized-minor-mode): Don't autoload the var definitions.
10139 * emacs-lisp/byte-run.el: Use lexical-binding.
10140 (defun-declarations-alist, macro-declarations-alist): New vars.
10141 (defmacro, defun): Use them.
10142 (make-obsolete, define-obsolete-function-alias)
10143 (make-obsolete-variable, define-obsolete-variable-alias):
10145 (macro-declaration-function): Mark obsolete.
10146 * emacs-lisp/autoload.el: Use lexical-binding.
10147 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10149 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10151 * textmodes/ispell.el (ispell-with-no-warnings):
10153 (ispell-kill-ispell, ispell-change-dictionary):
10154 Use `called-interactively-p' for Emacs instead of obsolete
10157 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10159 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10160 (macro-declaration-function): Move var from C code.
10161 (macro-declaration-function): Define function with defalias.
10162 * emacs-lisp/macroexp.el (macroexpand-all-1):
10163 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10164 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10165 defun/defmacro any more.
10166 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10167 Provide fallback for unknown arglist.
10168 (byte-compile-arglist-warn): Change calling convention.
10169 (byte-compile-output-file-form): Move print-vars binding.
10170 (byte-compile-output-docform): Simplify accordingly.
10171 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10172 (byte-compile-defmacro-declaration): Remove.
10173 (byte-compile-file-form-defmumble): Generalize to defalias.
10174 (byte-compile-output-as-comment): Return byte-positions.
10175 Simplify callers accordingly.
10176 (byte-compile-lambda): Use `assert'.
10177 (byte-compile-defun, byte-compile-defmacro): Remove.
10178 (byte-compile-file-form-defalias):
10179 Use byte-compile-file-form-defmumble.
10180 (byte-compile-defalias-warn): Remove.
10182 2012-05-29 Stefan Merten <smerten@oekonux.de>
10184 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10185 possible. Fix authors. Improve comments. Improve loading of `cl'.
10187 (rst-mode-abbrev-table): Merge definition.
10188 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10189 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10191 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10193 * calendar/icalendar.el
10194 (icalendar-export-region): Export UID properly.
10196 2012-05-29 Leo Liu <sdl.web@gmail.com>
10197 * calendar/icalendar.el (icalendar-import-format):
10198 Add `icalendar-import-format-uid' (Bug#11525).
10199 (icalendar-import-format-uid): New.
10200 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10203 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10205 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10206 different alternative patterns.
10207 (pcase-codegen): Be more careful to preserve identity.
10208 (pcase--u1): Don't forget to mark vars as used.
10210 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10211 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10212 (byte-compile-from-buffer): ...rather than here.
10214 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10215 functions from byte-compile-function-environment.
10217 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10219 * window.el (window-deletable-p): Avoid deleting the root window
10220 of a frame with an active minibuffer.
10222 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10224 * simple.el (choose-completion): Use quit-window (Bug#11567).
10226 2012-05-29 Chong Yidong <cyd@gnu.org>
10228 * whitespace.el (whitespace-cleanup): Fix usage of
10229 whitespace-empty-at-bob-regexp (Bug#11492).
10231 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10233 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10234 revert (Bug#11488).
10236 2012-05-29 Juri Linkov <juri@jurta.org>
10238 * isearch.el (isearch-mode-map): Bind `M-s _' to
10239 `isearch-toggle-symbol'. Bind `M-s c' to
10240 `isearch-toggle-case-fold'.
10241 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10242 (isearch-forward): Add `M-s _' to the docstring.
10243 (isearch-forward-symbol, isearch-toggle-case-fold)
10244 (isearch-symbol-regexp): New functions. (Bug#11381)
10246 2012-05-29 Juri Linkov <juri@jurta.org>
10248 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10249 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10250 a function, call it to get the regexp.
10251 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10252 property `isearch-message-prefix' instead of the string "word ".
10253 (isearch-search-fun-default): For the case of `isearch-word',
10254 return a lambda that calls re-search-forward/re-search-backward
10255 with a regexp returned by `word-search-regexp' or by the function
10258 2012-05-29 Juri Linkov <juri@jurta.org>
10260 * isearch.el (isearch-search-fun-default): New function.
10261 (isearch-search-fun): Move default part to the new function
10262 `isearch-search-fun-default'.
10263 (isearch-search-fun-function): Set the default value to
10264 `isearch-search-fun-default'. (Bug#11381)
10266 * comint.el (comint-history-isearch-end):
10267 Use `isearch-search-fun-default'.
10268 (comint-history-isearch-search): Use `isearch-search-fun-default'
10269 and remove spacial case for `isearch-word'.
10270 (comint-history-isearch-wrap): Remove spacial case for
10273 * hexl.el (hexl-isearch-search-function):
10274 Use `isearch-search-fun-default'.
10276 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10277 Use `word-search-regexp' for `isearch-word'.
10279 * misearch.el (multi-isearch-search-fun):
10280 Use `isearch-search-fun-default'.
10282 * simple.el (minibuffer-history-isearch-search):
10283 Use `isearch-search-fun-default' and remove spacial case for
10285 (minibuffer-history-isearch-wrap): Remove spacial case for
10288 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10289 Remove spacial case for `isearch-word'.
10290 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10292 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10294 Decrease XEmacs incompatibilities.
10295 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10296 Use `string-match'.
10297 (flyspell-delete-region-overlays): Use alternative definition for
10299 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10300 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10301 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10302 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10303 `define-obsolete-face-alias' under XEmacs, but old method.
10305 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10306 `with-no-warnings' definition or Emacs alias.
10307 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10308 (ispell-word): Do not use `region-p' if XEmacs.
10310 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10312 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10313 Check for `ispell-dictionary-base-alist' instead of full
10314 `ispell-dictionary-alist'.
10315 (ispell-init-process): Show spellchecker when starting new Ispell
10318 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10320 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10321 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10323 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10325 * version.el (motif-version-string, gtk-version-string)
10326 (ns-version-string): Declare.
10328 2012-05-27 Juri Linkov <juri@jurta.org>
10330 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10331 after the `eval-defun-1' specialcaseing
10332 like in `edebug-eval-defun' (bug#10181).
10334 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10335 like in `eval-defun-1'.
10337 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10339 * mail/sendmail.el (mail-yank-region):
10340 Recognize rmail-yank-current-message in addition to insert-buffer.
10341 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10342 a *mail* buffer created through rmail-start-mail with sendmail as
10345 2012-05-27 Chong Yidong <cyd@gnu.org>
10347 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10348 Default to 256 (Bug#11267).
10350 * help.el (describe-mode): Doc fix.
10352 2012-05-26 Glenn Morris <rgm@gnu.org>
10354 * w32-fns.el (w32-init-info): Remove.
10355 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10357 * info.el (info-initialize): For self-contained NS builds, put the
10358 included info/ directory at the front. (Bug#2791)
10360 * paths.el (Info-default-directory-list): Make it a defcustom,
10361 mainly so that we can use custom-initialize-delay.
10363 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10365 * subr.el (buffer-has-markers-at): Mark obsolete.
10367 * subr.el (lambda): Use declare.
10369 * emacs-lisp/lisp-mode.el (lambda):
10370 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10372 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10374 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10376 2012-05-26 Glenn Morris <rgm@gnu.org>
10378 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10380 2012-05-25 Glenn Morris <rgm@gnu.org>
10382 * paths.el: Remove no-byte-compile.
10383 * loadup.el: No need to load paths.el uncompiled.
10385 * image.el (imagemagick-types-inhibit): Doc fix.
10387 * version.el: Remove no-byte-compile and associated formatting.
10388 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10389 is ancient code from when there was an "inc-vers.el".
10391 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10393 * progmodes/gdb-mi.el: Minor style changes.
10394 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10395 Turn into minor modes.
10396 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10397 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10398 (gdb-shell): Remove unneeded let-binding.
10399 (gdb-get-many-fields): Eliminate O(n²) behavior.
10401 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10403 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10404 platforms that don't link in fontset.c.
10406 2012-05-25 Juri Linkov <juri@jurta.org>
10408 Use the same diff color scheme as in modern VCSes (bug#10181).
10410 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10411 to avoid confusion with `diff-added' that now uses green colors.
10412 (diff-removed): Use shades of red.
10413 (diff-added): Use shades of green.
10414 (diff-changed): Leave just the yellow color.
10415 (diff-use-changed-face): New variable.
10416 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10417 how to highlight context diff changes.
10418 (diff-refine-change): Use shades of yellow.
10419 (diff-refine-removed): New face that uses shades of red.
10420 (diff-refine-added): New face that uses shades of green.
10421 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10422 `diff-refine-removed' in the call to `smerge-refine-subst'
10423 depending on the value of `diff-use-changed-face'.
10425 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10426 (smerge-other): Use shades of green.
10427 (smerge-base): Use shades of yellow.
10428 (smerge-refined-change): Empty face.
10429 (smerge-refined-removed): New face that uses shades of red.
10430 (smerge-refined-added): New face that uses shades of green.
10431 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10432 args `props-r' and `props-a', and use them. Doc fix.
10433 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10434 on its value use different faces `smerge-refined-change',
10435 `smerge-refined-removed', `smerge-refined-added' in the call to
10436 `smerge-refine-subst'.
10438 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10439 Add face condition `min-colors 88' with shades of red.
10440 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10441 `min-colors 88' with shades of green.
10442 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10443 `min-colors 88' with shades of yellow.
10445 2012-05-24 Glenn Morris <rgm@gnu.org>
10447 * paths.el (prune-directory-list, remote-shell-program): Move to...
10448 * files.el (prune-directory-list, remote-shell-program): ...here.
10449 For the latter, delay initialization, prefer ssh, just search PATH.
10451 * paths.el (term-file-prefix): Move to faces.el (the only user).
10452 * faces.el (term-file-prefix): Move here, make it a defcustom.
10454 * paths.el (news-directory, news-path, news-inews-program):
10455 Move to gnus/nnspool.el.
10457 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10459 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10460 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10461 Make the latter a defcustom, with a delayed initialization.
10463 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10464 These were deleted from Gnus itself late 2010.
10466 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10468 * progmodes/which-func.el (which-func-ff-hook):
10469 Check against user-error, not error.
10471 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10472 cl-specs.el, which no longer exists.
10474 2012-05-22 Glenn Morris <rgm@gnu.org>
10476 * info.el (info-emacs-bug): New command.
10477 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10478 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10480 2012-05-21 Glenn Morris <rgm@gnu.org>
10482 * makefile.w32-in (update-subdirs-SH):
10483 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10485 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10487 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10489 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10490 Simplify Maven regexp, and make sure the file can't start with a space
10493 2012-05-21 Glenn Morris <rgm@gnu.org>
10495 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10496 Scrap superfluous subshells.
10498 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10500 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10501 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10503 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10505 * calc/calc.el (calc-ensure-consistent-units): New variable.
10507 * calc/calc-units.el (math-consistent-units-p)
10508 (math-check-unit-consistency): New functions.
10509 (calc-quick-units, calc-convert-units):
10510 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10512 (calc-extract-units): Fix typo.
10514 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10516 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10518 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10519 (flyspell-default-deplacement-commands): Don't spell check after
10520 repeated window/frame switches (e.g. triggered by mouse-movement).
10521 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10522 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10523 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10524 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10525 Remove unused vars.
10526 (flyspell-get-casechars, flyspell-get-not-casechars):
10527 Simplify; Don't bother removing a ] just to add it back.
10528 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10530 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10532 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10534 (math-function-table): Add support for more C functions.
10536 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10538 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10539 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10540 Protect delay handling for otherchars against empty otherchars.
10542 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10544 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10545 their respective macro declarations.
10546 * skeleton.el (define-skeleton):
10547 * progmodes/compile.el (define-compilation-mode):
10548 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10549 (define-ibuffer-filter):
10550 * emacs-lisp/generic.el (define-generic-mode):
10551 * emacs-lisp/easy-mmode.el (define-minor-mode)
10552 (define-globalized-minor-mode):
10553 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10554 * emacs-lisp/byte-run.el (defsubst):
10555 * custom.el (deftheme): Add doc-string metadata.
10557 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10559 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10561 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10563 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10565 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10566 * emacs-lisp/cl-macs.el: Idem.
10567 * emacs-lisp/cl-specs.el: Remove.
10569 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10571 Minor renaming of internal CL functions and variables.
10572 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10573 (cl--position): Rename from cl-position.
10574 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10575 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10576 (cl--random-state): Rename from *random-state*.
10578 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10580 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10581 parens around the arg list (bug#11499).
10583 2012-05-17 Juri Linkov <juri@jurta.org>
10585 * isearch.el (word-search-regexp, word-search-backward)
10586 (word-search-forward, word-search-backward-lax)
10587 (word-search-forward-lax): Move functions from search.c
10588 (bug#10145, bug#11381).
10590 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10592 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10593 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10594 Delay for otherchars as for normal word components.
10596 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10598 * minibuffer.el (completion--sifn-requote): Fix last change.
10599 (minibuffer-local-must-match-filename-map):
10600 Move define-obsolete-variable-alias before its var.
10602 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10604 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10606 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10608 (completion--string-equal-p): New function.
10609 (completion--twq-all): Use it to get better assertion failure data.
10611 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10612 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10613 (shell--requote-argument): New functions.
10614 (shell-completion-vars): Use them.
10615 (shell--parse-pcomplete-arguments): Rename from
10616 shell-parse-pcomplete-arguments.
10617 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10618 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10619 Obey comint-file-name-quote-list.
10621 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10622 (smie-indent-keyword): Use it.
10624 2012-05-14 Stefan Merten <smerten@oekonux.de>
10626 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10628 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10630 * net/rlogin.el (rlogin-mode-map): Fix last change.
10632 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10634 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10635 the following \r\n using a single `process-send-string', since the
10636 Lotus SMTP server refuses to accept any commands if they are sent
10637 with two `process-send-string's (Bug#11444).
10639 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10641 * shell.el (shell-parse-pcomplete-arguments):
10642 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10644 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10646 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10647 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10648 (image-transform-width, image-transform-fit-width): New functions.
10649 (image-transform-properties): Use them.
10650 (image-transform-check-size): New function.
10651 (image-toggle-display-image): Use it (for testing).
10652 (image-transform-set-rotation): Reduce angle mod 360.
10653 Delete obsolete comment.
10655 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10657 * image-mode.el: Fix scaling (bug#11399).
10658 (image-transform-resize): Doc fix.
10659 (image-transform-properties): Default scale is 1 and height should
10662 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10664 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10665 than hard-coding `car', to fix misbehavior when moving forward.
10667 2012-05-13 Chong Yidong <cyd@gnu.org>
10669 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10670 (tabulated-list-entries, tabulated-list-padding)
10671 (tabulated-list-sort-key): Make permanent-local.
10673 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10674 (electric-buffer-list): Put electric buffer menu
10675 command descriptions in this docstring, instead of the docstring
10676 of electric-buffer-menu-mode. Code cleanups.
10677 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10678 Electric-buffer-menu-mode.
10679 (electric-buffer-update-highlight): Minor code cleanup.
10681 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10683 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10686 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10688 Move define-obsolete-variable-alias before the var's definition.
10689 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10690 * tooltip.el (tooltip-hook):
10691 * textmodes/reftex-toc.el (reftex-toc-map):
10692 * textmodes/reftex-sel.el (reftex-select-label-map)
10693 (reftex-select-bib-map):
10694 * textmodes/reftex-index.el (reftex-index-map)
10695 (reftex-index-phrases-map):
10696 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10697 * progmodes/meta-mode.el (meta-mode-map):
10698 * novice.el (disabled-command-hook):
10699 * loadhist.el (unload-hook-features-list):
10700 * frame.el (blink-cursor):
10701 * files.el (find-file-not-found-hooks, write-file-hooks)
10702 (write-contents-hooks):
10703 * emulation/tpu-edt.el (GOLD-map):
10704 * emacs-lock.el (emacs-lock-from-exiting):
10705 * emacs-lisp/generic.el (generic-font-lock-defaults):
10706 * emacs-lisp/chart.el (chart-map):
10707 * dos-fns.el (register-name-alist):
10708 * dired-x.el (dired-omit-files-p):
10709 * desktop.el (desktop-enable):
10710 * cus-edit.el (custom-mode-hook):
10711 * buff-menu.el (buffer-menu-mode-hook):
10712 * bookmark.el (bookmark-read-annotation-text-func)
10713 (bookmark-exit-hooks):
10714 * allout.el (allout-mode-deactivate-hook)
10715 (allout-exposure-change-hook, allout-structure-added-hook)
10716 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10717 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10718 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10719 comes before the corresponding variable's definition.
10721 2012-05-12 Chong Yidong <cyd@gnu.org>
10723 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10724 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10725 (Buffer-menu-mode-map): Bind it.
10726 (Buffer-menu--pretty-name): Add a mouse-face property.
10728 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10730 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10731 (prolog-upper-case-string, prolog-lower-case-string)
10732 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10733 (prolog-use-smie, prolog-smie-grammar): New vars.
10734 (prolog-smie-forward-token, prolog-smie-backward-token)
10735 (prolog-smie-rules): New funs.
10736 (prolog-comment-indent): Remove.
10737 (prolog-mode-variables): Use default comment indentation instead.
10739 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10740 (prolog-mode): Don't call them any more.
10741 (prolog-electric-colon, prolog-electric-dash)
10742 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10744 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10746 * minibuffer.el (completion--twq-all): Again, allow case differences.
10748 * term.el: Move keymap initialization code to be more idiomatic.
10749 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10750 (term-terminal-menu): Move initialization into declaration.
10751 (term-escape-char): Let the user set it in her .emacs.
10753 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10754 Provide SMIE-based indentation (not enabled by default yet).
10755 (sh-mode-map): Don't bind electric keys.
10756 Use electric-pair-mode instead of skeleton-pair.
10757 (sh-assignment-regexp): Fit within 80 columns.
10758 (sh-indent-supported): Specify actual shell name instead of boolean.
10759 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10760 (sh-maybe-here-document): Use it. Make obsolete.
10761 (sh-electric-here-document-mode) New minor mode.
10762 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10763 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10764 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10765 (sh-smie-rc-grammar, sh-use-smie): New vars.
10766 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10767 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10768 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10769 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10770 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10771 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10772 (sh-set-shell): Use smie-setup if requested.
10774 * term.el (term-set-escape-char): Properly set term-escape-char.
10775 See http://stackoverflow.com/questions/10524656.
10777 2012-05-10 Chong Yidong <cyd@gnu.org>
10779 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10780 Use url-generic-parse-url, and handle host names and Windows
10781 filenames properly.
10782 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10783 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10784 URL schemes to work on.
10785 (ffap--toggle-read-only): New function.
10786 (ffap-read-only, ffap-read-only-other-window)
10787 (ffap-read-only-other-frame): Use it.
10788 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10789 necessary for ffap-url-unwrap-remote.
10791 2012-05-10 Dave Abrahams <dave@boostpro.com>
10793 * cus-start.el (create-lockfiles): Add it.
10795 2012-05-09 Chong Yidong <cyd@gnu.org>
10797 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10798 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10800 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10802 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10804 2012-05-09 Chong Yidong <cyd@gnu.org>
10806 * ansi-color.el (ansi-color-process-output): Check for validity of
10807 comint-last-output-start before using it. This avoids a bad
10808 interaction with gdb-mi's input/output buffer.
10810 2012-05-09 Glenn Morris <rgm@gnu.org>
10812 * files.el (dir-locals-read-from-file):
10813 Mention dir-locals in any error message.
10815 2012-05-09 Chong Yidong <cyd@gnu.org>
10817 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10818 package (Bug#11410).
10820 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10821 variables into description.
10823 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10825 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10826 shell-delimiter-argument-list (bug#11348).
10827 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10829 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10831 * textmodes/rst.el: Silence byte-compiler warnings.
10832 (rst-re-alist, rst-reset-section-caches): Move around.
10833 (rst-re): Use `characterp', not `char-valid-p'.
10834 (font-lock-beg, font-lock-end): Declare.
10836 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10837 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10839 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10841 2012-05-08 Glenn Morris <rgm@gnu.org>
10843 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10845 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10847 * vc/log-edit.el: Add GNU coding standards highlighting.
10848 (log-edit-font-lock-gnu-style)
10849 (log-edit-font-lock-gnu-keywords): New vars.
10850 (log-edit-font-lock-keywords): New fun.
10851 (log-edit-mode): Don't fold case in font-lock.
10852 (log-edit-font-lock-keywords): Do not assume case-folding.
10854 * imenu.el: Misc cleanup. Make docstrings out of comments.
10855 Use lexical-binding.
10856 (imenu--index-alist, imenu--last-menubar-index-alist)
10857 (imenu-menubar-modified-tick): Use defvar-local.
10858 (imenu--split-menu): Remove unused var.
10859 (imenu--cleanup-seen): Declare as global.
10860 (imenu--cleanup): Use dolist.
10862 * subr.el (defvar-local): Add debug spec and doc-string position.
10864 2012-05-08 Glenn Morris <rgm@gnu.org>
10866 * language/burmese.el, language/cham.el, language/czech.el:
10867 * language/english.el, language/georgian.el, language/greek.el:
10868 * language/japanese.el, language/khmer.el, language/korean.el:
10869 * language/lao.el, language/misc-lang.el, language/romanian.el:
10870 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10871 * language/thai.el, language/utf-8-lang.el:
10872 Remove no-byte-compile setting.
10874 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10876 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10878 * progmodes/make-mode.el (makefile-browse):
10879 Remove unnecessary interactive. (Bug#11324)
10881 2012-05-07 Glenn Morris <rgm@gnu.org>
10883 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10885 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10887 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10889 * loadup.el: Preload newcomment.el.
10890 * newcomment.el: Move autoload-only code to toplevel.
10892 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10893 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10894 Handle new :right-align column property.
10895 (tabulated-list-print-col): Idem, plus use `display' text-property to
10896 try and preserve alignment for variable pitch fonts.
10898 2012-05-07 Chong Yidong <cyd@gnu.org>
10900 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10901 (tabulated-list-use-header-line): New var.
10902 (tabulated-list-init-header): Use it.
10903 (tabulated-list-print-fake-header): New function.
10904 (tabulated-list-print): Use it.
10905 (tabulated-list-sort-button-map): Add non-header-line commands.
10906 (tabulated-list-init-header): Add column name property to basic
10908 (tabulated-list-col-sort): Handle non-header-line button case.
10909 (tabulated-list--sort-by-column-name): Fix a corner case.
10911 * buff-menu.el (list-buffers--refresh):
10912 Handle Buffer-menu-use-header-line.
10914 2012-05-06 Chong Yidong <cyd@gnu.org>
10916 * buff-menu.el: Convert to Tabulated List mode.
10917 (Buffer-menu-buffer+size-width): Make obsolete.
10918 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10919 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10920 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10921 documentation into docstring of buffer-menu.
10922 (Buffer-menu-toggle-files-only): Add an informative message.
10923 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10924 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10925 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10926 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10927 (Buffer-menu-execute, Buffer-menu-select)
10928 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10929 (Buffer-menu-bury): Use Tabulated List machinery.
10930 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10931 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10933 (list-buffers--refresh): New function.
10934 (list-buffers-noselect): Use it.
10935 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10936 (Buffer-menu--pretty-file-name): New helper functions.
10938 * loadup.el: Preload tabulated-list.
10940 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10941 tabulated-list-sort-column.
10942 (tabulated-list-init-header): Add the initial aligning space even
10943 if tabulated-list-padding is zero.
10945 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10947 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10948 whose cdr is not a cons cell correctly (bug#11038).
10950 2012-05-06 Chong Yidong <cyd@gnu.org>
10952 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10953 Accept additional plist in column descriptors.
10954 (tabulated-list-init-header): Obey it.
10955 (tabulated-list-get-entry): New function.
10956 (tabulated-list-put-tag): Use it. Use string-width instead of
10958 (tabulated-list--column-number): New function.
10959 (tabulated-list-print): Use it.
10960 (tabulated-list-print-col): New function.
10961 Set `tabulated-list-column-name' property on each column's text.
10962 (tabulated-list-print-entry): Use it.
10963 (tabulated-list-delete-entry, tabulated-list-set-col):
10965 (tabulated-list-sort-column): New command (Bug#11337).
10967 * buff-menu.el (list-buffers): Move C-x C-b binding from
10968 buff-menu.el to bindings.el.
10970 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10971 :advertised-binding feature.
10973 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10975 * progmodes/compile.el (compilation-internal-error-properties):
10976 Calculate start position correctly when end-col is set but
10977 end-line is not (Bug#11382).
10979 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10981 * man.el (Man-unindent): Use text-property-default-nonsticky to
10982 prevent untabify from inheriting face properties (Bug#11408).
10984 2012-05-05 Stefan Merten <smerten@oekonux.de>
10986 * textmodes/rst.el: Major merge with upstream development up to
10987 Docutils SVN r7399 / rst.el V1.2.1.
10989 Clarify maintainership and authors.
10991 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10992 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10993 (rst-official-version, rst-official-cvs-rev, rst-version)
10994 (rst-package-emacs-version-alist): New functions and variables
10995 for version information.
10997 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10998 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10999 (rst-mode-syntax-table, rst-mode): New and corrected functions
11000 and variables representing reStructuredText features.
11002 (rst-re): New function for reStructuredText regexes. Use in
11005 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11006 (rst-mode-map): Rebind keys.
11008 (rst-mode-lazy, rst-font-lock-keywords)
11009 (rst-font-lock-extend-region)
11010 (rst-font-lock-extend-region-internal)
11011 (rst-font-lock-extend-region-extend)
11012 (rst-font-lock-find-unindented-line-limit)
11013 (rst-font-lock-find-unindented-line-match)
11014 (rst-adornment-level, rst-font-lock-adornment-level)
11015 (rst-font-lock-adornment-match)
11016 (rst-font-lock-handle-adornment-pre-match-form)
11017 (rst-font-lock-handle-adornment-matcher): Major revision of
11018 font-locking. Integrate with other code. Use `jit-lock-mode'.
11020 (rst-preferred-adornments, rst-adjust-hook)
11021 (rst-new-adornment-down, rst-preferred-bullets)
11022 (rst-preferred-bullets, rst-indent, rst-indent-width)
11023 (rst-indent-field, rst-indent-literal-normal)
11024 (rst-indent-literal-minimized, rst-indent-comment): Change,
11025 extend and improve customization.
11027 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11028 (rst-normalize-cursor-position, rst-get-decoration)
11029 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11030 (rst-rstrip, rst-toc-insert-find-delete-contents)
11031 (rst-shift-fill-region, rst-compute-bullet-tabs)
11032 (rst-debug-print-tabs, rst-debug-mark-found)
11033 (rst-shift-region-guts, rst-shift-region-right)
11034 (rst-shift-region-left, rst-use-char-classes)
11035 (rst-font-lock-keywords-function)
11036 (rst-font-lock-indentation-point)
11037 (rst-font-lock-find-unindented-line-begin)
11038 (rst-font-lock-find-unindented-line-end)
11039 (rst-font-lock-find-unindented-line)
11040 (rst-font-lock-adornment-point, rst-font-lock-level)
11041 (rst-adornment-level-alist): Remove functions and variables.
11043 (rst-compare-adornments, rst-get-adornment-match)
11044 (rst-suggest-new-adornment, rst-get-adornments-around)
11045 (rst-adornment-complete-p, rst-get-next-adornment)
11046 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11047 (rst-straighten-adornments): Standardize function names to
11048 use "adornment" instead of "decoration". Correct callers.
11049 Similar standardizing in many places.
11051 (rst-update-section, rst-adjust, rst-promote-region)
11052 (rst-enumerate-region, rst-bullet-list-region)
11053 (rst-repeat-last-character): Correct use of `interactive'.
11055 (rst-classify-adornment, rst-find-all-adornments)
11056 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11057 (rst-find-leftmost-column, rst-repeat-last-character):
11058 Refactor functions.
11060 (rst-find-title-line, rst-reset-section-caches)
11061 (rst-get-adornments-around, rst-adjust-adornment-work)
11062 (rst-arabic-to-roman, rst-roman-to-arabic)
11063 (rst-insert-list-pos, rst-insert-list-new-item)
11064 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11067 (rst-all-sections, rst-section-hierarchy)
11068 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11071 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11072 configuration instead of only buffer. Change where necessary.
11074 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11075 (rst-shift-region, rst-adaptive-fill): New functions for
11076 indentation and filling.
11078 (rst-comment-line-break, rst-comment-indent)
11079 (rst-comment-insert-comment, rst-comment-region)
11080 (rst-uncomment-region): New functions for handling comments.
11082 (rst-compile): Quote shell arguments.
11084 (rst-compile-pdf-preview, rst-compile-slides-preview):
11085 Delete temporary files after use.
11087 2012-05-05 Glenn Morris <rgm@gnu.org>
11089 * calendar/cal-html.el: Optionally include holidays in the output.
11090 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11091 (cal-html-holidays): New option.
11092 (cal-html-css-default): Add holiday entry.
11093 (holiday-in-range): Autoload it.
11094 (cal-html-htmlify-entry): Add optional class argument.
11095 (cal-html-htmlify-list): Add optional holidays argument.
11096 (cal-html-insert-agenda-days): Include holidays in the output.
11097 (cal-html-one-month): Maybe include holidays.
11099 * calendar/holidays.el (holiday-in-range):
11100 Move here from cal-tex-list-holidays.
11101 * calendar/cal-tex.el (cal-tex-list-holidays):
11102 Make it an obsolete alias for holiday-in-range. Update all callers.
11104 2012-05-05 Chong Yidong <cyd@gnu.org>
11106 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11109 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11111 * files.el (file-auto-mode-skip): New var.
11112 (set-auto-mode-1): Use it.
11114 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11116 * repeat.el: Use lexical-binding.
11117 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11118 (repeat-undo-count): Remove.
11120 * progmodes/octave-mod.el (octave-abbrev-start):
11121 * progmodes/f90.el (f90-abbrev-start):
11122 * face-remap.el (text-scale-adjust):
11123 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11125 * emacs-lisp/pcase.el (pcase--let*): New function.
11126 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11128 (pcase--split-pred): Be more clever about ruling out overlap between
11129 a predicate and some constant pattern.
11130 (pcase--q1): Use `null' instead of (eq foo nil).
11132 * subr.el (setq-local, defvar-local): New macros.
11133 (kbd): Redefine as an alias.
11134 (with-selected-window): Leave unrelated frames alone.
11135 (set-temporary-overlay-map): New function.
11137 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11139 * subr.el (user-error): New function.
11140 * window.el (switch-to-buffer):
11141 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11142 (smerge-match-conflict):
11143 * simple.el (previous-matching-history-element)
11144 (next-matching-history-element, goto-history-element, undo-more)
11146 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11147 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11148 (next-file, tags-loop-scan, list-tags, complete-tag):
11149 * progmodes/compile.el (compilation-loop):
11150 * mouse.el (mouse-minibuffer-check):
11151 * man.el (Man-bgproc-sentinel, Man-goto-page):
11152 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11153 (Info-history-forward, Info-follow-reference, Info-menu)
11154 (Info-extract-menu-item, Info-extract-menu-counting)
11155 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11156 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11157 (Info-next-reference, Info-prev-reference, Info-index)
11158 (Info-index-next, Info-follow-nearest-node)
11159 (Info-copy-current-node-name):
11160 * imenu.el (imenu--make-index-alist)
11161 (imenu-default-create-index-function, imenu-add-to-menubar):
11162 * files.el (basic-save-buffer, recover-file):
11163 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11164 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11165 (checkdoc-message-text, checkdoc-defun):
11166 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11167 * cus-edit.el (customize-changed-options, customize-rogue)
11168 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11169 (custom-variable-mark-to-reset-standard)
11170 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11172 * completion.el (check-completion-length):
11173 * comint.el (comint-search-arg)
11174 (comint-previous-matching-input-string-position)
11175 (comint-previous-matching-input)
11176 (comint-replace-by-expanded-history-before-point, comint-send-input)
11177 (comint-copy-old-input, comint-backward-matching-input)
11178 (comint-goto-process-mark, comint-set-process-mark):
11179 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11180 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11182 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11184 * dabbrev.el (dabbrev--ignore-case-p): New function.
11185 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11188 * files.el (automount-dir-prefix): Mark as obsolete.
11190 2012-05-04 Glenn Morris <rgm@gnu.org>
11192 * patcomp.el, play/bruce.el: Move to obsolete/.
11194 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11196 Fix minor Y10k bugs.
11197 * arc-mode.el (archive-unixdate):
11198 * autoinsert.el (auto-insert-alist):
11199 * calc/calc-forms.el (math-this-year):
11200 * emacs-lisp/copyright.el (copyright-current-year)
11201 (copyright-update-year, copyright):
11202 * tar-mode.el (tar-clip-time-string):
11203 * time.el (display-time-update):
11204 Don't assume years have 4 digits.
11206 2012-05-04 Chong Yidong <cyd@gnu.org>
11208 * dos-w32.el (file-name-buffer-file-type-alist)
11209 (direct-print-region-use-command-dot-com):
11210 * ffap.el (ffap-menu-regexp):
11211 * find-file.el (ff-special-constructs):
11212 * follow.el (follow-debug):
11213 * forms.el (forms--debug):
11214 * iswitchb.el (iswitchb-all-frames):
11215 * ido.el (ido-all-frames):
11216 * emacs-lisp/timer.el (timer-max-repeats):
11217 * mail/feedmail.el (feedmail-mail-send-hook)
11218 (feedmail-mail-send-hook-queued):
11219 * mail/footnote.el (footnote-signature-separator):
11220 * mail/mailabbrev.el (mail-alias-separator-string)
11221 (mail-abbrev-mode-regexp):
11222 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11223 * progmodes/idlwave.el (idlwave-libinfo-file)
11224 (idlwave-default-completion-case-is-down)
11225 (idlwave-library-routines): Convert defvars to defcustoms.
11227 * mail/rmail.el (rmail-decode-mime-charset):
11228 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11229 (idlwave-shell-fix-inserted-breaks)
11230 (idlwave-shell-activate-alt-keybindings)
11231 (idlwave-shell-use-breakpoint-glyph):
11232 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11234 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11236 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11238 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11240 * progmodes/verilog-mode.el (font-lock-keywords):
11241 Fix mis-highligting auto. Reported by Craig Barner.
11242 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11243 defines from global name space. Reported by Dan Dever.
11244 (verilog-auto-reset, verilog-auto-reset-widths)
11245 (verilog-auto-tieoff): Support using unbased numbers for
11246 AUTORESET and AUTOTIEOFF.
11247 (verilog-submit-bug-report): Update variable list.
11248 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11249 parenthesis from not matching. Reported by Michael Rytting.
11250 (verilog-auto-template-lint): Fix hash error when linting modules
11251 with no used templates.
11252 (verilog-warn, verilog-warn-error)
11253 (verilog-warn-fatal): When non-interactive report multiple
11254 warnings before exiting. Suggested by Brad Dobbie.
11255 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11256 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11257 to report unused template errors. Reported by Brad Dobbie.
11258 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11259 nets, bug438. Reported by Vns Blore.
11260 (verilog-auto-inout-module, verilog-auto-reg)
11261 (verilog-read-decls, verilog-read-sub-decls-sig)
11262 (verilog-signals-edit-wire-reg, verilog-signals-with):
11263 Fix passing of Verilog data types in ANSI input/output ports
11264 such as "output logic" into the AUTOs. Special case "wire" and
11265 "reg" for backwards compatibility presuming Verilog 2001.
11266 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11267 (verilog-preprocess): Fix replication of preprocess output.
11268 Reported by Brad Dobbie.
11269 (verilog-auto-inst-interfaced-ports):
11270 Create verilog-auto-inst-interfaced-ports, bug429.
11271 Reported by Julian Gorfajn.
11272 (verilog-after-save-font-hook)
11273 (verilog-before-save-font-hook): New variable.
11274 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11275 (verilog-save-font-mods): Wrap disabling fontification, reported
11277 (verilog-do-indent, verilog-pretty-declarations-auto)
11278 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11279 Reported by Pierre-David Pfister.
11280 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11281 of class declarations, bug292. Reported by Kevin Heilman.
11282 (verilog-read-decls): Fix 'parameter type' not appearing in
11283 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11284 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11285 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11286 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11287 Reported by David Kravitz.
11289 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11291 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11292 assignment with tests in ifs and for loops.
11293 (verilog-extended-complete-re, verilog-complete-reg): Change so
11294 that DPI inport functions don't look like fuction declarations.
11295 (verilog-pretty-expr): Don't line up assignment
11296 operations to the test and increment in if and for loops
11297 (verilog-extended-complete-re, verilog-complete-reg): Change so
11298 that DPI inport functions don't look like fuction declarations.
11300 2012-05-03 Kenichi Handa <handa@m17n.org>
11302 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11303 decoding, and show a warning message without signaling an error
11306 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11308 * emacs-lisp/bytecomp.el
11309 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11310 since cconv.el might have introduced :fun-body, internal-make-closure,
11311 and friends for bytecomp to handle (bug#11391).
11312 * custom.el (defcustom): Avoid ((λ ..) ..).
11314 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11316 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11318 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11320 * notifications.el (dbus-debug):
11321 * term/linux.el (gpm-mouse-enable):
11322 * term/screen.el (xterm-register-default-colors): Declare.
11324 2012-05-02 Chong Yidong <cyd@gnu.org>
11326 * cus-start.el (gc-cons-percentage, exec-suffixes)
11327 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11328 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11329 (make-cursor-line-fully-visible, void-text-area-pointer)
11330 (font-list-limit): Add customization data.
11332 * allout.el (allout-exposure-change-functions)
11333 (allout-structure-added-functions)
11334 (allout-structure-deleted-functions)
11335 (allout-structure-shifted-functions): Rename abnormal hooks from
11336 *-hook, and convert to defcustoms.
11337 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11338 Convert to defcustoms.
11339 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11341 * allout-widgets.el: Hook callers changed.
11343 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11345 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11346 the yanked message in preference to the default value of
11347 buffer-file-coding-system.
11349 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11351 * window.el (display-buffer--action-function-custom-type):
11354 2012-05-02 Alan Mackenzie <acm@muc.de>
11356 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11358 2012-05-01 Glenn Morris <rgm@gnu.org>
11360 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11362 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11364 * cus-edit.el (custom-variable-documentation): Simplify with format.
11366 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11367 Stefan Monnier <monnier@iro.umontreal.ca>
11369 * simple.el (suggest-key-bindings, execute-extended-command):
11370 Move from keyboard.c.
11372 2012-05-01 Chong Yidong <cyd@gnu.org>
11374 * follow.el: Eliminate advice.
11375 (set-process-filter, process-filter, sit-for): Advice deleted.
11376 (follow-mode-off-hook): Obsolete hook removed.
11377 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11379 (follow-auto): Use a :set function.
11380 (follow-mode): Rewritten. Don't advise process filters.
11381 (follow-switch-to-current-buffer-all, follow-scroll-up)
11382 (follow-scroll-down): Assume follow-mode is bound.
11383 (follow-comint-scroll-to-bottom)
11384 (follow-align-compilation-windows): New functions.
11385 (follow--window-sorter): New function.
11386 (follow-all-followers): Use it to explicitly sort windows by their
11387 positions; don't make assumptions about next-window order.
11388 (follow-windows-start-end, follow-delete-other-windows-and-split)
11389 (follow-calc-win-start): Doc fix.
11390 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11391 vertical-motion unnecessarily.
11392 (follow-adjust-window): New function.
11393 (follow-post-command-hook): Use it.
11394 (follow-call-set-process-filter, follow-call-process-filter)
11395 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11396 (follow-stop-intercept-process-output, follow-generic-filter):
11398 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11399 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11400 New functions, replacing advice on scroll-bar-* commands.
11401 (follow-mwheel-scroll): New function (Bug#4112).
11403 * comint.el (comint-adjust-point): New function.
11404 (comint-postoutput-scroll-to-bottom): Use it.
11405 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11407 2012-05-01 Glenn Morris <rgm@gnu.org>
11409 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11410 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11411 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11412 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11413 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11414 Remove no-byte-compile setting.
11416 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11418 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11419 all-completions code to not return a number in the last cdr.
11421 2012-04-30 Leo Liu <sdl.web@gmail.com>
11423 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11426 2012-04-29 Chong Yidong <cyd@gnu.org>
11428 * follow.el (follow-calc-win-end): Rewrite to handle partial
11429 screen lines correctly (Bug#8390).
11430 (follow-avoid-tail-recenter): Minor cleanup.
11432 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11434 Avoid the obsolete `assoc' package.
11435 * speedbar.el (speedbar-refresh): Avoid adelete.
11436 (speedbar-file-lists): Simplify and avoid aput.
11437 * man.el (Man--sections, Man--refpages): New vars, replacing
11438 Man-sections-alist and Man-refpages-alist.
11439 (Man-build-section-alist, Man-build-references-alist):
11440 Use them; avoid aput.
11441 (Man--last-section, Man--last-refpage): New vars.
11442 (Man-follow-manual-reference): Use them.
11443 Use the `default' arg of completing-read.
11444 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11446 2012-04-27 Chong Yidong <cyd@gnu.org>
11448 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11450 * startup.el (x-apply-session-resources): New function.
11452 * term/ns-win.el (ns-initialize-window-system):
11453 * term/w32-win.el (w32-initialize-window-system):
11454 * term/x-win.el (x-initialize-window-system): Use it to properly
11455 set menu-bar-mode and other vars from X resources, even if the
11456 initial frame is not a window-system frame (Bug#2299).
11458 * subr.el (read-key): Avoid running filter function when setting
11459 up temporary tool bar entries (Bug#9922).
11461 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11463 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11466 2012-04-27 Chong Yidong <cyd@gnu.org>
11468 * select.el (xselect--encode-string): New function, split from
11469 xselect-convert-to-string.
11470 (xselect-convert-to-string): Use it.
11471 (xselect-convert-to-filename, xselect-convert-to-os)
11472 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11473 returned strings are properly encoded (Bug#11315).
11475 2012-04-27 Chong Yidong <cyd@gnu.org>
11477 * simple.el (delete-active-region): Move to killing custom group.
11479 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11481 * progmodes/which-func.el (which-func-current): Quote %
11482 characters for mode-line processing.
11484 2012-04-27 Chong Yidong <cyd@gnu.org>
11486 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11487 reaching eob (Bug#11286).
11489 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11491 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11492 (gdb): Make it buffer-local and init to zero.
11493 (gdb-control-commands-regexp): New variable.
11494 (gdb-send): Don't wrap in "-interpreter-exec console" if
11495 gdb-control-level is positive. Increment gdb-control-level
11496 whenever the command matches gdb-control-commands-regexp, and
11497 decrement it each time the command is "end". (Bug#11279)
11499 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11501 * window.el (adjust-window-trailing-edge, enlarge-window)
11502 (shrink-window, window-resize):
11503 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11504 windows (Bug#11276).
11506 2012-04-27 Chong Yidong <cyd@gnu.org>
11508 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11509 fix "missing prefix" warning. All callers changed.
11511 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11513 * emacs-lisp/assoc.el: Move to obsolete/.
11515 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11517 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11519 * term/ns-win.el (ns-define-service):
11520 * progmodes/pascal.el (pascal-goto-defun):
11521 * progmodes/js.el (js--read-tab):
11522 * progmodes/etags.el (tags-lazy-completion-table):
11523 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11524 * emacs-lisp/ewoc.el (ewoc--wrap):
11525 * emacs-lisp/assoc.el (aput, adelete, amake):
11526 * doc-view.el (doc-view-convert-current-doc):
11527 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11529 2012-04-26 Chong Yidong <cyd@gnu.org>
11531 * image.el (image-type-from-buffer): Only return supported image
11534 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11535 value, for symmetry with diff-end-of-hunk.
11536 (diff-split-hunk, diff-find-source-location)
11537 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11538 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11539 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11540 compute the relevant hunk or file properly (Bug#6005).
11541 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11543 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11552 * vc/vc.el: Replace lexical-let by lexical-binding.
11553 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11554 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11555 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11557 2012-04-26 Chong Yidong <cyd@gnu.org>
11559 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11560 (diff-mode-shared-map): Bind it to / and [remap undo].
11562 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11563 (ediff-window-setup-function): Use it as the default, to set up
11564 windows based on whether the current frame is graphical (Bug#2138).
11565 (ediff-choose-window-setup-function-automatically): Make obsolete.
11567 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11569 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11571 * ffap.el: Remove old code for obsolete package.
11572 (ffap-complete-as-file-p): Remove.
11574 Use completion-table-with-quoting for comint and pcomplete.
11575 * comint.el (comint--unquote&requote-argument)
11576 (comint--unquote-argument, comint--requote-argument): New functions.
11577 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11578 (comint-quote-filename): Use regexp-opt-charset.
11579 (comint--common-suffix, comint--common-quoted-suffix)
11580 (comint--table-subvert): Remove.
11581 (comint-unquote-function, comint-requote-function): New vars.
11582 (comint--complete-file-name-data): Use them with
11583 completion-table-with-quoting.
11584 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11585 * pcomplete.el (pcomplete-arg-quote-list)
11586 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11587 (pcomplete-unquote-argument-function): Default to non-nil.
11588 (pcomplete-unquote-argument): Simplify.
11589 (pcomplete--common-quoted-suffix): Remove.
11590 (pcomplete-requote-argument-function): New var.
11591 (pcomplete--common-suffix): New function.
11592 (pcomplete-completions-at-point): Use completion-table-with-quoting
11593 and completion-table-subvert.
11595 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11596 (minibuffer--double-dollars): Preserve properties.
11597 (completion--sifn-requote): New function.
11598 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11600 * minibuffer.el: Add support for completion of quoted/escaped data.
11601 (completion-table-with-quoting, completion-table-subvert): New funs.
11602 (completion--twq-try, completion--twq-all): New functions.
11603 (completion--nth-completion): New function.
11604 (completion-try-completion, completion-all-completions): Use it.
11606 2012-04-25 Leo Liu <sdl.web@gmail.com>
11608 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11609 Use compilation-message if available to find real filename.
11611 2012-04-25 Chong Yidong <cyd@gnu.org>
11613 * vc/diff-mode.el (diff-setup-whitespace): New function.
11614 (diff-mode): Use it.
11616 * vc/diff.el (diff-sentinel):
11617 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11618 Whitespace mode variables based on diff style (Bug#8612).
11620 2012-04-25 Leo Liu <sdl.web@gmail.com>
11622 * progmodes/python.el (python-send-region): Add suffix .py to the
11625 * files.el (auto-mode-alist): Use javascript-mode instead.
11627 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11629 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11631 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11632 (soap-resolve-references-for-array-type): Hack to prevent self
11633 references, see Bug#9.
11634 (soap-parse-envelope): Report the contents of the 'detail' node
11635 when receiving a fault reply.
11636 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11638 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11639 (soap-inspect-simple-type): New function.
11641 * net/soap-client.el (soap-simple-type): New struct.
11642 (soap-default-xsd-types, soap-default-soapenc-types)
11643 (soap-decode-basic-type, soap-encode-basic-type):
11644 support unsignedInt and double basic types.
11645 (soap-resolve-references-for-simple-type)
11646 (soap-parse-simple-type, soap-encode-simple-type): New function.
11647 (soap-parse-schema): Parse xsd:simpleType declarations.
11649 * net/soap-client.el (soap-default-xsd-types)
11650 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11651 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11652 the local name of "soapenc:Array".
11653 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11654 decoding integer, byte and anyURI xsd types.
11656 2012-04-25 Chong Yidong <cyd@gnu.org>
11658 * cus-edit.el (custom-buffer-create-internal): Update header text.
11660 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11662 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11663 settings on 'system-type', not on 'window-system'. On MS-Windows,
11664 set interactive-mode on in GDB.
11666 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11668 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11669 (ruby-syntax-propertize-regexp): Remove.
11670 (ruby-syntax-propertize-function): Split regexp into chunks.
11671 Match following code directly.
11673 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11675 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11676 (ruby-syntax-propertize-regexp): New function.
11677 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11678 by a special keyword.
11680 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11681 (ruby-syntax-general-delimiters-goto-beg)
11682 (ruby-syntax-propertize-general-delimiters): New functions.
11683 (ruby-syntax-propertize-function): Use them to handle GDL.
11684 (ruby-font-lock-keywords): Move old handling of GDL...
11685 (ruby-font-lock-syntactic-keywords): .. to here.
11686 (ruby-calculate-indent): Adjust indentation for GDL.
11688 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11690 * notifications.el (top): Remove unneeded declarations.
11691 (notifications-specification-version): Change to "1.2".
11692 (notifications-interface, notifications-notify-method)
11693 (notifications-close-notification-method): Fix docstring.
11694 (notifications-get-capabilities-method): New defconst.
11695 (notifications-notify): Add :action-items, :resident and
11696 :transient hints. Change "image_data" to "image-data" and
11697 "image_path" to "image-path".
11698 (notifications-get-capabilities): New defun.
11700 2012-04-24 Leo Liu <sdl.web@gmail.com>
11702 * progmodes/python.el: Move hideshow setup to the end.
11704 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11706 * window.el (handle-select-window): Clear echo area since this is
11707 no more done by read_char (Bug#11304).
11709 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11711 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11712 and `/ M' to filter-derived-mode.
11713 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11714 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11715 (ibuffer-mark-by-mode): Use default rather than initial-input.
11716 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11718 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11720 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11721 (ibuffer-filter-by-derived-mode): New filter.
11722 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11724 2012-04-23 Andreas Politz <politza@fh-trier.de>
11726 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11728 2012-04-23 Chong Yidong <cyd@gnu.org>
11730 * cus-edit.el (customize-apropos, customize-apropos-options):
11731 Disable matching of non-option variables (Bug#11176).
11732 (customize-option, customize-option-other-window)
11733 (customize-changed-options): Doc fix.
11734 (customize-apropos-options, customize-apropos-faces)
11735 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11737 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11738 Fix word list splitting (Bug#11132).
11739 (apropos-symbol, apropos-keybinding, apropos-label)
11740 (apropos-property, apropos-function-button)
11741 (apropos-variable-button, apropos-misc-button): New faces.
11742 (apropos-symbol-face, apropos-keybinding-face)
11743 (apropos-label-face, apropos-property-face, apropos-match-face):
11744 Variables removed (Bug#8396).
11745 (apropos-library-button, apropos-format-plist, apropos-print)
11746 (apropos-print-doc, apropos-describe-plist): Callers changed.
11748 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11750 * net/xesam.el (xesam-mode-map): Use let-bound map in
11751 initialization. (Bug#11292)
11753 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11755 Preserve ispell session localwords when switching back to
11758 * textmodes/ispell.el (ispell-buffer-session-localwords):
11759 New buffer-local variable to hold buffer session localwords.
11760 (ispell-kill-ispell): Add option 'clear to delete session
11762 (ispell-command-loop, ispell-change-dictionary)
11763 (ispell-buffer-local-words): Preserve session localwords when
11766 * textmodes/flyspell.el (flyspell-process-localwords)
11767 (flyspell-do-correct): Preserve session localwords when needed.
11769 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11771 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11772 using obsolete `translation-table-for-input'.
11773 (ispell-word, ispell-process-line, ispell-complete-word):
11774 Use plain `insert' instead of removed `ispell-insert-word'.
11776 2012-04-22 Chong Yidong <cyd@gnu.org>
11778 * cus-edit.el (custom-variable-menu)
11779 (custom-variable-reset-saved, custom-face-menu)
11780 (custom-face-reset-saved): If there is no saved value, make the
11781 "reset-saved" operation bring back the default (Bug#9509).
11782 (custom-face-state): Properly detect themed faces.
11784 * faces.el (face-spec-set): Stop supporting deprecated form of
11787 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11789 Move functions from C to Lisp. Make non-blocking method calls
11790 the default. Implement further D-Bus standard interfaces.
11792 * net/dbus.el (dbus-message-internal): Declare function.
11793 Remove unneeded function declarations.
11794 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11795 (dbus-message-type-method-return, dbus-message-type-error)
11796 (dbus-message-type-signal): Declare variables. Remove local
11798 (dbus-interface-dbus, dbus-interface-peer)
11799 (dbus-interface-introspectable, dbus-interface-properties)
11800 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11802 (dbus-interface-objectmanager): New defconst.
11803 (dbus-call-method, dbus-call-method-asynchronously)
11804 (dbus-send-signal, dbus-method-return-internal)
11805 (dbus-method-error-internal, dbus-register-service)
11806 (dbus-register-signal, dbus-register-method): New defuns, moved
11808 (dbus-call-method-handler, dbus-setenv)
11809 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11811 (dbus-call-method-non-blocking): Make it an obsolete function.
11812 (dbus-unregister-object, dbus-unregister-service)
11813 (dbus-handle-event, dbus-register-property)
11814 (dbus-property-handler): Obey the new structure of
11815 `bus-registered-objects'.
11816 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11817 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11818 Use `dbus-call-method'.
11820 2012-04-22 Chong Yidong <cyd@gnu.org>
11822 * cus-edit.el (custom-commands, custom-reset-menu)
11823 (Custom-reset-standard): Tweak labels.
11824 (custom-reset-button-menu): Change default to t.
11825 (custom-buffer-create-internal): For the custom-reset-button-menu
11826 case, put the revert button first.
11827 (custom-group-subtitle): New face.
11828 (custom-group-value-create): Align docstring to a specific column.
11830 * wid-edit.el (widget-documentation-link-add): Don't handle
11831 indentation in this function.
11832 (widget-documentation-string-indent-to): New function.
11833 (widget-documentation-string-value-create): Use it.
11835 * autorevert.el (auto-revert):
11836 * epg-config.el (epg):
11837 * ibuffer.el (ibuffer):
11840 * eshell/eshell.el (eshell):
11841 * net/ange-ftp.el (ange-ftp):
11842 * progmodes/ebnf2ps.el (postscript):
11843 * progmodes/flymake.el (flymake):
11844 * progmodes/prolog.el (prolog):
11845 * progmodes/verilog-mode.el (verilog-mode):
11846 * progmodes/which-func.el (which-func):
11847 * term/xterm.el (xterm):
11848 * textmodes/picture.el (picture):
11849 * textmodes/tildify.el (tildify):
11850 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11851 customization buffers.
11853 2012-04-22 Alan Mackenzie <acm@muc.de>
11855 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11856 Adding a ) can hide the resulting (..) from searches. Fix it.
11857 Bound the backward search to the position of the existing (.
11859 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11861 * progmodes/verilog-mode.el (verilog-mode): Check whether
11862 which-func-modes is t before adding verilog-mode.
11863 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11865 2012-04-21 Leo Liu <sdl.web@gmail.com>
11867 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11869 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11871 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11872 filling of the last column of a table (Bug#5635).
11873 (woman-find-next-control-line): New arg, specifying an additional
11874 regexp component for the control line.
11875 (woman2-roff-buffer): Use it.
11876 (woman-break-table): New function.
11877 (woman2-TS): Use it.
11879 2012-04-21 Chong Yidong <cyd@gnu.org>
11881 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11882 (woman-horizontal-escapes, woman-negative-vertical-space)
11883 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11884 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11886 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11888 * minibuffer.el (completion-file-name-table): Complete user names.
11890 2012-04-20 Leo Liu <sdl.web@gmail.com>
11892 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11895 2012-04-20 Chong Yidong <cyd@gnu.org>
11897 * server.el (server-execute): Respect initial-buffer-choice if it
11898 is a string and there are no files to open (Bug#2825).
11899 (server-create-window-system-frame, server-create-tty-frame):
11900 Don't switch buffers here.
11901 (server-process-filter): Only try to open a window system frame if
11902 compiled with graphical support (Bug#8314).
11904 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11906 * battery.el (battery-echo-area-format): Display remaining time
11907 for sysfs backend too (Bug#11269).
11908 (battery-linux-sysfs): Fix conditional for the charge.
11910 2012-04-20 Chong Yidong <cyd@gnu.org>
11912 * progmodes/gdb-mi.el (gdb): Revert previous change.
11913 (gdb-inferior-io--init-proc): New function.
11914 (gdb-init-1): Use it.
11915 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11916 responsible for allocating a new pty and hooking it to gdb when
11917 the old pty gets an EIO due to process exit.
11918 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11919 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11920 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11922 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11924 * window.el (window-min-size, window-sizable, window-min-delta)
11925 (window-max-delta, window--resizable, window-resizable)
11926 (window-total-size, window-full-height-p, window-full-width-p)
11927 (window-in-direction, window--resize-mini-window, window-resize)
11928 (window--resize-child-windows-normal)
11929 (window--resize-child-windows, window--resize-siblings)
11930 (window--resize-this-window, adjust-window-trailing-edge)
11931 (enlarge-window, shrink-window): Doc fixes.
11933 2012-04-20 Chong Yidong <cyd@gnu.org>
11935 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11936 New function to call delete-process on the gdb-inferior buffer's pty.
11937 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11938 pty process (Bug#11273).
11939 (gdb-update): New arg to suppress talking to the gdb process.
11940 (gdb-done-or-error): Use it.
11941 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11942 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11943 sentinel not being called.
11945 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11947 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11949 2012-04-20 Glenn Morris <rgm@gnu.org>
11951 * net/network-stream.el (open-network-stream): Doc fix.
11953 2012-04-20 Chong Yidong <cyd@gnu.org>
11955 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11957 2012-04-20 Alan Mackenzie <acm@muc.de>
11959 Ensure searching for keywords is case sensitive.
11961 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11962 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11963 (c-defun-name, c-mark-function, c-cpp-define-name)
11964 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11965 (c-context-line-break): Bind case-fold-search to nil.
11967 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11968 Bind case-fold-search to nil.
11970 2012-04-20 Chong Yidong <cyd@gnu.org>
11972 * mail/sendmail.el (mail-bury): Call return action with the right
11973 Rmail buffer (Bug#11242).
11975 * server.el (server-process-filter): Handle corner case where both
11976 tty and nowait options are present (Bug#11102).
11978 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11980 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11981 (top level): Put into the executable the ident-style '$Id:' tag on
11982 windows-nt as well.
11984 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11986 * electric.el (electric-indent-post-self-insert-function): Check that
11987 electric-indent-mode is enabled in current buffer.
11989 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11991 * imenu.el (imenu-progress-message): Restore; it is "used" in
11992 erc/erc-imenu.el and net/snmp-mode.el.
11994 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11996 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11997 (mouse-avoidance-nudge-mouse): Remove unused binding.
11999 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12001 * descr-text.el (describe-char):
12002 * progmodes/python.el (python-describe-symbol):
12003 Don't call `toggle-read-only', set `buffer-read-only'.
12005 * imenu.el (imenu-default-goto-function): Mark unused args.
12006 (imenu-progress-message): Remove obsolete macro; all callers changed.
12008 * subr.el (keymap-canonicalize): Remove unused binding.
12009 (read-passwd): Mark unused arg.
12011 * tutorial.el (tutorial--display-changes): Remove unused binding.
12012 (tutorial--save-tutorial-to): Remove unused variable.
12014 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12015 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12016 (package-generate-autoloads, package-menu--generate)
12017 (package-menu--find-upgrades): Remove unused bindings.
12019 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12020 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12021 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12022 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12023 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12024 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12025 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12026 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12027 (cua-delete-char-rectangle): Mark unused args.
12028 (cua-align-rectangle): Remove unused binding.
12030 * mail/rmail.el (compilation--message->loc)
12031 (epa--find-coding-system-for-mime-charset): Declare.
12033 * net/dbus.el (dbus-register-service): Declare.
12034 (dbus-name-owner-changed-handler): Remove unused binding.
12036 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12037 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12038 (nxml-scan-backward-within): Mark unused arg.
12039 (nxml-dynamic-markup-word): Remove unused binding.
12041 * mouse.el (mouse-menu-major-mode-map):
12042 * emacs-lisp/authors.el (authors-scan-change-log)
12043 (authors-add-to-author-list):
12044 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12045 * emacs-lisp/smie.el (smie-auto-fill):
12046 * mail/sendmail.el (mail-bury):
12047 * mail/unrmail.el (unrmail):
12048 * net/tls.el (open-tls-stream):
12049 * textmodes/picture.el (picture-mouse-set-point):
12050 Remove unused bindings.
12052 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12054 * net/tramp.el (tramp-action-password): Let-bind
12055 `enable-recursive-minibuffers' to t.
12057 2012-04-18 Sam Steingold <sds@gnu.org>
12059 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12060 instead of 'string to accommodate values like [f11].
12061 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12062 * progmodes/gdb-mi.el: Likewise.
12064 2012-04-18 Leo Liu <sdl.web@gmail.com>
12066 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12068 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12071 2012-04-18 Chong Yidong <cyd@gnu.org>
12073 * simple.el (line-move): Use forward-line if in batch mode
12076 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12078 * files.el (after-find-file): Do not try to add a final newline if
12079 the buffer is read-only (Bug#11156).
12081 2012-04-17 Richard Stallman <rms@gnu.org>
12083 * mail/rmail.el (rmail-start-mail):
12084 Pass (rmail-mail-return...) for the return-action.
12085 Pass (rmail-yank-current-message...) for the yank-action.
12086 (rmail-yank-current-message): New function.
12087 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12088 (rmail-reply): Likewise.
12089 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12091 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12092 buffer, not the last. Reject temp buffers. Use the rmail-mode
12093 buffer, not newbuf.
12095 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12097 * server.el (server-ensure-safe-dir): Simplify.
12099 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12101 * emacs-lisp/smie.el: Provide smarter auto-filling.
12102 (smie-auto-fill): New function.
12103 (smie-setup): Use it.
12105 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12107 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12109 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12110 (comment-indent): Use it.
12112 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12114 * ses.el: The overall change is to add cell renaming, that is
12115 setting fancy names for cell symbols other than name matching
12116 "\\`[A-Z]+[0-9]+\\'" regexp .
12117 (ses-localvars): Add ses--renamed-cell-symb-list.
12118 (ses-create-cell-variable): New defun.
12119 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12120 (ses-relocate-formula): Relocate formulas only for cells the
12121 symbols of which are not renamed, i.e. symbols whose names do not
12122 match regexp "\\`[A-Z]+[0-9]+\\'".
12123 (ses-relocate-all): Relocate values only for cells the symbols of
12124 which are not renamed.
12125 (ses-load): Create cells variables as the (ses-cell ...) are read,
12126 in order to check row col consistency with cell symbol name only
12127 for cells that are not renamed.
12128 (ses-replace-name-in-formula): New defun.
12129 (ses-rename-cell): New defun.
12131 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12133 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12134 New option (bug#11118).
12135 (perl-calculate-indent): Respect it.
12137 2012-04-17 Glenn Morris <rgm@gnu.org>
12139 * dired-aux.el (dired-mark-read-string): Doc fix.
12141 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12143 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12144 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12146 2012-04-17 Glenn Morris <rgm@gnu.org>
12148 * mouse.el (mouse-drag-track):
12149 * speedbar.el (speedbar-frame-mode):
12150 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12152 2012-04-16 Leo Liu <sdl.web@gmail.com>
12154 * progmodes/python.el: Trivial cleanup.
12156 2012-04-16 Glenn Morris <rgm@gnu.org>
12158 * vc/vc.el (vc-string-prefix-p):
12159 * vc/pcvs-util.el (cvs-string-prefix-p):
12160 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12161 * mpc.el (mpc-string-prefix-p):
12162 Make all of these into obsolete aliases for string-prefix-p.
12164 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12166 * textmodes/two-column.el: Move custom options to the start.
12167 (frame-width): Remove compat definition.
12168 (2C-associate-buffer, 2C-dissociate):
12169 Use with-current-buffer rather than save-excursion.
12170 (2C-dissociate): Force a mode-line update.
12171 (2C-autoscroll): Use ignore-errors.
12173 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12176 * emacs-lisp/cl-extra.el (*random-state*):
12177 Remove unnecessary declaration.
12179 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12181 * play/cookie1.el (cookie-snarf):
12182 Give an explicit error if input file cannot be read.
12184 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12186 * progmodes/perl-mode.el (c-macro-expand):
12187 Remove unnecessary autoload (it is in loaddefs.el).
12189 * textmodes/picture.el (picture-desired-column)
12190 (picture-update-desired-column): Convert comments to doc-strings.
12191 (picture-substitute): Remove function.
12192 (picture-mode-map): Initialize in the defvar.
12194 * woman.el: Remove eval-after-load for tar-mode.
12195 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12196 (woman-tar-extract-file): Autoload it.
12198 * frame.el (automatic-hscrolling): Make this alias obsolete.
12200 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12202 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12203 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12204 (ispell-dictionary-base-alist): Revert to original XEmacs
12205 friendly version for default. [:alpha:] will be added in
12206 `ispell-set-spellchecker-params' if needed.
12208 2012-04-16 Chong Yidong <cyd@gnu.org>
12210 * image.el (imagemagick--file-regexp): New variable.
12211 (imagemagick-register-types): Use it.
12212 (imagemagick-types-inhibit): Add :set function. Allow new value
12213 of t to inhibit all types.
12215 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12216 so we can preload it.
12218 * loadup.el (fboundp): Preload regexp-opt, needed by
12219 imagemagick-register-types.
12221 2012-04-15 Chong Yidong <cyd@gnu.org>
12223 * frame.el (scrolling): Remove nearly unused customization group.
12225 * scroll-all.el (scroll-all-mode): Move to windows group.
12227 2012-04-15 Chong Yidong <cyd@gnu.org>
12229 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12231 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12233 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12234 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12236 2012-04-15 Glenn Morris <rgm@gnu.org>
12238 * simple.el (process-file-side-effects): Doc fix.
12240 2012-04-15 Glenn Morris <rgm@gnu.org>
12242 * international/mule-cmds.el (set-language-environment): Doc fix.
12244 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12246 * server.el (server-auth-key, server-generate-key): Doc fixes.
12247 (server-get-auth-key): Doc fix. Use `string-match-p'.
12248 (server-start): Reflow docstring.
12250 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12252 * server.el (server-generate-key): `called-interactively-p'
12253 requires a parameter.
12255 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12257 * server.el (server-auth-key): New variable.
12258 (server-generate-key, server-get-auth-key): New function.
12259 (server-start): Use the new variable and functions to allow
12260 setting a permanent server key (bug#9423).
12262 2012-04-14 Leo Liu <sdl.web@gmail.com>
12264 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12266 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12269 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12270 Emacs uses American spelling.
12272 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12274 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12275 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12276 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12277 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12279 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12281 * progmodes/which-func.el (which-func-modes): Change default.
12283 2012-04-14 Kim F. Storm <storm@cua.dk>
12285 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12286 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12288 2012-04-14 Chong Yidong <cyd@gnu.org>
12290 * custom.el (custom-theme-set-variables): Doc fix.
12292 2012-04-14 Glenn Morris <rgm@gnu.org>
12294 * international/mule.el (set-auto-coding-for-load): Doc fix.
12296 2012-04-14 Alan Mackenzie <acm@muc.de>
12298 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12299 imenu work again for Objective C Mode. Correct the *-index values,
12300 these having been disturbed by a previous change in 2011-08.
12302 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12303 Correct two search limits.
12305 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12307 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12309 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12311 * international/characters.el: Fix sorting.
12313 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12315 * international/characters.el: Add more missing Latin case pairs.
12317 2012-04-14 Glenn Morris <rgm@gnu.org>
12319 * files.el (dir-locals-set-class-variables): Doc fix.
12321 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12323 * international/characters.el: Add set-case-syntax-pair call for
12324 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12325 counterpart. (Bug#11209)
12327 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12329 2012-04-14 Glenn Morris <rgm@gnu.org>
12331 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12333 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12335 * textmodes/ispell.el (ispell-dictionary-base-alist):
12336 Add data for Hebrew.
12338 2012-04-14 Chong Yidong <cyd@gnu.org>
12340 * net/rcirc.el (rcirc-cmd-quit):
12341 Revert 2012-03-18 change (Bug#11192).
12343 2012-04-14 Glenn Morris <rgm@gnu.org>
12345 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12347 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12349 * minibuffer.el (completion-in-region-mode-map):
12350 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12352 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12354 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12356 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12358 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12359 to allow `C-M-f' and `C-M-b' to move to the nearest path
12360 separator (bug#9511).
12362 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12364 * avoid.el: Require cl when compiling. And also move the
12365 `provide' to the end.
12367 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12369 * avoid.el (mouse-avoidance-banish-position): New variable.
12370 (mouse-avoidance-banish-destination): Use it (bug#10165).
12372 2012-04-13 Leo Liu <sdl.web@gmail.com>
12374 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12376 2012-04-13 Ken Brown <kbrown@cornell.edu>
12378 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12379 this is no longer needed now that cygstart understands file:// URLs.
12380 (browse-url-filename-alist): For the same reason, don't modify
12381 file:// URLs on Cygwin.
12383 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12385 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12386 the region on shift if the binding is already shifted (bug#11221).
12388 2012-04-12 Glenn Morris <rgm@gnu.org>
12390 * mail/mailpost.el: Move to obsolete/.
12392 2012-04-12 Drew Adams <drew.adams@oracle.com>
12394 * imenu.el (imenu--generic-function): Ignore invisible definitions
12397 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12399 * hexl.el (hexl-bits): New variable.
12400 (hexl-options): Mention the variable in the doc string.
12401 (hexl-rulerise, hexl-line-displen): New functions.
12402 (hexl-mode): Mention the new variable.
12403 (hexl-mode, hexl-current-address, hexl-current-address):
12405 (hexl-ascii-start-column): New function.
12406 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12407 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12409 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12411 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12412 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12413 the encoding, as expected by hunspell.
12415 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12417 * battery.el (battery--linux-sysfs-regexp): New const.
12418 (battery-status-function): Use it. Remove yeeloong special case.
12419 (battery-yeeloong-sysfs): Remove.
12420 (battery-echo-area-format): Remove yeeloong special case.
12422 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12424 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12425 Reported by Noah Friedman.
12427 * subr.el (read-passwd): Use read-string.
12429 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12431 * vcursor.el (vcursor-move): Increase the priority of the overlay
12434 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12436 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12437 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12439 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12441 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12442 define-minor-mode (bug#10760).
12444 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12446 * progmodes/grep.el (rgrep): Tweak the find command line so
12447 that directories matching `grep-find-ignored-files' won't be
12448 pruned (bug#10351).
12450 2012-04-11 Chong Yidong <cyd@gnu.org>
12452 * startup.el (command-line): Remove support for long-obsolete
12453 variable font-lock-face-attributes.
12455 2012-04-11 Glenn Morris <rgm@gnu.org>
12457 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12459 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12461 * window.el (window--state-get-1): Obey window-point-insertion-type.
12463 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12465 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12466 to previous function when point is on the first character of a
12467 function. Take care of that in `narrow-to-defun' (bug#6157).
12469 2012-04-11 Glenn Morris <rgm@gnu.org>
12471 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12472 not just file-errors.
12474 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12475 (vc-bzr-sha1): Use internal sha1.
12477 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12479 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12481 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12483 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12484 that start in the middle of the line (bug#10496).
12486 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12488 * battery.el (battery-linux-proc-acpi): Only one battery is
12489 discharged at a time, but that seems to confuse battery.el when
12490 computing `rate-type' for the battery not being discharged
12493 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12495 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12497 * international/quail.el: Use dolist and simplify.
12498 (quail-define-package, quail-update-keyboard-layout)
12499 (quail-define-rules): Use dolist.
12500 (quail-insert-kbd-layout, quail-get-translation): CSE.
12502 * tmm.el: Use dolist, remove left over hook.
12503 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12505 (calendar-load-hook): Don't mess with it.
12507 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12508 Use derived-mode-p. Run the diff asynchronously.
12510 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12512 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12514 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12516 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12517 (list-dynamic-libraries--loaded): New function.
12518 (list-dynamic-libraries--refresh): Use it.
12520 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12522 * progmodes/python.el (python-fill-paragraph):
12523 Make python-fill-region in a multiline string work when font-lock is
12524 disabled (bug#7018).
12526 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12528 * language/european.el (cp775): Add oem/legacy (en)coding on
12529 DOS/MS Windows for the Baltic languages. There are still plenty
12530 of texts written in this encoding/codepage (bug#6519).
12532 2012-04-10 Glenn Morris <rgm@gnu.org>
12534 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12535 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12537 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12539 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12540 next-line "n" and previous-line "p" in order to make recentf more
12541 consistent with ibuffer, dired or org-mode (bug#9387).
12543 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12545 * image.el (put-image): Return the overlay created instead of the
12546 optional input string (bug#7834). Note that this may break code
12547 that is (for some reason or other) depending on `put-image'
12548 returning the string.
12550 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12552 * simple.el (zap-to-char): Allow zapping using input methods
12555 * textmodes/fill.el (fill-region): Leave point and mark where they
12556 were before filling (bug#5399).
12558 2012-04-09 Glenn Morris <rgm@gnu.org>
12560 * version.el (emacs-bzr-get-version):
12561 Handle lightweight checkouts of local branches.
12563 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12565 * international/characters.el: Recover lost case pairs. (Bug#11209)
12567 2012-04-09 Chong Yidong <cyd@gnu.org>
12569 * custom.el (custom-variable-p): Return nil for non-symbol
12570 arguments instead of signaling an error.
12571 (user-variable-p): Obsolete alias for custom-variable-p.
12573 * apropos.el (apropos-variable):
12574 * files-x.el (read-file-local-variable):
12575 * simple.el (set-variable):
12576 * woman.el (woman-mini-help):
12577 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12579 2012-04-09 Glenn Morris <rgm@gnu.org>
12581 * startup.el (normal-top-level): Don't look for leim-list.el
12582 in places where it will not be found. (Bug#910)
12584 * international/mule-cmds.el (set-default-coding-systems):
12585 * files.el (normal-mode):
12586 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12587 This function was removed with ucs-tables.el in 2008.
12589 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12591 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12592 ispell-encoding8-command to "-i", without a trailing space.
12593 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12594 separate command-line arguments, to specify the encoding, since
12595 that's how hunspell expects it.
12597 2012-04-08 Glenn Morris <rgm@gnu.org>
12599 * loadup.el: Load bindings before cus-start.
12600 This reduces somewhat the number of "rogue" settings in emacs -Q.
12602 2012-04-07 Glenn Morris <rgm@gnu.org>
12604 * version.el (emacs-bzr-get-version): New function.
12605 (emacs-bzr-version): New variable.
12606 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12607 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12609 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12611 * international/uni-bidi.el, international/uni-category.el:
12612 * international/uni-combining.el, international/uni-decimal.el:
12613 * international/uni-decomposition.el, international/uni-digit.el:
12614 * international/uni-lowercase.el, international/uni-mirrored.el:
12615 * international/uni-name.el, international/uni-numeric.el:
12616 * international/uni-titlecase.el, international/uni-uppercase.el:
12617 Update for Unicode 6.1.
12619 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12621 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12623 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12625 * window.el (shrink-window): Mention the `window-min-height'
12626 variable in the doc string.
12628 2012-04-05 Bastien Guerry <bzg@altern.org>
12630 * color.el (color-lighten-name): Fix typo.
12632 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12634 * server.el (server--on-display-p): New function.
12635 (server--on-display-p): Use it.
12637 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12639 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12642 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12644 * comint.el (comint--common-quoted-suffix): Check string boundary
12645 before comparing (bug#11158).
12646 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12648 2012-04-04 Chong Yidong <cyd@gnu.org>
12650 * minibuffer.el (completion-extra-properties): Doc fix.
12652 * subr.el (delayed-warnings-hook): Doc fix.
12654 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12656 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12657 selection (Bug#11159).
12658 (epa-insert-keys): Inform that the default public key will be
12659 exported if no key is selected.
12661 2012-04-04 Richard Stallman <rms@gnu.org>
12663 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12665 2012-04-03 Chong Yidong <cyd@gnu.org>
12667 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12668 mail-insert-file, not its obsolete alias mail-attach-file.
12670 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12672 * notifications.el (notifications-notify): Fix docstring.
12674 2012-04-02 Glenn Morris <rgm@gnu.org>
12676 * emacs-lisp/authors.el (authors-aliases): Another addition.
12678 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12680 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12681 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12682 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12684 2012-04-01 Chong Yidong <cyd@gnu.org>
12686 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12687 Handle root directory properly.
12688 (copy-directory): Caller changed.
12690 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12691 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12693 2012-03-31 Glenn Morris <rgm@gnu.org>
12695 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12697 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12699 * calendar/calendar.el (calendar-window-list)
12700 (calendar-hide-window): Restore. (Bug#11140)
12701 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12703 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12705 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12707 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12708 Check if file is a symlink (Bug#10489).
12710 * files.el (copy-directory): Likewise.
12712 2012-03-30 Chong Yidong <cyd@gnu.org>
12714 * image.el (imagemagick-types-inhibit)
12715 (imagemagick-register-types): Doc fix.
12717 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12719 * textmodes/ispell.el (ispell-get-extended-character-mode):
12720 Disable extended-char-mode for hunspell. hunspell does not support it
12721 and treats ~word as ordinary words in pipe mode.
12723 2012-03-30 Glenn Morris <rgm@gnu.org>
12725 * tutorial.el (help-with-tutorial): Ensure local variables don't
12726 happen to make the buffer read-only. (Bug#11127)
12728 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12730 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12731 (perl-calculate-indent): Return `noindent' in strings.
12733 2012-03-28 Sam Steingold <sds@gnu.org>
12735 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12736 instead of the broken adhockery which does not prevent calendar
12737 buffers from being displayed at random after exit.
12738 (calendar-window-list, calendar-hide-window): Remove the broken
12741 2012-03-28 Glenn Morris <rgm@gnu.org>
12743 * replace.el (query-replace-map): Doc fix.
12745 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12747 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12748 contents. (Bug#11109)
12750 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12752 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12754 (avl-tree--check, avl-tree--check-node): New funs.
12756 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12758 * window.el (switch-to-visible-buffer): New option.
12759 (switch-to-prev-buffer, switch-to-next-buffer):
12760 Observe switch-to-visible-buffer. Make sure that checking for a window
12761 showing a buffer already is done on the same frame.
12763 2012-03-27 Glenn Morris <rgm@gnu.org>
12765 * startup.el (mail-host-address): Doc fix.
12767 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12769 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12770 than 197 variables.
12772 2012-03-26 Ami Fischman <ami@fischman.org>
12774 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12776 2012-03-26 Glenn Morris <rgm@gnu.org>
12778 * files.el (save-buffers-kill-emacs): Doc fix.
12780 * startup.el (normal-top-level, command-line, command-line-1):
12781 Give them doc strings.
12783 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12785 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12786 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12788 2012-03-25 Chong Yidong <cyd@gnu.org>
12790 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12791 theme if it was previously enabled before (Bug#11031).
12793 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12794 spec with custom-face-get-current-spec if its :shown-value is not
12795 determined yet (Bug#9337).
12796 (customize-create-theme, custom-theme-revert): Doc fixes.
12798 * button.el (button-at): Minor addition to docstring.
12800 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12802 * vc/vc.el (vc-merge): Fix a prompt.
12804 2012-03-24 Chong Yidong <cyd@gnu.org>
12806 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12809 * button.el (button-at): Minor addition to docstring.
12811 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12813 * newcomment.el (comment-choose-indent): No space after BOL.
12815 2012-03-22 Sam Steingold <sds@gnu.org>
12817 * window.el (switch-to-prev-buffer): Revert last patch because the
12818 bug turned out to be an advertised feature (Elisp manual 28.14).
12820 2012-03-22 Glenn Morris <rgm@gnu.org>
12822 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12823 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12825 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12827 * net/network-stream.el (network-stream-open-starttls): Make error
12828 message under Windows be less misleading.
12830 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12832 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12833 understands (bug#9942).
12835 2012-03-22 Chong Yidong <cyd@gnu.org>
12837 * simple.el (end-of-visible-line): Handle return value of
12838 next-single-property-change properly (Bug#9371).
12840 2012-03-22 Kenichi Handa <handa@m17n.org>
12842 * international/quail.el (quail-insert-kbd-layout): Fix previous
12843 change. To avoid unwanted bidi reordering, use
12844 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12846 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12848 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12849 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12850 (ruby-beginning-of-indent): Be more careful with the difference
12851 between word-boundary and symbol boundary.
12852 (ruby-mode-syntax-table): Make : a symbol constituent.
12854 2012-03-21 Andreas Politz <politza@fh-trier.de>
12856 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12858 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12860 * progmodes/etags.el (tags-completion-at-point-function):
12863 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12865 2012-03-21 Sam Steingold <sds@gnu.org>
12867 * progmodes/etags.el (tags-completion-at-point-function):
12868 Avoid the error when point is inside the pattern.
12870 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12872 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12875 2012-03-21 Drew Adams <drew.adams@oracle.com>
12877 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12879 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12881 * ido.el (ido-set-current-directory, ido-read-internal)
12882 (ido-choose-completion-string, ido-completion-help): Handle nil
12883 value of ido-completion-buffer (Bug#11008).
12885 2012-03-21 Sam Steingold <sds@gnu.org>
12887 * window.el (switch-to-prev-buffer): Do not switch to a visible
12888 window previous buffer, just like with the frame previous buffers.
12890 2012-03-21 Chong Yidong <cyd@gnu.org>
12892 * faces.el (make-face, make-empty-face, copy-face):
12893 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12896 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12898 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12899 (widget-complete): Remove broken use of it.
12901 2012-03-20 Chong Yidong <cyd@gnu.org>
12903 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12904 Use string-width and truncate-string-width to handle arbitrary
12907 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12909 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12910 to draw rectangles, not squares. (Regression introduced by revno
12911 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12913 2012-03-18 Chong Yidong <cyd@gnu.org>
12915 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12916 it is not yet defined (for temacs).
12918 2012-03-18 Leo Liu <sdl.web@gmail.com>
12920 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12923 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12925 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12926 (ispell-choices-win-default-height, ispell-silently-savep)
12927 (ispell-dictionary-alist, ispell-encoding8-command)
12928 (ispell-check-version, ispell-aspell-find-dictionary)
12929 (ispell-valid-dictionary-list, ispell-words-keyword)
12930 (ispell-get-word, ispell-internal-change-dictionary)
12931 (ispell-region, ispell-skip-region-list)
12932 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12933 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12934 (ispell-message-text-end, ispell-message)
12935 (ispell-buffer-local-parsing): Doc fix.
12937 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12939 * htmlfontify.el: Add support for code block fontification for ODT
12940 export (Bug #9914).
12941 (hfy-optimisations): Define new option
12943 (hfy-fontify-buffer): Honor above setting.
12944 (hfy-begin-span, hfy-end-span): New routines factored out form
12945 `hfy-fontify-buffer'.
12946 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12947 that permit insertion of custom tags.
12948 (hfy-fontify-buffer): Use above handlers.
12949 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12950 (hfy-face-to-css): Re-defined to be a variable.
12951 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12952 over multiple runs. This is made possible by having the caller let
12953 bind a special variable `hfy-user-sheet-assoc'.
12954 (htmlfontify-string): New defun.
12955 (hfy-compile-face-map): Make sure that the last char in the
12956 buffer is correctly fontified.
12957 (hfy-face-resolve-face): Whitespace only change.
12959 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12961 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12962 message more clear.
12964 2012-03-16 Leo Liu <sdl.web@gmail.com>
12966 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12968 2012-03-16 Alan Mackenzie <acm@muc.de>
12970 Further optimize the handling of large macros.
12972 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12973 limit to a call of `c-literal-limits'.
12974 (c-determine-+ve-limit): New function.
12975 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12976 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12977 In CASE 5B, restrict a search limit to 500.
12978 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12980 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12981 Restrict macro bounds to +-500 from after-change's BEG END.
12983 2012-03-16 Leo Liu <sdl.web@gmail.com>
12985 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12987 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12989 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12990 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12992 2012-03-16 Glenn Morris <rgm@gnu.org>
12994 * view.el (view-buffer, view-buffer-other-window)
12995 (view-buffer-other-frame): Doc fixes re special mode-class.
12997 * subr.el (eval-after-load): If named feature is provided not from
12998 a file, run after-load forms. (Bug#10946)
13000 * calendar/calendar.el (calendar-insert-at-column):
13001 Handle non-unit-width characters a bit better. (Bug#10978)
13003 2012-03-15 Chong Yidong <cyd@gnu.org>
13005 * emacs-lisp/ring.el (ring-extend): New function.
13006 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13008 * comint.el (comint-read-input-ring)
13009 (comint-add-to-input-history): Grow comint-input-ring lazily.
13011 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13013 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13014 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13016 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13017 (imenu-add-to-menubar): Don't add a redundant index.
13018 (imenu-update-menubar): Handle a dynamically composed keymap.
13020 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13022 * mail/sendmail.el (mail-encode-header):
13023 Bind rfc2047-encode-encoded-words to nil.
13025 2012-03-13 Glenn Morris <rgm@gnu.org>
13027 * calendar/calendar.el (calendar-string-spread):
13028 Handle non-unit-width characters a bit better. (Bug#10978)
13030 2012-03-13 Leo Liu <sdl.web@gmail.com>
13032 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13033 directory and file as argument (Bug#10822).
13035 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13037 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13038 For dynamically generated code, follow $PC.
13039 (gdb-disassembly-handler-custom): Handle no function name case.
13041 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13043 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13044 * emulation/ws-mode.el (ws-query-replace):
13045 * sort.el (sort-regexp-fields):
13046 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13048 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13050 * dabbrev.el: Fix cycle completion order (bug#10963).
13051 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13052 (dabbrev-completion): Don't use an obarray; provide
13053 a cycle-sort-function.
13055 2012-03-12 Leo Liu <sdl.web@gmail.com>
13057 * simple.el (kill-new): Use equal-including-properties for comparison.
13058 (kill-do-not-save-duplicates): Doc fix.
13060 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13062 * dabbrev.el: Fix cycle completion (bug#10963).
13063 Use lexical binding and wrap to 80 columns.
13064 (dabbrev-completion): Delay computing the list of completions.
13066 2012-03-12 Kenichi Handa <handa@m17n.org>
13068 * international/quail.el (quail-insert-kbd-layout): Surround each
13069 row by LRO and PDF instead of inserting many LRMs. Pad the left
13070 and right of each non-spacing marks. Insert invisible space
13071 between lower and upper characters to prevent composition.
13073 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13075 * minibuffer.el (minibuffer-complete): Don't get confused when the
13076 function is run twice via different commands (bug#10958).
13077 (complete-with-action): Fix docstring.
13079 2012-03-12 Chong Yidong <cyd@gnu.org>
13081 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13082 (nxml-completion-at-point-function): New function.
13083 (nxml-mode): Use it.
13084 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13086 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13087 Load generated autoloads file before byte compiling (Bug#10970).
13088 (package--make-autoloads-and-compile): New helper fun.
13090 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13092 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13094 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13096 * autorevert.el (auto-revert-handler): Ensure, that
13097 file-readable-p is applied only for local files or in
13098 auto-revert-tail-mode.
13100 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13102 * server.el (server-eval-at): Handle non-tcp connections.
13103 Decode result string.
13105 * server.el (server-msg-size): New constant.
13106 (server-reply-print): New function.
13107 (server-eval-and-print): Use it.
13108 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13109 Handle -print-nonl.
13111 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13113 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13116 2012-03-11 Chong Yidong <cyd@gnu.org>
13118 * simple.el (goto-line): Doc fix (Bug#9938).
13120 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13122 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13123 when finished (Bug#10963).
13125 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13127 * window.el (split-window-below): Fix bug in case where
13128 split-window-keep-point is nil (Bug#10971).
13130 2012-03-11 Juri Linkov <juri@jurta.org>
13132 * replace.el (replace-highlight): Set isearch-word to nil
13133 unconditionally. (Bug#10887)
13135 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13137 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13138 mairix-replace-illegal-chars; all callers changed. Don't remove
13139 ^, ~, and = characters: they are meaningful in mairix search specs.
13140 (mairix-widget-create-query): Add usage information about mairix
13141 search forms: negating words, searching for substrings, etc.
13143 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13145 * international/fontset.el (font-encoding-alist): Add an entry for
13146 ksx1001 (Bug#5667).
13148 2012-03-10 Richard Stallman <rms@gnu.org>
13150 * mail/sendmail.el (mail-encode-header):
13151 Set rfc2047-encode-encoded-words.
13153 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13155 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13156 view buffer means not swapped.
13157 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13158 (rmail-write-region-annotate): Error if real text has disappeared.
13160 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13162 2012-03-10 Chong Yidong <cyd@gnu.org>
13164 * emulation/cua-rect.el (cua--init-rectangles):
13165 * emulation/cua-base.el (cua--init-keymaps):
13166 Add delete-forward-char to remappings (Bug#9666).
13168 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13170 * speedbar.el (speedbar-unhighlight-one-tag-line):
13171 Avoid unhighlighting due to frame switching (Bug#10275).
13173 2012-03-10 Chong Yidong <cyd@gnu.org>
13175 * minibuffer.el (completion-in-region, completion-help-at-point):
13176 Give the completion field overlay a high priority (Bug#6830).
13178 * dired.el (dired-goto-file): Recognize absolute file name
13179 listings (Bug#7126).
13180 (dired-goto-file-1): New helper function.
13181 (dired-toggle-read-only): Inhibit warnings.
13183 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13185 * net/dbus.el (dbus-property-handler): Return empty array if
13186 there are no properties.
13188 2012-03-09 Leo Liu <sdl.web@gmail.com>
13190 * savehist.el (savehist-printable): Stricter check for string
13193 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13195 * mail/smtpmail.el (smtpmail-send-it):
13196 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13199 2012-03-09 Glenn Morris <rgm@gnu.org>
13201 * files.el (dir-locals-find-file):
13202 Don't check result is regular, readable.
13203 (dir-locals-read-from-file): Demote errors.
13205 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13207 * international/quail.el (quail-insert-kbd-layout):
13208 Insert invisible LRM characters before each character in a keyboard
13209 layout cell, to prevent their reordering by bidi display engine.
13210 For details, see the discussion in
13211 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13213 2012-03-08 Alan Mackenzie <acm@muc.de>
13215 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13216 the starting position; make it extend the marked region when
13217 invoked repeatedly - all under appropriate circumstances.
13218 Fixes bugs #5525, #10906.
13220 2012-03-08 Glenn Morris <rgm@gnu.org>
13222 * files.el (locate-dominating-file, dir-locals-find-file):
13223 Undo 2012-03-06 change.
13225 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13227 * international/quail.el (quail-help):
13228 Force bidi-paragraph-direction be left-to-right. See discussion in
13229 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13232 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13234 Avoid superfluous registering of signals. (Bug#10807)
13236 * notifications.el (notifications-on-action-object)
13237 (notifications-on-close-object): New defvars.
13238 (notifications-on-action-signal, notifications-on-closed-signal):
13239 Unregister the signal if not needed any longer.
13240 (notifications-notify): Register `notifications-action-signal' or
13241 `notifications-closed-signal', if :on-action or :on-close has been
13242 passed as argument.
13244 2012-03-07 Chong Yidong <cyd@gnu.org>
13246 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13249 2012-03-06 Glenn Morris <rgm@gnu.org>
13251 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13252 (x-disown-selection-internal, x-get-selection-internal):
13253 Doc fix (add arglist signatures). (Bug#10783)
13255 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13257 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13258 Handle breakpoints with no "type".
13260 2012-03-06 Glenn Morris <rgm@gnu.org>
13262 * files.el (locate-dominating-file): Add optional predicate argument.
13263 (dir-locals-find-file): Make use of above change.
13265 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13267 * info.el (Info-insert-dir): Also try "dir.gz".
13269 2012-03-06 Glenn Morris <rgm@gnu.org>
13271 * files.el (dir-locals-find-file):
13272 Ignore non-readable or non-regular files. (Bug#10928)
13274 * files.el (locate-dominating-file): Doc fix.
13276 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13278 * calendar/calendar.el (calendar-set-mode-line):
13279 `getenv' returns a string. (Bug#10951)
13281 2012-03-05 Leo Liu <sdl.web@gmail.com>
13283 * simple.el (backward-delete-char-untabify): Constrain point to
13286 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13288 2012-03-05 Chong Yidong <cyd@gnu.org>
13290 * simple.el (count-words): If called from Lisp, return the word
13291 count, for symmetry with `count-lines'. Arglist changed.
13292 (count-words--message): Args changed. Consolidate counting code
13293 from count-words and count-words-region.
13294 (count-words-region): Caller changed.
13295 (count-lines-region): Make it an obsolete alias.
13297 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13299 * saveplace.el (save-place-to-alist)
13300 (save-place-ignore-files-regexp): Allow value nil to disable this
13303 2012-03-04 Chong Yidong <cyd@gnu.org>
13305 * faces.el (face-spec-reset-face): For the default face, reset the
13306 attributes to default values (Bug#10748).
13308 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13310 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13311 previous patch: Check `message-send-mail-function', and not the
13312 default function (bug#10897).
13314 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13316 * notifications.el (notifications-on-action-signal)
13317 (notifications-on-closed-signal): Check for unique service name of
13318 incoming event. Fix error in removing entry.
13319 (top): Register for signals with wildcard service name.
13320 (notifications-notify): Use daemon unique service name for map entries.
13322 2012-03-04 Chong Yidong <cyd@gnu.org>
13324 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13326 2012-03-04 Glenn Morris <rgm@gnu.org>
13328 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13329 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13330 (expand-abbrev, define-abbrev-table): Doc fixes.
13332 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13334 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13335 `message-default-send-mail-function' and not `send-mail-function'
13336 when doing the prompting for `sendmail-query-once' before sending
13337 in Message buffers (bug#10897).
13339 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13340 This is inconsistent with all the other stream functions, which leave
13341 the setting up to the higher levels (if so wanted) (bug#10931).
13343 2012-03-02 Alan Mackenzie <acm@muc.de>
13345 Depessimize the handling of very large macros.
13347 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13348 (c-macro-cache-syntactic): New variables to implement a one
13349 element macro cache.
13350 (c-invalidate-macro-cache): New function.
13351 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13352 Adapt to use the new cache.
13353 (c-state-safe-place): Use better the cache of safe positions.
13354 (c-state-semi-nonlit-pos-cache)
13355 (c-state-semi-nonlit-pos-cache-limit):
13356 New variables for...
13357 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13358 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13359 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13360 Use c-state-semi-safe-place.
13362 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13363 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13365 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13367 * jka-compr.el (jka-compr-call-process):
13368 Apply `file-accessible-directory-p' only when the default directory is
13371 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13373 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13374 access of FILE2, if FILE1 does not exist.
13376 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13377 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13379 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13380 Add "PAGER=" to `process-environment'.
13382 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13384 * progmodes/sql.el: Bug fix
13385 (sql-get-login-ext): Save login values in globals.
13386 (sql-get-login): Use new version of `sql-get-login-ext'.
13387 (sql-interactive-mode): Set global `sql-connection' to nil.
13388 (sql-connect): Set global values for connection.
13389 (sql-product-interactive): Save global values as buffer local.
13391 2012-02-29 Leo Liu <sdl.web@gmail.com>
13393 * abbrev.el (define-abbrevs): Reset sys to nil.
13395 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13397 * files.el (file-equal-p): Rename from `files-equal-p'.
13398 Return nil when one or both files don't exist.
13399 (file-subdir-of-p): Now only top directory must exists,
13400 return nil if it doesn't.
13401 (copy-directory): No need to test with `file-subdir-of-p' after
13403 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13406 2012-02-28 Glenn Morris <rgm@gnu.org>
13408 * shell.el (shell-mode):
13409 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13410 * play/landmark.el (landmark-font-lock-face-O):
13411 * play/handwrite.el (handwrite):
13412 * play/gomoku.el (gomoku-O):
13413 * net/browse-url.el (browse-url-browser-display):
13414 * international/mule.el (define-charset):
13415 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13416 * filesets.el (filesets-find-file-delay):
13417 * eshell/em-xtra.el (eshell-xtra):
13418 * eshell/em-unix.el (eshell-grep):
13419 * emulation/viper.el (viper-mode):
13420 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13421 * emacs-lisp/easymenu.el (easy-menu-define):
13422 * calendar/timeclock.el (timeclock-use-display-time):
13424 * bookmark.el (bookmark-save-flag):
13425 Doc fix (standardize possessive apostrophe usage).
13427 2012-02-27 Chong Yidong <cyd@gnu.org>
13429 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13430 Fix key-binding lookup for ESC key (Bug#9146).
13432 * font-lock.el (font-lock-specified-p): Rename from
13433 font-lock-spec-present. Callers changed.
13435 2012-02-27 Daniel Hackney <dan@haxney.org>
13437 * emacs-lisp/package.el (package-compute-transaction):
13438 Handle holding a package version to t in package-load-list.
13440 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13442 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13443 (tramp-get-inode, tramp-get-device): Use cached values.
13445 2012-02-26 Alan Mackenzie <acm@muc.de>
13447 Check there is a font-lock specification before doing initial
13450 * font-core.el (font-lock-mode): Move the conditional from
13451 :after-hook to font-lock-initial-fontify.
13452 (font-lock-default-function): Move the check for a specification
13453 to font-lock-spec-present.
13455 * font-lock.el (font-lock-initial-fontify): Call ...
13456 (font-lock-spec-present): New function.
13458 2012-02-26 Jim Blandy <jimb@red-bean.com>
13460 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13461 (gdb-send): Apply it to the operand of the '-interpreter-exec
13462 console' command, so that we can pass arguments with (say) quotes
13463 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13465 2012-02-26 Chong Yidong <cyd@gnu.org>
13467 * help-fns.el (describe-function-1): Clarify description of
13468 remapping (Bug#10844).
13470 * files.el (files-equal-p): Doc fix.
13471 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13472 and quit the loop once a mismatch is found.
13474 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13476 * bs.el (bs--show-with-configuration): Don't throw an error
13477 if the window cannot be split; otherwise, subsequent calls to
13478 bs-show fail, restoring a stale window config. (Bug#10882)
13480 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13482 * term/ns-win.el (global-map): Bind ns-drag-file to
13483 ns-find-file (Bug#5855, Bug#10050).
13485 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13487 * calendar/parse-time.el (parse-time-string): Allow extractor to
13490 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13492 * net/tramp.el (tramp-file-name-for-operation):
13493 Add `files-equal-p' and `file-subdir-of-p'.
13495 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13496 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13497 Add COPY-CONTENTS argument.
13499 2012-02-25 Chong Yidong <cyd@gnu.org>
13501 Add custom groups for VC backends, for consistency with vc-bzr.
13503 * vc/vc-arch.el (vc-arch):
13504 * vc/vc-cvs.el (vc-cvs):
13505 * vc/vc-git.el (vc-git):
13506 * vc/vc-hg.el (vc-hg):
13507 * vc/vc-mtn.el (vc-mtn):
13508 * vc/vc-rcs.el (vc-rcs):
13509 * vc/vc-sccs.el (vc-sccs):
13510 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13511 All relevant defcustoms reassigned.
13513 2012-02-25 Chong Yidong <cyd@gnu.org>
13515 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13517 * term/x-win.el (x-initialize-window-system): Reduce default for
13518 x-selection-timeout to 5 seconds (Bug#8869).
13520 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13522 * files.el (files-equal-p, file-subdir-of-p): New functions.
13523 (copy-directory): Error when trying to copy a directory on itself.
13524 Add missing copy-contents arg to tramp handler.
13525 * dired-aux.el (dired-copy-file-recursive): Same.
13526 (dired-create-files): Modify destination when source is equal to
13527 dest when copying files.
13528 Return also when dest is a subdir of source. (Bug#10489)
13530 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13532 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13535 2012-02-23 Alan Mackenzie <acm@muc.de>
13537 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13538 parameter "after-hook:" to allow the expansion to run code after
13539 the execution of the mode hooks.
13541 * font-lock.el (font-lock-initial-fontify): New function extracted
13542 from font-lock-mode-internal.
13544 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13547 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13549 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13550 (completion--cache-all-sorted-completions): New function.
13551 (completion-all-sorted-completions): Use it.
13552 (completion--do-completion, minibuffer-force-complete):
13553 Use it to re-instate the flush hook.
13555 * icomplete.el (icomplete-completions): Replace last fix with a better
13558 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13560 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13561 when it might call us back infinitely (bug#10797).
13563 2012-02-23 Glenn Morris <rgm@gnu.org>
13565 * minibuffer.el (completion-category-overrides): Doc fix.
13567 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13569 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13570 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13572 2012-02-23 Glenn Morris <rgm@gnu.org>
13574 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13575 (authors-obsolete-files-regexps, authors-ignored-files)
13576 (authors-ambiguous-files, authors-renamed-files-alist):
13579 2012-02-23 Juri Linkov <juri@jurta.org>
13581 * isearch.el (isearch-occur): Sync interactive spec with occur's
13582 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13584 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13586 2012-02-22 Juri Linkov <juri@jurta.org>
13588 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13589 (ucs-insert): Doc fix. Check for hex digits in the string.
13590 Don't display `nil' in the error message. (Bug#10857)
13592 2012-02-22 Alan Mackenzie <acm@muc.de>
13594 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13596 2012-02-22 Glenn Morris <rgm@gnu.org>
13598 * ffap.el (ffap-c-path):
13599 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13601 2012-02-22 Chong Yidong <cyd@gnu.org>
13603 * custom.el (load-theme): Doc fix.
13605 2012-02-22 Glenn Morris <rgm@gnu.org>
13607 * dired-x.el (dired-guess-shell-alist-default):
13608 Remove escape sequences from nroff output. (Bug#172)
13610 2012-02-21 Glenn Morris <rgm@gnu.org>
13612 * vc/emerge.el (emerge-defvar-local):
13613 Set `permanent-local' property rather than unused `preserved'.
13615 * textmodes/picture.el (picture-delete-char): New alias.
13616 (picture-mode-map): Use it. (Bug#10860)
13617 (picture-mode): Doc fix.
13619 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13621 * newcomment.el (uncomment-region-default): Remove unused binding.
13623 2012-02-21 Glenn Morris <rgm@gnu.org>
13625 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13626 (picture-self-insert, picture-tab-chars): Doc fix.
13627 (picture-mode-map): Fix C-a, C-e.
13629 2012-02-20 Glenn Morris <rgm@gnu.org>
13631 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13633 2012-02-20 Leo Liu <sdl.web@gmail.com>
13635 * icomplete.el (icomplete-completions): Check FROM arg before
13636 passing to substring (Bug#10850).
13638 2012-02-19 Chong Yidong <cyd@gnu.org>
13640 * comint.el: Require ansi-color.
13641 (comint-output-filter-functions): Add ansi-color-process-output.
13643 * ansi-color.el: Don't set comint-output-filter-functions; it is
13644 now in the initial value defined in comint.el.
13645 (ansi-color-apply-face-function): New variable.
13646 (ansi-color-apply-on-region): Use it.
13647 (ansi-color-apply-overlay-face): New function.
13649 * shell.el (shell): No need to require ansi-color.
13650 (shell-mode): Use ansi-color-apply-face-function to highlight
13651 color escapes using font-lock-face property (Bug#10835).
13653 2012-02-19 Chong Yidong <cyd@gnu.org>
13655 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13656 mode-line formats (Bug#10839).
13658 2012-02-18 Glenn Morris <rgm@gnu.org>
13660 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13662 * mail/undigest.el (unforward-rmail-message): Doc fix.
13664 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13666 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13668 * international/characters.el (script-list): Sync with the latest
13669 Unicode Character Database.
13671 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13673 * international/titdic-cnv.el: Remove duplicate coding tag.
13674 * language/cham.el: Likewise.
13675 * language/tai-viet.el: Likewise.
13677 2012-02-18 Glenn Morris <rgm@gnu.org>
13679 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13680 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13681 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13682 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13683 * calendar/holidays.el (holiday-bahai-holidays)
13684 (calendar-holidays, list-holidays):
13685 Use utf-8 Bahá'í in doc-strings, menus, etc.
13687 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13689 * saveplace.el (save-place-ignore-files-regexp): New variable
13690 allowing for excluding files from saving their location of point.
13691 The default value matches the temporary commit message editing
13692 files from Git, SVN, Bazaar, and Mercurial.
13693 (save-place-to-alist): Use it.
13695 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13696 Stefan Monnier <monnier@iro.umontreal.ca>
13698 * newcomment.el (uncomment-region-default): Don't leave extra space
13699 when an arg is provided (bug#8150).
13701 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13703 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13705 2012-02-17 Glenn Morris <rgm@gnu.org>
13707 * net/socks.el: Require network-stream. (Bug#10599)
13709 2012-02-17 Kenichi Handa <handa@m17n.org>
13711 * international/charprop.el:
13712 * international/uni-name.el:
13713 * international/uni-old-name.el:
13714 * international/uni-comment.el: Regenerate.
13716 2012-02-16 Glenn Morris <rgm@gnu.org>
13718 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13719 Interactively in calendar buffer, give an error if not on a date.
13721 2012-02-15 Glenn Morris <rgm@gnu.org>
13723 * shell.el (shell-delimiter-argument-list):
13724 Revert 2011-02-17 change. (Bug#8027)
13726 2012-02-15 Chong Yidong <cyd@gnu.org>
13728 * minibuffer.el (completion-at-point-functions): Doc fix.
13730 * custom.el (defcustom): Doc fix; note use of defvar.
13732 2012-02-15 Glenn Morris <rgm@gnu.org>
13734 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13737 2012-02-14 Glenn Morris <rgm@gnu.org>
13739 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13741 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13743 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13744 way the ports list is computed.
13745 (smtpmail-query-smtp-server): Prompt the user for a port number if
13746 we can't connect to any of the standard ports (bug#10810).
13748 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13750 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13752 2012-02-13 Glenn Morris <rgm@gnu.org>
13754 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13756 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13758 * net/gnutls.el (gnutls-trustfiles): New variable.
13759 (gnutls-negotiate): Use it.
13761 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13763 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13764 does its stuff if Gnus is running.
13766 2012-02-13 Alan Mackenzie <acm@muc.de>
13768 Fix a loop in c-set-fl-decl-start.
13770 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13771 c-backward-syntactic-ws actually moves backwards.
13773 2012-02-13 Leo Liu <sdl.web@gmail.com>
13775 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13776 beginning so that all \C-o chars are removed.
13778 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13780 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13782 2012-02-12 Alan Mackenzie <acm@muc.de>
13784 Fix infinite loop with long macros.
13785 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13787 2012-02-12 Chong Yidong <cyd@gnu.org>
13789 * window.el (display-buffer): Doc fix (Bug#10785).
13791 2012-02-12 Glenn Morris <rgm@gnu.org>
13793 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13794 (x-disown-selection-internal, x-get-selection-internal):
13795 Sync docs with the xselect.c versions.
13797 * allout-widgets.el: Add missing license notice.
13799 2012-02-11 Glenn Morris <rgm@gnu.org>
13801 * select.el (x-get-selection-internal, x-own-selection-internal)
13802 (x-disown-selection-internal):
13803 * x-dnd.el (x-get-selection-internal): Update declarations.
13805 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13807 * window.el (window-sides-slots):
13808 * tool-bar.el (tool-bar-position):
13809 * term/xterm.el (xterm-extra-capabilities):
13810 * ses.el (ses-self-reference-early-detection):
13811 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13812 (verilog-auto-wire-type)
13813 (verilog-auto-delete-trailing-whitespace)
13814 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13815 (verilog-auto-tieoff-declaration):
13816 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13817 (sql-oracle-statement-starters, sql-oracle-scan-on):
13818 * progmodes/prolog.el (prolog-align-comments-flag)
13819 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13820 (prolog-left-indent-regexp, prolog-paren-indent-p)
13821 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13822 (prolog-types, prolog-mode-specificators)
13823 (prolog-determinism-specificators, prolog-directives)
13824 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13825 (prolog-electric-dot-flag)
13826 (prolog-electric-dot-full-predicate-template)
13827 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13828 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13829 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13830 (prolog-program-switches, prolog-prompt-regexp)
13831 (prolog-debug-on-string, prolog-debug-off-string)
13832 (prolog-trace-on-string, prolog-trace-off-string)
13833 (prolog-zip-on-string, prolog-zip-off-string)
13834 (prolog-use-standard-consult-compile-method-flag)
13835 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13836 (prolog-imenu-max-lines, prolog-info-predicate-index)
13837 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13838 (prolog-char-quote-workaround):
13839 * progmodes/cc-vars.el (c-defun-tactic):
13840 * net/tramp.el (tramp-encoding-command-interactive)
13841 (tramp-local-end-of-line):
13842 * net/soap-client.el (soap-client):
13843 * net/netrc.el (netrc-file):
13844 * net/gnutls.el (gnutls):
13845 * minibuffer.el (completion-category-overrides)
13846 (completion-cycle-threshold)
13847 (completion-pcm-complete-word-inserts-delimiters):
13848 * man.el (Man-name-local-regexp):
13849 * mail/feedmail.el (feedmail-display-full-frame):
13850 * international/characters.el (glyphless-char-display-control):
13851 * eshell/em-ls.el (eshell-ls-date-format):
13852 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13853 (lisp-lambda-list-keyword-parameter-indentation)
13854 (lisp-lambda-list-keyword-parameter-alignment):
13855 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13856 * dired-x.el (dired-omit-verbose):
13857 * cus-theme.el (custom-theme-allow-multiple-selections):
13858 * calc/calc.el (calc-highlight-selections-with-faces)
13859 (calc-lu-field-reference, calc-lu-power-reference)
13860 (calc-note-threshold):
13861 * battery.el (battery-mode-line-limit):
13862 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13863 (archive-7z-update):
13864 * allout.el (allout-prefixed-keybindings)
13865 (allout-unprefixed-keybindings)
13866 (allout-inhibit-auto-fill-on-headline)
13867 (allout-flattened-numbering-abbreviation):
13868 * allout-widgets.el (allout-widgets-auto-activation)
13869 (allout-widgets-icons-dark-subdir)
13870 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13871 (allout-widgets-theme-dark-background)
13872 (allout-widgets-theme-light-background)
13873 (allout-widgets-item-image-properties-emacs)
13874 (allout-widgets-item-image-properties-xemacs)
13875 (allout-widgets-run-unit-tests-on-load)
13876 (allout-widgets-time-decoration-activity)
13877 (allout-widgets-hook-error-post-time)
13878 (allout-widgets-track-decoration):
13879 Add missing :version tags to new defcustoms and defgroups.
13881 * progmodes/sql.el (sql-ansi-statement-starters)
13882 (sql-oracle-statement-starters): Add custom type.
13884 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13885 (prolog-system-version): Give it a type.
13887 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13889 * term/pc-win.el (x-select-text, x-selection-owner-p)
13890 (x-own-selection-internal, x-disown-selection-internal)
13891 (x-get-selection-internal): Sync doc strings and argument lists
13892 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13894 2012-02-11 Leo Liu <sdl.web@gmail.com>
13896 * progmodes/python.el (python-end-of-statement): Fix infinite
13899 2012-02-10 Glenn Morris <rgm@gnu.org>
13901 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13902 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13904 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13906 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13907 about SMTP before checking the From header.
13909 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13910 into own function for reuse by emacsbug.el.
13912 2012-02-10 Leo Liu <sdl.web@gmail.com>
13914 * subr.el (condition-case-unless-debug): Rename from
13915 condition-case-no-debug. All callers changed.
13916 (with-demoted-errors): Fix caller.
13918 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13919 * nxml/rng-valid.el (rng-do-some-validation):
13920 * emacs-lisp/package.el (package-refresh-contents)
13921 (package-menu-execute):
13922 * desktop.el (desktop-create-buffer):
13923 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13925 2012-02-10 Glenn Morris <rgm@gnu.org>
13927 * textmodes/bibtex.el:
13928 Add missing :version tags for new/changed defcustoms.
13930 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13932 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13934 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13935 (smtpmail-via-smtp): Use it, or fall back on the From address.
13936 (smtpmail-send-it): Ditto.
13938 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13940 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13941 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13942 (byte-compile-tmp-var): New const.
13943 (byte-compile-defvar): Use it to minimize .elc size.
13944 Just use `defvar' rather than simulate it (bug#10761).
13946 2012-02-09 Glenn Morris <rgm@gnu.org>
13948 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13950 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13953 * progmodes/compile.el (compilation-error-screen-columns)
13954 (compilation-first-column, compilation-filter-start): Doc fixes.
13956 * vc/log-view.el (log-view-toggle-entry-display):
13957 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13959 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13960 (report-emacs-bug-can-use-xdg-email):
13961 (report-emacs-bug-insert-to-mailer): Doc fixes.
13962 (report-emacs-bug): Message fix.
13964 * net/browse-url.el (browse-url-can-use-xdg-open)
13965 (browse-url-xdg-open): Doc fixes.
13967 * electric.el (electric-indent-mode, electric-pair-mode)
13968 (electric-layout-rules, electric-layout-mode): Doc fixes.
13969 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13971 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13973 * server.el (server-unselect-display): Don't inadvertently kill
13974 the current buffer. (Bug#10729)
13976 2012-02-08 Glenn Morris <rgm@gnu.org>
13978 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13979 (sql-list-table): Doc fixes.
13981 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13982 Comment out (does nothing).
13984 * completion.el (dynamic-completion-mode):
13985 * dirtrack.el (dirtrack-debug-mode):
13986 * electric.el (electric-layout-mode):
13987 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13988 * face-remap.el (text-scale-mode, buffer-face-mode):
13989 * iimage.el (iimage-mode):
13990 * image-mode.el (image-transform-mode):
13991 * minibuffer.el (completion-in-region-mode):
13992 * scroll-lock.el (scroll-lock-mode):
13993 * simple.el (next-error-follow-minor-mode):
13994 * tar-mode.el (tar-subfile-mode):
13995 * tooltip.el (tooltip-mode):
13996 * vcursor.el (vcursor-use-vcursor-map):
13997 * wid-browse.el (widget-minor-mode):
13998 * emulation/tpu-edt.el (tpu-edt-mode):
13999 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14000 * international/iso-ascii.el (iso-ascii-mode):
14001 * language/thai-util.el (thai-word-mode):
14002 * mail/supercite.el (sc-minor-mode):
14003 * net/goto-addr.el (goto-address-mode):
14004 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14005 * progmodes/cwarn.el (cwarn-mode):
14006 * progmodes/flymake.el (flymake-mode):
14007 * progmodes/glasses.el (glasses-mode):
14008 * progmodes/hideshow.el (hs-minor-mode):
14009 * progmodes/pascal.el (pascal-outline-mode):
14010 * textmodes/enriched.el (enriched-mode):
14011 * vc/smerge-mode.el (smerge-mode):
14012 Doc fixes (minor mode argument).
14014 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14016 * ls-lisp.el (ls-lisp-sanitize): New function.
14017 (ls-lisp-insert-directory): Use it to fix or remove any elements
14018 in file-alist with missing attributes. (Bug#4673)
14020 2012-02-07 Alan Mackenzie <acm@muc.de>
14022 Fix spurious recognition of c-in-knr-argdecl.
14024 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14025 putative K&R region.
14027 2012-02-07 Alan Mackenzie <acm@muc.de>
14029 * progmodes/cc-engine.el (c-forward-objc-directive):
14030 Prevent looping in "#pragma mark @implementation".
14032 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14034 * notifications.el (notifications-on-closed-signal): Make `reason'
14035 optional. (Bug#10744)
14037 2012-02-07 Glenn Morris <rgm@gnu.org>
14039 * emacs-lisp/easy-mmode.el (define-minor-mode):
14040 Doc fixes for the macro and the mode it defines.
14042 * image.el (imagemagick-types-inhibit): Doc fix.
14044 * cus-start.el (imagemagick-render-type): Add it.
14046 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14048 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14049 Set the default at load time, too, so that `font-lock-fontify-buffer'
14050 can be called without setting up the entire mode first. This fixes
14051 a bug in `mm-inline-text' with C MIME parts.
14053 2012-02-06 Chong Yidong <cyd@gnu.org>
14055 * simple.el (list-processes--refresh): Delete exited processes
14058 * comint.el (comint-next-prompt): next-single-char-property-change
14059 and prev-single-char-property-change never return nil (Bug#8657).
14061 * custom.el (defcustom): Doc fix (Bug#9711).
14063 2012-02-05 Chong Yidong <cyd@gnu.org>
14065 * cus-edit.el (custom-variable-reset-backup): Quote the value
14066 before storing it in the customized-value property (Bug#6712).
14067 (custom-display): Add a customization type tag.
14068 (custom-buffer-create-internal): Improve tooltip message.
14070 * wid-edit.el (widget-field-value-get): New optional arg to
14071 suppress trailing whitespace truncation.
14072 (character): Use it (Bug#2689).
14074 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14076 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14077 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14079 2012-02-05 Chong Yidong <cyd@gnu.org>
14081 * cus-edit.el (custom-variable-value-create): For mismatched
14082 types, show the current value (Bug#7600).
14084 * custom.el (defcustom): Doc fix.
14086 2012-02-05 Glenn Morris <rgm@gnu.org>
14088 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14090 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14092 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14093 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14094 (pp-last-sexp): Use `looking-at-p'.
14096 2012-02-04 Glenn Morris <rgm@gnu.org>
14098 * files.el (revert-buffer):
14099 Doc fix (mention revert-buffer-in-progress-p).
14101 * emacs-lisp/ert-x.el (ert-simulate-command):
14102 Check deferred-action-list (which is obsolete) is bound.
14104 * subr.el (with-wrapper-hook): Doc fixes.
14106 * simple.el (filter-buffer-substring-functions)
14107 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14109 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14111 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14112 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14114 2012-02-04 Leo Liu <sdl.web@gmail.com>
14116 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14118 2012-02-04 Glenn Morris <rgm@gnu.org>
14120 * image.el (image-extension-data): Add obsolete alias.
14122 * isearch.el (isearch-update): Doc fix.
14124 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14126 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14128 2012-02-03 Glenn Morris <rgm@gnu.org>
14130 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14131 (image-animate-timeout): Doc fix.
14133 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14135 2012-02-02 Glenn Morris <rgm@gnu.org>
14137 * server.el (server-auth-dir): Doc fix.
14138 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14140 * subr.el (run-mode-hooks): Doc fix.
14142 2012-02-02 Juri Linkov <juri@jurta.org>
14144 * image-mode.el (image-toggle-display-image): Remove tautological
14145 `major-mode' from the `derived-mode-p' test.
14147 2012-02-02 Kenichi Handa <handa@m17n.org>
14149 * composite.el (compose-region): Cancel previous change.
14151 2012-02-02 Kenichi Handa <handa@m17n.org>
14153 * composite.el (compose-region, compose-string): Signal error for
14154 a null string component (Bug#6988).
14156 2012-02-01 Chong Yidong <cyd@gnu.org>
14158 * view.el (view-buffer-other-window, view-buffer-other-frame):
14159 Handle special modes like view-buffer (Bug#10650).
14160 (view-buffer): Simplify.
14162 * frame.el (set-frame-font): Tweak meaning of third argument.
14164 * dynamic-setting.el (font-setting-change-default-font):
14165 Use set-frame-font (Bug#9982).
14167 2012-02-01 Glenn Morris <rgm@gnu.org>
14169 * progmodes/compile.el (compilation-internal-error-properties):
14170 Respect compilation-first-column in the "*compilation*" buffer.
14172 * emacs-lisp/easy-mmode.el (define-minor-mode):
14173 Relax :variable's test for a named function.
14175 2012-01-31 Alan Mackenzie <acm@muc.de>
14177 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14180 2012-01-31 Chong Yidong <cyd@gnu.org>
14182 * frame.el (set-frame-font): New arg ALL-FRAMES.
14184 * menu-bar.el (menu-set-font): Use set-frame-font.
14186 * faces.el (face-spec-reset-face): Don't apply unspecified
14187 attribute values to the default face.
14189 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14191 * progmodes/cwarn.el (cwarn): Remove dead link.
14192 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14193 Remove * from defcustom docstrings.
14194 (turn-on-cwarn-mode): Make obsolete.
14195 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14196 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14198 2012-01-31 Glenn Morris <rgm@gnu.org>
14200 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14201 Fix :variable handling of mode a symbol not equal to modefun.
14202 Allow named functions to be used as the cdr of :variable.
14204 2012-01-30 Glenn Morris <rgm@gnu.org>
14206 * emacs-lisp/authors.el (authors-fixed-entries):
14207 Remove reference to deleted file rnewspost.el.
14209 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14211 * window.el (window-with-parameter): Remove unused variable `windows'.
14212 (window--side-check): Remove unused variable `code'.
14213 (window--resize-siblings): Remove unused variable `first'.
14214 (adjust-window-trailing-edge): Remove unused variable `failed'.
14215 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14216 Use `let', not `let*'.
14217 (balance-windows-2): Remove unused variable `found'.
14218 (window--state-put-2): Remove unused variable `splits'.
14219 (window-state-put): Remove unused variable `selected'.
14220 (same-window-p): Use `string-match-p'.
14221 (display-buffer-assq-regexp): Remove unused variable `value'.
14222 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14223 Mark argument ALIST as ignored.
14224 (pop-to-buffer): Remove unused variable `old-window'.
14226 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14228 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14229 and .lzma compressed files.
14231 2012-01-29 Chong Yidong <cyd@gnu.org>
14233 * frame.el (window-system-default-frame-alist): Doc fix.
14235 * dynamic-setting.el (font-setting-change-default-font): Don't
14236 change the default face if SET-FONT argument is non-nil (Bug#9982).
14238 2012-01-29 Samuel Bronson <naesten@gmail.com>
14240 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14242 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14244 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14245 breakpoints in files outside current directory (Bug#6098).
14247 2012-01-29 Chong Yidong <cyd@gnu.org>
14249 * progmodes/python.el: Require ansi-color at top-level.
14251 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14252 Define and use in Emacs Lisp mode (Bug#9360).
14253 (lisp-mode-abbrev-table): Add doc.
14254 (lisp-mode-variables): Don't set local-abbrev-table.
14255 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14257 2012-01-28 Roland Winkler <winkler@gnu.org>
14259 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14261 2012-01-28 Roland Winkler <winkler@gnu.org>
14263 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14264 (bibtex-set-dialect): Use it. Either set global values of
14265 dialect-dependent variables or bind these variables buffer-locally
14267 (bibtex-mode): Call bibtex-set-dialect via
14268 hack-local-variables-hook.
14269 (bibtex-dialect): Update docstring.
14270 Add safe-local-variable predicate.
14271 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14272 bibtex-set-dialect.
14273 (bibtex-mode-map): Define menu for each dialect.
14274 (bibtex-entry): Fix docstring.
14276 2012-01-28 Chong Yidong <cyd@gnu.org>
14278 * eshell/esh-arg.el (eshell-quote-argument): New function.
14280 * eshell/esh-ext.el (eshell-invoke-batch-file):
14281 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14282 first arg to eshell-parse-command (Bug#10523).
14284 2012-01-28 Drew Adams <drew.adams@oracle.com>
14286 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14287 `default-directory' is non-nil.
14289 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14291 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14292 line that displays system-configuration-options. (Bug#9924)
14294 2012-01-28 Drew Adams <drew.adams@oracle.com>
14296 * descr-text.el (describe-char): Show information about POS, in
14297 addition to information about the character at POS. Improve and
14298 update the doc string. Change "code point" to "code point in
14299 charset", to avoid confusion with the character's Unicode code
14300 point shown above that. (Bug#10129)
14302 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14304 * descr-text.el (describe-char): Show the raw character, not only
14305 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14306 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14309 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14311 * emacs-lisp/package.el (package-install):
14312 Run package-refresh-contents if there is no archive yet (Bug#9798).
14314 2012-01-28 Chong Yidong <cyd@gnu.org>
14316 * emacs-lisp/package.el (package-maybe-load-descriptor):
14317 New function, split from package-maybe-load-descriptor.
14318 (package-maybe-load-descriptor): Use it.
14319 (package-download-transaction): Fully load required packages
14320 inside the loop, so that `require' calls work (Bug#10593).
14321 (package-install): No need to call package-initialize now.
14323 2012-01-28 Chong Yidong <cyd@gnu.org>
14325 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14327 * tooltip.el (tooltip-mode): Doc fix.
14328 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14330 * frame.el (set-cursor-color): Doc fix (Bug#352).
14332 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14333 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14335 * cus-edit.el (custom-buffer-create-internal): Fix search button
14336 action (Bug#10542).
14337 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14339 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14341 * dired.el (dired-mark-files-regexp):
14342 Include any subdirectory components. (Bug#10445)
14344 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14346 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14347 Handle [host]:port syntax. (Bug#10533)
14349 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14351 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14353 2012-01-26 Glenn Morris <rgm@gnu.org>
14355 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14356 * term.el (term-raw-escape-map): Use Control-X-prefix.
14357 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14359 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14361 * window.el (window-state-get, window--state-get-1): Don't deal
14362 with fixed-sizeness of windows. Simplify code.
14364 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14366 * window.el (window--state-get-1, window--state-put-2):
14367 Don't save and restore the mark.
14369 2012-01-25 Chong Yidong <cyd@gnu.org>
14371 * custom.el (custom-variable-p): Doc fix.
14373 2012-01-25 Glenn Morris <rgm@gnu.org>
14375 * dired.el (dired-goto-file): Handle some of the more common
14376 characters that `ls -b' escapes. (Bug#10596)
14378 * progmodes/compile.el (compilation-next-error-function):
14379 Respect compilation-first-column in the "*compilation*" buffer.
14380 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14382 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14384 2012-01-24 Glenn Morris <rgm@gnu.org>
14386 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14388 2012-01-24 Julien Danjou <julien@danjou.info>
14390 * color.el (color-rgb-to-hsl): Fix value computing.
14391 (color-hue-to-rgb): New function.
14392 (color-hsl-to-rgb): New function.
14393 (color-clamp, color-saturate-hsl, color-saturate-name)
14394 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14395 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14397 2012-01-24 Glenn Morris <rgm@gnu.org>
14399 * vc/vc-rcs.el (vc-rcs-create-tag):
14400 * vc/vc-sccs.el (vc-sccs-create-tag):
14401 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14403 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14405 * eshell/esh-util.el (eshell-read-hosts-file):
14406 Skip comment lines. (Bug#10549)
14408 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14410 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14412 * subr.el (display-delayed-warnings): Doc fix.
14413 (collapse-delayed-warnings): New function to collapse identical
14415 (delayed-warnings-hook): Add it.
14417 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14419 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14421 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14422 (tramp-default-user-alist): Don't add "pscp".
14423 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14424 property "login-as", if set. (Bug#10530)
14426 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14428 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14429 "plink1" and "psftp". (Bug#10530)
14431 2012-01-21 Kenichi Handa <handa@m17n.org>
14433 * international/mule-cmds.el (prefer-coding-system): Show a
14434 warning message if the default value of file-name-coding-system
14437 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14439 * windmove.el (windmove-reference-loc):
14440 Fix windmove-reference-loc miscalculation.
14442 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14444 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14447 2012-01-21 Glenn Morris <rgm@gnu.org>
14449 * international/mule.el (auto-coding-alist): Add .tbz.
14451 * files.el (local-enable-local-variables): Doc fix.
14452 (inhibit-local-variables-regexps): Rename from
14453 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14454 Doc fix. Add some extensions from auto-coding-alist.
14455 (inhibit-local-variables-suffixes):
14456 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14457 (inhibit-local-variables-p):
14458 New function, extracted from set-auto-mode-1.
14459 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14460 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14461 (hack-local-variables): Doc fix. Make the mode-only case
14462 respect enable-local-variables and friends.
14463 Respect inhibit-local-variables-regexps for file-locals, but
14464 not for directory-locals.
14465 (set-visited-file-name):
14466 Take account of inhibit-local-variables-regexps.
14467 Whether it applies may change as the file name is changed.
14468 * jka-cmpr-hook.el (jka-compr-install):
14469 * jka-compr.el (jka-compr-uninstall):
14470 Update for inhibit-first-line-modes-suffixes name change.
14472 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14474 * help-macro.el (make-help-screen): Temporarily restore original
14475 binding for minor-mode-map-alist (Bug#10454).
14477 2012-01-19 Julien Danjou <julien@danjou.info>
14479 * color.el (color-name-to-rgb): Use the white color to find the max
14480 color component value and return correctly computed values.
14481 (color-name-to-rgb): Add missing float conversion for max value.
14483 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14485 * window.el (window--state-get-1, window-state-get): Do not use
14486 special state value for window-persistent-parameters.
14487 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14488 (window--state-put-2): Reset all window parameters to nil before
14489 assigning values of persistent parameters.
14491 2012-01-18 Alan Mackenzie <acm@muc.de>
14493 Eliminate sluggishness and hangs in fontification of "semicolon
14496 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14497 Change value 10000 -> 3000.
14498 (c-state-safe-place): Reformulate so it doesn't stack up an
14499 infinite number of wrong entries in c-state-nonlit-pos-cache.
14500 (c-determine-limit-get-base, c-determine-limit): New functions to
14501 determine backward search limits disregarding literals.
14502 (c-find-decl-spots): Amend commenting.
14503 (c-cheap-inside-bracelist-p): New function which detects "={".
14505 * progmodes/cc-fonts.el
14506 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14508 (c-font-lock-declarations): Fix an occurrence of point being
14509 undefined. Check additionally for point being in a bracelist or
14510 near a macro invocation without a semicolon so as to avoid a
14511 fruitless time consuming search for a declarator. Give a more
14512 precise search limit for declarators using the new
14515 2012-01-18 Glenn Morris <rgm@gnu.org>
14517 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14518 (set-auto-mode): Doc fixes.
14520 2012-01-17 Glenn Morris <rgm@gnu.org>
14522 * isearch.el (search-nonincremental-instead): Fix doc typo.
14524 * dired.el (dired-insert-directory): Handle newlines in directory name.
14525 (dired-build-subdir-alist): Unescape newlines in directory name.
14527 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14529 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14530 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14531 (tramp-action-terminal): Use it. (Bug#10530)
14533 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14535 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14537 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14539 * window.el (window-state-ignored-parameters): Remove variable.
14540 (window--state-get-1): Rename argument MARKERS to IGNORE.
14541 Handle persistent window parameters. Make copy of clone-of
14542 parameter only if requested. (Bug#10348)
14543 (window--state-put-2): Install a window parameter only if it has
14544 a non-nil value or an existing parameter shall be overwritten.
14546 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14548 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14550 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14552 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14553 don't pass the (nil) value of `upnode' to string-match.
14555 2012-01-14 Chong Yidong <cyd@gnu.org>
14557 * startup.el (command-line): Fix X resource class for cursorColor.
14558 Fix values recognized by the cursorBlink resource.
14560 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14562 * epg.el (epg--make-temp-file): Avoid permission race condition
14563 when running on old Emacs versions (bug#10403).
14565 2012-01-14 Glenn Morris <rgm@gnu.org>
14567 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14569 2012-01-13 Alan Mackenzie <acm@muc.de>
14571 Fix filling for when filladapt mode is enabled.
14573 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14574 c-mask-paragraph, pass in `fill-paragraph' rather than
14575 `fill-region-as-paragraph'. (This is a reversion of a previous
14577 * progmodes/cc-mode.el (c-basic-common-init):
14578 Make fill-paragraph-handle-comment buffer local and set it to nil.
14580 2012-01-13 Glenn Morris <rgm@gnu.org>
14582 * dired.el (dired-switches-escape-p): New function.
14583 (dired-insert-directory): Use dired-switches-escape-p.
14584 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14586 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14588 2012-01-12 Glenn Morris <rgm@gnu.org>
14590 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14591 changes in adaptive-fill-regexp. (Bug#10276)
14593 2012-01-11 Alan Mackenzie <acm@muc.de>
14595 Fix Emacs bug #10463 - put `widen's around the critical spots.
14597 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14598 widen around each invocation of c-state-pp-to-literal. Remove an
14599 unused let variable.
14601 2012-01-11 Glenn Morris <rgm@gnu.org>
14603 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14606 2012-01-10 Chong Yidong <cyd@gnu.org>
14608 * net/network-stream.el (network-stream-open-starttls):
14609 Avoid emitting a confusing error message when the server gives a bad
14610 response to the capability command.
14612 2012-01-10 Glenn Morris <rgm@gnu.org>
14614 * mail/unrmail.el (unrmail): Tweak previous change.
14616 2012-01-09 Chong Yidong <cyd@gnu.org>
14618 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14620 2012-01-08 Alan Mackenzie <acm@muc.de>
14622 Optimize font locking in long enum definitions.
14624 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14625 arm to a cond form to handle enums.
14626 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14627 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14629 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14631 * files.el (move-file-to-trash): Preserve default file modes on error.
14634 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14636 * faces.el (set-face-attribute): Clarify the meaning of the nil
14639 * subr.el (with-selected-frame): Mention that the selected frame
14640 is restored (bug#9980).
14642 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14645 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14646 (password-read): Don't autoload unused function.
14648 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14650 * progmodes/which-func.el (which-func-mode): Turn into a
14651 non-interactive function and mark as obsolete (bug#10428).
14653 2012-01-06 Chong Yidong <cyd@gnu.org>
14655 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14656 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14657 functions, along with 1 and -1.
14659 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14661 * time.el (display-time-load-average)
14662 (display-time-default-load-average): Doc fixes. See the thread
14664 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14667 2012-01-06 Glenn Morris <rgm@gnu.org>
14669 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14670 has no messages. (Bug#10377)
14672 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14673 than Info-edit. (Bug#10385)
14675 * time.el (display-time-load-average, display-time-next-load-average):
14678 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14679 local setting of buffer-read-only to the input buffer. (Bug#10419)
14681 * calendar/calendar.el (calendar-mode):
14682 Locally set scroll-margin to 0. (Bug#10379)
14684 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14686 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14688 2012-01-05 Glenn Morris <rgm@gnu.org>
14690 * eshell/em-unix.el (diff-no-select): Autoload it.
14691 (eshell/diff): Use diff-no-select. (Bug#10420)
14693 2012-01-05 Chong Yidong <cyd@gnu.org>
14695 * shell.el (shell-dynamic-complete-functions): Revert last change.
14696 (shell-command-completion-function): New function.
14697 (shell-completion-vars): Use it to implement
14698 shell-completion-execonly (Bug#10417).
14700 * custom.el (enable-theme): Don't set custom-safe-themes.
14702 * cus-theme.el (custom-theme-merge-theme):
14703 Ignore custom-enabled-themes and custom-safe-themes.
14705 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14707 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14708 first prompt in `sql-interacive-mode'.
14709 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14711 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14712 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14713 context of original buffer. Invoke `sql-login-hook'.
14715 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14717 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14718 letters in cite-prefix.
14720 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14722 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14724 2012-01-03 Chong Yidong <cyd@gnu.org>
14726 * shell.el (shell-dynamic-complete-functions):
14727 Put pcomplete-completions-at-point, so as to try
14728 comint-filename-completion first (Bug#10417).
14730 2012-01-02 Richard Stallman <rms@gnu.org>
14732 * battery.el (battery-status-function):
14733 Detect when to use battery-yeeloong-sysfs.
14734 (battery-echo-area-format): Add string for Yeeloong.
14735 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14736 (battery-yeeloong-sysfs): New function.
14738 2012-01-02 Chong Yidong <cyd@gnu.org>
14740 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14741 (dirtrack): Merge code for handling relative filenames in prompt
14742 from shell-dir-cookie-watcher.
14743 (dirtrack-debug-message): New arg to avoid excess format calls.
14745 * shell.el (shell-dir-cookie-re): Variable deleted.
14746 (shell-dir-cookie-watcher): Function deleted.
14747 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14748 with dirtrack-mode.
14750 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14752 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14753 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14756 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14758 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14760 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14762 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14763 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14765 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14767 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14768 also for alternative shells.
14769 (tramp-open-connection-setup-interactive-shell): Check, whether
14770 the shell is a busybox.
14771 (tramp-send-command): Don't suppress multiple prompts for
14772 busyboxes, it hurts.
14774 2011-12-28 Chong Yidong <cyd@gnu.org>
14776 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14777 (gdb-get-source-file): Move mode line update to
14778 gdb-get-source-file (Bug#10087).
14780 2011-12-25 Chong Yidong <cyd@gnu.org>
14782 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14783 gud-gdb-marker-filter without taking it as an argument.
14784 (gud-gdb-run-command-fetch-lines): Caller changed.
14785 (gud-gdb-completion-function): New variable.
14786 (gud-gdb-completion-at-point): Use it.
14787 (gud-gdb-completions-1): Split from gud-gdb-completions.
14789 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14790 function as separate arguments.
14791 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14792 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14793 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14794 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14795 (gdb-stopped, def-gdb-auto-update-trigger)
14796 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14797 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14799 (gud-gdbmi-completions): New function.
14800 (gdb): Use it for generating the completion table.
14802 2011-12-24 Alan Mackenzie <acm@muc.de>
14804 Introduce a mechanism to widen the region used in context font
14805 locking. Use this to protect declarations from losing their contexts.
14807 * progmodes/cc-langs.el (c-before-font-lock-functions):
14808 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14809 (c-before-context-fontification-functions): New defvar, a list of
14810 functions to be run just before context (etc.) font locking.
14812 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14813 New, functionality extracted from
14814 c-neutralize-syntax-in-and-mark-CPP.
14815 (c-in-after-change-fontification): New variable.
14816 (c-after-change): Set c-in-after-change-fontification.
14817 (c-set-fl-decl-start): Rejig its interface, so it can be called
14818 from both after-change and context fontifying.
14819 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14821 (c-standard-font-lock-fontify-region-function): New variable.
14822 (c-font-lock-fontify-region): New function.
14824 2011-12-24 Juri Linkov <juri@jurta.org>
14826 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14829 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14831 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14832 existence of source file. (Bug#10325)
14834 2011-12-23 Alan Mackenzie <acm@muc.de>
14836 Fix unstable fontification inside templates.
14838 * progmodes/cc-langs.el (c-before-font-lock-functions):
14839 Newly created from the singular version. The (c c++ objc) entry now
14840 additionally has c-set-fl-decl-start. The other languages (apart
14841 from AWK) have that as a single entry.
14843 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14844 The functionality for "local" declarations has been extracted to
14845 c-set-fl-decl-start.
14847 * progmodes/cc-mode.el (c-common-init, c-after-change):
14848 Changes due to pluralisation of c-before-font-lock-functions.
14849 (c-set-fl-decl-start): New function, extracted from
14850 c-font-lock-enclosing-decls and enhanced.
14852 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14854 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14856 2011-12-22 Juri Linkov <juri@jurta.org>
14858 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14860 2011-12-22 Chong Yidong <cyd@gnu.org>
14862 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14864 2011-12-21 Drew Adams <drew.adams@oracle.com>
14866 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14868 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14870 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14872 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14874 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14875 highlighting and support. Fix up comments for capitalization.
14876 (cfengine-mode-debug): New var.
14877 (cfengine3-mode): Change the modeline indicator to "CFE3".
14878 (cfengine3-font-lock-keywords): Improve defun highlighting.
14879 (cfengine2-actions): Rename from `cfengine-actions'.
14880 (cfengine2-font-lock-keywords): Rename from
14881 `cfengine-font-lock-keywords'.
14882 (cfengine2-imenu-expression): Rename from
14883 `cfengine-imenu-expression'.
14884 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14885 (cfengine2-beginning-of-defun): Rename from
14886 `cfengine-beginning-of-defun'.
14887 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14888 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14889 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14890 modeline indicator to "CFE2".
14891 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14892 (cfengine-mode-abbrevs): Mark obsolete.
14894 2011-12-21 Chong Yidong <cyd@gnu.org>
14896 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14899 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14901 * window.el (window-normalize-buffer-to-display): Remove.
14902 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14904 2011-12-19 Chong Yidong <cyd@gnu.org>
14906 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14907 Don't signal an error in a predicate function; return non-nil.
14908 (vc-dir-mark-file): Move the error here.
14909 (vc-dir-mark-unmark): If acting on the region, keep going if one
14910 of the entries cannot be marked/unmarked.
14911 (vc-dir-mark-all-files): If current entry is a directory, mark
14912 only child files, as documented.
14914 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14916 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14917 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14920 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14922 * term/ns-win.el (ns-get-selection-internal)
14923 (ns-store-selection-internal): Declare.
14924 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14925 Declare as obsolete.
14926 (ns-get-pasteboard, ns-paste-secondary):
14927 Use ns-get-selection-internal.
14928 (ns-set-pasteboard, ns-copy-including-secondary):
14929 Use ns-store-selection-internal.
14931 2011-12-17 Chong Yidong <cyd@gnu.org>
14933 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14934 (vc-deduce-fileset): Doc fix.
14936 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14938 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14940 2011-12-13 Sam Steingold <sds@gnu.org>
14942 * man.el (Man-getpage-in-background): When running under a
14943 window-system, ignore $MANWIDTH and $COLUMNS.
14945 2011-12-15 Kenichi Handa <handa@m17n.org>
14947 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14948 (setup-ethiopic-environment-internal): Comment out key-binding for
14949 ethio-toggle-punctuation.
14951 2011-12-13 Alan Mackenzie <acm@muc.de>
14953 Add the switch statement to AWK Mode.
14955 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14956 "default" to the keywords regexp.
14958 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14959 expression as the rest.
14960 (c-nonlabel-token-key): Allow string literals for AWK.
14961 Refactor for the other modes.
14963 Large brace-block initialisation makes CC Mode slow: Fix.
14964 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14965 routines. Limit backward searching in c-font-lock-enclosing.decl.
14967 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14968 pp-state and literal type in addition to the limits.
14969 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14970 (c-state-literal-at): Use the above new defun.
14971 (c-slow-in-literal, c-fast-in-literal): Remove.
14972 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14974 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14975 being in a literal. Add a limit for backward searching.
14977 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14980 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14982 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14984 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14986 * window.el (delete-other-windows): Use correct frame in call to
14987 window-with-parameter.
14989 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14991 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14992 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14993 (makefile-gmake-statements, makefile-makepp-statements):
14994 Use it and add new makepp keywords.
14995 (makefile-makepp-font-lock-keywords): Add new patterns.
14996 (makefile-match-function-end): Match new [...] and [[...]].
14998 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15000 * ses.el (ses-call-printer-return, ses-cell-property-get)
15001 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15002 (ses-create-cell-variable, ses-reset-header-string)
15003 (ses-cell-set-formula, ses-repair-cell-reference-all)
15004 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15005 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15006 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15007 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15008 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15009 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15010 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15011 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15012 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15013 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15014 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15015 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15017 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15019 * ses.el: The overall change is to add cell renaming, that is
15020 setting fancy names for cell symbols other than name matching
15021 "\\`[A-Z]+[0-9]+\\'" regexp .
15022 (ses-create-cell-variable): New defun.
15023 (ses-relocate-formula): Relocate formulas only for cells the
15024 symbols of which are not renamed, i.e. symbols whose names do not
15025 match regexp "\\`[A-Z]+[0-9]+\\'".
15026 (ses-relocate-all): Relocate values only for cells the symbols of
15027 which are not renamed.
15028 (ses-load): Create cells variables as the (ses-cell ...) are read,
15029 in order to check row col consistency with cell symbol name only
15030 for cells that are not renamed.
15031 (ses-replace-name-in-formula): New defun.
15032 (ses-rename-cell): New defun.
15034 2011-12-11 Chong Yidong <cyd@gnu.org>
15036 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15037 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15039 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15041 * window.el (other-window): Fix docstring.
15043 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15045 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15046 `from' or `to' address before taking its substring.
15047 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15048 encoded name is chopped in the middle of the encoded string, and
15049 thus displayed encoded.
15051 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15053 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15055 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15057 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15058 to use texinfo-update-node and commands that call it if the
15059 Texinfo file uses @node lines without next/prev/up pointers.
15060 Correct outdated description about texinfo-master-menu.
15061 (texinfo-all-menus-update, texinfo-master-menu)
15062 (texinfo-update-node, texinfo-every-node-update)
15063 (texinfo-multiple-files-update): Doc fix. Warn against updating
15064 all the @node lines.
15065 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15066 argument is numeric. Explain better in the doc string what the
15067 function really does.
15068 (texinfo-insert-master-menu-list): Improve the error message
15069 displayed if there's no menu in the Top node.
15070 (Bug#2975) See also this thread:
15071 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15073 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15075 * speedbar.el (speedbar-supported-extension-expressions):
15076 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15078 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15080 * printing.el (pr-mode-alist):
15081 * simple.el (filter-buffer-substring-functions)
15082 (completion-list-insert-choice-function):
15083 * window.el (window-with-parameter, window-atom-root)
15084 (window-sides-slots, window-size-fixed, window-min-delta)
15085 (window-max-delta, window--resize-mini-window)
15086 (window--resize-child-windows-normal, window-tree)
15087 (delete-other-windows, quit-window, split-window)
15088 (display-buffer-record-window, special-display-buffer-names)
15089 (special-display-regexps, special-display-popup-frame)
15090 (same-window-p, split-window-sensibly)
15091 (display-buffer-overriding-action, display-buffer-alist)
15092 (display-buffer-base-action, display-buffer, switch-to-buffer)
15093 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15094 (fit-window-to-buffer, recenter-positions)
15095 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15096 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15097 and remove unneeded backslashes in docstrings.
15099 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15101 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15103 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15104 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15106 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15107 when reading the makefile (bug#10116).
15109 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15111 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15114 2011-12-06 Glenn Morris <rgm@gnu.org>
15116 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15118 2011-12-06 Chong Yidong <cyd@gnu.org>
15120 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15122 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15124 * textmodes/table.el (table-shorten-cell): Fix typo.
15126 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15128 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15130 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15132 * descr-text.el (describe-char): Fix display of strong
15133 right-to-left characters and directional embeddings and overrides.
15135 * simple.el (what-cursor-position): Fix display of codepoints of
15136 strong right-to-left characters.
15138 2011-12-05 Chong Yidong <cyd@gnu.org>
15140 * faces.el (read-color): Doc fix.
15142 2011-12-05 Glenn Morris <rgm@gnu.org>
15144 * align.el (align--set-marker): Add doc-string.
15145 Don't try to move something that is not a marker. (Bug#10216)
15147 2011-12-04 Glenn Morris <rgm@gnu.org>
15149 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15150 overly zealous deletion of trailing whitespace.
15152 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15154 * server.el (server-delete-client): On Windows, do not try to delete
15156 (server-process-filter): On Windows, treat requests for a tty frame as
15157 if they were for a GUI frame if the running server is in GUI mode.
15159 2011-12-03 Glenn Morris <rgm@gnu.org>
15161 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15163 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15165 * electric.el: Streamline electric-indent's hook.
15166 (electric-indent-chars): Revert to simple list.
15167 (electric-indent-functions): New var.
15168 (electric-indent-post-self-insert-function): Use it.
15170 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15171 there's no inferior buffer (bug#10196).
15172 (prolog-consult-compile): Don't use toggle-read-only.
15174 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15176 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15177 interrupt. (Bug#10187)
15179 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15181 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15184 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15187 2011-12-02 Juri Linkov <juri@jurta.org>
15189 * info.el (Info-search): Display "end of manual" when Isearch
15190 reaches the end of single-file Info manual. (Bug#9918)
15192 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15194 * isearch.el (isearch-message-prefix): Run the input method part
15195 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15197 2011-12-02 Juri Linkov <juri@jurta.org>
15199 * isearch.el (isearch-occur): Use `word-search-regexp' for
15201 (isearch-search-and-update): Add condition for `isearch-word' and
15202 call `word-search-regexp'. (Bug#10145)
15204 2011-12-01 Glenn Morris <rgm@gnu.org>
15206 * eshell/em-hist.el (eshell-hist-initialize):
15207 Handle eshell-history-size nil and HISTSIZE set or unset.
15208 (eshell-history-file-name, eshell-history-size): Fix custom type.
15210 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15212 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15214 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15216 * progmodes/verilog-mode.el (verilog-pretty-expr):
15217 Rework verilog-pretty-expr to handle new assignment operators in system
15218 verilog, such as += *= and the like.
15219 (verilog-assignment-operator-re): Regular expression to find the
15220 assigment operator in a verilog assignment.
15221 (verilog-assignment-operation-re): Regular expression to find an
15222 assignment statement for pretty-expr.
15223 (verilog-in-attribute-p): Query returns true if point is in an
15224 attribute context; used to skip these for expression line up from
15226 (verilog-in-parameter-p): Query returns true if point is in an
15227 parameter definition context; used to skip these for expression
15228 line up from pretty-expr.
15229 (verilog-in-parenthesis-p): Query returns true if point is in a
15230 parenthetical expression, specifically ( ) but not [ ] or { };
15231 used by pretty-expr.
15232 (verilog-just-one-space): If there is no space, don't add one.
15233 (verilog-get-lineup-indent-2): Specifically skip just attribute
15234 contexts for expression lineup, rather than skipping all
15235 parenthetical expressions.
15236 (verilog-calculate-indent): Fix comment, and fix indent.
15237 (verilog-do-indent): Indent declarations in lists (suggested by
15239 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15241 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15244 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15246 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15247 parameters with embedded comments. Reported by Ray Stevens.
15248 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15249 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15250 Reported by Tim Holt.
15251 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15252 instantiated by upper module causing wrong expansion until AUTOed a
15253 second time. Reported by K C Buckenmaier.
15254 (verilog-diff-auto): Fix showing .* as a difference when
15255 `verilog-auto-star-save' off. Reported by Dan Dever.
15256 (verilog-auto-reset, verilog-read-always-signals)
15257 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15258 temporary signals in reset list if
15259 verilog-auto-reset-blocking-in-non is nil, and match assignment
15260 style to each signal's assignment type, bug381.
15261 Reported by Thomas Esposito.
15262 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15263 (verilog-uvm-statement-re): Support UVM indentation and
15264 highlighting, with old OVM keywords only.
15265 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15266 Support AUTOTIEOFF creating non-wire data types.
15267 Suggested by Jonathan Greenlaw.
15268 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15269 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15270 (verilog-inject-sense, verilog-read-inst-pins)
15271 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15272 Fix mismatching parenthesis inside commented out code when deleting
15273 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15274 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15275 non-numeric vector width. Reported by Alex Reed.
15276 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15277 detecting signals with parameter widths. Reported by Alex Reed.
15278 (verilog-auto-delete-trailing-whitespace):
15279 With `verilog-auto-delete-trailing-whitespace' remove trailing
15280 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15281 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15282 Fix verilog-scan-cache corruption when running user AUTO expansion
15283 hooks that call indentation routines.
15284 (verilog-simplify-range-expression): Fix typo ignoring lower case
15286 (verilog-delete-auto): Fix delete-autos to also remove user created
15287 automatics, as long as they start with AUTO.
15288 (verilog-batch-diff-auto, verilog-diff-auto)
15289 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15290 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15291 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15292 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15293 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15294 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15295 is disabled and its cache will get corrupt, causing AUTOS not to
15296 expand. Instead use only -quick functions.
15297 (verilog-scan-region): Fix scanning over escaped quotes.
15298 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15299 (verilog-re-search-backward-quick)
15300 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15301 related functions now ignore strings, to fix misparsing of strings
15302 with magic comments embedded in them.
15303 (verilog-read-auto-template):
15304 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15305 Reported by Brad Dobbie.
15306 (verilog-read-auto-template):
15307 Fix 'verilog-auto-inst-template-numbers' with comments.
15308 Reported by Brad Dobbie.
15309 (verilog-auto-inst, verilog-auto-inst-param)
15310 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15311 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15312 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15313 debugging templates without merge conflicts, bug357.
15314 Reported by Brad Dobbie.
15315 (verilog-read-auto-template):
15316 Fix verilog-auto-inst-template-numbers with multiple templates.
15317 Reported by Brad Dobbie.
15318 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15319 abbrevs so user won't be asked to save.
15320 (verilog-read-auto-lisp-present): Fix to start at beginning of
15321 buffer in case called outside of verilog-auto.
15322 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15323 to "X-2". Reported by Matthew Myers.
15324 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15325 all inputs from module templates. Reported by Leith Johnson.
15326 (verilog-module-inside-filename-p): Fix locating programs as with
15328 (verilog-auto-inst-port): Fix vl-width expressions when using
15329 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15330 (verilog-decls-get-regs, verilog-decls-get-signals,
15331 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15332 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15333 verilog-read-decls): Combine reg and wire structures into one var
15334 structure to represent SystemVerilog concepts.
15335 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15336 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15337 (verilog-auto-wire-type, verilog-insert-definition):
15338 Add verilog-auto-wire-type and AUTOLOGIC to support using
15339 SystemVerilog "logic" keyword instead of "wire"/"reg".
15340 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15341 to declares outputs that also have assignments (presumably in an
15342 ifdef or generate if so there's not a driver conflict).
15343 Reported by Matthew Myers.
15344 (verilog-auto-declare-nettype, verilog-insert-definition):
15345 Add verilog-auto-declare-nettype to fix declarations using
15346 `default_nettype none. Reported by Julian Gorfajn.
15347 (verilog-read-always-signals-recurse, verilog-read-decls)
15348 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15349 malformed end statement, bug325. Reported by Joshua Wise and
15351 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15352 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15353 when expanding .* in interfaces, bug320.
15354 Reported by Pierre-David Pfister.
15355 (verilog-read-module-name): Fix import statements between module
15356 name and open parenthesis, bug317.
15357 Reported by Pierre-David Pfister.
15358 (verilog-simplify-range-expression): Fix simplification of
15359 multiplications inside AUTOWIRE connections, bug303.
15360 (verilog-auto-inst-port): Support parameter expansion in
15361 multidimensional arrays.
15362 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15363 after "assert property". Reported by Julian Gorfajn.
15364 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15365 with multiplication, bug303.
15366 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15367 Reported by Jan Frode Lonnum.
15369 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15371 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15372 (hfy-shell-file-name, hfy-shell):
15373 * international/fontset.el (x-decompose-font-name): Fix typos.
15375 2011-11-29 Ken Brown <kbrown@cornell.edu>
15377 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15378 (gdb-version): Remove defvar.
15379 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15380 (gdb-gud-context-command, gdb-non-stop-handler)
15381 (gdb-current-context-command, gdb-stopped): Use it.
15382 (gdb-init-1): Enable pretty printing here.
15383 (gdb-non-stop-handler): Don't enable pretty-printing here.
15384 Check to see if the target supports non-stop mode; if not, turn off
15385 non-stop mode. Use the following.
15386 (gdb-check-target-async): New defun.
15387 (gud-watch, gdb-stopped): Fix whitespace.
15388 (gdb-get-source-file): Don't try to display the source file if
15389 `gdb-main-file' is nil.
15391 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15393 * align.el: Try to generate fewer markers (bug#10047).
15394 (align--set-marker): New macro.
15395 (align-region): Use it.
15397 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15399 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15401 2011-11-29 Chong Yidong <cyd@gnu.org>
15403 * indent.el (indent-for-tab-command, indent-according-to-mode):
15405 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15407 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15409 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15410 aware of remote file names. (Bug#10124)
15412 2011-11-29 Chong Yidong <cyd@gnu.org>
15414 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15416 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15418 * files.el (find-file): Don't use force-same-window (bug#10144).
15419 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15420 use pop-to-buffer if the selected window can't be used.
15421 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15423 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15425 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15428 2011-11-28 Chong Yidong <cyd@gnu.org>
15430 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15432 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15434 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15435 gdb-get-source-file-list on gdb-create-source-file-list.
15437 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15439 * whitespace.el (whitespace-newline): Use a different foreground
15440 color for 16-color light-background displays.
15442 2011-11-24 Chong Yidong <cyd@gnu.org>
15444 * window.el (display-buffer--special-action): Doc fix.
15446 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15448 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15449 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15450 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15451 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15452 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15453 (avl-tree-stack-first):
15454 * emacs-lisp/cconv.el (cconv--analyse-use):
15455 * net/gnutls.el (gnutls-negotiate): Fix typos.
15457 2011-11-24 Glenn Morris <rgm@gnu.org>
15459 * lpr.el (lpr-windows-system, lpr-lp-system):
15460 * mail/binhex.el (binhex-begin-line):
15461 * progmodes/grep.el (grep-history, grep-find-history):
15462 * textmodes/flyspell.el:
15463 * vc/pcvs-defs.el (cvs-global-menu):
15464 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15465 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15466 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15468 * net/tls.el: Fix case of "GnuTLS".
15470 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15472 * version.el (emacs-build-system): Give it a doc-string.
15474 2011-11-24 Juri Linkov <juri@jurta.org>
15476 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15478 2011-11-24 Glenn Morris <rgm@gnu.org>
15480 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15481 if called on a non-mime message just toggle the headers. (Bug#8006)
15483 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15485 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15486 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15487 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15488 (allout-rebullet-heading, allout-open-sibtopic)
15489 (allout-toggle-current-subtree-encryption)
15490 (allout-toggle-subtree-encryption, allout-encrypt-string)
15491 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15492 (allout-distinctive-bullets-string, allout-auto-activation):
15493 * window.el (window-normalize-buffer-to-display):
15494 * progmodes/verilog-mode.el (verilog-batch-indent):
15495 * textmodes/bibtex.el (bibtex-field-braces-opt)
15496 (bibtex-field-strings-opt):
15497 * vc/cvs-status.el (cvs-tree-merge):
15500 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15502 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15503 `non-essential' to t, in order to avoid remote connections.
15505 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15507 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15508 On MS-DOS and MS-Windows, compare with loaddefs.el
15509 case-insensitively.
15511 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15513 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15515 2011-11-23 Glenn Morris <rgm@gnu.org>
15517 * paths.el (rmail-file-name): Reformat the doc-string so that it
15520 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15521 (rmail-auto-file): Ignore case in the "special" field names,
15522 as mail-fetch-field does for all others.
15524 * mail/rmail.el (rmail-forward):
15525 * mail/rmailkwd.el (rmail-set-label):
15526 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15527 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15529 * mail/rmail.el (rmail-current-message): Doc fix.
15531 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15533 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15535 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15537 2011-11-22 Glenn Morris <rgm@gnu.org>
15539 * mail/rmailmm.el (test-rmail-mime-handler)
15540 (test-rmail-mime-bulk-handler)
15541 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15543 2011-11-21 Juri Linkov <juri@jurta.org>
15545 * calc/calc.el (calc-read-key-sequence):
15546 Let-bind `input-method-function' to nil. (Bug#10018)
15548 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15550 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15551 Tell the caller that the next line needs recomputation, even
15552 though it doesn't start a sexp (bug#10094).
15554 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15556 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15558 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15560 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15561 Use force-same-window.
15563 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15565 * descr-text.el (describe-char-unicode-data):
15566 * json.el (json-string-escape):
15567 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15568 (Footnote-unicode, Footnote-style-p):
15569 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15571 2011-11-20 Chong Yidong <cyd@gnu.org>
15573 * window.el (replace-buffer-in-windows): Restore interactive spec.
15575 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15577 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15579 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15580 (byte-compile-global-not-obsolete-vars): New var.
15581 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15583 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15585 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15587 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15588 * progmodes/pascal.el (electric-pascal-equal):
15589 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15590 * xml.el (xml-substitute-special): Fix typos.
15592 2011-11-20 Glenn Morris <rgm@gnu.org>
15594 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15595 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15597 (rmail-decode-mime-charset): Mark as obsolete.
15599 * mail/rmailsum.el (rmail-message-regexp-p-1):
15600 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15601 Before using mime functions, check they are set. (Bug#10077)
15603 2011-11-19 Juri Linkov <juri@jurta.org>
15605 * info.el (Info-finder-find-node): Use `package--builtins' instead
15606 of `package-alist'. Use node names formed by the pattern "Keyword "
15607 and the keyword name.
15609 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15611 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15613 2011-11-19 Juri Linkov <juri@jurta.org>
15615 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15616 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15617 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15618 `old-history', `old-history-forward'. Add let-binding
15619 `window-selected'. Remove calls to `kill-buffer',
15620 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15621 before calling `Info-find-node', so `Info-find-node-2' will reread
15622 the Info file. Restore window positions only when `window-selected'
15625 2011-11-19 Juri Linkov <juri@jurta.org>
15627 * isearch.el (isearch-lazy-highlight-new-loop):
15628 Remove condition `(not isearch-error)'. (Bug#9918)
15630 * misearch.el (multi-isearch-search-fun): Add condition
15631 `(not bound)' to ignore lazy-highlighting search.
15632 Add the search-failed message "end of multi" when the end of
15633 multi-sequence is reached. Uncapitalize the search-failed
15634 message "Repeat for next buffer".
15636 * info.el (Info-search): Add the search-failed message
15637 "end of the manual" when the end of the manual is reached
15640 2011-11-19 Juri Linkov <juri@jurta.org>
15642 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15643 Use non-destructive `remove' instead of `delete' because
15644 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15645 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15647 2011-11-19 Juri Linkov <juri@jurta.org>
15649 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15650 to nil instead of binding `search-ring' and `regexp-search-ring'.
15653 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15655 * simple.el (line-move): Force movement by logical lines for any
15656 hscrolled window, not only when auto-hscroll-mode is on.
15657 (line-move-visual): Update doc string to that effect. (Bug#10076)
15659 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15661 * language/european.el (macintosh): Define as alias for mac-roman.
15663 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15665 * mail/rmailmm.el (rmail-mime-display-header)
15666 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15667 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15668 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15669 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15670 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15672 (rmail-mime-entity-segment): To get past the tagline, move forward
15673 2 more lines, to account for the 2 empty lines that precede and
15674 follow the line with the buttons.
15675 (rmail-mime-update-tagline): Move one more line, to get past the
15676 empty line that follows the buttons in the tagline. (Bug#9520)
15678 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15680 * window.el (window-max-delta-1, window-min-delta-1)
15681 (window-min-size-1, window-state-get-1, window-state-put-1)
15682 (window-state-put-2): Use "window--" prefix.
15684 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15686 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15687 (smie-warning-count): New var.
15688 (smie-set-prec2tab): Use it.
15689 (smie-bnf->prec2): Improve warnings. Add docstring.
15690 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15691 (smie-bnf--set-class): New function.
15692 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15695 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15696 (compilation-error-properties, compilation-move-to-column):
15697 Handle compilation-first-column while in the target buffer.
15699 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15700 Don't hardcode point-min==1.
15702 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15703 (eshell-rewrite-for-command): Remove workaround.
15704 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15705 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15706 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15708 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15710 2011-11-17 Glenn Morris <rgm@gnu.org>
15712 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15713 Ignore buffer-local generated-autoload-file if it is the same
15714 as the global value. (Bug#10049)
15716 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15718 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15719 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15720 (reftex-toc-previous-heading, reftex-toc-max-level)
15721 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15722 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15723 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15724 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15725 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15726 (reftex-toc-rename-label, reftex-toc-visit-location)
15727 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15728 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15729 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15730 leaving "*toc*" only for references to the buffer.
15732 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15734 * window.el (window-resize, delete-window, split-window):
15735 Replace window-splits by window-combination-resize.
15736 * cus-start.el (window-splits): Replace by window-combination-resize.
15738 2011-11-17 Glenn Morris <rgm@gnu.org>
15740 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15741 Make bash entry derive from sh entry, not shell entry.
15743 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15745 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15748 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15750 * menu-bar.el (menu-bar-file-menu):
15751 * printing.el (pr-ps-utility):
15752 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15753 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15754 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15755 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15756 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15757 (icalendar--convert-cyclic-to-ical)
15758 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15759 (icalendar--convert-ical-to-diary)
15760 (icalendar--convert-recurring-to-diary)
15761 (icalendar--convert-non-recurring-all-day-to-diary)
15762 (icalendar-import-format-sample):
15763 * progmodes/idlw-shell.el (idlwave-shell-mode):
15764 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15765 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15766 (vhdl-ps-print-init): Fix typos.
15768 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15770 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15771 FSF and collapse date sequence, obscure author/maintainer email address
15772 better, remove extra version line, track relocation of author's webpage.
15774 * progmodes/python.el (python-pdbtrack-input-prompt)
15775 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15776 regular python pdb prompts. Adjustments shamelessly taken exactly as
15777 suggested in EmacsWiki page (tiny change):
15778 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15780 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15782 * expand.el (expand-pos, expand-index, expand-point):
15783 Remove redundant info from docstring.
15784 (expand-add-abbrevs): Doc fix.
15785 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15786 (expand-sample-perl-mode-expand-list): Fix typos.
15788 * net/dbus.el (dbus-event-member-name):
15789 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15790 * term/pc-win.el (msdos-create-frame-with-faces):
15791 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15793 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15795 * window.el (split-window, window-state-get-1)
15796 (window-state-put-1, window-state-put-2): Rename occurrences of
15797 window-nest to window-combination-limit.
15798 * cus-start.el (window-nest): Rename to window-combination-limit.
15800 2011-11-16 Chong Yidong <cyd@gnu.org>
15802 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15803 regexp (Bug#10033).
15805 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15807 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15808 `completing-read' will remove *Completions* and will preserve
15809 current-buffer for us.
15810 (tmm-add-prompt): Users of *Completions* will always (re)set its
15812 (tmm-old-comp-map): Remove.
15814 2011-11-16 Glenn Morris <rgm@gnu.org>
15816 * mail/rmailedit.el: Require rmailmm when compiling.
15817 (rmail-old-mime-state): New declaration.
15818 (rmail-edit-current-message): If editing a mime message,
15819 edit the "raw" message from the mbox buffer.
15820 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15822 2011-11-15 Glenn Morris <rgm@gnu.org>
15824 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15825 which wasn't being used. Add optional arg to force given state.
15826 (rmail-mime): Add optional arg to force given state.
15828 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15830 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15831 * frame.el (display-mm-dimensions-alist):
15832 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15833 (outline-move-subtree-down):
15834 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15835 (newsticker--treeview-do-get-node):
15836 * net/quickurl.el (quickurl-list-buffer-name):
15837 * progmodes/dcl-mode.el (dcl-mode):
15838 * progmodes/gdb-mi.el (gdb-mapcar*):
15839 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15841 2011-11-15 Glenn Morris <rgm@gnu.org>
15843 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15844 in a boolean sense, so just make it a boolean, and fix the doc.
15845 (rmail-show-mime-function, rmail-mime-feature)
15846 (rmail-require-mime-maybe): Doc fixes.
15847 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15849 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15851 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15853 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15854 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15855 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15856 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15858 2011-11-15 Glenn Morris <rgm@gnu.org>
15860 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15861 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15862 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15863 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15864 (rmail-mime, rmail-show-mime): Doc fixes.
15866 * term/ns-win.el (mode-line-frame-identification):
15867 Leave it alone. (Bug#10051)
15869 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15871 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15872 Handle empty buffers. (Bug#9978)
15874 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15876 * international/mule.el (define-charset):
15877 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15878 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15879 * progmodes/verilog-mode.el (verilog-backward-token):
15880 * textmodes/ispell.el (lookup-words):
15881 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15883 2011-11-14 Glenn Morris <rgm@gnu.org>
15885 * progmodes/executable.el
15886 (executable-make-buffer-file-executable-if-script-p):
15887 Handle file-modes returning nil.
15889 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15890 message - not necessary, and causes problems. (Bug#9831)
15892 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15894 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15896 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15897 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15898 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15900 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15902 * window.el (window-resize, delete-window): Use window-splits
15903 variable instead of function.
15904 (window-state-get-1, window-state-put-2, window-state-put):
15905 Don't deal with windows' splits status.
15907 2011-11-12 Glenn Morris <rgm@gnu.org>
15909 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15910 (apropos-documentation): Doc fixes.
15912 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15914 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15915 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15917 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15919 * electric.el (electric-indent-post-self-insert-function): Make it
15920 possible for a char to only indent in some circumstances.
15921 (electric-indent-mode): Simplify.
15923 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15925 * window.el (windows-with-parameter): Remove unused function.
15926 (windows-at-side): Rename to window-at-side-list.
15927 (window-check, window-atom-check, window-atom-check-1)
15928 (window-side-check, window-size-ignore, window-size-fixed-1)
15929 (window-in-direction-2): Prefix with "window--".
15930 (window-tree-1): Rename to window--subtree, fix doc-string.
15932 2011-11-11 Glenn Morris <rgm@gnu.org>
15934 * subr.el (eval-after-load): If FILE is already loaded,
15935 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15937 2011-11-10 Glenn Morris <rgm@gnu.org>
15939 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15940 Call svn via vc-svn-command rather than vc-do-command.
15941 (vc-svn-command): Add --non-interactive. (Bug#9993)
15942 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15944 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15945 Add toggle-read-only. (Bug#7292)
15946 * files.el (toggle-read-only): Mention that it should only
15947 be used interactively. (Bug#10006)
15949 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15951 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15952 Adjust regexp for OCaml warnings.
15954 * electric.el (electric-pair-post-self-insert-function): Let user
15955 turn it off buffer-locally (bug#9932).
15957 * progmodes/python.el (python-beginning-of-statement):
15958 Rewrite (bug#2703).
15960 * progmodes/compile.el: Better handle TABs (bug#9749).
15961 (compilation-internal-error-properties)
15962 (compilation-next-error-function): Obey the target buffer's
15963 compilation-error-screen-columns.
15965 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15967 * progmodes/meta-mode.el: Remove obsolete comments.
15968 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15969 Fix typos in docstrings.
15971 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15973 * window.el (window-size-fixed-p): Rewrite doc-string.
15974 (window-resizable-p): Rename to window--resizable-p. Update callers.
15975 (window--resizable): New function. Make all callers of
15976 window-resizable call window--resizable instead.
15977 (window-resizable): Rewrite in terms of window--resizable.
15979 2011-11-08 Glenn Morris <rgm@gnu.org>
15981 * progmodes/delphi.el (delphi-mode-syntax-table):
15982 Let define-derived-mode define a proper syntax table. (Bug#9994)
15984 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15986 * window.el: Stay away from defsubst.
15987 (window-list-no-nils): Remove.
15988 (window-state-get-1, window-state-get): Use backquote instead.
15990 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15992 * emacs-lisp/find-func.el (find-function-read):
15993 Fix incorrect use of default argument in `completing-read'.
15995 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15997 * window.el (display-buffer-function, special-display-function):
15998 Mention display-buffer-record-window but do not mention
15999 help-setup parameter in doc-strings.
16000 (window-min-delta): Fix doc-string typo.
16002 2011-11-08 Chong Yidong <cyd@gnu.org>
16004 * window.el (window-total-height, window-total-width): Doc fix.
16005 (window-body-size): Move from C.
16006 (window-body-height, window-body-width): Move to C.
16008 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16010 * window.el: Make special-display like display-buffer-alist (bug#9532).
16011 (display-buffer--special-action): New function, morphed
16012 from display-buffer--special.
16013 (display-buffer): Use it to handle special-display-buffers at higher
16014 priority (just after display-buffer-alist).
16015 (display-buffer-fallback-action, display-buffer--other-frame-action)
16016 (pop-to-buffer-same-window): Remove display-buffer--special.
16018 2011-11-07 Glenn Morris <rgm@gnu.org>
16020 * calendar/cal-menu.el (cal-menu-set-date-title):
16021 Do nothing if not in a calendar. (Bug#9976)
16023 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16025 * files.el (find-file): Always use selected-window.
16027 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16029 * window.el (window-combinations): Make WINDOW argument
16030 mandatory. Rewrite doc-string.
16031 (walk-window-subtree, window-atom-check, window-min-delta)
16032 (window-max-delta, window--resize-this-window)
16033 (window--resize-root-window-vertically, window-tree)
16034 (balance-windows, window-state-put): Rewrite doc-strings as to
16035 not mention the term "subwindow".
16036 (window--resize-subwindows-skip-p): Rename to
16037 window--resize-child-windows-skip-p.
16038 (window--resize-subwindows-normal): Rename to
16039 window--resize-child-windows-normal.
16040 (window--resize-subwindows): Rename to
16041 window--resize-child-windows.
16042 (window-or-subwindow-p): Rename to window--in-subtree-p.
16044 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16046 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16047 Ensure that mbox format messages end in two newlines (Bug#9974).
16049 2011-11-06 Chong Yidong <cyd@gnu.org>
16051 * window.el (window-combination-p): Function deleted; its
16052 side-effect is not used in any existing code.
16053 (window-combinations, window-combined-p): Call window-*-child
16056 2011-11-05 Chong Yidong <cyd@gnu.org>
16058 * window.el (window-valid-p): Rename from window-any-p.
16059 (window-size-ignore, window-state-get): Callers changed.
16060 (window-normalize-window): Rename from window-normalize-any-window.
16061 New arg LIVE-ONLY, replacing window-normalize-live-window.
16062 (window-normalize-live-window): Delete.
16063 (window-combination-p, window-combined-p, window-combinations)
16064 (walk-window-subtree, window-atom-root, window-min-size)
16065 (window-sizable, window-sizable-p, window-size-fixed-p)
16066 (window-min-delta, window-max-delta, window-resizable)
16067 (window-resizable-p, window-full-height-p, window-full-width-p)
16068 (window-current-scroll-bars, window-point-1, set-window-point-1)
16069 (window-at-side-p, window-in-direction, window-resize)
16070 (adjust-window-trailing-edge, maximize-window, minimize-window)
16071 (window-deletable-p, delete-window, delete-other-windows)
16072 (record-window-buffer, unrecord-window-buffer)
16073 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16074 (quit-window, split-window, window-state-put)
16075 (set-window-text-height, fit-window-to-buffer)
16076 (shrink-window-if-larger-than-buffer): Callers changed.
16078 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16080 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16081 rfc2047-decode-string.
16082 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16085 * window.el (window-body-height, window-body-width): Mention in
16086 the doc string that the return values are in frame's canonical
16089 2011-11-03 Alan Mackenzie <acm@muc.de>
16091 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16092 change in cc-engine.el.
16094 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16096 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16098 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16100 * window.el (quit-window): Call unrecord-window-buffer after
16101 showing another buffer in the window. (Bug#9937)
16102 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16104 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16106 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16107 Accept status with more than 9 shelves. (Bug#9935)
16108 Reported by Colin D Bennett <colin@gibibit.com>.
16110 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16112 * help.el (with-help-window): Don't reference
16113 temp-buffer-show-specifiers in doc-string.
16115 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16117 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16120 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16122 * whitespace.el: New version 13.2.2.
16123 (whitespace-newline-mode): Disable properly. Reported by Sarah
16126 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16128 * net/newst-treeview.el: Remove "Time-stamp".
16129 (newsticker--group-manage-orphan-feeds): Do not call
16130 newsticker--treeview-tree-update.
16131 (newsticker-treeview-update, newsticker-treeview):
16132 Call newsticker--treeview-tree-update if necessary.
16134 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16136 * window.el (window-iso-combination-p, window-iso-combined-p)
16137 (window-iso-combinations): Remove "iso-" infix.
16138 Suggested by Chong Yidong.
16139 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16140 (window-max-delta-1, window-resize, window--resize-siblings)
16141 (window--resize-this-window, adjust-window-trailing-edge)
16142 (split-window, balance-windows-1)
16143 (shrink-window-if-larger-than-buffer):
16144 * calendar/calendar.el (calendar-generate-window):
16145 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16147 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16149 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16150 in place (bug#9907).
16151 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16152 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16153 (eshell-structure-basic-command, eshell-rewrite-while-command)
16154 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16155 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16156 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16157 (eshell-do-pipelines-synchronously, eshell-eval-command):
16158 Use backquotes and prefer setq to set.
16159 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16160 (eshell-macrop): Use functionp.
16161 (eshell-do-eval): Handle multiple expressions in `while' body.
16163 2011-10-30 Chong Yidong <cyd@gnu.org>
16165 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16166 instead of set-mark (Bug#9810).
16168 2011-10-30 Chong Yidong <cyd@gnu.org>
16170 * window.el (split-window-below, split-window-right): Rename from
16171 split-window-above-each-other and split-window-side-by-side
16172 respectively. All callers changed.
16173 (split-window-sensibly, split-window-sensibly): Use them.
16174 (split-window-keep-point): Doc fix.
16176 * isearch.el: Add isearch-scroll property to split-window-below
16177 and split-window-right.
16179 * follow.el (follow-mode):
16180 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16181 * progmodes/ada-xref.el (ada-gdb-application):
16182 * emulation/vip.el (vip-buffer-in-two-windows):
16183 * image-dired.el (image-dired-dired-with-window-configuration):
16184 * dired-x.el (dired-do-find-marked-files):
16185 * dired.el (dired-pop-to-buffer):
16186 * bs.el (bs--show-with-configuration):
16187 * vc/emerge.el (emerge-setup-windows):
16188 * textmodes/two-column.el (2C-two-columns):
16189 * textmodes/reftex-toc.el (reftex-toc):
16190 * progmodes/gdb-mi.el (gdb-setup-windows):
16191 * progmodes/fortran.el (fortran-window-create):
16192 * net/newst-treeview.el (newsticker--treeview-window-init):
16193 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16194 * emulation/tpu-edt.el (tpu-gold-map):
16195 * emulation/crisp.el (crisp-mode-map):
16196 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16198 2011-10-29 Chong Yidong <cyd@gnu.org>
16200 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16202 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16204 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16205 forged Ispell output (Bug#7904).
16207 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16209 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16211 * doc-view.el: Avoid ugly errors about not finding nil.
16212 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16213 (doc-view-dvipdf-program, doc-view-unoconv-program)
16214 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16215 Avoid nil or absolute file name as default value.
16216 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16218 2011-10-28 Alan Mackenzie <acm@muc.de>
16220 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16222 2011-10-28 Alan Mackenzie <acm@muc.de>
16224 Amend the handling of c-beginning/end-of-defun in nested declaration
16227 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16228 cc-langs.el. Change it to a defcustom.
16230 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16233 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16234 Prevent "class foo : bar" being spuriously recognized as a label.
16236 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16237 Add parameter `inclusive' (to include enclosing braces in the region).
16238 (c-widen-to-enclosing-decl-scope): New function.
16239 (c-while-widening-to-decl-block): New macro.
16240 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16241 outward for defun boundaries, and correspondingly change symbol
16242 `respect-enclosure' to `go-outward'.
16243 (c-declaration-limits): Change algorithm to report only the "innermost"
16244 defun's boundaries.
16246 2011-10-28 Deniz Dogan <deniz@dogan.se>
16248 * net/rcirc.el (rcirc-mode): Use hard newlines.
16250 2011-10-28 Alan Mackenzie <acm@muc.de>
16252 Amend to indent and fontify macros "which include their own semicolon"
16253 correctly, using the "virtual semicolon" mechanism.
16255 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16257 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16258 Recode to scan one line at a time rather than having \n and \r
16259 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16260 (c-forward-label): Amend for virtual semicolons.
16261 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16263 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16264 of the new C macros.
16266 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16267 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16268 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16269 (c-opt-cpp-macro-define): Make into a full language variable.
16270 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16271 AWK Mode (including \n, \r) removed, no longer needed.
16273 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16274 Invoke c-make-macro-with-semi-re.
16276 * progmodes/cc-vars.el (c-macro-with-semi-re):
16277 (c-macro-names-with-semicolon): New variables.
16278 (c-make-macro-with-semi-re): New function.
16280 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16282 * vc/log-edit.el: Fill empty field rather than adding new one.
16283 (log-edit-add-field): New function.
16284 (log-edit-insert-changelog): Use it.
16286 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16288 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16290 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16292 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16293 (gdb--check-interpreter): New function.
16296 2011-10-27 Glenn Morris <rgm@gnu.org>
16298 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16299 (least-positive-float, least-negative-float)
16300 (least-positive-normalized-float, least-negative-normalized-float)
16301 (float-epsilon, float-negative-epsilon):
16302 Remove unnecessary declarations.
16304 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16305 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16306 (least-positive-float, least-negative-float)
16307 (least-positive-normalized-float, least-negative-normalized-float)
16308 (float-epsilon, float-negative-epsilon): Add doc-strings,
16309 based on those in cl.texi.
16311 * files.el (set-visited-file-name): If the major-mode changed,
16312 reload the local variables. (Bug#9796)
16314 2011-10-27 Chong Yidong <cyd@gnu.org>
16316 * subr.el (change-major-mode-after-body-hook): New hook.
16317 (run-mode-hooks): Run it.
16319 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16320 Use change-major-mode-before-body-hook.
16322 * simple.el (fundamental-mode):
16323 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16324 change introducing fundamental-mode-hook.
16326 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16328 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16330 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16332 * ido.el (ido-file-name-all-completions-1): Do not require
16333 tramp.el explicitly. (Bug#7583)
16335 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16337 * progmodes/octave-mod.el:
16338 * progmodes/octave-inf.el: Update maintainer.
16340 2011-10-26 Chong Yidong <cyd@gnu.org>
16342 * subr.el (with-wrapper-hook): Rewrite doc.
16344 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16346 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16347 filenames "/method:foo:". (Bug#9793)
16349 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16351 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16354 2011-10-24 Glenn Morris <rgm@gnu.org>
16356 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16358 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16360 * notifications.el: Add the requirement of a running D-Bus session
16361 bus to the Commentary.
16363 2011-10-24 Juri Linkov <juri@jurta.org>
16365 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16366 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16369 2011-10-24 Juri Linkov <juri@jurta.org>
16371 * info.el (Info-following-node-name-re): Add newline to the list
16372 of allowed characters for leading space. (Bug#9824)
16374 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16376 * progmodes/octave-inf.el (inferior-octave-mode-map):
16377 Fix C-c C-h binding.
16378 * progmodes/octave-mod.el (octave-help): Remove.
16380 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16382 Sync with Tramp 2.2.3.
16384 * net/tramp-cache.el (top): Pacify byte-compiler using
16385 `init-file-user' and `site-run-file'.
16387 * net/trampver.el: Update release number.
16389 2011-10-23 Chong Yidong <cyd@gnu.org>
16391 * files.el (toggle-read-only): Remove obsolete comment about
16394 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16395 for toggle-read-only. Note that this hasn't called vc-next-action
16396 since 2008-05-02, though it wasn't documented at the time.
16398 * vc/ediff-init.el (ediff-toggle-read-only-function):
16399 Use toggle-read-only.
16401 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16403 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16406 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16407 correct faulty logical expression.
16408 (c-parse-state-state, c-record-parse-state-state):
16409 (c-replay-parse-state-state): New defvar/defuns.
16410 (c-debug-parse-state): Use new functions.
16412 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16414 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16415 last fix. Use window-in-direction correctly.
16417 2011-10-21 Chong Yidong <cyd@gnu.org>
16419 * progmodes/idlwave.el (idlwave-mode):
16420 * progmodes/vera-mode.el (vera-mode): No need to set
16421 require-final-newline; that's done in prog-mode.
16422 Suggested by Stefan Monnier.
16424 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16426 * mouse.el (mouse-drag-window-above)
16427 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16428 (mouse-drag-mode-line-1, mouse-drag-header-line)
16429 (mouse-drag-vertical-line-rightward-window): Remove.
16430 (mouse-drag-line): New function.
16431 (mouse-drag-mode-line, mouse-drag-header-line)
16432 (mouse-drag-vertical-line): Call mouse-drag-line.
16433 * window.el (window-at-side-p, windows-at-side): New functions.
16435 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16437 * tar-mode.el (tar-grind-file-mode):
16438 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16440 2011-10-21 Chong Yidong <cyd@gnu.org>
16442 * progmodes/idlwave.el (idlwave-mode):
16443 * progmodes/vera-mode.el (vera-mode):
16444 Use mode-require-final-newline.
16446 2011-10-20 Glenn Morris <rgm@gnu.org>
16448 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16450 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16452 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16454 2011-10-20 Chong Yidong <cyd@gnu.org>
16456 * emulation/cua-base.el (cua-mode):
16457 * mail/footnote.el (footnote-mode):
16458 * mail/mailabbrev.el (mail-abbrevs-mode):
16459 * net/xesam.el (xesam-minor-mode):
16460 * progmodes/bug-reference.el (bug-reference-mode):
16461 * progmodes/cap-words.el (capitalized-words-mode):
16462 * progmodes/compile.el (compilation-minor-mode)
16463 (compilation-shell-minor-mode):
16464 * progmodes/gud.el (gud-tooltip-mode):
16465 * progmodes/hideif.el (hide-ifdef-mode):
16466 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16467 * progmodes/subword.el (subword-mode):
16468 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16469 * progmodes/which-func.el (which-function-mode):
16470 * term/tvi970.el (tvi970-set-keypad-mode):
16471 * term/vt100.el (vt100-wide-mode):
16472 * textmodes/flyspell.el (flyspell-mode):
16473 * textmodes/ispell.el (ispell-minor-mode):
16474 * textmodes/nroff-mode.el (nroff-electric-mode):
16475 * textmodes/paragraphs.el (use-hard-newlines):
16476 * textmodes/refill.el (refill-mode):
16477 * textmodes/reftex.el (reftex-mode):
16478 * textmodes/rst.el (rst-minor-mode):
16479 * textmodes/sgml-mode.el (html-autoview-mode)
16480 (sgml-electric-tag-pair-mode):
16481 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16482 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16483 * emulation/crisp.el (crisp-mode):
16484 * emacs-lisp/eldoc.el (eldoc-mode):
16485 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16486 minor mode behavior.
16488 2011-10-19 Juri Linkov <juri@jurta.org>
16490 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16491 the list of hard-coded chars with escape-glyph face.
16493 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16495 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16497 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16499 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16502 2011-10-19 Glenn Morris <rgm@gnu.org>
16504 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16505 Ignore ignored files. (Bug#9726)
16507 2011-10-19 Chong Yidong <cyd@gnu.org>
16509 Doc fix for minor modes, stating that an omitted argument enables
16510 the mode unconditionally when called from Lisp.
16512 * abbrev.el (abbrev-mode):
16513 * allout.el (allout-mode):
16514 * autoinsert.el (auto-insert-mode):
16515 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16516 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16517 (global-auto-revert-mode):
16518 * battery.el (display-battery-mode):
16519 * composite.el (global-auto-composition-mode)
16520 (auto-composition-mode):
16521 * delsel.el (delete-selection-mode):
16522 * desktop.el (desktop-save-mode):
16523 * dired-x.el (dired-omit-mode):
16524 * dirtrack.el (dirtrack-mode):
16525 * doc-view.el (doc-view-minor-mode):
16526 * double.el (double-mode):
16527 * electric.el (electric-indent-mode, electric-pair-mode):
16528 * emacs-lock.el (emacs-lock-mode):
16529 * epa-hook.el (auto-encryption-mode):
16530 * follow.el (follow-mode):
16531 * font-core.el (font-lock-mode):
16532 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16533 * help.el (temp-buffer-resize-mode):
16534 * hilit-chg.el (highlight-changes-mode)
16535 (highlight-changes-visible-mode):
16536 * hi-lock.el (hi-lock-mode):
16537 * hl-line.el (hl-line-mode, global-hl-line-mode):
16538 * icomplete.el (icomplete-mode):
16539 * ido.el (ido-everywhere):
16540 * image-file.el (auto-image-file-mode):
16541 * image-mode.el (image-minor-mode):
16542 * iswitchb.el (iswitchb-mode):
16543 * jka-cmpr-hook.el (auto-compression-mode):
16544 * linum.el (linum-mode):
16545 * longlines.el (longlines-mode):
16546 * master.el (master-mode):
16547 * mb-depth.el (minibuffer-depth-indicate-mode):
16548 * menu-bar.el (menu-bar-mode):
16549 * minibuf-eldef.el (minibuffer-electric-default-mode):
16550 * mouse-sel.el (mouse-sel-mode):
16551 * msb.el (msb-mode):
16552 * mwheel.el (mouse-wheel-mode):
16553 * outline.el (outline-minor-mode):
16554 * paren.el (show-paren-mode):
16555 * recentf.el (recentf-mode):
16556 * reveal.el (reveal-mode, global-reveal-mode):
16557 * rfn-eshadow.el (file-name-shadow-mode):
16558 * ruler-mode.el (ruler-mode):
16559 * savehist.el (savehist-mode):
16560 * scroll-all.el (scroll-all-mode):
16561 * scroll-bar.el (scroll-bar-mode):
16562 * server.el (server-mode):
16563 * shell.el (shell-dirtrack-mode):
16564 * simple.el (auto-fill-mode, transient-mark-mode)
16565 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16566 (line-number-mode, column-number-mode, size-indication-mode)
16567 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16568 * strokes.el (strokes-mode):
16569 * time.el (display-time-mode):
16570 * t-mouse.el (gpm-mouse-mode):
16571 * tool-bar.el (tool-bar-mode):
16572 * tooltip.el (tooltip-mode):
16573 * type-break.el (type-break-mode-line-message-mode)
16574 (type-break-query-mode):
16575 * view.el (view-mode):
16576 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16577 (global-whitespace-mode, global-whitespace-newline-mode):
16578 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16580 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16581 Fix autogenerated docstring.
16583 2011-10-19 Juri Linkov <juri@jurta.org>
16585 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16586 by checking environment variables "DESKTOP_SESSION" and
16587 "XDG_CURRENT_DESKTOP". (Bug#9779)
16589 2011-10-19 Juri Linkov <juri@jurta.org>
16591 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16592 (browse-url-chromium-program, browse-url-chromium-arguments):
16594 (browse-url-default-browser): Check for `browse-url-chromium' and
16595 call `browse-url-chromium-program'.
16596 (browse-url-chromium): New command. (Bug#9779)
16598 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16600 * facemenu.el (list-colors-duplicates): On Windows, detect more
16601 duplicates by assuming that only colors matching "^System" are
16602 special "system colors". (Bug#9722)
16604 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16606 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16607 to distinguish the author from the committer.
16609 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16611 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16613 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16615 * international/mule.el (sgml-html-meta-auto-coding-function):
16616 Add support for detecting encoding in HTML5 specified only as
16617 <meta charset="UTF-8">. Implementation just makes http-equiv and
16618 content-type parts from HTML4 encoding string optional. (Bug#9716)
16620 2011-10-18 Glenn Morris <rgm@gnu.org>
16622 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16624 2011-10-18 Chong Yidong <cyd@gnu.org>
16626 * faces.el (cursor): Doc fix.
16628 2011-10-17 Chong Yidong <cyd@gnu.org>
16630 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16632 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16634 * dirtrack.el (dirtrack): Support shell buffers with path
16635 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16637 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16639 * json.el: Bump version to 1.3 and note change in History.
16640 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16642 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16644 * comint.el (comint-insert-input, comint-send-input)
16645 (comint-get-old-input-default, comint-backward-matching-input)
16646 (comint-next-prompt): Use nil instead of `input' for field property of
16647 past user input (bug#114).
16649 * minibuffer.el (completion--replace): Inherit surrounding properties
16651 (minibuffer-complete-and-exit): Use it.
16653 * comint.el (comint--table-subvert): Quote the all-completions output
16656 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16658 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16660 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16661 window on right of selected. (Bug#9350) Reword other window
16662 entries and separate them from frame entries.
16664 2011-10-15 Glenn Morris <rgm@gnu.org>
16666 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16669 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16671 * net/network-stream.el (network-stream-open-starttls):
16672 Improve detection of failure due to lack of TLS support.
16674 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16675 putting the input text in front and in bold.
16677 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16679 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16681 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16684 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16685 unread-command-events rather than pushing yet-another event.
16687 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16689 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16690 the explanation of the possible choices. Make the options passed
16691 to completing-read shorter.
16693 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16695 * textmodes/flyspell.el (flyspell-large-region): Make sure
16696 extended character mode is used if defined (Bug#1339).
16698 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16700 * simple.el (what-cursor-position): Fix the display of the
16701 character info for LRE, LRO, RLE, and RLO characters by appending
16704 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16706 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16707 even in case of error; add debug spec; simplify data flow.
16708 (with-timeout-handler): Remove.
16710 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16712 Fix Bug#6019, Bug#9315.
16714 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16715 complete `buffer-file-name', the local file name part could look
16716 remotely (for example on VMS).
16718 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16719 `tramp-run-real-handler'.
16720 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16721 already quoted by '"'.
16723 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16724 Let `file-name-handler-alist' be nil, the local file name part
16725 could look remotely (for example on VMS).
16727 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16729 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16731 (flyspell-post-command-hook): ...to here.
16733 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16735 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16737 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16738 using completion. Protect against "slow" callers.
16739 Remove the "message hack".
16741 2011-10-11 Juri Linkov <juri@jurta.org>
16743 * isearch.el (isearch-lazy-highlight-word): New variable.
16744 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16747 2011-10-11 Glenn Morris <rgm@gnu.org>
16749 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16750 like f90-previous-statement does.
16752 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16754 * eshell/eshell.el (eshell-command): History should be saved
16755 only in interactive use, to avoid error.
16757 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16759 * minibuffer.el (completion-file-name-table): Fix last change,
16760 i.e. ignore normal errors but not the other ones.
16762 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16764 * window.el (special-display-buffer-names)
16765 (special-display-regexps): Remove some remnants of earlier
16766 changes from doc-strings.
16767 (quit-windows-on): New function.
16769 * vc/vc.el (vc-revert, vc-rollback):
16770 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16771 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16772 (Bug#6183) (Bug#7074) (Bug#7447)
16774 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16776 * window.el (frame-auto-hide-function): Add version tag.
16779 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16781 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16784 2011-10-09 Leo Liu <sdl.web@gmail.com>
16786 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16789 2011-10-08 Glenn Morris <rgm@gnu.org>
16791 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16792 before the first code statement zero indent. (Bug#9690)
16794 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16796 * simple.el (count-words-region): Always count in the region.
16797 Report the number of lines and characters too.
16798 (count-words): New command, which counts in the buffer if the
16799 region is inactive, as count-words-region used to.
16800 (count-words--message): New function. Handle plurals.
16801 (count-lines-region): Make it an alias for count-words-region.
16803 * bindings.el (esc-map): Replace count-lines-region with
16804 count-words-region.
16806 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16808 * window.el (window--delete): Delete dedicated frame
16809 unconditionally when argument KILL is non-nil. (Bug#9699)
16810 (switch-to-buffer): Fix doc-string typo.
16812 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16814 * eshell/eshell.el (eshell-command): Avoid using hooks.
16816 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16818 * bindings.el ([M-left],[M-right]): Bind to left-word and
16819 right-word respectively.
16821 2011-10-07 Glenn Morris <rgm@gnu.org>
16823 * cus-start.el (debug-on-quit): Fix custom type.
16825 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16827 * subr.el (define-key-after): Clarify that the function is not
16828 useful for non-menu keymaps.
16830 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16832 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16834 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16835 in current minibuffer (Fix bug with recursive minibuffers).
16837 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16839 * progmodes/gdb-mi.el (gdb): Doc fix.
16841 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16843 * window.el (frame-auto-hide-function): New option replacing
16844 frame-auto-delete. Suggested by Stefan Monnier.
16845 (window--delete): Call frame-auto-hide-function instead of
16846 investigating frame-auto-delete.
16847 (window-point-1, set-window-point-1): New functions.
16848 (window-in-direction, record-window-buffer, window-state-get-1)
16849 (display-buffer-record-window): Use window-point-1 instead of
16851 (set-window-buffer-start-and-point): Use set-window-point-1.
16853 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16855 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16857 2011-10-05 Glenn Morris <rgm@gnu.org>
16859 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16860 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16862 2011-10-05 Leo Liu <sdl.web@gmail.com>
16864 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16865 works with buffer object.
16867 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16869 * mpc.el (mpc-tool-bar-map): Add labels.
16871 2011-10-04 Glenn Morris <rgm@gnu.org>
16873 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16875 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16877 * window.el (window--delete): New function.
16878 (frame-auto-delete): Resuscitate option.
16879 (bury-buffer, replace-buffer-in-windows)
16880 (quit-window): Rewrite using window--delete.
16881 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16882 Pass display-buffer-mark-dedicated to window--display-buffer-2
16885 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16887 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16888 returns a list (bug#9554). Add remote file name completion.
16889 * comint.el (comint--table-subvert): Curry and get quote&unquote
16890 functions as arguments.
16891 (comint--complete-file-name-data): Adjust call accordingly.
16892 * pcomplete.el (pcomplete--table-subvert): Remove.
16893 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16895 * minibuffer.el (completion-table-case-fold): Use currying.
16896 (completion--styles-type, completion--cycling-threshold-type):
16898 (completion-styles, completion-category-overrides)
16899 (completion-cycle-threshold): Use them.
16900 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16901 completion-table-case-fold.
16903 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16905 * minibuffer.el (completion-category-overrides): Fix type of styles
16906 and add more user friendly tags (bug#9660).
16908 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16910 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16911 (mule-input-method-string): New widget.
16912 (default-input-method, language-info-custom-alist): Use it.
16914 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16916 * pcomplete.el: Require comint.
16917 (pcomplete--common-suffix): Remove.
16918 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16919 (pcomplete--table-subvert): Sync with comint--table-subvert.
16920 (pcomplete--entries): Use comint-completion-file-name-table.
16921 * comint.el (comint-unquote-filename): Simplify.
16922 (comint-completion-file-name-table): New function (bug#9616).
16923 (comint--complete-file-name-data): Use it.
16925 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16926 (pcmpl-gnu-tar-buffer): Remove.
16927 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16928 around. Make sure pcomplete-suffix-list is only changed temporarily.
16929 Don't look inside the tar's file if it's too large.
16931 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16933 * cus-edit.el (custom-mode-map):
16934 * epa.el (epa-key-list-mode-map):
16935 * man.el (Man-mode-map):
16936 * startup.el (splash-screen-keymap):
16937 * simple.el (special-mode-map): Use scroll-up-command and
16938 scroll-down-command.
16940 * progmodes/idlw-help.el (idlwave-help-mode-map):
16941 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16942 * net/newst-plainview.el (newsticker-mode-map):
16943 * emulation/ws-mode.el (wordstar-mode-map):
16944 * emulation/vi.el (vi-com-map):
16945 * calc/calc-graph.el (calc-graph-show-dumb):
16946 * term/sun.el (terminal-init-sun):
16947 * term/ns-win.el (global-map):
16948 * progmodes/grep.el (grep-mode-map):
16949 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16950 * mail/rmail.el (rmail-mode-map):
16951 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16953 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16954 custom-safe-themes as special.
16956 2011-10-01 Julien Danjou <julien@danjou.info>
16958 * notifications.el (notifications-notify): Fix docstring.
16960 2011-10-01 Per Starbäck <per@starback.se>
16962 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16964 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16966 * startup.el (command-line-1): Fix last fix by inserting
16967 initial-scratch-message into *scratch* before displaying it.
16968 (Bug#9605) and (Bug#9636)
16970 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16972 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16973 window is hscrolled, move by logical lines. (Bug#9607)
16974 (line-move-visual): Update the doc string to the above effect.
16976 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16978 * window.el (display-buffer-record-window): When WINDOW is the
16979 selected window use `point' instead of `window-point'. (Bug#9626)
16981 * startup.el (command-line-1): Use insert-before-markers when
16982 inserting initial-scratch-message. (Bug#9605)
16984 * help.el (help-window): Remove variable.
16986 2011-09-29 Glenn Morris <rgm@gnu.org>
16988 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16990 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16992 * descr-text.el (describe-char-categories): Accept category
16993 descriptions more than one line long.
16995 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16997 * simple.el (delete-trailing-whitespace): Fix last change.
16999 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17000 Don't confuse "y => 3" as the beginning of a `y' operation.
17002 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17003 object has more than 4 slots (bug#9613).
17005 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17007 * subr.el (with-output-to-temp-buffer):
17008 * net/quickurl.el (quickurl, quickurl-browse-url):
17009 Fix typos in docstrings.
17011 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17013 * minibuffer.el (completion-styles)
17014 (completion-category-overrides): Cross reference each other in doc
17017 2011-09-27 Glenn Morris <rgm@gnu.org>
17019 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17020 to split-string. (Bug#9606)
17022 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17024 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17027 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17029 * emacs-lisp/package.el (list-packages): Fix echo area message.
17031 2011-09-27 Leo Liu <sdl.web@gmail.com>
17033 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17035 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17037 * net/dbus.el (dbus-unregister-object): Don't release services for
17038 registered signals. (Bug#9581)
17040 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17042 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17043 function that picks between cfengine 2 and 3 support
17044 automatically. Update docs accordingly.
17046 2011-09-22 Kenichi Handa <handa@m17n.org>
17048 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17050 (indian-itrans-v5-table-for-tamil): New variable.
17051 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17053 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17055 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17056 that's true if the current command involved collapsing of text.
17057 It's reset to false at the beginning of the next command.
17058 (allout-post-command-business): Move the cursor to the beginning
17059 of entry if the cursor is hidden and collapsing activity just
17062 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17064 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17065 tracking (Bug#9541).
17067 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17069 * net/newst-reader.el (newsticker-html-renderer)
17070 (newsticker-show-news): Automatically load html rendering package
17071 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17072 because w3m-fill-column is let-bound" and the error "Symbol's value
17073 as variable is void: w3m-fill-column".
17075 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17077 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17078 Release services only if they are defined. (Bug#9581)
17080 2011-09-23 Richard Stallman <rms@gnu.org>
17082 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17083 distinguish start of paragraph from start of its text.
17085 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17087 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17088 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17089 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17091 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17093 * international/mule-diag.el (mule-diag): Insert a newline after
17094 each fontset description.
17096 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17098 * simple.el (delete-trailing-whitespace):
17099 Document last change; simplify.
17101 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17103 * simple.el (delete-trailing-whitespace): Also delete
17104 extra newlines at the end of the buffer.
17106 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17107 (picture-newline): Use forward-line so as to ignore fields.
17109 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17111 * subr.el (with-wrapper-hook): Fix edebug spec.
17113 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17115 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17118 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17120 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17121 Fix nasty bug using wrong cached values.
17123 2011-09-23 Alan Mackenzie <acm@muc.de>
17125 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17127 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17129 * window.el (pop-to-buffer): Ensure right window is selected if we
17130 chose another frame.
17132 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17134 * simple.el (what-cursor-position): Use get-char-property-change
17135 and next-single-char-property-change, to be able to show display
17136 properties that come from overlays as well as text properties.
17138 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17140 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17142 * cmuscheme.el (run-scheme, switch-to-scheme):
17143 * cus-edit.el (customize-group, custom-buffer-create)
17144 (customize-browse):
17146 * shell.el (shell):
17147 * mail/sendmail.el (mail):
17148 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17150 2011-09-22 Richard Stallman <rms@gnu.org>
17152 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17153 move back only to line beg, don't move back over blank lines.
17155 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17157 * files.el (copy-directory): Set directory attributes only in case
17158 they could be retrieved from the source directory. (Bug#9565)
17160 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17162 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17163 (hs-find-block-beginning, hs-hide-level-recursive):
17164 Ignore strings as well as comments. (Bug#9502)
17166 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17168 * progmodes/sql.el (sql-comint-postgres):
17169 Convert port number to a string. (Bug#9566)
17171 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17173 * window.el (quit-window): Undedicate window when switching to
17174 previous buffer. Reported by Thierry Volpiatto
17175 <thierry.volpiatto@gmail.com>.
17176 (special-display-popup-frame): When popping up a new frame reset
17177 its previous buffers to nil. Simplify code.
17179 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17181 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17182 and process filter, as done also in `shell-command'.
17184 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17186 * window.el (set-window-buffer-start-and-point):
17187 Call set-window-start with NOFORCE argument t.
17188 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17189 (quit-window): Reword doc-string. Handle new format of
17190 quit-restore parameter. Don't delete window if it has a
17191 previous buffer we can show instead of the present one.
17192 (display-buffer-record-window): Rewrite using a new format for
17193 the quit-restore window parameter
17194 (special-display-popup-frame, display-buffer-same-window)
17195 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17196 (display-buffer-pop-up-window, display-buffer-use-some-window):
17197 Adapt symbol passed to display-buffer-record-window.
17198 * help.el (help-window-setup): Handle new format of quit-restore
17201 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17203 * faces.el (face-list): Fix docstring (bug#9564).
17205 * window.el (display-buffer--action-function-custom-type):
17206 Don't include internal functions in the Custom interface.
17208 2011-09-20 Juri Linkov <juri@jurta.org>
17210 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17211 (Info-forward-node, Info-backward-node, Info-next-preorder)
17212 (Info-last-preorder): Use it. (Bug#9528)
17214 2011-09-20 Juri Linkov <juri@jurta.org>
17216 * info.el (Info-last-preorder): Visit last menu item only when
17217 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17219 2011-09-20 Julien Danjou <julien@danjou.info>
17221 * password-cache.el (password-cache-remove): Remove entries even if the
17222 value is nil, so that password with a nil value (negative caching) is
17223 possible to invalidate.
17225 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17227 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17228 all whitespace around breakpoint. (Bug#9553)
17229 (f90-find-breakpoint): Only break at whitespace inside a comment.
17231 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17233 * minibuffer.el (completion-file-name-table): Keep track of errors.
17234 (completion-table-with-predicate): Handle the case where pred1 is nil.
17235 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17237 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17239 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17240 (debugger-return-value): Signal an error if the debugging context does
17241 not await any return value.
17243 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17244 * image-mode.el (image-toggle-display-text)
17245 (image-toggle-display-image): Stay away from evil `intangible'.
17247 2011-09-19 Leo Liu <sdl.web@gmail.com>
17249 * replace.el (occur-revert-arguments): Make it permanent-local.
17250 (occur-mode): Don't call font-lock-defontify.
17252 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17254 * net/ldap.el (ldap-search-internal): Don't push empty search
17257 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17259 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17261 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17263 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17264 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17266 2011-09-18 Juri Linkov <juri@jurta.org>
17268 * buff-menu.el (Buffer-menu-mode-map):
17269 * dired.el (dired-mode-map):
17270 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17271 (lisp-interaction-mode-map):
17272 * emacs-lisp/package.el (package-menu-mode-map):
17273 * epa.el (epa-key-list-mode-map):
17274 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17275 (menu-bar-options-menu):
17276 * outline.el (outline-mode-menu-bar-map):
17277 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17278 * vc/vc-dir.el (vc-dir-menu-map):
17279 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17280 Capitalize non-function content words in menu item strings.
17282 * dired.el (dired-mode-map): Add menu item for
17283 `image-dired-dired-toggle-marked-thumbs'.
17285 2011-09-18 Juri Linkov <juri@jurta.org>
17287 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17288 to `isearch-case-fold-search' and restore its original value
17289 after the `isearch-mode' call.
17291 2011-09-18 Juri Linkov <juri@jurta.org>
17293 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17294 because `zgrep' returns 1 for successful matches (bug#9226).
17296 2011-09-18 Juri Linkov <juri@jurta.org>
17298 * info.el (Info-extract-menu-node-name): Check the second match
17299 for empty string (second test-case of bug#9528).
17300 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17301 intermediate nodes to the history (first test-case of bug#9528).
17303 2011-09-18 Juri Linkov <juri@jurta.org>
17305 * info.el (Info-mode-syntax-table): New variable.
17306 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17308 2011-09-18 Juri Linkov <juri@jurta.org>
17310 * info.el (Info-file-supports-index-cookies):
17311 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17312 outputs one more line for long file names (bug#4142).
17314 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17316 * newcomment.el (comment-normalize-vars): If prompting for
17317 comment-start, set comment-start-skip too (Bug#8424).
17319 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17321 * icomplete.el: Fix previous fix of Bug#5849.
17322 (icomplete-mode): Don't set completion-show-inline-help.
17323 (icomplete-minibuffer-setup): Set completion-show-inline-help
17324 locally during icompletion.
17326 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17328 * woman.el (woman2-process-escapes): Don't delete unrecognized
17329 escapes (Bug#7843).
17331 * files.el (inhibit-first-line-modes-regexps): Add image files.
17332 (hack-local-variables-prop-line): Return nil for malformed
17333 prop-lines (Bug#9044).
17335 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17337 * net/tramp.el (top): Don't require 'shell.
17338 (tramp-methods): Fix docstring.
17339 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17340 Return complete remote file name. Handle "smb" case.
17341 Use `tramp-tmpdir', if defined for the respective method.
17342 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17344 * net/tramp-compat.el (top): Require 'shell.
17346 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17347 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17348 `tramp-current-host'.
17349 (tramp-get-remote-tmpdir): Remove.
17351 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17352 `tramp-tmpdir' entries.
17353 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17354 (tramp-smb-handle-file-attributes): Ignore errors.
17355 (tramp-smb-wait-for-output): Check also for process end.
17357 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17359 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17360 when sending QUIT (bug#9312).
17362 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17364 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17365 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17366 occur-mode-display-occurrence.
17367 (occur-edit-mode): Add usage message.
17368 (occur-cease-edit): New command.
17369 (occur-after-change-function): Use text properties to find the
17370 position of the prefix text.
17371 (occur-engine): Set stickiness of prefix text properties.
17373 2011-09-17 Glenn Morris <rgm@gnu.org>
17375 * progmodes/etags.el (complete-tag):
17376 Fix call to completion-in-region. (Bug#9526)
17378 2011-09-17 Juri Linkov <juri@jurta.org>
17380 * textmodes/ispell.el (ispell-word): Add to the error message
17381 the word, ispell program name and current dictionary (bug#9121).
17382 (ispell-tex-arg-end): Capitalize "error" in the error message.
17384 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17386 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17389 2011-09-17 Juri Linkov <juri@jurta.org>
17391 * window.el (window-safe-min-height, window-safe-min-width):
17392 Fix typos (followup to bug#9522).
17394 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17396 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17398 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17400 * simple.el (line-move): If goal-column is set, move by logical
17401 lines, not by display lines. (Bug#971)
17402 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17403 to reflect the above change.
17405 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17407 * image.el (imagemagick-register-types): Use regexp-opt.
17409 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17411 * window.el (display-buffer-base-action): Rename from
17412 display-buffer-default-action. Make default value empty.
17413 (display-buffer-overriding-action): Convert to defvar.
17414 (display-buffer-fallback-action): New var.
17416 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17418 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17420 (package--add-to-archive-contents): If there is a duplicate entry
17421 with an older version, remove it.
17422 (package-menu-mark-delete, package-menu-mark-install)
17423 (package-menu-mark-unmark): Make unused args optional.
17424 (package-menu-mark-obsolete-for-deletion):
17425 Use package-menu-get-status instead of a regexp search.
17426 (package-menu-get-status): Use tabulated-list-entry.
17427 (package-menu-mark-upgrades): New command.
17428 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17429 (package-menu-execute): Do installation before deletion.
17430 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17431 instead of checking major-mode.
17432 (package-menu--find-upgrades): New function.
17434 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17436 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17437 passwords in the log buffer.
17438 (smtpmail-process-filter): Update the process marker so that the
17439 "broken by peer" status message is inserted in the right place.
17441 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17443 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17444 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17445 bibtex-completion-at-point-function.
17446 (bibtex-completion-at-point-function): Use them.
17448 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17450 * mpc.el (mpc-constraints-tag-lookup): New function.
17451 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17452 also to browser "album|playlist".
17454 2011-09-14 Juri Linkov <juri@jurta.org>
17456 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17457 (isearch-edit-string): Use length of `isearch-string' when
17458 `isearch-fail-pos' returns nil.
17459 (isearch-message): Remove duplicate code and call
17460 `isearch-fail-pos' with arg `t'.
17462 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17464 * replace.el (occur-mode-goto-occurrence): Don't force using other
17467 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17469 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17471 * window.el (display-buffer-window): Remove.
17472 (display-buffer-record-window): Use help-setup window parameter
17473 instead of variable display-buffer-window.
17474 (display-buffer-function, special-display-buffer-names)
17475 (special-display-function): Mention help-setup parameter instead
17476 of display-buffer-window in doc-string.
17477 * help.el (help-window-setup): New argument help-window.
17478 Use help-window-setup parameter instead of display-buffer-window.
17479 Reword some messages.
17480 (with-help-window): Pass window used for displaying the buffer
17481 to help-window-setup. Don't set display-buffer-window.
17483 2011-09-13 Glenn Morris <rgm@gnu.org>
17485 * emacs-lisp/debug.el (debugger-make-xrefs):
17486 Preserve point. (Bug#9462)
17488 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17490 * window.el (window-deletable-p): Use next-frame.
17492 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17494 * window.el (window-auto-delete): Remove.
17495 (window-deletable-p): Remove argument FORCE. Don't deal with
17496 dedication and previous buffers.
17497 (switch-to-prev-buffer): Don't delete window.
17498 (delete-windows-on): Delete a window's frame if and only if the
17499 window is dedicated.
17500 (replace-buffer-in-windows): Delete buffer's window or frame if
17501 and only if window is dedicated.
17502 (quit-window): Handle quit-restore as before last change.
17503 (bury-buffer): Delete window only if window-deletable-p returns t.
17505 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17507 * window.el (window-deletable-p): Never delete the last frame on a
17510 2011-09-13 Glenn Morris <rgm@gnu.org>
17512 * help.el (describe-key-briefly): Copy previous standard-output change.
17514 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17516 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17518 2011-09-13 Glenn Morris <rgm@gnu.org>
17520 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17521 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17523 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17525 * dired-aux.el (dired-mark-read-string): Don't return default
17526 value on empty input (Bug#9361).
17527 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17528 Omit initial minibuffer contents.
17529 (dired-do-chmod): Signal an error on empty input.
17530 (dired-mark-read-string): Don't return default on empty input.
17532 * files.el (file-modes-symbolic-to-number): Doc fix.
17534 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17536 * international/mule-cmds.el (ucs-completions): Remove.
17537 (read-char-by-name): Use complete-with-action instead; add metadata.
17539 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17541 * window.el (display-buffer--action-function-custom-type)
17542 (display-buffer--action-custom-type): New vars.
17543 (display-buffer-alist, display-buffer-default-action)
17544 (display-buffer-overriding-action): Add defcustom types.
17546 * frame.el (delete-other-frames): Doc fix (Bug#276).
17548 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17550 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17552 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17554 Change modes that used same-window-* vars to use switch-to-buffer.
17556 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17557 Use switch-to-buffer.
17559 * cus-edit.el (customize-group, custom-buffer-create)
17560 (customize-browse, custom-buffer-create-other-window):
17561 Use switch-to-buffer or switch-to-buffer-other-window.
17563 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17564 (Info-prev, Info-up, Info-speedbar-goto-node)
17565 (info-display-manual): Use switch-to-buffer.
17566 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17568 * mail/sendmail.el (mail): Use switch-to-buffer.
17569 (mail-recover): Use switch-to-buffer-other-window.
17571 * cmuscheme.el (run-scheme, switch-to-scheme):
17573 * shell.el (shell):
17574 * net/rlogin.el (rlogin):
17575 * net/telnet.el (telnet, rsh):
17576 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17578 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17580 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17582 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17584 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17585 so don't mention it (bug#9301).
17586 (dired-sort-toggle-or-edit): Clarify string further.
17588 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17589 match `x', `w32' and `ns', like the manual says (bug#9029).
17591 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17592 (process-kill-buffer-query-function): Mention the buffer name in
17595 * image-mode.el (image-next-line): The line parameter is mandatory
17598 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17599 which can be useful (bug#9301).
17601 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17603 * subr.el (match-string): Mention that the current buffer should
17604 be the same as the search was done in (bug#9282).
17606 * facemenu.el: Disable the remove-* commands if the mark isn't
17609 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17611 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17613 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17615 * replace.el (occur-mode-goto-occurrence)
17616 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17617 and display-buffer.
17619 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17622 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17623 special-display and same-window variables.
17624 (mail-other-window): Use switch-to-buffer-other-window.
17625 (mail-other-frame): USe switch-to-buffer-other-frame.
17627 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17628 Use display-buffer-other-frame.
17629 (gdb-display-gdb-buffer): Use pop-to-buffer.
17631 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17633 * progmodes/python.el: Don't set same-window-buffer-names.
17635 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17637 * window.el (display-buffer-alist): Add *Python*.
17639 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17641 * window.el (display-buffer-alist): Add entry for buffers
17642 previously handled same-window-*.
17643 (display-buffer-alist, display-buffer-default-action)
17644 (display-buffer-overriding-action): Mark as risky.
17645 (display-buffer-alist): Document action function changes.
17646 (display-buffer--same-window-action)
17647 (display-buffer--other-frame-action): New variables.
17648 (switch-to-buffer, display-buffer-other-frame): Use them.
17649 (display-buffer): Rename reuse-frame entry to reusable-frames.
17650 (display-buffer-reuse-selected-window): Function deleted.
17651 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17652 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17653 (display-buffer-special): New function.
17654 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17655 display-buffer-reuse-or-pop-window. Split off special-display
17656 part into display-buffer-special.
17657 (display-buffer-use-some-window): Don't perform any special
17658 pop-up-frames handling.
17659 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17660 (display-buffer--maybe-same-window): Rename from
17661 display-buffer-maybe-same-window.
17663 * info.el: Don't set same-window-regexps.
17664 (info-setup): New function.
17665 (info-other-window, info): Call it.
17667 * cus-edit.el: Don't set same-window-regexps.
17668 (customize-group): New argument.
17669 (customize-group-other-window): Use it.
17670 (customize-face, customize-face-other-window): Likewise.
17671 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17675 * progmodes/gud.el: Don't set same-window-regexps.
17680 * mail/sendmail.el:
17681 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17683 2011-09-10 Juri Linkov <juri@jurta.org>
17685 * isearch.el (isearch-edit-string): Remove obsolete mention of
17686 `C-w' (`isearch-yank-word-or-char') from docstring.
17687 (isearch-query-replace): Fix typo in docstring (bug#9466).
17689 2011-09-10 Juri Linkov <juri@jurta.org>
17691 * paren.el (show-paren-function): Don't show escaped parens.
17692 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17694 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17696 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17697 (mm-default-file-encoding): Remove autoload forms, they are
17698 replaced with autoload cookies in mml.el and mm-encode.el.
17699 (mail-add-attachment): New command.
17700 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17701 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17703 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17705 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17707 * simple.el (count-words-region): Use buffer if there's no region
17710 2011-09-09 Juri Linkov <juri@jurta.org>
17712 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17713 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17714 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17716 2011-09-09 Alan Mackenzie <acm@muc.de>
17718 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17719 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17721 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17723 Fix for Savannah bug#9392.
17724 * simple.el (mail-encode-mml): New defvar.
17726 * mail/rmail.el (mail-encode-mml): Add a defvar.
17727 (rmail-enable-mime-composing): Default to t.
17728 (rmail-forward): Use MIME method of forwarding only if both
17729 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17730 Set mail-encode-mml non-nil if the MIME method was used.
17732 * mail/sendmail.el (mml-to-mime): Add autoload form.
17733 (mail-encode-mml): Add a defvar.
17734 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17736 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17737 message through mml-to-mime, and reset mail-encode-mml to nil.
17739 2011-09-09 Glenn Morris <rgm@gnu.org>
17741 * woman.el (woman-if-body): When processing an .el block,
17742 do not delete the next .el block as well. (Bug#9447)
17743 (woman-special-characters): Add oq, cq, and hy characters.
17745 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17747 * window.el (window-deletable-p): Make sure window is live before
17748 invoking window-prev-buffers.
17750 2011-09-08 Leo Liu <sdl.web@gmail.com>
17752 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17754 2011-09-08 Juri Linkov <juri@jurta.org>
17756 * progmodes/compile.el (compilation-environment): Make it
17757 a defcustom (bug#8340).
17759 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17761 * window.el (frame-auto-delete): Rename to window-auto-delete.
17762 Make it control auto-deletion of windows and/or frames.
17763 (window-deletable-p): New argument FORCE. Rewrite conditions
17764 for deleting window/frame. (Bug#9419)
17765 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17766 Rewrite handling of case when window/frame can be deleted.
17767 (delete-windows-on): Call window-deletable-p with new FORCE
17768 argument t. (Bug#9456)
17770 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17772 * help-mode.el (help-mode): Restore autoload.
17774 2011-09-07 Juri Linkov <juri@jurta.org>
17776 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17777 `compilation-environment'. Set buffer-local
17778 `compilation-environment' to `thisenv' later after (funcall mode).
17781 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17782 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17783 instead of replacing its value. (Bug#8340)
17785 2011-09-07 Juri Linkov <juri@jurta.org>
17787 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17788 based on text properties put by `grep-filter' instead of matching
17790 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17791 to the value of `grep-error-screen-columns' (bug#9438).
17793 2011-09-07 Juri Linkov <juri@jurta.org>
17795 * simple.el (next-error-highlight, next-error-highlight-no-select):
17796 Doc fix (bug#9432).
17798 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17800 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17801 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17803 2011-09-07 Leo Liu <sdl.web@gmail.com>
17805 * net/rcirc.el (rcirc-mode): Conditionally initialize
17808 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17810 * emacs-lisp/find-func.el (find-function-C-source): Only set
17811 find-function-C-source-directory after checking that we found a source
17812 file there (bug#9440).
17814 2011-09-06 Alan Mackenzie <acm@muc.de>
17816 * isearch.el (isearch-other-meta-char): Wherever a key list is
17817 unread, "unread" the prefix arg, too. This fixes bug #8901.
17819 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17821 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17823 2011-09-05 Juri Linkov <juri@jurta.org>
17825 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17827 2011-09-05 Juri Linkov <juri@jurta.org>
17829 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17830 keeping point where processing of grep matches begins, and
17831 continue to delete remaining escape sequences from the same point.
17832 (grep-filter): Make leading zero optional in "0?1;31m" because
17833 git-grep emits "\033[1;31m" escape sequences unlike expected
17834 "\033[01;31m" as GNU Grep does (bug#9408).
17835 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17837 2011-09-05 Juri Linkov <juri@jurta.org>
17839 * subr.el (y-or-n-p): Capitalize "yes".
17841 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17843 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17844 `tramp-cache-unload-hook' where appropriate.
17845 (tramp-methods): Rename `tramp-remote-sh' to
17846 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17847 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17849 * net/tramp-sh.el (top): Don't require 'shell.
17850 (tramp-methods): Add `tramp-remote-shell' and
17851 `tramp-remote-shell-args' entries.
17852 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17853 (tramp-sh-handle-shell-command): Remove.
17854 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17855 Use `tramp-remote-shell'.
17857 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17859 * mail/sendmail.el (sendmail-query-once-function): Delete.
17860 (sendmail-query-once): Save directly to send-mail-function.
17861 Update message-send-mail-function too.
17863 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17865 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17867 * progmodes/python.el (python-mode-map): Use correct function to
17868 start python interpreter from menu-bar (as reported by Geert
17870 (inferior-python-mode-map): Fix typo.
17871 (python-shell-map): Remove.
17873 2011-09-03 Deniz Dogan <deniz@dogan.se>
17875 * net/rcirc.el (rcirc-print): Simplify code for
17876 rcirc-scroll-show-maximum-output. There is no need to walk
17877 through all windows to find the right one.
17879 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17881 * help.el (help-return-method): Doc fix.
17883 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17885 * window.el (window-deletable-p): Don't return a non-nil value
17886 when there's a buffer that was shown in the window before.
17888 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17889 Set window's previous buffers to nil.
17891 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17893 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17894 newline before and after the tag line, so it doesn't interfere
17895 with determining the paragraph direction of bidirectional text.
17897 2011-09-03 Leo Liu <sdl.web@gmail.com>
17899 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17901 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17903 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17904 (pop-to-buffer): Change interactive spec. Pass second argument
17905 directly to display-buffer.
17906 (display-buffer): Fix interactive spec. Use functionp to
17907 distinguish between a function and a list of functions.
17909 * abbrev.el (edit-abbrevs):
17910 * arc-mode.el (archive-extract):
17911 * autoinsert.el (auto-insert):
17912 * bookmark.el (bookmark-bmenu-list):
17913 * files.el (find-file):
17914 * view.el (view-buffer):
17915 * progmodes/compile.el (compilation-goto-locus):
17916 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17918 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17920 * window.el (display-buffer-alist): Doc fix.
17921 (display-buffer): Add docstring. Don't treat
17922 display-buffer-default specially.
17923 (display-buffer-reuse-selected-window)
17924 (display-buffer-same-window, display-buffer-maybe-same-window)
17925 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17926 (display-buffer-pop-up-window)
17927 (display-buffer-reuse-or-pop-window)
17928 (display-buffer-use-some-window): New functions.
17929 (display-buffer-default-action): Use them.
17930 (display-buffer-default): Delete.
17931 (pop-to-buffer-1): Fix choice of actions.
17933 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17935 * minibuffer.el (completion--insert-strings): Don't get confused by
17936 completion entries that end with an LF char.
17938 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17940 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17942 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17944 * window.el (display-buffer): Restore interactive spec.
17945 (display-buffer-same-window, display-buffer-other-window):
17947 (pop-to-buffer-1): New function. Use the above.
17948 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17949 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17951 * view.el (view-buffer-other-window, view-buffer-other-frame):
17952 Just use pop-to-buffer.
17954 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17956 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17958 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17960 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17962 2011-08-31 Richard Stallman <rms@gnu.org>
17964 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17965 of the separation of rmail-view-buffer from rmail-buffer.
17966 If you say no to "replace original", the decrypt is in the
17967 view buffer. If you say yes, the decrypt goes into the
17970 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17972 * window.el (display-buffer-window): Rewrite doc-string.
17973 (display-buffer-record-window): New function.
17974 (display-buffer-macro-specifiers)
17975 (display-buffer-even-window-sizes, display-buffer-set-height)
17976 (display-buffer-set-width, display-buffer-in-window)
17977 (display-buffer-reuse-window, display-buffer-split-specifiers)
17978 (display-buffer-side-specifiers, display-buffer-split-window-1)
17979 (display-buffer-split-window, display-buffer-split-atom-window)
17980 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17981 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17982 (display-buffer-other-window-means-other-frame)
17983 (display-buffer-normalize-special)
17984 (display-buffer-normalize-default)
17985 (display-buffer-normalize-argument)
17986 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17987 (display-buffer-normalize-specifiers, display-buffer-frame)
17988 (display-buffer-same-window, display-buffer-same-frame)
17989 (display-buffer-other-window)
17990 (display-buffer-same-frame-other-window)
17991 (display-buffer-other-frame, pop-to-buffer-same-window)
17992 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17993 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17994 (switch-to-buffer-same-frame)
17995 (switch-to-buffer-other-window-same-frame)
17996 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17997 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17998 (display-buffer-alist-set): Remove.
17999 (display-buffer-function, special-display-buffer-names)
18000 (special-display-regexps, special-display-function):
18001 In doc-string refer to display-buffer-window and quit-restore
18003 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18004 (special-display-frame-alist, special-display-popup-frame)
18005 (same-window-buffer-names, same-window-regexps, same-window-p)
18006 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18007 (split-window-preferred-function, split-height-threshold)
18008 (split-width-threshold, window-splittable-p)
18009 (split-window-sensibly, window--try-to-split-window)
18010 (window--frame-usable-p, even-window-heights)
18011 (window--even-window-heights, window--display-buffer-1)
18012 (window--display-buffer-2, display-buffer-other-frame):
18013 Restore old Emacs 23 code, order and doc-strings where applicable.
18014 (display-buffer-default, display-buffer-assq-regexp): New functions.
18015 (display-buffer-alist): Rewrite doc-string.
18016 (display-buffer-default-action)
18017 (display-buffer-overriding-action): New variables.
18018 (display-buffer, switch-to-buffer): Rewrite.
18019 (pop-to-buffer): Restore Emacs 23 behavior but use
18020 window-normalize-buffer-to-display.
18021 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18022 Restore Emacs 23 behavior but use
18023 window-normalize-buffer-to-switch-to.
18024 (pop-to-buffer-same-window): Rewrite.
18025 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18026 Rewrite using Emacs 23 options.
18028 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18030 * net/tramp.el (tramp-root-regexp): Remove.
18031 (tramp-completion-file-name-regexp-unified)
18032 (tramp-completion-file-name-regexp-separate)
18033 (tramp-completion-file-name-regexp-url): Don't use leading volume
18034 letter on w32 systems. (Bug#5303, Bug#9311)
18035 (tramp-drop-volume-letter): Simplify definition.
18036 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18038 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18040 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18043 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18045 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18047 2011-08-29 Juri Linkov <juri@jurta.org>
18049 * isearch.el (isearch-done): Don't display message "Mark saved"
18050 when arg `edit' is non-nil to prevent its flicker in the echo area.
18052 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18054 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18055 obsolete packages for deletion.
18057 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18059 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18060 (help-mode): Derive help-mode from special-mode. Don't invoke
18061 view-mode from help-mode.
18062 (help-xref-override-view-map): Remove.
18063 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18064 view-mode is not used anymore.
18066 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18068 * server.el (server-port): Doc fix.
18070 * cus-theme.el (custom-theme-choose-mode): Inherit from
18071 special-mode (Bug#9124).
18072 (custom-theme-choose-mode-map): Add special-mode to parent.
18074 2011-08-28 Alan Mackenzie <acm@muc.de>
18076 * progmodes/cc-fonts.el
18077 (c-make-font-lock-BO-decl-search-function): New function.
18078 (c-basic-matchers-after - "Fontify the clauses after various
18079 keywords"): Extract the three keyword lists for the 3 erroneous
18080 constructs from the list of four, and use the new function above
18081 in place of an old one.
18083 2011-08-28 Deniz Dogan <deniz@dogan.se>
18085 * net/rcirc.el (rcirc-insert-prev-input)
18086 (rcirc-insert-next-input): Remove unused argument.
18088 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18090 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18092 2011-08-27 Alan Mackenzie <acm@muc.de>
18094 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18095 handle function pointer parameters properly.
18097 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18099 * window.el (display-buffer-reuse-window): Fix case where
18100 selected window was reused with non-nil OTHER-WINDOW argument.
18103 2011-08-27 Deniz Dogan <deniz@dogan.se>
18105 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18106 oftc's NickServ messages.
18108 2011-08-27 Glenn Morris <rgm@gnu.org>
18110 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18112 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18114 * emacs-lisp/package.el (package-install): Call package-initialize
18115 if called interactively.
18117 2011-08-26 Leo Liu <sdl.web@gmail.com>
18119 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18121 2011-08-25 Juri Linkov <juri@jurta.org>
18123 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18124 `search-whitespace-regexp' (bug#9364).
18126 2011-08-25 Juri Linkov <juri@jurta.org>
18128 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18129 `regexp-search-ring' to their global values to protect from
18130 updating by `read-from-minibuffer' (bug#9185).
18132 2011-08-25 Juri Linkov <juri@jurta.org>
18134 * textmodes/ispell.el (ispell-command-loop): Add newline
18135 at the end of the "Use option `i'..." line.
18137 2011-08-25 Juri Linkov <juri@jurta.org>
18139 * battery.el (display-battery-mode): If `battery-status-function'
18140 or `battery-mode-line-format' is nil, display the message and set
18141 `display-battery-mode' to nil (bug#9363).
18143 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18145 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18146 bidi-string-mark-left-to-right; they are unnecessary now.
18148 2011-08-25 Deniz Dogan <deniz@dogan.se>
18150 * net/quickurl.el: Documentation typo fixes.
18152 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18154 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18156 2011-08-25 Glenn Morris <rgm@gnu.org>
18158 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18160 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18161 (smtpmail-via-smtp): Handle nil response from smtp.
18163 2011-08-24 Juri Linkov <juri@jurta.org>
18165 * proced.el (proced-marked): Inherit from `error' instead of
18166 `font-lock-warning-face'.
18168 * ibuffer.el (ibuffer-marked-face): Change default face from
18169 `font-lock-warning-face' to `warning'.
18170 (ibuffer-deletion-face): Change default face from
18171 `font-lock-type-face' to `error'.
18173 * battery.el (battery-update): Use the face `error' instead of
18174 `font-lock-warning-face' (bug#6117).
18176 2011-08-24 Juri Linkov <juri@jurta.org>
18178 * faces.el (success): Change face color from "Green3" to
18179 "ForestGreen" on light background (bug#9353).
18181 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18183 * window.el (quit-window): Rename from quit-restore-window.
18184 Use same arglist as old quit-window.
18185 (frame-auto-delete): Doc fix.
18187 * view.el (view-mode-exit): Use quit-window.
18189 2011-08-24 Juri Linkov <juri@jurta.org>
18191 * isearch.el (isearch-ring-adjust1): Start visiting previous
18192 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18193 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18194 for empty search string (when the last search string is reused
18195 automatically) to adjust the isearch ring to the last element and
18196 prepare the correct index for further M-p commands (bug#9185).
18198 2011-08-24 Kenichi Handa <handa@m17n.org>
18200 * international/ucs-normalize.el: If decomposition property of
18201 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18203 (nfd, nfkd): Likewise.
18205 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18207 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18208 from process filters aren't reliably transmitted to the surrounding
18209 accept-process-output.
18210 (mpc-proc-check): New function.
18211 (mpc-proc-sync): Use it (bug#8293)
18213 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18215 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18216 Add compatibility functions (bug#9313).
18218 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18220 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18222 * international/uni-bidi.el: Regenerate.
18224 2011-08-23 Kenichi Handa <handa@m17n.org>
18226 * international/charprop.el:
18227 * international/uni-bidi.el:
18228 * international/uni-category.el:
18229 * international/uni-combining.el:
18230 * international/uni-comment.el:
18231 * international/uni-decimal.el:
18232 * international/uni-decomposition.el:
18233 * international/uni-digit.el:
18234 * international/uni-lowercase.el:
18235 * international/uni-mirrored.el:
18236 * international/uni-name.el:
18237 * international/uni-numeric.el:
18238 * international/uni-old-name.el:
18239 * international/uni-titlecase.el:
18240 * international/uni-uppercase.el: Regenerate.
18242 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18244 * help.el (help-window-setup): Fix message displayed when other
18245 window is reused. (Bug#9341)
18247 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18249 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18250 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18252 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18254 * shell.el (shell-parse-pcomplete-arguments): New function.
18255 (shell-completion-vars): Use it instead (bug#9160).
18257 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18259 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18260 strings and comments (bug#9333).
18262 * emacs-lisp/debug.el (debug-arglist): New function.
18263 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18264 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18266 2011-08-22 Juri Linkov <juri@jurta.org>
18268 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18269 Revert regexp that highlights output switches to its old
18270 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18272 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18273 to check for empty output (bug#9226).
18275 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18277 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18278 symbol-constituent as the default, as that stops font-lock from
18279 working properly (Bug#8843).
18281 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18283 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18284 `coding-system-for-*' around the process open call to avoid
18285 auth-source side effects.
18286 (smtpmail-try-auth-methods): Expand the secret password.
18287 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18290 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18292 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18294 * emacs-lisp/find-func.el (find-function-noselect): New arg
18297 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18298 signal an error for built-in functions (Bug#6664).
18300 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18302 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18303 (smtpmail-try-auth-methods): Use it.
18305 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18307 * font-lock.el (font-lock-fontify-region)
18308 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18309 (font-lock-default-unfontify-buffer)
18310 (font-lock-default-fontify-region)
18311 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18313 * progmodes/compile.el (compilation-error-properties):
18314 Fix confusion between file struct and message struct (Bug#9319).
18315 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18318 * net/browse-url.el (browse-url-firefox): Don't call
18319 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18321 2011-08-20 Glenn Morris <rgm@gnu.org>
18323 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18325 * tutorial.el (tutorial--default-keys): Update some default bindings.
18327 * files.el (hack-local-variables): Fully ignore case for "mode:".
18329 2011-08-20 Alan Mackenzie <acm@muc.de>
18331 Resolve invalid use of a regexp in regexp-opt.
18333 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18334 detection for a java annotation.
18336 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18337 detection for a java annotation.
18339 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18341 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18343 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18345 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18348 2011-08-20 Alan Mackenzie <acm@muc.de>
18350 Fontify CPP expressions correctly when starting in the middle of
18351 such a construct. Mainly for when jit-lock etc. starts a chunk
18354 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18356 (c-make-font-lock-search-form): New function, extracted from
18357 c-make-font-lock-search-function.
18358 (c-make-font-lock-search-function): Use the above function.
18359 (c-make-font-lock-context-search-function): New function.
18360 (c-cpp-matchers): Enhance the preprocessor expression case with
18362 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18363 which takes an expression.
18365 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18367 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18369 * window.el (display-buffer-reuse-window)
18370 (display-buffer-pop-up-window): Don't reuse or split a side
18373 2011-08-19 Glenn Morris <rgm@gnu.org>
18375 * files.el (hack-local-variables-prop-line, hack-local-variables):
18376 Downcase "Mode:". (Bug#9331)
18378 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18380 * international/characters.el: Add L and R categories.
18382 * subr.el (bidi-string-mark-left-to-right): Rename from
18383 string-mark-left-to-right. Use category search.
18385 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18387 2011-08-18 Juri Linkov <juri@jurta.org>
18389 * faces.el (error, warning, success): New faces with definitions
18390 copied from old default values of `font-lock-warning-face',
18391 `compilation-warning', `compilation-info' (bug#6117).
18393 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18395 * progmodes/compile.el (compilation-error): Inherit from `error'.
18396 (compilation-warning): Inherit from `warning'.
18397 (compilation-info): Inherit from `success'.
18399 * dired.el (dired-marked): Inherit from `warning'.
18400 (dired-flagged): Inherit from `error'.
18402 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18404 * mail/smtpmail.el (auth-source): Require to avoid problems with
18405 binding variables (bug#9298). Also clean up some unused
18408 * net/network-stream.el (network-stream-open-starttls):
18409 Support using starttls.el without using gnutls-cli.
18411 2011-08-17 Juri Linkov <juri@jurta.org>
18413 * progmodes/grep.el (rgrep): Handle the case when
18414 `grep-find-command' is a cons cell (bug#9278).
18416 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18418 * window.el (display-buffer-pop-up-frame): Run frame creation
18419 function with BUFFER current (as special-display-popup-frame
18420 does). Reported by Drew Adams.
18422 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18424 * epa-mail.el: Simplify GnuPG group expansion using
18426 (epa-mail-group-alist, epa-mail-group-modtime)
18427 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18428 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18429 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18432 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18434 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18436 2011-08-16 Alan Mackenzie <acm@muc.de>
18438 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18439 Correct, to avoid the inside of macros.
18441 2011-08-16 Richard Stallman <rms@gnu.org>
18443 * epa-mail.el: Handle GnuPG group definitions.
18444 (epa-mail-group-alist, epa-mail-group-modtime)
18445 (epa-mail-gnupg-conf-file): New variables.
18446 (epa-mail-parse-groups, epa-mail-sync-groups)
18447 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18448 (epa-mail-expand-recipients): New functions.
18449 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18451 * mail/rmail.el (rmail-epa-decrypt): New command.
18453 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18454 Don't bind buffer-read-only, just inhibit-read-only.
18455 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18456 (epa-decrypt-armor-in-region): Make error message clearer.
18458 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18460 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18461 and "a2b" to "ab" for `prefix'.
18463 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18465 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18467 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18468 Fourquet (Bug#8804).
18470 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18472 * startup.el (argi): Declare as global variable (bug#9275).
18474 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18476 * subr.el (string-mark-left-to-right): Search the entire string
18477 for RTL script, not just the terminating character. Doc fix.
18479 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18481 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18483 (js--regexp-literal, js-syntax-propertize-function): Remove.
18484 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18485 (js-mode-map): Don't rebind electric keys.
18486 (js-insert-and-indent): Remove.
18487 (js-mode): Setup electric-layout and electric-indent instead.
18489 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18491 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18493 * epa.el (epa-progress-callback-function): Fix the logic of
18494 displaying progress.
18495 * epa-file.el (epa-file-insert-file-contents): Make progress
18496 display more user-friendly.
18497 (epa-file-write-region): Ditto.
18499 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18501 * subr.el (string-mark-left-to-right): New function.
18503 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18504 Use string-mark-left-to-right.
18505 (list-buffers-noselect): Caller changed.
18507 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18508 Use string-mark-left-to-right.
18509 (tabulated-list-print): Recenter after moving point.
18511 2011-08-10 Juri Linkov <juri@jurta.org>
18513 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18514 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18515 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18517 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18519 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18522 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18524 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18525 character. (Bug#6594)
18527 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18529 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18530 (image-dired--with-db-file): New macro.
18531 (image-dired-write-tags, image-dired-remove-tag)
18532 (image-dired-create-gallery-lists, image-dired-write-comments)
18533 (image-dired-get-comment, image-dired-mark-tagged-files)
18534 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18535 (image-dired-gallery-generate): Use insert-file-contents.
18537 * time.el (display-time-world-list, display-time-world-display):
18538 * time-stamp.el (time-stamp-string):
18539 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18540 set-time-zone-rule (Bug#7337).
18542 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18544 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18545 (epg-error-to-string, epg-errors-to-string): New function.
18546 (epg-wait-for-completion): Reverse errors list.
18547 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18548 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18549 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18550 (epg-sign-keys, epg-generate-key-from-file)
18551 (epg-generate-key-from-string): Format errors by using
18552 epg-errors-to-string (bug#9255).
18553 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18555 2011-08-07 Juri Linkov <juri@jurta.org>
18557 * faces.el (list-faces-display): Remove extra angle bracket
18558 from `help-mode-map'.
18560 * info.el (Info-history-toc-nodes): Doc fix.
18562 * longlines.el (longlines-mode): Doc fix.
18564 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18566 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18567 of statements and in a few more cases (bug#9183).
18569 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18571 (cl-transform-lambda): Use them (bug#9239).
18573 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18575 * window.el (display-buffer-same-window)
18576 (display-buffer-same-frame, display-buffer-other-window)
18577 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18578 (pop-to-buffer-other-window)
18579 (pop-to-buffer-same-frame-other-window)
18580 (pop-to-buffer-other-frame): Make them defuns.
18581 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18583 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18585 * subr.el (make-composed-keymap): Move from C. Change calling
18586 convention, and improve docstring to bring attention to a subtle point.
18587 * minibuffer.el (completing-read-default): Adjust accordingly.
18589 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18591 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18592 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18594 * net/trampver.el: Update release number.
18596 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18598 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18601 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18603 * mail/sendmail.el (sendmail-query-once): Restore the current
18604 buffer after querying (bug#9074).
18606 * dired.el (dired-flagged): Use different faces for marked and
18607 flagged files (bug#6117).
18609 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18612 * ido.el (ido-mode): Switch off the message if called
18615 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18616 before 587, since it appears that that's more likely to work for
18619 * cus-edit.el (custom-file): When running under emacs -q, always
18620 refuse to save the customizations, even if the .emacs file doesn't
18623 * info.el: Remove the `Info-beginning-of-buffer' function
18626 * net/network-stream.el (network-stream-open-starttls):
18627 Use `starttls-available-p' to see whether starttls.el can be used.
18629 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18631 * window.el (display-buffer-in-window): Don't set dedicated status
18632 of window here (Bug#9215).
18633 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18634 (display-buffer-pop-up-side-window)
18635 (display-buffer-in-side-window): Set dedicated status of window here.
18637 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18639 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18640 before binding generated-autoload-file.
18642 2011-08-01 Deniz Dogan <deniz@dogan.se>
18644 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18646 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18648 Sync with Tramp 2.2.2.
18650 * net/trampver.el: Update release number.
18652 2011-07-30 Juri Linkov <juri@jurta.org>
18654 * dired-aux.el (dired-touch-initial): Remove function.
18655 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18656 current time, and `default' to the last modification time of the
18657 current marked file (bug#6887).
18659 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18661 * simple.el (goto-line): Use string-to-number to provide a
18662 numeric argument to read-number (bug#9163).
18664 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18666 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18667 connection process, it could be nil.
18669 2011-07-27 Leo Liu <sdl.web@gmail.com>
18671 Simplify url handling in rcirc-mode.
18673 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18674 (rcirc-browse-url-at-mouse): Remove.
18675 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18677 2011-07-26 Alan Mackenzie <acm@muc.de>
18679 Fontify bitfield declarations properly.
18681 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18682 (c-symbol-chars): Now exported as a lang variable.
18683 (c-not-primitive-type-keywords): New lang variable.
18685 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18686 QT keyword "more" to prevent "more slots: ...." being spuriously
18687 parsed as a bitfield declaration.
18689 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18690 Refactor and enhance to handle bitfield declarations.
18691 (c-punctuation-in): New function.
18692 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18693 declarations properly.
18695 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18697 * calendar/icalendar.el (icalendar--all-events): Take care of
18698 multiple vcalendars in a single file.
18699 (icalendar--convert-float-to-ical): Checkdoc fixes.
18701 2011-07-25 Deniz Dogan <deniz@dogan.se>
18703 * image.el (insert-image): Clarifying docstring.
18705 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18707 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18708 `tramp-send-command-and-check' if there is no error.
18709 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18711 2011-07-22 Alan Mackenzie <acm@muc.de>
18713 Prevent cc-langs.elc being loaded at run time.
18715 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18718 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18719 "(require 'cc-langs)". Quote a form so it will evaluate at
18720 (cc-mode's) compilation time.
18722 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18724 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18725 loading. (Bug#9114)
18727 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18729 * window.el (display-buffer-pop-up-window)
18730 (display-buffer-pop-up-side-window)
18731 (display-buffer-in-side-window): Call display-buffer-set-height
18732 and display-buffer-set-width after setting the new window's
18733 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18735 2011-07-20 Sam Steingold <sds@gnu.org>
18737 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18738 (etags-tags-included-tables): Call `convert-standard-filename' on
18739 the file names contained in TAGS so that windows Emacs can handle
18740 TAGS files created by cygwin ctags.
18742 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18744 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18745 which apparently didn't work.
18747 2011-07-19 Roland Winkler <winkler@gnu.org>
18749 * proced.el (proced-send-signal): For *Marked Processes* buffer
18750 put point at beginning of buffer.
18752 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18754 * proced.el (proced-format): Make header lines align with the text
18757 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18759 * view.el (view-buffer): Allow running in `special' modes if we're
18760 visiting a file (bug#8615).
18762 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18764 * window.el (display-buffer-alist-of-strings-p)
18765 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18767 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18770 2011-07-18 Alan Mackenzie <acm@muc.de>
18772 Fontify declarators properly when, e.g., a jit-lock chunk begins
18773 inside a declaration.
18775 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18777 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18779 (c-complex-decl-matchers): Insert reference to
18780 c-font-lock-enclosing-decls.
18782 * progmodes/cc-engine.el (c-backward-single-comment):
18783 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18784 to nil around calls to (forward-comment -1).
18786 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18788 * image.el (put-image): Doc typo fix.
18790 * progmodes/etags.el (tags-search): Doc typo fix.
18792 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18793 password if we get errors 550 to 554.
18795 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18797 * net/gnutls.el (gnutls-log-level): Remove.
18799 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18800 indentation character (bug#6380).
18802 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18804 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18805 to clarify what the problem is (bug#4291).
18807 * simple.el (current-kill): Clarify what
18808 `interprogram-paste-function' does (bug#7500).
18809 (auto-fill-mode): Document `auto-fill-function' in relation to
18810 `auto-fill-mode' (bug#2470).
18812 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18814 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18815 method if slot is read-only (bug#9035).
18817 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18819 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18820 * window.el (pop-to-buffer): Select window used even if it was
18821 selected before, see discussion of (Bug#8615), (Bug#6954).
18822 Pass argument NORECORD on to select-frame-set-input-focus.
18824 2011-07-15 Glenn Morris <rgm@gnu.org>
18826 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18829 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18831 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18832 (gnutls-negotiate): Use it.
18834 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18836 * net/gnutls.el (gnutls-negotiate):
18837 Upcase `gnutls-algorithm-priority'.
18839 2011-07-15 Glenn Morris <rgm@gnu.org>
18841 * jka-compr.el (jka-compr-verbose): Move from here...
18842 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18843 Add missing :version tag.
18844 * info.el: No need to require jka-compr when compiling.
18846 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18848 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18849 (gnutls-negotiate): Use it.
18851 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18853 * info.el (Info-beginning-of-buffer): New command.
18854 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18855 announcing `b' as the key (bug#8325).
18856 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18858 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18860 * international/mule-cmds.el
18861 (describe-specified-language-support): Make the error message
18862 clearer (bug#8905).
18864 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18866 * isearch.el (isearch-barrier): Add a doc string, since it's
18867 mentioned in a function doc string (bug#8678).
18869 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18871 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18872 buffer argument (Bug#9083) and self-identifying label argument.
18874 2011-07-15 Glenn Morris <rgm@gnu.org>
18876 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18878 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18880 * man.el (Man-fontify-manpage): Fix message when formatting the
18881 man page (bug#7929).
18883 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18885 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18886 argument LRM; if non-nil, append an invisible LRM character to the
18888 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18889 last argument non-nil, when formatting buffer names.
18890 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18891 paragraph direction.
18893 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18895 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18896 the man page name (bug#7929).
18898 * image.el (put-image): Mention the `put-image' overlay property
18901 * scroll-bar.el (set-scroll-bar-mode): Mention that
18902 `scroll-bar-mode' lists the values (bug#7772).
18904 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18905 command (bug#7729).
18907 * rect.el (apply-on-rectangle): Return the point after the last
18909 (string-rectangle): Go to the point after the last operation
18912 * printing.el (pr-toggle-region): Clarify the documentation
18913 slightly (bug#7493).
18915 * time.el (display-time-update):
18916 Allow `display-time-mail-function' to return nil (bug#7158).
18917 Fix suggested by Detlev Zundel.
18919 * vc/diff.el (diff): Clarify the order the file names are read
18922 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18923 the doc string (bug#7015).
18925 * font-lock.el (font-lock-maximum-decoration): Mention what
18926 numeric levels mean (bug#6935).
18928 * startup.el (initial-buffer-choice): Don't mention the `none'
18929 selection, which is against policy.
18931 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18933 * window.el (display-buffer-normalize-special):
18934 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18936 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18938 * subr.el (version<, version<=, version=): Mention "-CVS" and
18939 "-12345" alpha version numbers.
18941 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18943 * bindings.el: Add advertised binding for set-mark-command
18946 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18948 * bindings.el (mode-line-other-buffer):
18949 * bookmark.el (bookmark-bmenu-2-window):
18950 * bs.el (bs-cycle-next, bs-cycle-previous):
18951 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18954 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18957 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18959 * follow.el (follow-debug-message, follow-redisplay):
18960 * jka-cmpr-hook.el (with-auto-compression-mode):
18961 Fix typos in docstrings.
18963 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18965 * subr.el (with-silent-modifications): Clarify somewhat what the
18966 macro inhibits (bug#6525).
18968 * simple.el (eval-expression): Note what it does if called
18969 interactively (bug#6495).
18971 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18973 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18974 Use pop-to-buffer buffer-or-name if it is nil.
18976 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18977 Remove switch-to-buffer.
18979 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18981 * files.el (make-directory): Clarify that an error will be raised
18982 if there's an error (bug#6397).
18984 * startup.el (initial-buffer-choice): Add `none' as a choice
18987 * subr.el (add-hook): Clarify section about buffer-local hooks
18990 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18992 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18994 * tabify.el (untabify): Preserve the current column so that point
18995 doesn't move (bug#6032).
18997 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18999 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19000 Rewrite to avoid awkward possessive "s" (bug#5986).
19002 2011-07-13 Glenn Morris <rgm@gnu.org>
19004 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19005 (dired-insert-directory): Give a message the first time
19006 if ls is found not to support --dired.
19008 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19010 * simple.el (toggle-truncate-lines): Clarify what is toggled
19011 (bug#5580). Text by Drew Adams.
19013 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19015 * simple.el (blink-matching-open): Make the error message from the
19016 last change less verbose.
19018 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19020 * font-lock.el (font-lock-comment-face): Use the high contrast
19021 "yellow" color for font-lock-comment-face on low color terminals
19022 using a dark background color (bug#4221).
19024 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19026 * dired.el (dired-insert-set-properties): Make the doc string
19027 reflect what it does now (bug#5325).
19029 * simple.el (blink-matching-open): Say that we were unable to find
19030 the match within the limit, if we're limited (bug#5122).
19032 * international/mule-cmds.el (prefer-coding-system): Add an
19033 example (bug#4869).
19035 * progmodes/etags.el (tags-search): Document `file-list-form'
19038 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19040 * net/browse-url.el (browse-url-default-browser)
19041 (browse-url-browser-function): Make the default browser choice a
19042 bit more logical (bug#4300). Also clean up the doc string.
19044 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19046 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19047 binary endings (bug#4440).
19049 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19051 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19052 which can be pretty annoying (bug#8971).
19054 * jka-compr.el (jka-compr-verbose): New variable, and use
19055 throughout (bug#8971).
19057 * info.el (Info-find-file): Fall back on the installation
19058 directory if we can't find the info node anywhere else.
19060 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19062 * vc/vc.el (vc-revert-file):
19063 Don't set file time-stamp in the past. (Bug#5181)
19065 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19067 * files.el (after-find-file): Give a better error message when
19068 trying to find a symlink that points to a file that doesn't exist
19071 * progmodes/cc-vars.el: Remove (probably) misleading comment
19074 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19076 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19078 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19080 * mouse-sel.el: Hack restoring functionality, while keeping
19081 compatibility with 2010-07-03 changes to mouse selection.
19082 (mouse-sel-primary-overlay): New var.
19083 (mouse-sel-selection-alist): Use it.
19084 (mouse-sel-mode): Doc fix; remove points that are default features
19087 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19089 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19090 Fix previous fix (bug#2490).
19092 2011-07-12 Roland Winkler <winkler@gnu.org>
19094 * textmodes/bibtex.el (bibtex-initialize):
19095 Use pop-to-buffer-same-window.
19096 (bibtex-search-entries): Fix interactive call.
19098 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19100 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19101 Fontise bytecomp Error lines more correctly (bug#2490).
19102 Fix suggested by Johan Bockgård.
19104 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19106 * dired-x.el (dired-guess-default): Use `delete-dups'.
19108 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19110 * dired.el (dired-mark-prompt):
19111 * dired-aux.el (dired-read-shell-command): Doc fix.
19113 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19115 * mail/sendmail.el (sendmail-query-once):
19116 Use `customize-save-variable' unconditionally, now that it works under
19119 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19121 * cus-edit.el (custom-file): Take an optional no-error variable.
19122 (customize-save-variable): Set the variable, and give a warning if
19123 running under "emacs -q".
19125 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19127 * loadhist.el (unload-feature-special-hooks):
19128 Add `auto-coding-functions', `fill-nobreak-predicate' and
19129 `find-directory-functions' (bug#5327).
19131 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19133 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19135 * cus-edit.el (custom-guess-name-alist): -alist variables should
19136 use the `alist' type (bug#3120). Suggested by Drew Adams.
19138 * printing.el: Add documentation to all the `pr-toggle-' commands.
19140 2011-07-11 Leo Liu <sdl.web@gmail.com>
19142 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19143 backends where it makes sense (bug#2623).
19145 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19147 * dired-x.el (dired-guess-default): Remove duplicate shell command
19148 entries (bug#2028).
19149 (dired-guess-default): Fix grammar in doc string (bug#2028).
19150 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19152 * subr.el (remove-duplicates): New conveniency function.
19154 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19156 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19159 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19161 * window.el (display-buffer-normalize-default): Don't invert
19162 meaning of even-window-heights. Reported by Eli Zaretskii
19165 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19167 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19169 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19171 * window.el (display-buffer): Fix arguments to
19172 display-buffer-reuse-window in last change.
19174 * faces.el (link): Use a less saturated blue on light backgrounds.
19176 * startup.el (fancy-startup-text, fancy-about-text)
19177 (fancy-startup-tail): Use font-lock faces, for background safety.
19179 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19181 * emulation/viper-cmd.el (viper-change-state-to-vi):
19182 Limit triggering of abbrev expansion (Bug#9038).
19184 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19186 * window.el (display-buffer-default-specifiers): Remove.
19187 (display-buffer-macro-specifiers): Remove default specifiers.
19188 (display-buffer-alist): Default to nil.
19189 (display-buffer-reuse-window): New optional argument other-window.
19190 (display-buffer-pop-up-window): Allow splitting internal
19191 windows. Check whether a live window was created.
19192 (display-buffer-other-window-means-other-frame)
19193 (display-buffer-normalize-arguments): Rename to
19194 display-buffer-normalize-argument and rewrite. Set the
19195 other-window specifier.
19196 (display-buffer-normalize-special): New function.
19197 (display-buffer-normalize-options): Rename to
19198 display-buffer-normalize-default and rewrite.
19199 (display-buffer-normalize-options-inhibit): Remove.
19200 (display-buffer-normalize-specifiers): Rewrite.
19201 (display-buffer): Process other-window specifier and call
19202 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19204 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19205 (display-buffer-alist-set): Don't handle 'unset default values.
19206 (display-buffer-in-window, display-buffer-alist-set):
19207 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19208 <tassilo@member.fsf.org>.
19210 2011-07-09 Leo Liu <sdl.web@gmail.com>
19212 * register.el (insert-register): Restore accidental change on
19213 2011-06-26. (Bug#9028)
19215 2011-07-09 Glenn Morris <rgm@gnu.org>
19217 * subr.el (remq): Handle the empty list. (Bug#9024)
19219 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19221 * mail/sendmail.el (send-mail-function): No longer delay custom
19223 * custom.el (custom-initialize-delay): Doc fix.
19225 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19227 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19229 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19231 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19232 human-friendly prompt.
19234 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19236 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19237 provided by a particular plugin.
19239 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19241 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19242 save customizations (with "emacs -Q"), just set the variable
19243 instead of erroring out.
19245 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19247 2011-07-08 Juri Linkov <juri@jurta.org>
19249 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19250 (archive-zip-update-case): Use 7z if found by `executable-find'.
19251 The order of searching the available programs is the same as in
19252 `archive-zip-extract' (bug#8968).
19254 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19256 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19257 (menu-bar-options-menu): Tweak descriptions.
19259 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19261 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19262 menu items into verb phrases (bug#1421). Also refill to fit under
19265 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19267 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19268 (Info-read-node-name): Doc fix (Bug#1084).
19270 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19271 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19272 (end-of-sexp, beginning-of-sexp)
19273 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19274 (forward-symbol, forward-same-syntax, word-at-point)
19275 (sentence-at-point): Doc fix (Bug#1144).
19277 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19279 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19280 should cover it (bug#1281).
19282 * cus-edit.el (custom-show): Mark as obsolete.
19284 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19285 negotiation fails, then possibly try again with a non-encrypted
19286 connection (bug#9017).
19288 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19291 2011-07-07 Richard Stallman <rms@gnu.org>
19293 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19294 property, and handle its changed format.
19295 Look for the correct line number.
19296 Use file's line contents (but not past first =) to find
19297 correct line in message.
19299 2011-07-07 Kenichi Handa <handa@m17n.org>
19301 * international/characters.el (build-unicode-category-table):
19303 (unicode-category-table): Set it by unicode-property-table-internal.
19305 * international/mule-cmds.el (char-code-property-alist): Move to
19307 (get-char-code-property): Call unicode-property-table-internal to
19308 load a file. Call get-unicode-property-internal where necessary.
19309 (put-char-code-property): Call unicode-property-table-internal to
19310 load a file. Call put-unicode-property-internal where necessary.
19311 put-unicode-property-internal where necessary.
19312 (char-code-property-description):
19313 Call unicode-property-table-internal to load a file.
19315 * international/charprop.el:
19316 * international/uni-bidi.el:
19317 * international/uni-category.el:
19318 * international/uni-combining.el:
19319 * international/uni-comment.el:
19320 * international/uni-decimal.el:
19321 * international/uni-decomposition.el:
19322 * international/uni-digit.el:
19323 * international/uni-lowercase.el:
19324 * international/uni-mirrored.el:
19325 * international/uni-name.el:
19326 * international/uni-numeric.el:
19327 * international/uni-old-name.el:
19328 * international/uni-titlecase.el:
19329 * international/uni-uppercase.el: Regenerate.
19331 * loadup.el: Load international/charprop.el before
19332 international/characters.
19334 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19336 * window.el (next-buffer, previous-buffer): Signal an error if
19337 called from a minibuffer window.
19339 * bindings.el: Revert 2011-07-04 change.
19341 2011-07-06 Richard Stallman <rms@gnu.org>
19343 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19344 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19345 Treat markers like ints.
19346 (rmail-mime-entity): Doc fix.
19348 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19350 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19351 defcustom again for backwards compatibility.
19353 * simple.el (shell-command-on-region): Fill.
19355 * dired-aux.el (dired-kill-line): Add a doc string.
19357 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19358 to "\\sw\\|\\s_" (bug#358).
19360 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19361 (dired-unmark-backward): Ditto.
19362 (dired-flag-backup-files): Ditto.
19364 * dired-x.el (dired-mark-sexp): Ditto.
19366 2011-07-06 Richard Stallman <rms@gnu.org>
19368 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19369 (rmail-mime-entity): New arg TRUNCATED.
19370 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19372 (rmail-mime-save): Warn if entity is truncated.
19373 (rmail-mime-toggle-hidden): Likewise, for showing.
19374 (rmail-mime-process-multipart): Record when an entity is truncated.
19376 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19377 if ENTITY is a string.
19379 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19381 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19382 of faces when `M-C-x'-ing their definitions (bug#8378).
19383 Also clean up the code slightly.
19385 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19386 because that makes the colors go away.
19388 * mail/sendmail.el (send-mail-function): Change the default to
19389 `sendmail-query-once'.
19390 (sendmail-query-once): Add an autoload cookie.
19392 * net/network-stream.el (network-stream-open-starttls): Try using
19393 a plain connection even if the server offered STARTTLS, and we
19394 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19395 capability. This should make smtpmail.el work in slightly more
19398 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19400 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19402 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19404 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19406 * progmodes/sql.el: Version 3.0
19407 (sql-product-alist): Add product :completion-object,
19408 :completion-column, and :statement attributes.
19409 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19410 (sql-mode-syntax-table): Mark all punctuation.
19411 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19413 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19414 (sql-mode-oracle-font-lock-keywords): Improve.
19415 (sql-oracle-show-reserved-words): New function for development.
19416 (sql-product-font-lock): Simplify for source code buffers.
19417 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19419 (sql-highlight-product): Set product specific syntax table.
19420 (sql-mode-map): Add statement movement functions.
19421 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19423 (sql-statement-regexp, sql-beginning-of-statement)
19424 (sql-end-of-statement, sql-signum): New functions.
19425 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19426 (sql-show-sqli-buffer): Bug fix.
19427 (sql-interactive-mode): Store connection data as buffer local.
19428 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19429 with sql-interactive-mode.
19430 (sql-save-connection): Save buffer local settings.
19431 (sql-connection-menu-filter): Change menu entry name.
19432 (sql-product-interactive): Bug fix.
19433 (sql-preoutput-hold): New variable.
19434 (sql-interactive-remove-continuation-prompt): Bug fixes.
19435 (sql-debug-redirect): New variable.
19436 (sql-str-literal): New function.
19437 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19439 (sql-oracle-save-settings, sql-oracle-restore-settings)
19440 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19441 (sql-completion-object, sql-completion-column)
19442 (sql-completion-sqlbuf): New variables.
19443 (sql-build-completions-1, sql-build-completions)
19444 (sql-try-completion): New functions.
19445 (sql-read-table-name): Use them.
19446 (sql-contains-names): New buffer local variable.
19447 (sql-list-all, sql-list-table): Use it.
19448 (sql-oracle-completion-types): New variable.
19449 (sql-oracle-completion-object, sql-sqlite-completion-object)
19450 (sql-postgres-completion-object): New functions.
19452 2011-07-06 Glenn Morris <rgm@gnu.org>
19454 * window.el (pop-to-buffer): Doc fix.
19456 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19458 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19460 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19462 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19464 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19466 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19468 * button.el (button): Inherit from link face. Suggested by Dan
19471 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19473 * progmodes/gdb-mi.el: Fit in 80 columns.
19474 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19477 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19478 if imenu is simply not configured (bug#8941).
19480 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19482 * allout.el (allout-post-undo-hook): New allout outline-change
19483 event hook to signal undo activity.
19484 (allout-post-command-business): Run allout-post-undo-hook if an
19485 undo just occurred.
19486 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19487 * allout-widgets.el (allout-widgets-after-undo-function):
19488 Ensure the integrity of the current item's decoration after it has been
19489 in the vicinity of an undo.
19490 (allout-widgets-mode): Include allout-widgets-after-undo-function
19491 on the new allout-post-undo-hook.
19493 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19495 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19496 Let define-derived-mode define it.
19497 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19498 cycles of abbrev-table inheritance (bug#8998).
19500 2011-07-05 Roland Winkler <winkler@gnu.org>
19502 * textmodes/bibtex.el: Add support for biblatex.
19503 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19504 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19505 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19506 (bibtex-entry-alist, bibtex-field-alist): New variables.
19507 (bibtex-entry-field-alist): Obsolete alias for
19508 bibtex-BibTeX-entry-alist.
19509 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19510 (bibtex-set-dialect): New command.
19511 (bibtex-entry-type, bibtex-entry-head)
19512 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19513 Bind via bibtex-set-dialect.
19514 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19515 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19516 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19517 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19518 Define via bibtex-set-dialect.
19519 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19520 Obey bibtex-no-opt-remove-re.
19521 (bibtex-vec-push, bibtex-vec-incr): New functions.
19522 (bibtex-format-entry, bibtex-field-list)
19523 (bibtex-print-help-message, bibtex-validate)
19524 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19526 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19528 * progmodes/compile.el (compilation-goto-locus):
19529 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19530 * bs.el (bs-cycle-next, bs-cycle-previous):
19531 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19532 * bindings.el (mode-line-other-buffer):
19533 * autoinsert.el (auto-insert):
19534 * arc-mode.el (archive-extract):
19535 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19537 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19539 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19540 Fix check of `emacs-lock-unlockable-modes'.
19541 Coerce true values of `emacs-lock--try-unlocking' to t.
19543 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19545 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19546 * emacs-lock.el: New file.
19548 2011-07-05 Julien Danjou <julien@danjou.info>
19550 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19551 than `boundp' to check if face is set.
19553 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19555 * register.el (registerv-make):
19556 * window.el (window-min-height): Fix typos in docstrings.
19558 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19560 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19563 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19565 * server.el (server-execute): Catch quit and call
19566 `server-return-error' to pass the error back to emacsclient and
19567 close the connection (bug#8942).
19569 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19571 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19572 insecure exception for current topic. Also note that auto-saves
19573 are handled differently.
19575 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19576 State variables for tracking auto-save inhibition situation.
19578 (allout-write-contents-hook-handler): Rename from
19579 'allout-write-file-hook-handler', and describe how it depends on
19580 write-contents-functions sensitivity to non-nil value to prevent
19583 (allout-auto-save-hook-handler): Remove. auto-save does not check
19584 this in individual buffers, only in the starting buffer, so this
19585 is not the right way for us to inhibit auto-save in a buffer
19586 according to its condition.
19588 (allout-mode): Use new allout-write-contents-hook-handler, and
19589 only with write-contents-functions. Remove auto-save provisions -
19590 they're implemented elsewhere.
19592 (allout-before-change-handler): If undo is in progress, note that
19593 for attention of allout-post-command-business.
19595 (allout-post-command-business): If the command we're following was
19596 an undo, check for change in the status of encrypted items and
19597 adjust auto-save inhibitions accordingly.
19599 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19600 according to whether there are or aren't any plain-text topics
19601 pending encryption.
19603 (allout-inhibit-auto-save-info-for-decryption):
19604 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19605 if there are plain-text topics pending encryption.
19607 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19608 buffer-saved-size and some allout state to not inhibit auto-saves
19609 if there are no longer any plain-text topics pending encryption.
19611 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19612 No longer provide for exemption of the current topic.
19614 2011-07-04 Juri Linkov <juri@jurta.org>
19616 Add 7z operations to delete and save changed members (bug#8968).
19617 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19619 (archive-7z-write-file-member): New function.
19620 (archive-7z-summarize): Fix the number of dashes in the
19623 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19625 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19628 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19630 * bindings.el: Ignore next-buffer and previous-buffer in
19631 minibuffer-local-map.
19633 * font-lock.el (font-lock-builtin-face): Change light background
19634 color to dark slate blue (Bug#6693).
19636 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19638 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19640 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19642 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19643 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19644 Add switch-to-buffer.
19646 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19648 * isearch.el (isearch-search-fun-function): Clarify further the
19649 meaning of the function returned.
19651 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19653 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19655 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19656 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19658 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19659 `tramp-default-remote-path' does not exist.
19660 (tramp-send-command-and-read): New optional argument NOERROR.
19661 (tramp-open-connection-setup-interactive-shell)
19662 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19663 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19664 (tramp-process-sentinel): Flush also process' connection property.
19665 (tramp-sh-handle-start-file-process): Do not set process
19666 sentinel. It is done now ...
19667 (tramp-maybe-open-connection): ... here. (Bug#8929)
19669 2011-07-04 MON KEY <monkey@sandpframing.com>
19671 * play/animate.el (animate-string): Doc fixes and allow changing
19672 the buffer name (bug#5417).
19674 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19676 * play/animate.el (animation-buffer-name): Rename from *animate*.
19678 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19680 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19681 This is simpler and helps future-proof the code.
19682 (timer-until): Use time-subtract and float-time.
19683 (timer--time-less-p): Use time-less-p.
19685 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19687 * type-break.el (timep): Use the value of `float-time' to avoid a
19688 byte-compiler warning.
19690 * server.el (server-eval-and-print): Return any result, even nil.
19692 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19694 * type-break.el: Accept time formats that the builtins accept.
19695 (timep, type-break-time-difference): Accept any format that
19696 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19697 This is simpler and helps future-proof the code.
19698 (type-break-time-difference): Round rather than ignoring
19699 subseconds components.
19701 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19703 * info.el (Info-apropos-matches): Make non-interactive, since it
19704 doesn't seem to do anything useful as a command (bug#8829).
19706 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19708 * frame.el (frame-background-mode, frame-set-background-mode):
19709 Move from faces.el.
19710 (frame-default-terminal-background): New function.
19712 * custom.el (custom-push-theme): Don't record faces in `changed'
19713 theme; this doesn't work correctly for per-frame face settings.
19714 (disable-theme): Use face-set-after-frame-default to reset faces.
19715 (custom--frame-color-default): New function.
19717 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19719 * dired.el (dired-flagging-regexp): Remove unused variable
19722 2011-03-29 Kevin Ryde <user42@zip.com.au>
19724 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19725 `perl-Test2' extend to match possible "fail #N" rep count
19728 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19730 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19731 `smtpmail-via-smtp' now returns the error instead of nil.
19733 * isearch.el (isearch-search-fun-function): Clarify the doc string
19736 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19738 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19739 unnecessary spaces (bug#8987).
19741 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19743 * net/network-stream.el (open-network-stream): Use the
19744 :end-of-capability command thoughout.
19746 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19748 * net/network-stream.el (open-network-stream): Add the
19749 :end-of-capability command parameter, used by pop3.el.
19751 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19753 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19755 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19756 for list)" (bug#6475).
19758 * files.el (file-expand-wildcards): Ignore non-readable
19759 sub-directories while trying to find matches instead of signaling
19760 an error (bug#6297).
19762 * man.el (Man-reference-regexp): Allow matching possible
19763 word-wrapped references (bug#6289).
19765 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19766 for consistency with the other vc buffers (bug#6197).
19767 (vc-checkin): Ditto.
19769 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19771 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19773 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19775 * custom.el (defcustom): Clarify that :set is only used in the
19776 Customize user interface (bug#6089).
19778 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19779 associated with a file, refuse to run instead of erroring out
19782 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19783 the doc string, since it appears that using `fill-column' always
19784 controls the width (bug#7845).
19786 * simple.el (shell-command-on-region): Say where the error output
19787 went if `shell-command-default-error-buffer' is set (bug#6857).
19789 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19791 * allout.el (allout-yank-processing): Adjust cursor position for
19792 backwards-deleted space.
19794 (allout-rebullet-heading): Register changes with
19795 allout-exposure-changed-hook, so the modified topic is properly
19798 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19800 * minibuffer.el (completion-in-region): Document PREDICATE
19803 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19804 of keyword/argument pairs (bug#6904).
19806 * replace.el (multi-occur):
19807 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19809 2011-07-02 Drew Adams <drew.adams@oracle.com>
19811 * dired.el (dired-mark-if): Make the message about whether it's
19812 marking or unmarking clearer (bug#8523).
19814 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19816 * disp-table.el (display-table-print-array): New function.
19817 (describe-display-table): Use it to print the vectors more pretty
19820 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19822 * window.el (window-state-get-1): Don't assign clone numbers.
19823 Add clone-of item to list of window parameters.
19824 (window-state-put-2): Don't process clone numbers.
19825 (display-buffer-alist): Fix doc-string.
19827 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19829 * subr.el (remq): Don't allocate if it's not needed.
19830 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19831 (keymap--merge-bindings): New functions.
19832 (keymap-canonicalize): Use them to refine the canonicalization.
19833 * minibuffer.el (minibuffer-local-completion-map)
19834 (minibuffer-local-must-match-map): Move initialization from C.
19835 (minibuffer-local-filename-completion-map): Move initialization from C;
19836 don't inherit from anything here.
19837 (minibuffer-local-filename-must-match-map): Make obsolete.
19838 (completing-read-default): Use make-composed-keymap to combine
19839 minibuffer-local-filename-completion-map with either
19840 minibuffer-local-must-match-map or
19841 minibuffer-local-filename-completion-map.
19843 2011-07-01 Glenn Morris <rgm@gnu.org>
19845 * type-break.el (type-break-time-sum): Use dolist.
19847 * textmodes/flyspell.el (flyspell-word-search-backward):
19848 Replace CL function.
19850 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19852 * mouse.el (mouse--strip-first-event): New function.
19853 (function-key-map): Use it to map fringe clicks to normal clicks
19856 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19857 (vc-bzr-revision-completion-table): Add support for annotate and date.
19859 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19860 inherit from parent.
19862 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19864 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19865 (dired-show-file-type): Doc fixup (bug#8818).
19867 * dired.el (dired-mode): Fix up the doc string as suggested by
19868 Drew Adams (bug#8817).
19870 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19871 cookie, since the manual says that it should be possible to add
19872 this function to `find-file-hook' (bug#8709).
19874 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19876 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19877 here. Noted Ted Zlatanov as the maintainer.
19878 (cfengine-common-settings, cfengine-common-syntax): New functions
19879 to set up common things between `cfengine-mode' and
19881 (cfengine3-mode): New mode.
19882 (cfengine3-defuns cfengine3-defuns-regex
19883 (cfengine3-class-selector-regex cfengine3-category-regex)
19884 (cfengine3-vartypes cfengine3-font-lock-keywords)
19885 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19886 (cfengine3-indent-line): Add from cfengine3.el.
19888 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19890 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19892 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19894 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19896 * window.el (same-window-buffer-names, same-window-regexps)
19897 (same-window-p, special-display-frame-alist)
19898 (special-display-popup-frame, special-display-function)
19899 (special-display-buffer-names, special-display-regexps)
19900 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19901 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19902 (split-window-preferred-function, split-height-threshold)
19903 (split-width-threshold, even-window-heights)
19904 (display-buffer-mark-dedicated, window-splittable-p)
19905 (split-window-sensibly, window-safely-shrinkable-p):
19907 (display-buffer): Don't spread args with function specifier
19908 because special-display-popup-frame won't like it.
19910 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19912 Time-stamp simplifications and fixes.
19913 These improve accuracy slightly, and future-proof the code
19914 against some potential changes to current-time format.
19916 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19917 by using time-since and float-time.
19919 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19920 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19921 + NNN microseconds".
19923 * type-break.el (type-break-time-sum): Rewrite using time-add.
19925 * play/hanoi.el (hanoi-current-time-float): Remove.
19926 All uses replaced by float-time.
19928 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19929 This yields a more-accurate answer.
19930 (rng-time-to-float): Remove; no longer needed.
19932 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19934 * calendar/timeclock.el (timeclock-seconds-to-time):
19935 Defalias to seconds-to-time, since they're the same thing.
19937 * emacs-lisp/elp.el (elp-elapsed-time):
19938 * emacs-lisp/benchmark.el (benchmark-elapse):
19939 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19941 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19943 * window.el (bury-buffer): Don't iconify the only frame.
19944 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19945 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19947 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19949 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19950 Add mouse-yank-primary.
19952 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19954 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19956 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19958 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19959 (find-library-name): Use it to find relative load names when provided
19960 absolute file name (bug#8803).
19962 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19964 * textmodes/flyspell.el (flyspell-word): Consider words that
19965 differ only in case as potential doublons (bug#5687).
19967 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19968 Remove two rather uninteresting debugging-like messages to make
19969 debbugs.el more silent.
19971 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19972 a password-like phrase.
19974 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19976 * progmodes/cc-guess.el: New file.
19978 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19980 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19981 derived from `c-basic-common-init'.
19983 * progmodes/cc-mode.el (top-level): Require cc-guess.
19984 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19986 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19988 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19990 2011-06-30 Alan Mackenzie <acm@muc.de>
19992 * progmodes/cc-engine.el (c-guess-continued-construct):
19993 Correct the handling of template-args-cont, particularly for when font
19994 lock is disabled. Name this case as "CASE G".
19996 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19998 * allout.el (allout-yank-processing): Fix injection of extra space
19999 between bullet and non-whitespace character in first topic when
20000 pasting, ensuring that the actual spacing in the pasted topic
20001 following the bullet char is preserved. This extra space was
20002 causing pasted encrypted topics to get a decrypted status even
20003 when the content was actually still encrypted. Now the decryption
20004 status from before the paste is preserved.
20006 (allout-flag-region): Set all allout overlays so they evaporate
20007 when reduced to zero length (evanescent), to prevent overlay
20010 2011-06-30 Glenn Morris <rgm@gnu.org>
20012 * w32-fns.el (w32-charset-info-alist): Declare.
20014 * find-dired.el (find-grep-options): Simplify.
20016 * term/ns-win.el (ns-set-resource): Declare.
20018 * ses.el (row, col): Declare dynamic variables honestly.
20020 * textmodes/reftex-parse.el (index-tags): Declare.
20022 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20024 * cus-edit.el (customize-push-and-save): New function.
20026 * files.el (hack-local-variables-confirm): Use it.
20028 * custom.el (load-theme): New arg NO-CONFIRM.
20029 Use customize-push-and-save (Bug#8720).
20030 (custom-enabled-themes): Doc fix.
20032 * cus-theme.el (customize-create-theme)
20033 (custom-theme-merge-theme): Callers to load-theme changed.
20035 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20037 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20038 short URLs have at least one dot in them (bug #7614).
20040 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20041 nil, because using a pty is apparently too slow (bug #895).
20043 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20045 * mail/sendmail.el (sendmail-query-once): New function.
20046 (sendmail-query-once-function): New variable.
20048 2011-06-29 Glenn Morris <rgm@gnu.org>
20050 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20052 * ses.el (top-level): Require cl when compiling.
20053 (ses-set-localvars): Fix error statement.
20054 Call it at compile time to silence a storm of warnings.
20056 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20058 * window.el (normalize-live-buffer): Rename to
20059 window-normalize-buffer.
20060 (normalize-live-frame): Rename to window-normalize-frame.
20061 (normalize-any-window): Rename to window-normalize-any-window.
20062 (normalize-live-window): Rename to window-normalize-live-window.
20063 (make-window-atom): Rename to window-make-atom.
20064 (window-resize-reset): Rename to window--resize-reset.
20065 (window-resize-reset-1): Rename to window--resize-reset-1.
20066 (resize-mini-window): Rename to window--resize-mini-window.
20067 (resize-subwindows-skip-p): Rename to
20068 window--resize-subwindows-skip-p.
20069 (resize-subwindows-normal): Rename to
20070 window--resize-subwindows-normal.
20071 (resize-subwindows): Rename to window--resize-subwindows.
20072 (resize-other-windows): Rename to window--resize-siblings.
20073 (resize-this-window): Rename to window--resize-this-window.
20074 (resize-root-window): Rename to window--resize-root-window.
20075 (resize-root-window-vertically): Rename to
20076 window--resize-root-window-vertically.
20077 (normalize-buffer-to-display): Rename to
20078 window-normalize-buffer-to-display.
20079 (normalize-buffer-to-switch-to): Rename to
20080 window-normalize-buffer-to-switch-to.
20081 Correspondingly update all callers of the functions listed
20083 (display-buffer-alist, display-buffer-normalize-arguments)
20084 (display-buffer-normalize-options, display-buffer)
20085 (display-buffer-alist-set): Use "function" instead of
20088 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20090 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20091 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20092 debbugs.gnu.org. Mention acknowledgment email.
20094 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20096 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20097 buffer multibyteness, since it shouldn't matter.
20099 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20101 * window.el (display-buffer-in-side-window): Handle dedicated
20102 windows as in display-buffer-reuse-window.
20103 (display-buffer-normalize-alist): Use value of override
20105 (display-buffer-normalize-specifiers): Use value of
20106 other-window-means-other-frame specifier.
20107 (display-buffer-alist): Rewrite some texts in widgets.
20108 (display-buffer): Spread arguments when calling function
20109 specified by fun-with-args.
20111 2011-06-28 Deniz Dogan <deniz@dogan.se>
20113 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20116 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20117 selectors (Bug#5732).
20118 (css-proprietary-nmstart-re): Use `regexp-opt'.
20120 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20122 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20123 (eshell-ls-date-format): New defcustom.
20124 (eshell-ls-file): Use it.
20126 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20128 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20130 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20132 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20133 (ange-ftp-make-tmp-name): New arg.
20134 (ange-ftp-file-local-copy): Use it.
20136 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20138 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20139 no-conversion (Bug#8870).
20141 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20143 * window.el (window-right, window-left, window-child)
20144 (window-child-count, window-last-child)
20145 (window-iso-combination-p, walk-window-tree-1)
20146 (window-atom-check-1, window-tree-1, delete-window)
20147 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20148 new naming conventions - window-vchild, window-hchild,
20149 window-next and window-prev are now called window-top-child,
20150 window-left-child, window-next-sibling and window-prev-sibling
20152 (resize-window-reset): Rename to window-resize-reset.
20153 (resize-window-reset-1): Rename to window-resize-reset-1.
20154 (resize-window): Rename to window-resize.
20155 (window-min-height, window-min-width)
20156 (resize-mini-window, resize-this-window, resize-root-window)
20157 (resize-root-window-vertically, adjust-window-trailing-edge)
20158 (enlarge-window, shrink-window, maximize-window)
20159 (minimize-window, delete-window, quit-restore-window)
20160 (split-window, balance-windows, balance-windows-area-adjust)
20161 (balance-windows-area, window-state-put-2)
20162 (display-buffer-even-window-sizes, display-buffer-set-height)
20163 (display-buffer-set-width, set-window-text-height)
20164 (fit-window-to-buffer): Rename all "resize-window" prefixed
20165 calls to use the "window-resize" prefix convention.
20166 (display-buffer-alist): Fix symbol for label specifier.
20167 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20168 corresponding specifier.
20169 Reported by Juanma Barranquero <lekktu@gmail.com>.
20171 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20173 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20175 (ses-call-printer): Does not pass an empty string to formatter when the
20176 cell is empty to keep from barking printer Calc math-format-value.
20178 2011-06-27 Richard Stallman <rms@gnu.org>
20180 * battery.el (battery-mode-line-limit): New variable.
20181 (battery-update): Handle it.
20183 * mail/rmailmm.el (rmail-mime-process-multipart):
20184 Handle truncated messages.
20186 2011-06-27 Glenn Morris <rgm@gnu.org>
20188 * progmodes/flymake.el (flymake-err-line-patterns):
20189 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20191 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20193 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20194 (ses--clean-!, ses--clean-_): New functions.
20195 (ses-range): Add configurability of readout order, and conversion
20198 * ses.el (ses-repair-cell-reference-all): New function.
20199 (ses-cell-symbol): Set macro as safe, so that it can be used in
20202 * ses.el: Update cycle detection algorithm.
20203 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20204 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20205 (ses-set-localvars): New function.
20206 (ses-make-cell): Add property-list as a cell element.
20207 (ses-cell-property-get-fun, ses-cell-property-get)
20208 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20209 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20211 (ses-cell-property-set, ses-cell-property-pop)
20212 (ses-cell-property-get-handle): New macro.
20213 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20214 New aliases, used for code readability.
20215 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20217 (ses-self-reference-early-detection): New defcustom.
20218 (ses-formula-references): Robustify against self-referring cells.
20219 (ses-mode): Use ses-set-localvars.
20220 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20221 before lauching the update processing.
20222 (ses-initialize-Dijkstra-attempt): New function.
20223 (ses-recalculate-cell): Update for cycle detection based on
20224 Dijkstra algorithm.
20226 * ses.el: Fix commenting and indenting convention.
20228 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20230 * bs.el (bs-cycle-next): Complete last change.
20232 2011-06-27 Drew Adams <drew.adams@oracle.com>
20234 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20236 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20238 * net/network-stream.el (network-stream-open-starttls):
20239 Don't re-get capabilities unless we've reestablished connection.
20240 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20242 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20243 to binary to possibly avoid line encoding issues on Windows (among
20246 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20248 * net/network-stream.el (open-network-stream): Return an :error
20249 saying what the problem was, if possible.
20251 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20254 * net/network-stream.el (network-stream-open-starttls): If we
20255 wanted to use STARTTLS, and the server offered it, but we weren't
20256 able to because we had no STARTTLS support, then close the connection.
20257 (open-network-stream): Return an :error element, if present.
20259 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20261 * hl-line.el (hl-line-sticky-flag): Doc fix.
20262 (global-hl-line-sticky-flag): New option (Bug#8323).
20263 (global-hl-line-highlight): Obey it.
20265 * vc/vc.el (vc-revert-show-diff): Default to t.
20267 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20269 * allout-widgets.el (allout-widgets-post-command-business):
20270 Stop decorating intermediate isearch matches. They're not being
20271 undecorated when an isearch is continued past, and isearch
20272 automatically collapses them. This leads to "widget leaks", where
20273 decorated items accumulate in collapsed areas. Lines with lots of
20274 hidden widgets can slow down cursor travel, substantially.
20275 Too much complicated machinery would be needed to ensure undecoration,
20276 so we're doing without this nicety.
20278 (allout-widgets-tally-string): Don't try to do a hash-table-count
20279 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20280 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20281 *Messages* when allout-widgets-maintain-tally is t.
20283 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20285 * window.el (display-buffer-normalize-argument): Rename to
20286 display-buffer-normalize-arguments. Handle special meaning of
20287 LABEL argument. Respect special-display-function when popping up
20288 a new frame. Fix code searching for a window showing the buffer
20290 (display-buffer-normalize-specifiers):
20291 Call display-buffer-normalize-arguments.
20292 (display-buffer-in-window): Don't undedicate the window if its
20293 buffer remains the same.
20294 Reported by Drew Adams <drew.adams@oracle.com>.
20295 (display-buffer-alist): Add choice for same-window macro
20297 (display-buffer): Mention special meaning of LABEL argument in
20298 doc-string. Fix quoting. Don't pop up a new frame even as
20301 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20303 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20304 avoid deleting the current window in some cases (bug#8911).
20306 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20308 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20311 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20313 * net/network-stream.el (network-stream-open-starttls):
20314 Use built-in TLS support if `gnutls-available-p' is true.
20315 (network-stream-open-tls): Ditto.
20317 2011-06-26 Leo Liu <sdl.web@gmail.com>
20319 * register.el (registerv): New struct.
20320 (registerv-make): New function.
20321 (jump-to-register, describe-register-1, insert-register):
20322 Support the jump-func, print-func and insert-func slot of a registerv
20325 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20327 * vc/vc.el (vc-revert-show-diff): New defcustom.
20328 (vc-diff-internal): New arg specifying diff buffer.
20329 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20330 reuse an existing *vc-diff* buffer (Bug#8927).
20332 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20334 2011-06-26 Glenn Morris <rgm@gnu.org>
20336 * progmodes/f90.el (f90-critical-indent): New option.
20337 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20338 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20339 (f90-mode): Doc fix.
20340 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20341 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20342 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20343 (f90-match-end): Handle block, critical.
20345 2011-06-25 Glenn Morris <rgm@gnu.org>
20347 * calendar/diary-lib.el (diary-included-files): Doc fix.
20348 (diary-include-files): New function, extracted from
20349 diary-include-other-diary-files and diary-mark-included-diary-files.
20350 (diary-include-other-diary-files, diary-mark-included-diary-files):
20351 Just call diary-include-files.
20352 (diary-mark-entries): Reset diary-included-files on first call.
20354 * calendar/diary-lib.el (diary-mark-entries)
20355 (diary-mark-included-diary-files):
20356 Visit included diary-files in temp buffers.
20358 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20359 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20360 (f90-start-block-re, f90-imenu-generic-expression)
20361 (f90-looking-at-program-block-start, f90-no-block-limit):
20362 Add support for submodules.
20364 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20365 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20367 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20369 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20370 buffer-file-type before setting its value, to avoid disastrous
20371 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20373 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20375 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20377 * ses.el (ses-unload-function):
20378 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20380 * proced.el (proced-unload-function):
20381 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20383 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20385 * server.el (server-create-window-system-frame): Add parameters arg.
20386 (server-process-filter): Doc fix. Handle frame-parameters.
20388 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20390 Fix bug#8730, bug#8781.
20392 * loadhist.el (unload--set-major-mode): New function.
20393 (unload-feature): Use it.
20395 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20396 (python-unload-function): New function.
20398 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20400 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20402 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20404 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20405 the candidates list.
20407 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20409 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20411 2011-06-23 Richard Stallman <rms@gnu.org>
20413 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20414 (rmail-variables): Set next-error-move-function.
20415 (rmail-what-message): Take argument POS.
20416 (rmail-next-error-move): New function.
20418 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20420 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20421 messages for adjacent non-terminals.
20423 2011-06-23 Richard Stallman <rms@gnu.org>
20425 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20426 (rmail-show-message-1): Preserve buffer modified flag.
20427 (rmail-start-mail): Don't specify use of rmail-mail-return;
20428 that's done by mail-bury now.
20429 (rmail-mail-return): Handle arg NEWBUF.
20431 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20433 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20436 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20438 * window.el (get-lru-window, get-mru-window)
20439 (get-largest-window): Never return a minibuffer window.
20440 (display-buffer-pop-up-window): Fix a bug that could lead to
20441 reusing the minibuffer window.
20442 (display-buffer): Pass original specifier argument to
20443 display-buffer-function instead of the normalized one.
20444 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20446 2011-06-22 Leo Liu <sdl.web@gmail.com>
20448 * minibuffer.el (completing-read-function)
20449 (completing-read-default): Move from minibuf.c.
20451 2011-06-22 Richard Stallman <rms@gnu.org>
20453 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20454 to Rmail even if not started by a special Rmail command.
20456 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20457 Copy the buffer currently showing just one message.
20459 2011-06-22 Roland Winkler <winkler@gnu.org>
20461 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20462 (bibtex-clean-entry): First delete the old key so that a
20463 customized algorithm for generating the new key does not get
20464 confused by the old key.
20465 (bibtex-url): Obey regexp of first step.
20466 (bibtex-search-entries): Do not use add-to-list with local
20469 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20471 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20472 stored a user name, then query for the password first, instead of
20473 waiting for SMTP to give an error message and the trying again.
20475 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20477 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20478 BUFFER in call-process.
20480 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20482 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20484 (smtpmail-try-auth-methods): Require user name and password from
20487 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20489 * window.el (display-buffer-default-specifiers)
20490 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20491 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20492 (split-window): Normalize SIDE argument (Bug#8916).
20494 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20495 (special-display-frame-alist, special-display-popup-frame):
20496 Remove duplicate declarations. These are now in window.el.
20498 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20500 * mail/smtpmail.el (smtpmail-via-smtp):
20501 Set :use-starttls-if-possible so that we always use STARTTLS if the
20502 server supports it. SMTP servers that support STARTTLS commonly
20505 * net/network-stream.el (network-stream-open-starttls): Support
20506 upgrading to STARTTLS always, even if we don't have built-in support.
20507 (open-network-stream): Add the :always-query-capabilities keyword.
20509 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20510 upgrades with `open-network-stream', and rely solely on
20511 auth-source for all credentials. Big changes throughout the file,
20513 (smtpmail-auth-credentials): Remove.
20514 (smtpmail-starttls-credentials): Remove.
20515 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20518 * net/network-stream.el (network-stream-open-starttls):
20519 Provide support for client certificates both for external and built-in
20521 (auth-source): Require.
20522 (open-network-stream): Document the :client-certificate keyword.
20523 (network-stream-certificate): Change cert-cert to cert and
20526 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20528 * net/tramp-cache.el (top): Don't load the persistency file when
20529 "emacs -Q" has been called.
20531 2011-06-21 Tim Harper <timcharper@gmail.com>
20533 * term/ns-win.el (ns-initialize-window-system):
20534 Set application-specific `ApplePressAndHoldEnabled' system
20535 resource to NO as it is not yet supported by the NS port.
20537 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20539 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20540 (list-dynamic-libraries): ...not here.
20542 2011-06-21 Leo Liu <sdl.web@gmail.com>
20544 * subr.el (sha1): Implement sha1 using secure-hash.
20546 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20548 * window.el (display-buffer-alist): In default value do not
20549 enforce searching a window on any but the selected frame.
20550 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20551 (display-buffer-select-window): Remove function.
20552 (display-buffer-in-window): When a window on another frame gets
20553 reused, do not select it any more but just raise its frame if
20554 necessary (Bug#8851) and (Bug#8856).
20555 (display-buffer-normalize-options): Handle pop-up-frames related
20556 options more faithfully.
20557 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20558 window if it is on another frame.
20559 (display-buffer-alist, display-buffer-default-specifiers):
20560 Don't make new frame unsplittable by default.
20561 (display-buffer-normalize-argument): Fix doc-string typo and use
20562 'same-frame-other-window instead of 'other-window when associating
20563 with display-buffer-macro-specifiers.
20565 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20567 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20569 (5x5-mode-map, 5x5-mode-menu): Bind them.
20570 (5x5-draw-grid): Tweak the solver's rendering.
20572 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20574 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20575 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20577 2011-06-21 Drew Adams <drew.adams@oracle.com>
20579 * menu-bar.el: Use function variable instead of switch-to-buffer.
20580 (menu-bar-select-buffer-function): New variable.
20581 (menu-bar-update-buffers): Use it (bug#8876).
20583 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20585 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20588 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20590 * x-dnd.el (x-dnd-version-from-flags)
20591 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20592 and long as number (Bug#8899).
20593 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20595 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20597 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20598 (completion-try-completion, completion-all-completions): Compute the
20599 metadata argument if it's missing; make it optional (bug#8795).
20601 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20602 (widget-complete): Use new :completion-function property.
20603 (widget-completions-at-point): New function.
20604 (default): Use :completion-function instead of :complete.
20605 (widget-default-completions): Rename from widget-default-complete;
20607 (widget-string-complete, widget-file-complete, widget-color-complete):
20609 (file, symbol, function, variable, coding-system, color):
20610 * international/mule-cmds.el (default-input-method, charset)
20611 (language-info-custom-alist):
20612 * cus-edit.el (face): Use new property :completions.
20614 * progmodes/pascal.el (pascal-completions-at-point): New function.
20615 (pascal-mode): Use it.
20616 (pascal-mode-map): Use completion-at-point.
20617 (pascal-toggle-completions): Make obsolete.
20618 (pascal-complete-word, pascal-show-completions):
20619 * progmodes/octave-mod.el (octave-complete-symbol):
20620 Redefine as obsolete alias.
20621 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20622 Signal absence of completion info for old Octave,
20623 (inferior-octave-complete): Redefine as obsolete alias.
20624 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20625 (meta-completions-at-point): Rename from meta-complete-symbol and
20626 adapt it for use on completion-at-point-functions.
20627 (meta-common-mode): Use it.
20628 (meta-looking-at-backward, meta-match-buffer): Remove.
20629 (meta-complete-symbol): Redefine as obsolete alias.
20630 (meta-common-mode-map): Use completion-at-point.
20631 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20632 (makefile-mode-map): Use completion-at-point.
20633 (makefile-completions-at-point): Rename from makefile-complete and
20634 adapt it for use on completion-at-point-functions.
20635 (makefile-mode): Use it.
20636 (makefile-complete): Redefine as obsolete alias.
20638 2011-06-20 Deniz Dogan <deniz@dogan.se>
20640 * net/rcirc.el: Delete trailing whitespaces once and for all.
20642 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20644 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20646 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20648 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20650 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20652 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20654 * window.el (display-buffer-other-window-means-other-frame):
20655 Call display-buffer-normalize-alist.
20656 (display-buffer-normalize-specifiers-1): Rename to
20657 display-buffer-normalize-argument. New argument other-frame.
20659 (display-buffer-normalize-specifiers-2): Rename to
20660 display-buffer-normalize-options.
20661 (display-buffer-normalize-alist-1): New function.
20662 (display-buffer-normalize-specifiers-3): Rename to
20663 display-buffer-normalize-alist.
20664 Call display-buffer-normalize-alist-1.
20665 (display-buffer-normalize-options-inhibit): New variable.
20666 (display-buffer-normalize-specifiers): Rewrite calling
20667 display-buffer-normalize-alist,
20668 display-buffer-normalize-argument, and
20669 display-buffer-normalize-options. Don't call the latter if
20670 display-buffer-normalize-options-inhibit is non-nil.
20671 (frame-auto-delete): New option.
20672 (window-deletable-p): Use frame-auto-delete.
20673 (window-list-no-nils, window-state-ignored-parameters)
20674 (window-state-get-1, window-state-get, window-state-put-list)
20675 (window-state-put-1, window-state-put-2, window-state-put):
20677 (display-buffer-normalize-options): Move special-display-p group
20678 after pop-up-frame group (Bug#8851) and (Bug#8856).
20680 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20682 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20684 (rx-submatch-n): New function.
20687 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20690 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20692 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20694 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20695 anytime existing face settings are present (Bug#8889).
20697 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20698 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20699 Remove unused argument.
20701 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20703 * window.el (display-buffer-default-specifiers):
20704 Remove pop-up-frame. Add pop-up-window-min-height,
20705 pop-up-window-min-width, and another reuse-window specifier
20706 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20707 (display-buffer-normalize-specifiers-2):
20708 Handle split-height-threshold and split-width-threshold also when
20709 pop-up-windows is unset. Add a reuse-window specifier for the
20710 case popping up a new window fails.
20711 (special-display-popup-frame): Remove double quoting.
20712 (display-buffer-normalize-specifiers-1): Fix thinko.
20714 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20716 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20717 according to comint-completion-addsuffix.
20719 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20720 (pcomplete-suffix-list): Mark as obsolete.
20721 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20722 pcomplete-seen in the closure.
20723 (pcomplete-comint-setup): Setup completion-at-point as well.
20724 (pcomplete--entries): New function.
20725 (pcomplete--env-regexp): New var.
20726 (pcomplete-entries): Rewrite to work with partial-completion and
20727 without relying on pcomplete-suffix-list.
20728 (pcomplete-pare-list): Remove, unused.
20730 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20732 * window.el (display-buffer-alist): Set pop-up-window-min-height
20733 and pop-up-window-min-width in default value. Reported by
20734 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20735 other-window-means-other-frame.
20736 (display-buffer-macro-specifiers): Comment out entry for
20737 other-window specifier.
20738 (display-buffer-other-window-means-other-frame): New function.
20739 (display-buffer-normalize-specifiers-1): New arguments
20740 buffer-name and label. Treat other-window case specially.
20741 (display-buffer-normalize-specifiers-2): Treat other-window case
20743 (display-buffer-normalize-specifiers-3): New function.
20744 (display-buffer-normalize-specifiers):
20745 Call display-buffer-normalize-specifiers-3.
20747 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20749 * window.el (same-window-p): Fix two typos introduced when
20750 adding with-no-warnings.
20751 (display-buffer-normalize-specifiers-1): Don't check
20752 pop-up-frames for 'unset initialization.
20753 (display-buffer-normalize-specifiers-2): Major rewrite using
20754 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20755 (pop-up-frames, display-buffer-reuse-frames)
20756 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20757 Suggested by David Engster <deng@randomsample.de>.
20758 (even-window-heights): Initialize to 'unset.
20759 (display-buffer-alist-set): Handle new 'unset initializations.
20760 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20763 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20765 * window.el (display-buffer-normalize-specifiers-1):
20766 Respect current value of pop-up-frames for most reasonable values of
20767 second argument of display-buffer (Bug#8865).
20768 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20769 (switch-to-buffer-other-window-same-frame)
20770 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20772 (display-buffer): Don't check noninteractive when calling
20773 display-buffer-pop-up-frame.
20774 (display-buffer-pop-up-frame): Never pop up a frame in
20775 noninteractive mode (Bug#8857).
20776 (enlarge-window, shrink-window): Don't report an error when the
20777 window can't be resized as requested (Bug#8862).
20779 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20781 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20783 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20785 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20787 2011-06-15 Alan Mackenzie <acm@muc.de>
20789 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20790 for declarators, disable knr checking to speed up for normal files.
20791 2: Refactor, replacing a sequence of nested if forms by a cond form.
20793 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20795 * net/network-stream.el (open-network-stream): Add the keyword
20796 :always-query-capabilities for the case where you want to force a
20797 `plain' network connection, but the protocol still requires the
20798 capabilitiy command (i.e., SMTP and EHLO).
20800 * subr.el (process-live-p): Rename from `process-alive-p' for
20801 consistency with other `-live-p' functions.
20803 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20805 * window.el (same-window-buffer-names, same-window-regexps)
20806 (special-display-frame-alist, special-display-popup-frame)
20807 (special-display-function, special-display-buffer-names)
20808 (special-display-regexps, pop-up-frame-alist)
20809 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20810 (pop-up-windows, split-window-preferred-function)
20811 (split-height-threshold, split-width-threshold, even-window-heights)
20812 (display-buffer-mark-dedicated): Don't encourage the use of
20813 display-buffer-alist from Elisp code.
20815 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20817 * progmodes/python.el (python-mode): Derive from prog-mode.
20818 * progmodes/ps-mode.el (ps-mode):
20819 * progmodes/mixal-mode.el (mixal-mode):
20820 * progmodes/cfengine.el (cfengine-mode):
20821 * progmodes/ld-script.el (ld-script-mode): Likewise.
20823 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20825 * window.el (display-buffer-alist): Trim default value to avoid
20826 popping up a new frame (Bug#8857) or reusing an arbitrary window
20828 (display-buffer): Do not fall back on popping up a new frame in
20829 batch mode (Bug#8857).
20831 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20833 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20834 (custom-theme-summary): New function.
20835 (customize-themes): Use it.
20837 2011-06-13 Glenn Morris <rgm@gnu.org>
20839 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20841 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20843 * help.el (help-window): Remove variable.
20844 (help-window-point-marker, temp-buffer-max-height)
20845 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20846 (help-print-return-message): Don't set help-window.
20847 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20848 (help-window-setup-finish): Remove.
20849 (help-window-display-message, help-window-setup)
20850 (with-help-window): Major rewrite based on new
20851 display-buffer-window variable.
20853 * help-mode.el (help-mode-finish): Remove help-window related
20856 * view.el (view-exits-all-viewing-windows): Remove reference to
20857 view-return-to-alist in doc-string.
20858 (view-return-to-alist): Make obsolete.
20859 (view-buffer): Call pop-to-buffer-same-window and remove
20861 (view-buffer-other-window): Call pop-to-buffer-other-window and
20862 simplify code. Ignore second argument.
20863 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20864 simplify code. Ignore second argument.
20865 (view-return-to-alist-update): Make obsolete.
20866 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20867 Rewrite using quit-restore window parameters.
20868 (view-mode-exit): Rename second argument to EXIT-ONLY.
20869 Rewrite using quit-restore-window.
20870 (View-exit, View-exit-and-edit, View-leave, View-quit)
20871 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20872 appropriate arguments.
20873 (view-end-message): Use quit-restore window parameter.
20875 * window.el (display-buffer-function): Rewrite doc-string.
20876 (display-buffer-window, display-buffer-alist): New variables.
20877 (display-buffer-split-specifiers)
20878 (display-buffer-side-specifiers)
20879 (display-buffer-macro-specifiers): New constants.
20880 (display-buffer-even-window-sizes, display-buffer-set-height)
20881 (display-buffer-set-width, display-buffer-select-window)
20882 (display-buffer-in-window, display-buffer-reuse-window)
20883 (display-buffer-split-window-1, display-buffer-split-window)
20884 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20885 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20886 (display-buffer-in-side-window, normalize-buffer-to-display)
20887 (display-buffer-normalize-specifiers-1)
20888 (display-buffer-normalize-specifiers-2)
20889 (display-buffer-normalize-specifiers, display-buffer-frame):
20891 (display-buffer): Major rewrite.
20892 (display-buffer-other-window, display-buffer-other-frame)
20893 (pop-to-buffer, switch-to-buffer-other-window)
20894 (switch-to-buffer-other-frame): Rewrite.
20895 (display-buffer-same-window, display-buffer-same-frame)
20896 (display-buffer-same-frame-other-window)
20897 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20898 (pop-to-buffer-other-window)
20899 (pop-to-buffer-same-frame-other-window)
20900 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20901 (switch-to-buffer-other-window-same-frame): New functions.
20902 (same-window-p, special-display-p): Rewrite disabling warnings.
20904 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20905 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20907 (same-window-buffer-names, same-window-regexps)
20908 (special-display-frame-alist, special-display-popup-frame)
20909 (special-display-function, special-display-buffer-names)
20910 (special-display-regexps, pop-up-frame-alist)
20911 (pop-up-frame-function, split-window-preferred-function)
20912 (split-height-threshold, split-width-threshold)
20913 (even-window-heights): Make obsolete.
20915 2011-06-12 Glenn Morris <rgm@gnu.org>
20917 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20918 Misc simplifications.
20920 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20922 * window.el (window-safely-shrinkable-p): Restore function which
20923 was inadvertently removed in change from 2011-06-11. Declare as
20926 * calendar/calendar.el (calendar-generate-window):
20927 Use window-iso-combined-p instead of combination of one-window-p and
20928 window-safely-shrinkable-p.
20930 2011-06-12 Glenn Morris <rgm@gnu.org>
20932 * progmodes/fortran.el (fortran-mode-syntax-table):
20933 * progmodes/f90.el (f90-mode-syntax-table):
20934 Set % to punctuation. (Bug#8820)
20935 (f90-find-tag-default): Remove, no longer needed.
20937 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20939 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20941 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20943 * image.el (image-animated-p): Return animation delay in seconds.
20944 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20945 (image-animate-timeout): Remove DELAY argument. Don't assume
20946 every subimage has the same delay; get it from image-animated-p.
20947 (image-animate): Caller changed.
20949 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20951 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20952 to ignored backtrace functions.
20954 2011-06-11 Glenn Morris <rgm@gnu.org>
20956 * calendar/appt.el (appt-disp-window-function): Doc fix.
20957 (appt-check): Handle overlapping appointments. (Bug#8337)
20959 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20961 * window.el (window-tree-1, window-tree): New functions, moving
20962 the latter to window.el.
20963 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20964 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20965 (bw-refresh-edges): Remove.
20966 (balance-windows-1, balance-windows-2): New functions.
20967 (balance-windows): Rewrite in terms of window tree functions,
20968 balance-windows-1 and balance-windows-2.
20969 (bw-adjust-window): Remove.
20970 (balance-windows-area-adjust): New function with functionality of
20971 bw-adjust-window but using resize-window.
20972 (set-window-text-height): Rewrite doc-string.
20973 Use normalize-live-window and resize-window.
20974 (enlarge-window-horizontally, shrink-window-horizontally):
20975 Rename argument to DELTA.
20976 (window-buffer-height): New function.
20977 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20978 Rewrite using new window resize routines.
20979 (kill-buffer-and-window, mouse-autoselect-window-select):
20980 Use ignore-errors instead of condition-case.
20981 (quit-window): Call delete-frame instead of delete-windows-on
20982 for the only buffer on frame.
20984 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20986 * loadup.el (top-level): Load window before files for the sake
20987 of replace-buffer-in-windows.
20989 * files.el (read-buffer-to-switch)
20990 (switch-to-buffer-other-window)
20991 (switch-to-buffer-other-frame, display-buffer-other-frame):
20994 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20995 (previous-buffer): Move to window.el.
20997 * bindings.el (unbury-buffer): Move to window.el.
20999 * window.el (delete-other-windows-vertically): Move after
21000 definition of delete-other-windows.
21001 (other-window, delete-windows-on, replace-buffer-in-windows):
21002 Move here from window.c.
21003 (record-window-buffer, unrecord-window-buffer)
21004 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21005 (switch-to-next-buffer): New functions.
21006 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21007 from simple.el. Call switch-to-next-buffer.
21008 (previous-buffer): Move here from simple.el.
21009 Call switch-to-prev-buffer.
21010 (bury-buffer): Move here from buffer.c. Switch to previous
21011 buffer when window cannot be deleted.
21012 (unbury-buffer): Move here from bindings.el.
21013 (ctl-x-map): Move binding for other-window from window.c to
21015 (read-buffer-to-switch, switch-to-buffer-other-window)
21016 (switch-to-buffer-other-frame): Move here from files.el.
21017 (normalize-buffer-to-switch-to): New functions.
21018 (switch-to-buffer): Move here from buffer.c.
21019 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21021 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21023 * window.el (window-min-height, window-min-width): Move here
21024 from window.c. Add defcustoms and rewrite doc-strings.
21025 (resize-mini-window, resize-window): New functions.
21026 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21027 Move here from window.c.
21028 (maximize-window, minimize-window): New functions.
21029 (delete-window, delete-other-windows, split-window): Move here
21031 (window-split-min-size): New function.
21032 (split-window-keep-point): Mention split-window-above-each-other
21033 instead of split-window-vertically.
21034 (split-window-above-each-other, split-window-vertically):
21035 Rename split-window-vertically to split-window-above-each-other
21036 and provide defalias for old definition.
21037 (split-window-side-by-side, split-window-horizontally):
21038 Rename split-window-horizontally to split-window-side-by-side
21039 and provide defalias for the old definition.
21040 (ctl-x-map): Move bindings for delete-window,
21041 delete-other-windows and enlarge-window here from window.c.
21042 Replace bindings for split-window-vertically and
21043 split-window-horizontally by bindings for
21044 split-window-above-each-other and split-window-side-by-side.
21046 * cus-start.el (all): Remove entries for window-min-height and
21047 window-min-width. Add entries for window-splits and
21050 2011-06-09 Glenn Morris <rgm@gnu.org>
21052 * calendar/appt.el (appt-mode-line): New function.
21053 (appt-check, appt-disp-window): Use it.
21055 * files.el (hack-one-local-variable-eval-safep):
21056 Allow minor-modes with explicit +/-1 arguments.
21058 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21060 * term/xterm.el (xterm): Add defgroup.
21061 (xterm-extra-capabilities): Add defcustom to supply known xterm
21062 capabilities, skip querying them, or query them (default).
21063 (terminal-init-xterm): Use it.
21064 (terminal-init-xterm-modify-other-keys): New function to set up
21065 modifyOtherKeys support to simplify `terminal-init-xterm'.
21067 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21069 * window.el (resize-window-reset, resize-window-reset-1)
21070 (resize-subwindows-skip-p, resize-subwindows-normal)
21071 (resize-subwindows, resize-other-windows, resize-this-window)
21072 (resize-root-window, resize-root-window-vertically)
21073 (window-deletable-p, window-or-subwindow-p)
21074 (frame-root-window-p): New functions.
21076 2011-06-09 Glenn Morris <rgm@gnu.org>
21078 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21079 (ange-ftp-get-files): Use it.
21081 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21083 * mail/sendmail.el (mail-recover-1, mail-recover):
21084 * files.el (recover-file, recover-session):
21085 Handle dired-listing-switches not being just a single short option.
21087 2011-06-09 Glenn Morris <rgm@gnu.org>
21089 * calendar/appt.el (appt-display-message, appt-disp-window):
21090 Handle lists of appointments.
21092 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21094 * window.el (one-window-p): Move down in code.
21095 Rewrite doc-string.
21096 (window-current-scroll-bars): Rewrite doc-string.
21097 Normalize live window argument.
21098 (walk-windows, get-window-with-predicate, count-windows):
21099 Rewrite doc-string. Use window-list-1.
21100 (window-in-direction-2, window-in-direction, get-mru-window):
21103 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21105 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21106 Doc fix (Bug#8713).
21108 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21110 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21112 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21114 * loadhist.el (unload-feature-special-hooks):
21115 Add `comint-output-filter-functions'.
21117 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21119 * calendar/appt.el (appt-check): Move some initializations into the let.
21121 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21123 * window.el (window-height): Defalias to window-total-height.
21124 (window-width): Defalias to window-body-width.
21126 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21128 * image-mode.el (image-toggle-animation): New command.
21129 (image-mode-map): Bind it to RET.
21130 (image-mode): Update message.
21131 (image-toggle-display-image): Avoid a spurious cache flush.
21132 (image-transform-rotation): Doc fix.
21133 (image-transform-properties): Return quickly in the normal case.
21134 (image-animate-loop): Rename from image-animate-max-time.
21136 * image.el (image-animate-max-time): Move to image-mode.el.
21137 (create-animated-image): Remove unnecessary function.
21138 (image-animate): Rename from image-animate-start. New arg.
21139 (image-animate-stop): Remove; just use image-animate-timer.
21140 (image-animate-timer): Use car-safe.
21141 (image-animate-timeout): Rename argument.
21143 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21145 * window.el (get-lru-window, get-largest-window): Move here from
21146 window.c. Rename first argument to ALL-FRAMES.
21147 Rephrase doc-strings.
21148 (get-buffer-window-list): Rewrite using window-list-1.
21149 Rephrase doc-string.
21150 (window-safe-min-height, window-safe-min-width): New constants.
21151 (window-size-ignore, window-min-size, window-min-size-1)
21152 (window-sizable, window-sizable-p, window-size-fixed-1)
21153 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21154 (window-max-delta-1, window-max-delta, window-resizable)
21155 (window-resizable-p, window-total-height, window-total-width)
21156 (window-body-width): New functions.
21157 (window-full-height-p, window-full-width-p): Rewrite using
21159 (window-body-height): Rewrite using window-body-size.
21161 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21163 * window.el (window-right, window-left, window-child)
21164 (window-child-count, window-last-child, window-any-p)
21165 (normalize-live-buffer, normalize-live-frame)
21166 (normalize-any-window, normalize-live-window)
21167 (window-iso-combination-p, window-iso-combined-p)
21168 (window-iso-combinations)
21169 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21170 (windows-with-parameter, window-with-parameter)
21171 (window-atom-root, make-window-atom, window-atom-check-1)
21172 (window-atom-check, window-side-check, window-check):
21174 (ignore-window-parameters, window-sides, window-sides-vertical)
21175 (window-sides-slots): New variables.
21176 (window-size-fixed): Move down in code. Minor doc-string fix.
21178 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21180 * comint.el (comint-dynamic-complete-as-filename)
21181 (comint-dynamic-complete-filename): Correctly call
21182 completion-in-region.
21184 2011-06-05 Deniz Dogan <deniz@dogan.se>
21186 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21189 2011-06-05 Deniz Dogan <deniz@dogan.se>
21191 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21192 (rcirc): Use it to prompt for encryption.
21194 2011-06-05 Roland Winkler <winkler@gnu.org>
21196 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21197 (bibtex-search-entries): New command bound to C-c C-a.
21198 (bibtex-display-entries): New function.
21200 2011-06-05 Roland Winkler <winkler@gnu.org>
21202 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21203 (bibtex-insert-kill): After yanking insert newline if necessary.
21204 (bibtex-initialize): Call bibtex-string-files-init only once.
21205 (bibtex-mode): Do not call easy-menu-add.
21206 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21207 (bibtex-yank): Set arg properly if nil.
21209 2011-06-05 Roland Winkler <winkler@gnu.org>
21211 * textmodes/bibtex.el (bibtex-search-entry-globally):
21213 (bibtex-search-entry): Use it.
21215 2011-06-05 Roland Winkler <winkler@gnu.org>
21217 * textmodes/bibtex.el (bibtex-entry-format): New option
21219 (bibtex-format-entry, bibtex-reformat): Honor this option.
21220 (bibtex-parse-entry): Return fields in proper order.
21222 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21224 * doc-view.el (doc-view-remove-if): Move computation of result out
21225 of `dolist' to silence misleading lexical-binding warning.
21227 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21229 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21230 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21232 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21234 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21237 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21239 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21240 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21241 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21242 (tramp-parse-putty):
21243 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21244 (tramp-completion-function-alist-ssh)
21245 (tramp-completion-function-alist-telnet)
21246 (tramp-completion-function-alist-su)
21247 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21250 * net/tramp-ftp.el:
21252 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21253 load "tramp.el" `tramp-set-completion-function'.
21255 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21257 * shell.el: Require and use pcomplete.
21258 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21259 (shell-completion-vars): Set pcomplete-default-completion-function.
21261 2011-06-04 Deniz Dogan <deniz@dogan.se>
21263 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21266 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21268 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21270 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21272 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21273 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21274 * vc/log-view.el (log-view-beginning-of-defun):
21275 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21276 (smerge-refine-forward, smerge-refine-chopup-region):
21277 Silence warning for unused `dotimes' counter variables.
21279 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21281 * net/tramp.el (tramp-with-progress-reporter): Rename from
21282 with-progress-reporter. Use `declare'.
21283 * net/tramp-smb.el:
21285 * net/tramp-gvfs.el: Update all uses.
21287 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21289 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21290 buffer isn't killed before making it current.
21292 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21294 Silence various byte-compiler warnings.
21295 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21296 `access-type' and new obsolescence format.
21297 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21299 (byte-compile-check-variable): New `access-type' argument.
21300 Only warn if the access-type is obsolete.
21301 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21302 (byte-compile-variable-set): Adjust callers.
21303 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21304 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21305 setting it as obsolete.
21306 * simple.el (minibuffer-completing-symbol):
21307 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21308 access as obsolete.
21309 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21311 * international/quail.el (quail-mouse-choose-completion): Remove unused
21312 code referring to obsolete var.
21313 (quail-choose-completion-string): Remove.
21314 * server.el (server-clients-with, server-kill-buffer-query-function)
21315 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21316 * proced.el (proced-send-signal):
21317 * emacs-lisp/lisp.el (lisp-complete-symbol):
21318 Replace completion-annotate-function with completion-extra-properties.
21320 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21322 * simple.el (goto-line): Use read-number.
21323 (overriding-map-is-bound): Remove.
21324 (saved-overriding-map): Change default.
21325 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21326 Take the map as argument.
21327 (universal-argument, negative-argument, digit-argument): Use it.
21328 (restore-overriding-map): Adjust.
21329 (do-auto-fill): Use fill-forward-paragraph.
21330 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21332 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21333 (minibuffer-inactive-mode): New major mode.
21334 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21335 the *Messages* buffer" hack.
21336 (mouse-popup-menubar): Don't burp if the event is a normal key.
21338 Miscellaneous tweaks.
21339 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21340 lexical scoping as in subr.el's dolist and dotimes.
21341 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21342 Silence compiler warning.
21343 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21344 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21345 * international/ccl.el (ccl-compile): Trivial simplification.
21346 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21347 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21348 `printflag' argument.
21349 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21350 Purecopy the whole obsolescence data.
21352 2011-06-01 Leo Liu <sdl.web@gmail.com>
21354 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21355 improve doc-string as suggested by Marco Pessotto
21356 <melmothx@gmail.com>.
21357 (rcirc-print): Fix last change.
21359 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21361 * minibuffer.el (complete-with-action): Return nil for the metadata and
21362 boundaries of non-functional tables.
21363 (completion-table-dynamic): Return nil for the metadata.
21364 (completion-table-with-terminator): Add default case, using
21365 complete-with-action.
21366 (completion--metadata): New function.
21367 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21368 to try and avoid pathological performance problems.
21369 (completion--embedded-envvar-table): Return `category' metadata.
21371 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21373 * subr.el (process-alive-p): New tiny convenience function.
21375 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21377 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21378 content but also its previous major mode.
21380 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21382 * emacs-lisp/debug.el (debug): Restore the previous content of the
21383 *Backtrace* buffer when we exit with C-M-c.
21385 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21387 * minibuffer.el: Add metadata method to completion tables.
21388 (completion-category-overrides): New defcustom.
21389 (completion-metadata, completion--field-metadata)
21390 (completion-metadata-get, completion--styles)
21391 (completion--cycle-threshold): New functions.
21392 (completion-try-completion, completion-all-completions):
21393 Add `metadata' argument to choose completion-styles.
21394 (completion--do-completion): Use metadata to choose cycling.
21395 (completion-all-sorted-completions): Use metadata for sorting.
21396 Remove :completion-cycle-penalty which is not needed any more.
21397 (completion--try-word-completion): Add `metadata' argument.
21398 (minibuffer-completion-help): Check metadata for annotation function
21400 (completion-file-name-table): Return `category' metadata.
21401 (minibuffer-completing-file-name): Make obsolete.
21402 * simple.el (minibuffer-completing-symbol): Make obsolete.
21403 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21404 completion-try-completion.
21406 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21408 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21410 2011-05-30 Leo Liu <sdl.web@gmail.com>
21412 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21413 (rcirc-print): Decode all incoming messages (bug#8744).
21414 (rcirc-decode-coding-system): Allow value nil for automatic coding
21417 2011-06-01 Glenn Morris <rgm@gnu.org>
21419 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21421 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21423 * image.el (image-animate-max-time): Allow nil and t values.
21425 (create-animated-image): Doc fix.
21426 (image-animate-start): Remove second arg; just use
21427 image-animate-max-time.
21428 (image-animate-timeout): Doc fix. Args changed.
21430 * image-mode.el (image-toggle-display-image): Ensure that the
21431 image spec passed to the animate timer is the same object as in
21432 the buffer's display property (Bug#6981).
21433 (image-transform-properties): Doc fix.
21435 * image.el (image-animate-max-time): Default to nil.
21437 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21439 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21440 entire buffer list (Bug#8184).
21442 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21444 * image.el (imagemagick-types-inhibit)
21445 (imagemagick-register-types): Doc fix.
21447 2011-05-29 Deniz Dogan <deniz@dogan.se>
21449 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21452 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21454 * select.el: Don't perform clipboard-manager saving in hooks;
21455 leave the hooks empty.
21457 2011-05-28 Leo Liu <sdl.web@gmail.com>
21459 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21460 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21461 (occur-edit-mode): New major mode (Bug#8463).
21462 (occur-after-change-function): New function.
21463 (occur-engine): Give Occur tags a read-only property.
21465 2011-05-28 Kevin Ryde <user42@zip.com.au>
21467 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21469 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21471 * bindings.el (help-echo): Make the initial non-indicator dash
21472 empty on graphical terminals (Bug#7295).
21474 * files.el (auto-mode-alist): Move config rule after the
21475 in-stripping one (Bug#8547).
21477 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21479 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21480 setting (Bug#8740).
21482 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21484 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21485 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21488 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21490 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21492 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21494 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21495 (hs-hide-block-at-point, hs-find-block-beginning)
21496 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21499 2011-05-28 Glenn Morris <rgm@gnu.org>
21501 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21503 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21505 * help-fns.el (describe-function-1): If the function is a derived
21506 major mode, print the parent mode.
21508 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21509 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21511 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21513 * minibuffer.el (completion--capf-wrapper): Check applicability before
21514 returning non-nil for non-exclusive completion data.
21515 * progmodes/etags.el (tags-completion-at-point-function):
21516 * info-look.el (info-lookup-completions-at-point): Mark as
21518 (info-complete): Adjust accordingly.
21520 * info-look.el: Convert to lexical-binding and completion-at-point.
21521 (info-lookup-completions-at-point): New function.
21522 (info-complete): Use it and completion-in-region.
21524 2011-05-28 Drew Adams <drew.adams@oracle.com>
21526 * isearch.el: Let M-e start with point at the first mismatched char.
21527 (isearch-fail-pos): New function.
21528 (isearch-edit-string): Use it.
21530 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21532 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21534 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21536 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21537 traversal functions for avl-trees.
21538 (avl-tree--stack): New struct.
21539 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21540 (avl-tree-enter): Add optional `updatefun' arg.
21541 (avl-tree--do-enter): Add optional `updatefun' arg.
21542 Change return value.
21543 (avl-tree-delete): Add optional `test' and `nilflag' args.
21544 (avl-tree--do-delete): Add `test' and `nilflag' args.
21545 Change return value.
21546 (avl-tree-member): Add optional `nilflag'
21547 (avl-tree-member-p): New function.
21548 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21549 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21550 (avl-tree-stack-empty-p): New functions.
21552 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21553 avl-tree--del-balance1 and make it work both ways.
21554 (avl-tree--del-balance2): Remove.
21555 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21556 make it work both ways.
21557 (avl-tree--enter-balance2): Remove.
21558 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21560 (avl-tree--mapc, avl-tree-map): Add direction argument.
21562 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21564 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21566 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21568 * select.el: Support clipboard managers with built-in function
21569 x-clipboard-manager-save, via delete-frame-functions and
21571 (xselect-convert-to-targets): Add MULTIPLE target to list.
21572 (xselect-convert-to-save-targets): New function.
21574 2011-05-27 Kenichi Handa <handa@m17n.org>
21576 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21577 let-binding rfc2047-encode-encoded-words to nil.
21579 2011-05-27 Glenn Morris <rgm@gnu.org>
21581 * mail/emacsbug.el: Don't require url-util.
21583 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21585 * files.el (set-auto-mode):
21586 Also respect mode: entries at the end of the file. (Bug#8586)
21588 2011-05-26 Glenn Morris <rgm@gnu.org>
21590 * files.el (hack-local-variables-prop-line, hack-local-variables):
21591 Downcase mode names, as seems to be traditional.
21592 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21594 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21595 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21597 2011-05-25 Julien Danjou <julien@danjou.info>
21599 * textmodes/rst.el (rst-define-level-faces): Do not define face
21600 symbol if it is already defined.
21602 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21604 * play/5x5.el (5x5-new-game, 5x5-randomize):
21605 Reset 5x5-solver-output to nil when a new grid is cast.
21606 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21607 these debugging traces, as defmacro breaks the compiled code.
21609 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21611 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21613 2011-05-24 Leo Liu <sdl.web@gmail.com>
21615 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21616 (vc-bzr-sha1): Adapt.
21618 * sha1.el: Remove. Function `sha1' is now builtin.
21620 * bindings.el: Provide sha1 feature.
21622 2011-05-24 Kenichi Handa <handa@m17n.org>
21624 * mail/sendmail.el: Require `rfc2047'.
21625 (mail-insert-from-field): Do not perform RFC2047 encoding.
21626 (mail-encode-header): New function.
21627 (sendmail-send-it): Set buffer-file-coding-system of the work
21628 buffer to the return value of select-message-coding-system.
21629 Call mail-encode-header.
21631 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21633 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21635 * mail/supercite.el (sc-default-cite-frame):
21636 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21638 2011-05-24 Glenn Morris <rgm@gnu.org>
21640 * progmodes/python.el (brm-menu): Declare.
21642 * emulation/viper.el (viper-set-hooks): Declare.
21644 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21645 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21646 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21647 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21648 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21649 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21651 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21653 Add an :exit-function for completion-at-point.
21655 * minibuffer.el (completion--done): New fun.
21656 (completion--do-completion): Use it. New arg `expect-exact'.
21657 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21658 since completion--do-completion does it for us now.
21659 (minibuffer-force-complete): Use completion--done and
21660 completion--replace. Handle sole-completion case with more care.
21661 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21662 (completion-extra-properties): New var.
21663 (completion-annotate-function): Make obsolete.
21664 (minibuffer-completion-help): Adjust accordingly.
21665 Use completion-list-insert-choice-function.
21666 (completion-at-point, completion-help-at-point):
21667 Bind completion-extra-properties.
21668 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21669 * simple.el (completion-list-insert-choice-function): New var.
21670 (completion-setup-function): Preserve it.
21671 (choose-completion): Pay attention to it, shuffle the code a bit.
21672 (choose-completion-string): New arg `insert-function'.
21674 * textmodes/bibtex.el: Convert to lexical binding.
21675 (bibtex-mode-map): Use completion-at-point.
21676 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21677 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21678 (bibtex-complete): Define as obsolete alias.
21679 (bibtex-complete-internal): Remove.
21680 (bibtex-format-entry): Remove unused sub-group in regexp.
21681 * shell.el (shell--command-completion-data)
21682 (shell-environment-variable-completion):
21683 * pcomplete.el (pcomplete-completions-at-point):
21684 * comint.el (comint--complete-file-name-data): Use :exit-function
21685 instead of completion-table-with-terminator so it also works for
21688 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21690 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21692 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21695 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21697 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21699 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21700 customization variable and implement: If non-nil, auto-fill will
21701 be inhibited while on topic's header line.
21703 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21705 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21706 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21707 always have a solution in grid size = 5 cases.
21708 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21709 (5x5-solver-output, 5x5-log-buffer): New vars.
21710 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21711 Make these variables buffer local to achieve 5x5 multi-session-ness.
21712 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21713 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21714 (5x5-solve-suggest): New funs.
21715 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21716 randomize a grid so that we ensure that there is always a solution.
21717 (5x5-make-random-grid): Allow other movement than flipping.
21719 2011-05-23 Kevin Ryde <user42@zip.com.au>
21721 * emacs-lisp/advice.el (ad-read-advised-function):
21722 Use `function-called-at-point' as the default, if it has
21723 advice and passes PREDICATE.
21725 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21727 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21728 byte-compile-lambda if it's actually a lambda.
21730 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21731 Fix function quoting. Use backquote better.
21733 2011-05-22 Yuanle Song <sylecn@gmail.com>
21735 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21736 matching (Bug#8516).
21738 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21740 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21741 different face (Bug#8178).
21743 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21745 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21746 defface (Bug#8144).
21748 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21750 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21751 funcall as well (bug#8712). Warn when performing those conversions.
21752 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21754 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21756 2011-05-22 Glenn Morris <rgm@gnu.org>
21758 * files.el (hack-local-variables-prop-line): Small simplifications.
21759 (hack-local-variables, hack-local-variables-prop-line):
21760 If MODE-ONLY, return the mode, rather than just `t'.
21762 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21764 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21766 2011-05-21 Glenn Morris <rgm@gnu.org>
21768 * files.el (hack-local-variables-prop-line, hack-local-variables):
21769 If only interested in the mode, don't bother doing the other stuff.
21771 * image-mode.el (image-after-revert-hook):
21772 Redraw all frames on which the image is visible. (Bug#8567)
21774 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21776 * wid-edit.el (widget-checklist-match-inline):
21777 Fix 2011-04-19 change. (Bug#8649)
21779 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21781 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21782 Also allow singlespace after single-letter capitals followed by a dot.
21784 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21785 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21787 2011-05-20 Nix <nix@esperi.org.uk>
21789 * files.el (basic-save-buffer-2):
21790 Fix handling of break-hardlink-on-save with non-existent files.
21792 2011-05-19 Deniz Dogan <deniz@dogan.se>
21794 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21795 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21797 2011-05-19 Glenn Morris <rgm@gnu.org>
21799 * progmodes/f90.el (f90-type-def-re):
21800 Handle "type, bind(c)". (Bug#8691)
21802 * emacs-lisp/autoload.el (batch-update-autoloads):
21803 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21805 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21807 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21808 property for the correct connection in case of multihops.
21810 2011-05-18 Glenn Morris <rgm@gnu.org>
21812 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21813 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21815 Rationalize calendar handling of day and month abbrev-arrays.
21816 * calendar/calendar.el (calendar-customized-p): New function.
21817 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21818 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21820 (calendar-abbrev-length, calendar-day-abbrev-array)
21821 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21822 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21823 Elements may no longer be nil.
21824 (calendar-day-name, calendar-month-name):
21825 Update for changed nature of abbrev arrays.
21826 * calendar/diary-lib.el (diary-name-pattern):
21827 Update for changed nature of abbrev arrays.
21828 (diary-mark-entries-1): Update calendar-make-alist calls.
21829 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21830 * calendar/cal-html.el (cal-html-day-abbrev-array):
21831 Simply inherit from calendar-day-abbrev-array.
21833 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21835 * progmodes/grep.el (grep-mode): Disable default
21836 compilation-directory-matcher setting (bug#8684).
21838 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21840 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21841 instead of "head" and "tail". There were problems with SunOS 5.9,
21842 and it performs better.
21844 2011-05-17 Glenn Morris <rgm@gnu.org>
21846 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21848 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21849 Replace obsolete function.
21851 * shell.el (pcomplete-parse-arguments-function): Declare.
21853 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21854 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21855 (appt-check): Doc fixes.
21856 (appt-disp-window-function, appt-delete-window-function):
21857 Remove needless special case in custom :type.
21858 (appt-display-count): Default to 0, not nil.
21859 (appt-check): Reset appt-display-count to 0, not nil.
21861 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21863 * progmodes/python.el (python-font-lock-keywords):
21864 Add the Python 3.X keyword "nonlocal" (bug#8639).
21866 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21868 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21870 2011-05-16 Kevin Ryde <user42@zip.com.au>
21872 * info-look.el (makefile-automake-mode): New setups, looking in
21873 automake manual, then makefile-mode.
21874 (makefile-mode): Remove automake manual, have it just in
21875 makefile-automake-mode since there's various things different or
21876 not relevant to plain make.
21877 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21878 believe a hypothetical automake-mode would go to makefile-mode,
21879 not the other way around.
21881 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21883 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21884 hunk-end tags (Bug#8672).
21886 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21887 vc-annotate-show-diff-revision-at-line (Bug#8671).
21889 2011-05-14 Glenn Morris <rgm@gnu.org>
21891 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21892 in the middle of an existing one with multiple authors. (Bug#8645)
21893 (change-log-font-lock-keywords): Also handle multiple author lines
21894 with leading tabs. (Bug#8644)
21896 * calendar/appt.el (appt-check): Rename some local variables.
21897 Some simplification/reordering.
21899 * mail/feedmail.el (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)
21903 (feedmail-queue-runner-message-sender): Set :version.
21904 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21905 (bbdb-dwim-net-address, vm-mail): Declare.
21906 (feedmail-binmail-gnulinuxish-template):
21907 Rename from feedmail-binmail-linuxish-template.
21908 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21909 Use insert-buffer-substring.
21911 2011-05-14 Bill Carpenter <bill@carpenter.org>
21913 * mail/feedmail.el (feedmail-patch-level): Increase.
21914 (feedmail-debug): New custom group.
21915 (feedmail-confirm-outgoing-timeout)
21916 (feedmail-sendmail-f-doesnt-sell-me-out)
21917 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21918 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21919 (feedmail-sender-line, feedmail-from-line)
21920 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21921 (feedmail-spray-this-address)
21922 (feedmail-spray-address-fiddle-plex-list)
21923 (feedmail-queue-use-send-time-for-date)
21924 (feedmail-queue-use-send-time-for-message-id)
21925 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21926 (feedmail-buffer-eating-function):
21928 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21929 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21930 (feedmail-message-action-scroll-down): New functions.
21931 (feedmail-queue-directory, feedmail-queue-draft-directory):
21932 Use expand-file-name.
21933 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21934 Remove C-v help entry.
21935 (feedmail-queue-buffer-file-name): New variable.
21936 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21937 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21938 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21939 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21940 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21941 (feedmail-message-action-toggle-spray)
21942 (feedmail-run-the-queue-no-prompts)
21943 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21944 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21945 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21946 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21947 (feedmail-envelope-deducer, feedmail-fiddle-from)
21948 (feedmail-fiddle-sender, feedmail-default-date-generator)
21949 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21950 (feedmail-fiddle-spray-address)
21951 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21952 (feedmail-fiddle-list-of-fiddle-plexes)
21953 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21954 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21955 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21956 Change default. Doc fix.
21957 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21958 (feedmail-binmail-linuxish-template): New constant.
21959 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21960 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21961 (feedmail-send-it): Add debug call.
21962 Use feedmail-queue-buffer-file-name, and
21963 feedmail-send-it-immediately-wrapper.
21964 (feedmail-message-action-send): Add debug call.
21965 Use feedmail-send-it-immediately-wrapper.
21966 (feedmail-queue-express-to-queue): Add debug call.
21967 Run feedmail-queue-express-hook.
21968 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21969 (feedmail-message-action-help-blat):
21970 Rename from feedmail-queue-send-edit-prompt-help-first.
21971 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21972 Check line-endings. Handle errors better.
21973 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21974 Doc fix. Add debug call.
21975 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21976 Use feedmail-queue-send-edit-prompt-inner.
21977 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21978 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21979 from feedmail-queue-send-edit-prompt.
21980 (feedmail-queue-send-edit-prompt-help)
21981 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21982 (feedmail-tidy-up-slug): Add debug call.
21983 Respect feedmail-queue-slug-suspect-regexp.
21984 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21985 (feedmail-dump-message-to-queue): Add debug call.
21986 Expand queue-directory.
21987 (feedmail-dump-message-to-queue): Change message slightly.
21988 Use feedmail-say-chatter.
21989 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21990 (feedmail-send-it-immediately-wrapper): New function.
21991 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21992 Insert empty string rather than newline. Handle full-frame case.
21993 Use catch/throw. Use feedmail-say-chatter.
21994 (feedmail-fiddle-from): Try mail-host-address.
21995 (feedmail-default-message-id-generator): Doc fix.
21996 Bind system-time-locale. Handle missing end.
21997 (feedmail-fiddle-x-mailer): Add debug call.
21998 Handle feedmail-x-mailer-line being nil.
21999 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22000 Add debug call. Use buffer-substring-no-properties.
22001 (feedmail-say-debug, feedmail-say-chatter): New functions.
22002 (feedmail-find-eoh): Give an explicit error.
22004 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22006 * net/newst-treeview.el (newsticker-treeview-face): Change default
22007 family from helvetica to sans.
22008 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22009 etc/images/newsticker.
22011 * net/newst-reader.el (newsticker-feed-face): Change default
22012 family from helvetica to sans.
22014 * net/newst-plainview.el (newsticker-new-item-face)
22015 (newsticker-old-item-face, newsticker-immortal-item-face)
22016 (newsticker-obsolete-item-face, newsticker-date-face)
22017 (newsticker-statistics-face): Change default family from
22019 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22020 etc/images/newsticker.
22022 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22023 (newsticker--process-auto-mark-filter-match): Tell user about
22026 2011-05-13 Didier Verna <didier@xemacs.org>
22028 Common Lisp indentation improvements on defmethod and lambda-lists.
22029 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22031 (lisp-lambda-list-keyword-parameter-indentation)
22032 (lisp-lambda-list-keyword-parameter-alignment)
22033 (lisp-lambda-list-keyword-alignment): New customizable user options.
22034 (lisp-indent-defun-method): Improve docstring.
22035 (extended-loop-p): Fix comment.
22036 (lisp-indent-lambda-list-keywords-regexp): New variable.
22037 (lisp-indent-lambda-list): New function.
22038 (lisp-indent-259): Use it.
22039 (lisp-indent-defmethod): Support for more than one
22040 method qualifier and properly indent methods lambda-lists.
22041 (defgeneric): Provide a missing common-lisp-indent-function property.
22043 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22045 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22046 bounds for the empty string (bug#8667).
22048 2011-05-13 Glenn Morris <rgm@gnu.org>
22050 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22052 * mail/sendmail.el (sendmail-program): Try executable-find first.
22053 (sendmail-send-it): `sendmail-program' cannot be unbound.
22055 * calendar/appt.el (appt-make-list): Simplify.
22056 (appt-time-msg-list): Doc fix.
22057 (appt-check): Change mode-line message at the time of the appointment.
22059 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22061 * progmodes/ld-script.el (ld-script-keywords)
22062 (ld-script-builtins): Update keywords list.
22064 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22066 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22068 * shell.el (shell-completion-vars): New function.
22070 * simple.el (read-shell-command): Use it.
22071 (blink-matching-open): No need for " [...]" in minibuffer-message.
22073 2011-05-12 Glenn Morris <rgm@gnu.org>
22075 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22076 (appt-check): Simplify.
22078 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22080 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22081 literal "/dev/null".
22083 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22085 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22088 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22090 * progmodes/which-func.el (which-function):
22091 Use add-log-current-defun instead of add-log-current-defun-function,
22092 which might not be defined (Bug#8260).
22094 2011-05-12 Glenn Morris <rgm@gnu.org>
22096 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22097 Let byte-compile-initial-macro-environment always take precedence.
22099 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22101 * net/rcirc.el: Add support for SSL/TLS connections.
22102 (rcirc-server-alist): New field `encryption'.
22103 (rcirc): Check `encryption' settings.
22104 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22105 Merge make-local-variable into `set'.
22106 (rcirc--connection-open-p): New function.
22107 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22108 the process is not a network process (e.g. running gnutls-cli).
22109 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22110 Make rcirc-(en|de)code-coding-system local here.
22111 (rcirc-mode): Merge make-local-variable into `set'.
22112 (rcirc-parent-buffer): Make permanent buffer-local.
22113 (rcirc-multiline-minor-mode): Don't do it here.
22114 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22115 there's no server buffer.
22117 2011-05-11 Glenn Morris <rgm@gnu.org>
22119 * newcomment.el (comment-kill): Prefix "unused" local.
22121 * term/w32console.el (get-screen-color): Declare.
22123 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22124 Handle symbol elements of byte-compile-initial-macro-environment.
22126 2011-05-10 Leo Liu <sdl.web@gmail.com>
22128 * bookmark.el (bookmark-bmenu-mode-map):
22129 Bind bookmark-bmenu-search to `/'.
22131 * mail/footnote.el: Convert to utf-8 encoding.
22132 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22133 (Footnote-unicode): New function.
22134 (footnote-style-alist): Add unicode style to the list.
22135 (footnote-style): Doc fix.
22137 2011-05-10 Jim Meyering <meyering@redhat.com>
22139 Fix doubled-word typos.
22140 * international/quail.el (quail-insert-kbd-layout): and and -> and
22141 * kermit.el: and and -> and
22142 * net/ldap.el (ldap-search-internal): to to -> to
22143 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22144 * progmodes/js.el (js-mode): and and -> and
22145 * textmodes/artist.el (artist-move-to-xy): at at -> at
22146 (artist-draw-region-trim-line-endings): if if -> if
22147 And Safetyc -> Safety.
22148 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22150 2011-05-10 Glenn Morris <rgm@gnu.org>
22151 Stefan Monnier <monnier@iro.umontreal.ca>
22153 * files.el (hack-one-local-variable-eval-safep):
22154 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22156 2011-05-10 Glenn Morris <rgm@gnu.org>
22158 * calendar/diary-lib.el (diary-list-entries-hook)
22159 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22160 (diary-nongregorian-marking-hook, diary-list-entries)
22161 (diary-include-other-diary-files, diary-mark-entries)
22162 (diary-mark-included-diary-files): Doc fixes.
22164 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22166 * misc.el: Require tabulated-list.el during compilation.
22168 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22170 * progmodes/compile.el (compilation-start):
22171 Run compilation-filter-hook for the async case too.
22172 (compilation-filter-hook): Doc fix.
22174 2011-05-09 Deniz Dogan <deniz@dogan.se>
22176 * wdired.el: Remove outdated installation comment. Fix usage
22179 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22181 * misc.el: Implement new command `list-dynamic-libraries'.
22182 (list-dynamic-libraries--loaded-only-p): New variable.
22183 (list-dynamic-libraries--refresh): New function.
22184 (list-dynamic-libraries): New command.
22186 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22188 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22189 Fix the ant regexp to handle end-line and end-column info from jikes.
22190 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22191 higher priority to avoid clobbering by gnu.
22193 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22195 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22196 if the face has existing theme settings (Bug#8454).
22198 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22200 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22201 Only match variables declared via `my' or `our' (Bug#8261).
22203 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22204 special file names `.' and `..' (Bug#8259).
22206 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22208 * progmodes/grep.el (grep-mode-font-lock-keywords):
22209 Remove buffer-changing entries.
22210 (grep-filter): New function.
22211 (grep-mode): Add it to compilation-filter-hook.
22213 * progmodes/compile.el (compilation-filter-hook)
22214 (compilation-filter-start): New defvars.
22215 (compilation-filter): Call compilation-filter-hook prior to
22216 updating the process mark.
22218 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22220 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22222 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22224 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22225 mailclient-send-it even if window-system is nil. (Bug#8595)
22227 * term/w32console.el (terminal-init-w32console):
22228 Call get-screen-color and use its output to set the frame
22229 background-mode. (Bug#8597)
22231 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22233 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22234 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22236 (defgeneric, eieio--defmethod): Use them.
22237 (eieio-defgeneric): Remove.
22238 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22240 2011-05-07 Glenn Morris <rgm@gnu.org>
22242 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22243 Use let rather than let*.
22244 (timeclock-find-discrep): Remove unused local.
22246 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22248 * calendar/appt.el (appt-time-msg-list): Doc fix.
22250 2011-05-06 Noah Friedman <friedman@splode.com>
22252 * apropos.el (apropos-print-doc): Only use
22253 emacs-lisp-docstring-fill-column when it is bound to an integer,
22254 per that variable's documentation.
22256 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22258 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22259 and warnings are not silently discarded (e.g. use -d instead of -P).
22261 2011-05-06 Glenn Morris <rgm@gnu.org>
22263 * calendar/appt.el (appt-message-warning-time): Doc fix.
22264 (appt-warning-time-regexp): New option.
22265 (appt-make-list): Respect appt-message-warning-time.
22267 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22269 (diary-add-to-list): Strip comments from the displayed string.
22270 (diary-mode): Set comment-start and comment-end.
22272 * vc/diff-mode.el (smerge-refine-subst): Declare.
22273 (diff-refine-hunk): Don't require smerge-mode when compiling.
22275 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22277 * simple.el (list-processes): Return nil as the docstring says.
22279 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22281 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22283 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22284 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22285 determining of binary transfer. (Bug#7383)
22287 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22289 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22290 Fix port computation bug. (Bug#8618)
22292 2011-05-05 Glenn Morris <rgm@gnu.org>
22294 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22296 * simple.el (shell-dynamic-complete-functions)
22297 (comint-dynamic-complete-functions): Declare.
22299 * net/network-stream.el (gnutls-negotiate):
22300 * simple.el (tabulated-list-print): Fix declarations.
22302 * progmodes/gud.el (syntax-symbol, syntax-point):
22303 Remove unnecessary and incorrect declarations.
22305 * emacs-lisp/check-declare.el (check-declare-scan):
22306 Handle byte-compile-initial-macro-environment in bytecomp.el.
22308 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22310 Fix earlier half-done eieio-defmethod change (bug#8338).
22311 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22312 Streamline and change calling convention.
22313 (defmethod): Adjust accordingly and simplify.
22314 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22315 new eieio--defmethod.
22316 (slot-boundp): Minor CSE simplification.
22318 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22320 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22321 (glasses-make-readable): Use glasses-separate-capital-groups.
22323 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22325 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22326 (warning-series): Doc fix.
22327 (display-warning): Don't try to create the buffer if we just found it.
22329 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22331 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22332 (autoload-find-generated-file): New function.
22333 (generate-file-autoloads): Bind generated-autoload-file to
22335 (update-file-autoloads, update-directory-autoloads):
22336 Use autoload-find-generated-file. If called interactively, prompt for
22337 output file (Bug#7989).
22338 (batch-update-autoloads): Doc fix.
22340 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22342 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22344 2011-05-04 Glenn Morris <rgm@gnu.org>
22346 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22347 function, so it follows changes in calendar-date-style.
22348 (diary-fancy-date-matcher): New function.
22349 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22350 (diary-fancy-font-lock-fontify-region-function):
22351 Use diary-fancy-date-pattern as a function.
22353 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22354 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22356 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22358 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22359 instead of positional arguments. Allow :keylist and :crlfiles
22361 (open-gnutls-stream): Call it.
22363 * net/network-stream.el (network-stream-open-starttls): Adjust to
22364 call `gnutls-negotiate' with :process and :hostname arguments.
22366 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22368 * minibuffer.el (completion--message): New function.
22369 (completion--do-completion, minibuffer-complete)
22370 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22371 (completion--do-completion): Don't ignore completion-auto-help when in
22374 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22375 internal encoding (e.g. tibetan zero is not whitespace).
22376 (global-whitespace-mode): Prefer save-current-buffer.
22377 (whitespace-trailing-regexp): Remove useless save-match-data.
22378 (whitespace-empty-at-bob-regexp): Minor simplification.
22380 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22382 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22384 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22386 * textmodes/ispell.el (ispell-add-per-file-word-list):
22387 Use `concat' to create string for insertion.
22389 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22391 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22392 Avoid open-line which runs post-self-insert-hook.
22393 (bibtex-fill-entry): Remove unused `end' var.
22395 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22397 * textmodes/ispell.el (ispell-add-per-file-word-list):
22398 Protect against `nil' value of `comment-start' (Bug#8579).
22400 2011-05-03 Leo Liu <sdl.web@gmail.com>
22402 * isearch.el (isearch-yank-pop): New command.
22403 (isearch-mode-map): Bind it to `M-y'.
22404 (isearch-forward): Mention it.
22406 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22408 * simple.el (minibuffer-complete-shell-command): Remove.
22409 (minibuffer-local-shell-command-map): Use completion-at-point.
22410 (read-shell-command): Setup completion vars here instead.
22411 (read-expression-map): Bind TAB to symbol completion.
22413 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22414 error directly rather via storing it into `results'.
22416 2011-05-02 Leo Liu <sdl.web@gmail.com>
22418 * vc/diff.el: Fix description.
22420 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22422 * server.el (server-eval-at): New function.
22424 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22426 * net/network-stream.el (open-network-stream): Take a :nowait
22427 parameter and pass it on to `make-network-process'.
22428 (network-stream-open-plain): Ditto.
22430 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22432 * faces.el (face-spec-set-match-display): Don't match toolkit
22433 options on terminal frames.
22435 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22437 * progmodes/pascal.el: Use lexical binding.
22438 (pascal-mode-map): Remove author preferences.
22440 * pcomplete.el (pcomplete-std-complete): Don't abuse
22441 completion-at-point.
22443 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22445 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22446 removing code that has been dead since 1991 or so.
22448 * startup.el (command-line): When warning about "_emacs", use a
22449 delayed warning to allow the user to filter it out.
22451 2011-04-28 Deniz Dogan <deniz@dogan.se>
22453 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22454 user has not joined.
22456 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22458 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22459 aren't any completions at point.
22461 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22463 * subr.el (display-delayed-warnings): New function.
22464 (delayed-warnings-hook): New variable.
22466 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22468 * minibuffer.el (completion-at-point, completion-help-at-point):
22469 Don't presume that a given completion-at-point-function will always
22470 use the same calling convention.
22472 * pcomplete.el (pcomplete-completions-at-point):
22473 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22474 pcomplete-seen is non-nil.
22475 (pcomplete-comint-setup): Also recognize the new comint/shell
22476 completion functions.
22477 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22478 pcomplete-seen is non-nil.
22480 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22482 * calendar/icalendar.el (diary-lib): Add require statement.
22483 (icalendar--create-uid): Read out a uid from a text-property on
22484 the first character in the entry. This allows for code to add its
22485 own uid to the entry.
22486 (icalendar--convert-float-to-ical): Add export of
22487 `diary-float'-entries save for those with the optional DAY
22490 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22492 * subr.el (shell-quote-argument): Use alternate escaping strategy
22493 when we spot a variable reference in a string.
22495 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22497 * cus-start.el (all): Define customization for debug-on-event.
22499 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22501 * subr.el (shell-quote-argument): Escape correctly under Windows.
22503 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22505 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22507 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22509 * net/tramp.el (tramp-process-actions): Add POS argument.
22510 Delete region between POS and (pos).
22512 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22513 Use `nil' position in `tramp-process-actions' call.
22514 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22516 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22517 position in `tramp-process-actions' call.
22519 * net/trampver.el: Update release number.
22521 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22523 * custom.el (defcustom): Obey lexical-binding.
22525 Fix octave-inf completion problems reported by Alexander Klimov.
22526 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22527 Inherit from octave-mode-syntax-table.
22528 (inferior-octave-mode): Set info-lookup-mode.
22529 (inferior-octave-completion-at-point): New function.
22530 (inferior-octave-complete): Use it and completion-in-region.
22531 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22532 comint-filename-completion.
22533 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22534 symbol elements which shouldn't be word elements.
22535 (octave-font-lock-keywords, octave-beginning-of-defun)
22536 (octave-function-header-regexp): Adjust regexps accordingly.
22537 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22539 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22541 * net/gnutls.el (gnutls-errorp): Declare before first use.
22543 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22545 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22546 verify-error, and verify-hostname-error parameters. Check whether
22547 default trustfile exists before going to use it. Add missing
22548 argument to gnutls-message-maybe call. Return value.
22549 Reported by Claudio Bley <claudio.bley@gmail.com>.
22550 (open-gnutls-stream): Add usage example.
22552 * net/network-stream.el (network-stream-open-starttls): Give host
22553 parameter to `gnutls-negotiate'.
22554 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22555 * subr.el (shell-quote-argument): Escape correctly under Windows.
22557 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22559 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22560 Use correct match group (bug#8438).
22562 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22564 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22565 (package-menu--generate): New arg specifying packages to show.
22566 (package-menu-refresh, package-menu-execute, list-packages):
22568 (package-show-package-list): New function, replacing deleted
22569 package--list-packages (renamed because it is non-internal).
22571 * finder.el (finder-list-matches): Use package-show-package-list
22572 instead of deleted package--list-packages.
22574 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22575 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22576 (vc-annotate-mode-map): Bind it to RET.
22578 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22580 * progmodes/etags.el (next-file): Don't use set-buffer to change
22581 buffers (Bug#8478).
22583 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22585 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22587 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22588 (apropos-accumulator): Doc fix.
22589 (apropos-function, apropos-macro, apropos-command)
22590 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22591 (apropos-plist): Add face property.
22592 (apropos-symbols-internal): Fix indentation.
22593 (apropos-print): Simplify help, and recognize apropos-multi-type.
22594 (apropos-print-doc): Use button-type-get to extract the button's
22595 face property. Fill docstring (Bug#8352).
22597 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22599 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22601 * play/mpuz.el (mpuz-silent): Doc fix.
22602 (mpuz-mode-map): Use mapc.
22603 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22604 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22605 Fix typos in docstrings.
22607 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22608 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22610 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22612 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22614 * minibuffer.el (completion--do-completion): Avoid the "Next char
22615 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22617 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22618 mouse-2 into unread-command-events, it is interpreted correctly.
22620 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22621 (image-toggle-display): Doc fix.
22623 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22625 * textmodes/page.el (what-page): Use line-number-at-pos to
22626 calculate line number (Bug#6825).
22628 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22630 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22631 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22632 Pass argument NO-DEFAULT to `find-tag-interactive'.
22634 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22636 Lexical-binding cleanup.
22638 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22639 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22640 * progmodes/ada-prj.el (ada-prj-initialize-values)
22641 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22642 (ada-prj-show-value):
22643 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22644 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22645 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22646 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22647 * progmodes/bug-reference.el (bug-reference-push-button):
22648 * progmodes/fortran.el (fortran-line-length):
22649 * progmodes/glasses.el (glasses-change):
22650 * progmodes/octave-mod.el (octave-fill-paragraph):
22651 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22652 (python-pdbtrack-grub-for-buffer, python-sentinel):
22653 * progmodes/sql.el (sql-save-connection):
22654 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22655 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22656 Mark unused parameters.
22658 * progmodes/compile.el (compilation--flush-directory-cache)
22659 (compilation--flush-parse, compile-internal): Mark unused parameters.
22660 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22661 (compilation-next-error-function): Remove unused variable `timestamp'.
22663 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22664 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22666 * progmodes/dcl-mode.el (dcl-end-of-command):
22667 Remove unused variable `start'.
22668 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22669 (dcl-option-value-basic, dcl-option-value-offset)
22670 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22671 Mark unused parameters.
22672 (dcl-save-local-variable): Remove unused variable `val'.
22675 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22676 Mark unused parameters.
22677 (delphi-ignore-changes): Move before first use.
22678 (delphi-charset-token-at): Remove unused variable `start'.
22679 (delphi-else-start): Remove unused variable `if-count'.
22680 (delphi-comment-block-start, delphi-comment-block-end):
22681 Remove unused variable `kind'.
22682 (delphi-indent-line): Remove unused variable `new-point'.
22684 * progmodes/ebrowse.el (ebrowse-files-list)
22685 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22686 Mark unused parameters. Don't quote `lambda'.
22687 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22688 Don't quote `lambda'.
22689 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22690 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22691 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22692 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22693 Use `ignore-errors'.
22694 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22695 (ebrowse-view/find-file-and-search-pattern)
22696 (ebrowse-view/find-member-declaration/definition):
22697 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22698 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22699 Rename parameter PREFIX-ARG to PREFIX.
22700 (ebrowse-tags-read-name): Remove unused variables `start' and
22702 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22705 * progmodes/etags.el (local-find-tag-hook): Declare.
22706 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22707 Mark unused parameters.
22709 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22710 (executable-interpret): Mark unused parameter.
22712 * progmodes/flymake.el (flymake-process-sentinel)
22713 (flymake-after-change-function)
22714 (flymake-create-temp-with-folder-structure)
22715 (flymake-get-include-dirs-dot): Mark unused parameters.
22716 (flymake-safe-delete-directory): Remove unused variable `err'.
22718 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22719 (speedbar-timer-fn, speedbar-line-text)
22720 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22721 (speedbar-center-buffer-smartly): Declare functions.
22722 (gdb-find-watch-expression): Remove unused variable `array'.
22723 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22724 (gdb-starting): Mark unused parameters.
22725 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22726 (gdb-table-string): Remove unused variable `res'.
22727 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22728 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22729 (gdb-display-buffer): Remove unused variable `cur-size'.
22731 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22732 allow lexical-binding compilation.
22733 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22734 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22735 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22736 Mark unused parameters.
22737 (gud-gdb-marker-filter): Remove unused variable `match'.
22738 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22739 lambda expressions and funcall them, instead of using `fset'.
22741 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22742 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22744 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22745 variable `header-beg'; use `let'.
22747 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22748 `restart', `last-sexp' and `at-do'.
22750 * progmodes/js.el (js--debug): Mark unused parameter.
22751 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22752 (js--splice-into-items): Remove unused variable `item'.
22753 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22755 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22756 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22757 (makefile-complete): Remove unused variable `try'.
22758 (makefile-fill-paragraph, makefile-match-function-end):
22759 Mark unused parameters.
22761 * progmodes/octave-inf.el (inferior-octave-complete):
22762 Remove unused variable `proc'.
22763 (inferior-octave-output-digest): Mark unused parameter.
22765 * progmodes/perl-mode.el (perl-calculate-indent):
22766 Remove unused variable `err'.
22768 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22769 (prolog-indent-line): Mark unused parameters.
22770 (prolog-indent-line): Remove unused variable `beg'.
22772 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22773 (reporter-dont-compact-list): Declare.
22775 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22776 Remove unused variable `char'.
22777 (sh-debug): Mark unused parameter.
22778 (sh-get-indent-info): Remove unused variable `start'.
22779 (sh-calculate-indent): Remove unused variable `var'.
22781 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22782 (simula-electric-keyword): Remove unused variable `null'.
22783 (simula-search-backward, simula-search-forward): Remove unused
22784 variables `begin' and `end'.
22786 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22787 Remove unused variable `pos'.
22788 (vera-electric-tab, vera-comment-uncomment-region):
22789 Mark unused parameters.
22790 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22792 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22794 * emacs-lisp/package.el (package--builtins, package-alist)
22795 (package-load-descriptor, package-built-in-p, package-activate)
22796 (define-package, package-installed-p)
22797 (package-compute-transaction, package-buffer-info)
22798 (package--push): Doc fix. Distinguish more clearly between
22799 version strings and version lists.
22801 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22803 Lexical-binding cleanup.
22805 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22806 (5x5-make-mutate-best):
22807 * play/fortune.el (fortune-in-buffer):
22808 * play/gomoku.el (gomoku-init-display):
22809 * play/solitaire.el (solitaire, solitaire-do-check):
22810 * play/tetris.el (tetris-default-update-speed-function):
22811 Mark unused parameters.
22813 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22814 (bubbles--shift): Remove unused variable `char-org'.
22815 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22816 (bubbles--show-images): Remove unused variable `char'.
22818 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22819 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22820 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22821 (decipher-analyze-buffer): Use ?\s.
22822 (decipher-make-checkpoint): Remove unused variable `mapping'.
22824 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22826 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22827 Remove unused variable `result'; use `let'.
22829 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22830 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22831 (gametree-children-shown-p, gametree-compute-reduced-score):
22832 Use `ignore-errors'.
22834 * play/handwrite.el (ps-lpr-switches): Declare.
22835 (handwrite): Remove unused variables `pmin' and `lastp'.
22837 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22839 * play/landmark.el (landmark-init-display)
22840 (landmark-update-naught-weights): Mark unused parameters.
22841 (landmark-y): Remove unused variable `noise'. Simplify.
22842 (landmark-human-plays): Remove unused variable `score'.
22844 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22845 (mpuz-try-proposal): Remove unused variable `game'.
22847 * play/zone.el (life-patterns): Declare.
22849 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22851 * vc/vc.el (ediff-vc-internal): Declare function.
22853 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22855 * shell.el: Use lexical-binding and std completion UI.
22856 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22857 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22858 comint-preoutput-filter-functions rather than on
22859 comint-output-filter-functions.
22860 (shell-command-completion, shell--command-completion-data)
22861 (shell-filename-completion, shell-environment-variable-completion)
22862 (shell-c-a-p-replace-by-expanded-directory): New functions.
22863 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22864 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22865 (shell-dynamic-complete-environment-variable): Use them.
22866 (shell-dynamic-complete-as-environment-variable)
22867 (shell-dynamic-complete-as-command): Remove.
22868 (shell-match-partial-variable): Match past point.
22869 * comint.el: Clean up use of completion-at-point-functions.
22870 (comint-completion-at-point): New function.
22871 (comint-mode): Use it completion-at-point-functions.
22872 (comint-dynamic-complete): Make it obsolete.
22873 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22874 (comint-c-a-p-replace-by-expanded-history): New function.
22875 (comint-dynamic-complete-functions)
22876 (comint-replace-by-expanded-history): Use it.
22877 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22878 termination strings. Try harder to avoid second try-completion.
22879 (completion-in-region-mode-map): Disable bindings that don't work yet.
22881 * comint.el: Use lexical-binding. Require CL.
22882 (comint-dynamic-complete-functions): Use comint-filename-completion.
22883 (comint-completion-addsuffix): Tweak custom type.
22884 (comint-filename-completion, comint--common-suffix)
22885 (comint--common-quoted-suffix, comint--table-subvert)
22886 (comint--complete-file-name-data): New functions.
22887 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22888 (comint-dynamic-list-filename-completions): Use them.
22889 (comint-dynamic-simple-complete): Make obsolete.
22891 * minibuffer.el (completion-in-region-mode):
22892 Keep completion-in-region-mode--predicate global.
22893 (completion-in-region--postch):
22894 Assume completion-in-region-mode--predicate is not null.
22896 * progmodes/flymake.el (flymake-start-syntax-check-process):
22897 Obey `dir'. Simplify.
22899 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22900 we're in VC after all.
22902 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22904 * vc/vc.el (vc-diff-build-argument-list-internal)
22905 (vc-version-ediff, vc-ediff): New commands.
22906 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22908 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22910 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22913 * obsolete/erc-hecomplete.el: Make obsolete.
22914 * obsolete/: Standardize obsolescence info in the header.
22916 2011-04-20 Glenn Morris <rgm@gnu.org>
22918 * calendar/solar.el (solar-horizontal-coordinates):
22919 Use the longitude argument rather than `calendar-longitude'.
22920 (solar-date-next-longitude): Remove unused locals.
22922 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22924 * whitespace.el: New version 13.2.1.
22926 2011-04-20 felix <EmacsWiki> (tiny change)
22928 * whitespace.el (global-whitespace-mode): Keep highlight when
22929 switching between major modes on a file.
22931 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22933 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22934 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22935 multi-line comments as well.
22937 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22939 Lexical-binding cleanup.
22941 * arc-mode.el (archive-mode-revert):
22942 * cmuscheme.el (scheme-interactively-start-process):
22943 * custom.el (custom-initialize-delay):
22944 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22945 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22946 * emacs-lock.el (emacs-lock-clear-sentinel):
22947 * ezimage.el (defezimage):
22948 * follow.el (follow-avoid-tail-recenter):
22949 * fringe.el (set-fringe-mode-1):
22950 * generic-x.el (bat-generic-mode-compile):
22951 * help-mode.el (help-info-variable, help-do-xref)
22952 (help-mode-revert-buffer):
22953 * help.el (view-emacs-todo):
22954 * iswitchb.el (iswitchb-completion-help):
22955 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22956 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22957 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22958 * locate.el (locate-update):
22959 * longlines.el (longlines-encode-region)
22960 (longlines-after-change-function):
22961 * outline.el (outline-isearch-open-invisible):
22962 * ps-def.el (declare-function, charset-dimension, char-width)
22964 * ps-mule.el (ps-mule-plot-string):
22965 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22966 (recentf-edit-list-select, recentf-edit-list-validate)
22967 (recentf-open-files-action):
22968 * rect.el (delete-whitespace-rectangle-line)
22969 (rectangle-number-line-callback):
22970 * register.el (window-configuration-to-register)
22971 (frame-configuration-to-register):
22972 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22973 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22974 (xselect-convert-to-targets, xselect-convert-to-delete)
22975 (xselect-convert-to-filename, xselect-convert-to-charpos)
22976 (xselect-convert-to-lineno, xselect-convert-to-colno)
22977 (xselect-convert-to-os, xselect-convert-to-host)
22978 (xselect-convert-to-user, xselect-convert-to-class)
22979 (xselect-convert-to-name, xselect-convert-to-integer)
22980 (xselect-convert-to-atom, xselect-convert-to-identity):
22981 * subr.el (declare, ignore, process-kill-without-query)
22982 (text-clone-maintain):
22983 * terminal.el (te-get-char, te-tic-sentinel):
22984 * tool-bar.el (tool-bar-make-keymap):
22985 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22986 * type-break.el (type-break-mode, type-break-noninteractive-query):
22987 * view.el (View-back-to-mark):
22988 * wid-browse.el (widget-browse-action, widget-browse-widget)
22989 (widget-browse-widgets, widget-browse-sexp):
22990 * widget.el (define-widget-keywords):
22991 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22992 Mark unused parameters.
22994 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22995 (align-areas): Remove unused variable `look'.
22996 (align-region): Remove unused variables `real-end' and `pos-list'.
22998 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23000 * bindings.el (mode-line-modified, mode-line-remote):
23001 Mark unused parameters.
23002 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23004 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23005 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23007 * comint.el (comint-history-isearch-pop-state)
23008 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23009 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23010 (comint-substitute-in-file-name): Doc fix.
23012 * completion.el (cmpl-statistics-block): Mark unused parameter.
23013 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23014 (save-completions-to-file, load-completions-from-file):
23015 Remove unused local variable `e'.
23017 * composite.el (compose-chars): Remove unused variable `len'.
23018 (lgstring-insert-glyph): Remove unused variable `g'.
23019 (compose-glyph-string): Remove unused variables `ascent',
23020 `descent', `lbearing' and `rbearing'.
23021 (compose-glyph-string-relative): Remove unused variables
23022 `lbearing', `rbearing' and `wadjust'.
23023 (compose-gstring-for-graphic): Remove unused variables `header',
23024 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23025 (compose-gstring-for-terminal): Remove unused variables `header'
23026 and `nchars'. Use `let', not `let*'.
23028 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23029 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23030 (Custom-buffer-done, custom-buffer-create-internal)
23031 (custom-browse-visibility-action, custom-browse-group-tag-action)
23032 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23033 (widget-magic-mouse-down-action, custom-toggle-parent)
23034 (custom-add-parent-links, custom-toggle-hide-variable)
23035 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23036 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23037 (custom-face-menu-create, custom-variable-menu-create, get)
23038 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23039 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23040 (customize-apropos): Remove unused variable `tests'.
23041 (custom-group-value-create): Remove unused variable `hidden-p'.
23042 (sort-fold-case): Declare.
23044 * cus-theme.el (custom-reset-standard-faces-list)
23045 (custom-reset-standard-variables-list): Declare.
23046 (customize-create-theme, custom-theme-revert, custom-theme-write)
23047 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23048 Mark unused parameters.
23050 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23052 * delim-col.el (delimit-columns-max): Move defvar before first use.
23054 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23055 (describe-char): Don't quote `lambda'. Mark unused parameter.
23057 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23058 (auto-insert): Declare.
23059 (desktop-restore-file-buffer): Rename desktop-* parameters;
23061 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23062 (desktop-buffer): Rename desktop-* parameters.
23064 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23065 (dframe-reposition-frame-xemacs, dframe-help-echo)
23066 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23067 Mark unused parameters.
23069 * dired-aux.el (backup-extract-version-start, overwrite-query)
23070 (overwrite-backup-query, rename-regexp-query)
23071 (rename-non-directory-query): Declare.
23072 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23073 (dired-add-entry): Remove unused variable `orig-file-name'.
23074 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23075 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23076 `dired-copy-preserve-time' directly.
23077 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23078 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23080 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23081 (dired-virtual-revert, dired-make-relative-symlink):
23082 Mark unused parameters.
23083 (manual-program): Declare.
23084 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23085 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23086 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23088 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23090 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23092 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23095 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23097 * electric.el (Electric-command-loop): Rename parameter
23098 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23100 * expand.el (expand-in-literal): Remove unused variable `here'.
23102 * facemenu.el (facemenu-add-new-color):
23103 Remove unused variable `docstring'.
23105 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23106 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23107 (face-attr-construct): Mark unused parameter. Doc fix.
23108 (read-color): Remove unused variable `hex-string'.
23110 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23111 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23112 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23113 (display-buffer-other-frame): Remove unused variable `old-window'.
23114 (kill-buffer-hook): Declare.
23115 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23116 Mark unused parameters.
23117 (after-find-file): Pass 1 to `auto-save-mode', not t.
23119 * files-x.el (auto-insert): Declare.
23120 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23122 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23123 variable `buf'. Mark unused parameter.
23124 (find-lisp-insert-directory): Mark unused parameter.
23126 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23127 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23128 (format-common-tail): Remove, unused.
23129 (format-deannotate-region): Remove unused variable `loc'.
23130 (format-annotate-region): Remove unused variable `p'.
23131 (format-annotate-single-property-change): Remove unused variables
23132 `default' and `tail'.
23134 * forms.el (read-file-filter): Declare.
23135 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23137 * frame.el (frame-creation-function-alist): Mark unused parameter.
23138 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23140 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23141 Remove unused parameters.
23142 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23143 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23145 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23146 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23147 (hfy-prepare-tag-map): Mark unused parameters.
23148 (htmlfontify-buffer): Use `called-interactively-p'.
23150 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23151 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23152 (ibuffer-do-occur): Mark unused parameters.
23153 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23154 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23156 * ibuffer.el: Don't quote `lambda'.
23157 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23158 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23159 Mark unused parameters.
23161 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23162 (ido-completing-read): Mark unused parameters.
23163 (ido-copy-current-word): Mark unused parameters;
23164 remove unused variable `name'.
23165 (ido-sort-merged-list): Remove unused parameter `dirs'.
23167 * ielm.el (ielm-input-sender): Mark unused parameter.
23168 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23169 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23170 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23171 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23172 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23174 * image-dired.el (image-dired-display-thumbs): Remove unused
23175 variables `curr-file' and `count'.
23176 (image-dired-remove-tag): Remove unused variable `start'.
23177 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23178 variable `curr-file'
23179 (image-dired-rotate-original): Remove unused variable `temp-file'.
23180 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23181 Remove unused variable `file'.
23182 (image-dired-gallery-generate): Remove unused variable `curr'.
23183 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23185 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23187 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23189 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23191 * isearch.el (minibuffer-history-symbol): Declare.
23192 (isearch-edit-string): Remove unused variable `err'.
23193 (isearch-message-prefix, isearch-message-suffix):
23194 Mark unused parameters.
23196 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23198 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23200 * makesum.el (double-column): Remove unused variable `cnt'.
23202 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23203 (ido-ignore-item-temp-list): Declare.
23205 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23206 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23207 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23208 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23211 * mouse-sel.el (mouse-extend-internal):
23212 Remove unused variable `orig-window-frame'.
23214 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23215 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23216 Move declarations before first use.
23217 (pcomplete-opt): Mark unused parameters; doc fix.
23219 * proced.el (proced-revert): Mark unused parameter.
23220 (proced-send-signal): Remove unused variable `err'.
23222 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23223 Rename parameter PREFIX-ARG to ARG.
23224 (ps-basic-plot-string, ps-basic-plot-whitespace):
23225 Mark unused parameters.
23227 * replace.el (replace-count): Define.
23228 (occur-revert-function): Mark unused parameters.
23229 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23230 (isearch-case-fold-search, isearch-string): Declare.
23231 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23232 bind `case-fold-search'. Remove unused variables `beg' and `end',
23234 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23235 COUNT and bind `replace-count'.
23236 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23239 * savehist.el (print-readably, print-string-length): Declare.
23241 * shadowfile.el (shadow-expand-cluster-in-file-name):
23242 Remove unused variable `cluster'.
23243 (shadow-copy-file): Remove unused variable `i'.
23244 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23245 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23246 (shadow-define-literal-group, shadow-define-regexp-group)
23247 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23249 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23250 (shell): Use `called-interactively-p'.
23251 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23253 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23254 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23255 (delete-backward-char): Remove unused variable `ocol'.
23256 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23257 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23258 (event-apply-hyper-modifier, event-apply-shift-modifier)
23259 (event-apply-control-modifier, event-apply-meta-modifier):
23260 Mark unused parameters.
23261 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23262 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23264 * speedbar.el (speedbar-ignored-directory-expressions)
23265 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23266 (speedbar-find-file, speedbar-dir-follow)
23267 (speedbar-directory-buttons-follow, speedbar-tag-find)
23268 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23269 (speedbar-buffers-line-directory, speedbar-buffer-click):
23270 Mark unused parameters.
23271 (speedbar-tag-file): Remove unused variable `mode'.
23272 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23274 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23276 * talk.el (talk): Remove unused variable `display'.
23278 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23279 (tar-write-region-annotate): Mark unused parameter.
23281 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23282 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23283 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23284 warning by another.
23286 * time-stamp.el (time-stamp-string-preprocess):
23287 Remove unused variable `require-padding'.
23289 * tree-widget.el (widget-glyph-enable): Declare.
23290 (tree-widget-action): Mark unused parameter.
23292 * w32-fns.el (x-get-selection): Mark unused parameter.
23293 (autoload-make-program, generated-autoload-file): Declare.
23295 * wdired.el (wdired-revert): Mark unused parameters.
23296 (wdired-xcase-word): Remove unused variable `err'.
23298 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23299 (whitespace-help-scroll): Remove unused variable `data-help'.
23301 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23302 (widget-image-insert, widget-after-change, default)
23303 (widget-default-format-handler, widget-default-notify)
23304 (widget-default-prompt-value, widget-info-link-action)
23305 (widget-url-link-action, widget-function-link-action)
23306 (widget-variable-link-action, widget-file-link-action)
23307 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23308 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23309 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23310 (widget-insert-button-action, widget-delete-button-action, visibility)
23311 (widget-documentation-link-action, widget-documentation-string-action)
23312 (widget-const-prompt-value, widget-regexp-match, symbol)
23313 (widget-coding-system-prompt-value)
23314 (widget-key-sequence-value-to-external, sexp)
23315 (widget-sexp-value-to-internal, character, vector, cons)
23316 (widget-choice-prompt-value, widget-boolean-prompt-value)
23317 (widget-color--choose-action): Mark unused parameters.
23318 (widget-item-match-inline, widget-choice-match-inline)
23319 (widget-checklist-match, widget-checklist-match-inline)
23320 (widget-group-match): Rename parameter VALUES to VALS.
23321 (widget-field-value-set): Remove unused variable `size'.
23322 (widget-color-action): Remove unused variables `value' and `start'.
23324 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23325 variable `dir'. Doc fix.
23326 (windmove-find-other-window): Don't pass it.
23328 * window.el (count-windows): Mark unused parameter.
23329 (bw-adjust-window): Remove unused variable `err'.
23331 * woman.el (woman-file-name): Remove unused variable `default'.
23332 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23333 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23334 (global-font-lock-mode): Declare.
23335 (woman-decode-region): Mark unused parameter.
23336 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23338 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23339 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23340 (x-dnd-handle-moz-url): Remove unused variable `title'.
23341 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23343 * xml.el (xml-parse-tag, xml-parse-attlist):
23344 Remove unused variable `pos'.
23346 2011-04-19 Glenn Morris <rgm@gnu.org>
23348 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23349 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23350 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23351 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23352 * calendar/cal-html.el (cal-html-insert-minical):
23353 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23354 (calendar-mark-date-pattern):
23355 Prefix "unused" locals.
23357 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23358 optional argument `style'.
23360 * calendar/appt.el (appt-make-list):
23361 * calendar/cal-china.el (calendar-chinese-date-string):
23362 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23363 (diary-hebrew-yahrzeit):
23364 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23365 * calendar/calendar.el (calendar-generate-window):
23366 * calendar/time-date.el (time-to-days):
23367 Remove unused local variables.
23369 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23371 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23372 glyphless-char-display table.
23373 (tabulated-list-glyphless-char-display): New var.
23375 2011-04-18 Sam Steingold <sds@gnu.org>
23377 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23378 to acknowledgments.
23380 2011-04-17 Glenn Morris <rgm@gnu.org>
23382 * calendar/diary-lib.el (diary-sexp-entry):
23383 * calendar/holidays.el (holiday-sexp):
23384 Set debug-on-error rather than the removed stack-trace-on-error.
23386 2011-04-16 Glenn Morris <rgm@gnu.org>
23388 * progmodes/f90.el: Use lexical-binding.
23389 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23391 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23393 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23394 (mail-mode): Setup mailalias completion here instead.
23395 * mail/mailalias.el: Use lexical-binding.
23396 (pattern, mailalias-done): Declare dynamic.
23397 (mail-completion-at-point-function): New function, from mail-complete.
23398 (mail-complete): Use it.
23399 (mail-completion-expand): New function.
23400 (mail-get-names): Use it.
23401 (mail-directory, mail-directory-process, mail-directory-stream):
23402 Don't use `pattern' for lexically bound arg.
23404 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23406 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23407 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23408 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23410 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23411 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23412 (byte-interactive-p): Define them again, for use when inlining
23415 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23417 * loadup.el: Use `string-to-number', not `string-to-int'.
23419 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23421 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23422 gud-gdb-complete-command.
23423 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23424 (gud-gdb-completion-at-point): New function.
23425 (gud-gdb-completions): Remove.
23427 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23429 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23430 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23431 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23432 whether `executable-find' is bound.
23434 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23436 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23438 * minibuffer.el (completion-in-region-mode-predicate)
23439 (completion-in-region-mode--predicate): New vars.
23440 (completion-in-region, completion-in-region--postch)
23441 (completion-in-region-mode): Use them.
23442 (completion--capf-wrapper): Also return the hook function.
23443 (completion-at-point, completion-help-at-point):
23444 Adjust and provide a predicate.
23446 Preserve arg names for advice of subr and lexical functions (bug#8457).
23447 * help-fns.el (help-function-arglist): Consolidate the subr and
23448 new-byte-code cases. Add argument `preserve-names' to extract names
23449 from the docstring when needed.
23450 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23451 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23452 (ad-arglist): Use help-function-arglist's new arg.
23453 (ad-definition-type): Use cond.
23455 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23457 * autorevert.el (auto-revert-handler):
23458 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23459 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23460 Don't quote lambda.
23462 * image-mode.el (image-transform-set-scale):
23463 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23465 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23467 * net/network-stream.el (network-stream-open-starttls): Only do
23468 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23469 Upgrades via gnutls-cli are too slow to be done opportunistically.
23471 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23473 * dframe.el (dframe-current-frame): Remove spurious quote.
23475 2011-04-12 Glenn Morris <rgm@gnu.org>
23477 * calendar/cal-tex.el (cal-tex-end-document):
23478 Try to automatically use latin1 input if needed.
23480 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23481 Don't try to cons a mark onto an empty element.
23483 2011-04-11 Leo Liu <sdl.web@gmail.com>
23485 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23487 (ido-kill-buffer-at-head): Support killing virtual buffers.
23489 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23491 * minibuffer.el (completion-show-inline-help): New var.
23492 (completion--do-completion, minibuffer-complete)
23493 (minibuffer-force-complete, minibuffer-complete-word):
23494 Inhibit minibuffer messages if completion-show-inline-help is nil.
23496 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23497 to avoid interference from inline help (Bug#5849).
23499 2011-04-10 Leo Liu <sdl.web@gmail.com>
23501 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23504 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23506 * image-mode.el (image-toggle-display-image): Signal an error if
23508 (image-transform-mode, image-transform-resize)
23509 (image-transform-set-rotation): Doc fix.
23510 (image-transform-set-resize): Delete.
23511 (image-transform-set-scale, image-transform-fit-to-height)
23512 (image-transform-fit-to-width): Handle image-toggle-display-image
23513 and image-transform-resize directly.
23515 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23517 * doc-view.el (doc-view-fit-width-to-window)
23518 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23519 New functions for fitting the shown image to the Emacs window size.
23520 (doc-view-mode-map): Add bindings for the new functions.
23522 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23524 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23525 Fix typo in docstring.
23527 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23529 * files.el (file-size-human-readable): Produce one digit after
23530 decimal, like "ls -lh" does.
23532 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23533 the file size representation.
23535 * simple.el (list-processes): If async subprocesses are not
23536 available, error out with a clear error message.
23538 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23540 * help.el (help-form-show): New function, to be called from C.
23541 Put help-form output in a buffer named differently than *Help*.
23543 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23545 * files.el (file-size-human-readable): New function.
23547 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23548 computing the representation inline. Don't require `cl'.
23550 2011-04-08 Glenn Morris <rgm@gnu.org>
23552 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23554 * net/browse-url.el (browse-url-firefox):
23555 Test system-type, not system-configuration.
23557 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23558 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23559 Use log-edit-empty-buffer-p. (Bug#7598)
23561 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23562 (rlogin-mode-map): Initialize in the defvar.
23563 (rlogin): Use ignore-errors.
23565 * replace.el (occur-mode-map): Some fixes for menu items.
23567 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23569 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23571 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23573 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23574 issuing unused warnings.
23576 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23579 * simple.el: Lisp reimplement of list-processes. Based on an
23580 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23581 (process-menu-mode): New major mode.
23582 (list-processes--refresh, list-processes):
23583 (process-menu-visit-buffer): New functions.
23585 * files.el (save-buffers-kill-emacs): Don't assume any return
23586 value of list-processes, which is undocumented anyway.
23588 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23590 * emacs-lisp/tabulated-list.el: New file.
23592 * emacs-lisp/package.el: Use Tabulated List mode.
23593 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23594 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23595 table format using Tabulated List mode variables.
23596 (package--push): New macro, replacing package-list-maybe-add.
23597 (package-menu--generate): Use package--push. Renamed from
23598 package--generate-package-list.
23599 (package-menu-refresh, list-packages): Use it.
23600 (package-menu--print-info): Rename from package-print-package.
23601 Return insertion data instead of inserting it directly.
23602 (package-menu-describe-package, package-menu-execute):
23603 Use tabulated-list-get-id.
23604 (package-menu-mark-delete, package-menu-mark-install)
23605 (package-menu-mark-unmark, package-menu-backup-unmark)
23606 (package-menu-mark-obsolete-for-deletion):
23607 Use tabulated-list-put-tag.
23608 (package--list-packages, package-menu-revert)
23609 (package-menu-get-package, package-menu-get-version)
23610 (package-menu-sort-by-column): Functions deleted.
23611 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23612 (package-menu--status-predicate, package-menu--version-predicate)
23613 (package-menu--name-predicate)
23614 (package-menu--description-predicate): Handle arguments in the
23615 Tabulated List format.
23616 (package-list-packages-no-fetch): Call list-packages.
23618 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23620 * files.el (after-find-file-from-revert-buffer): Remove variable.
23621 (after-find-file): Don't bind it.
23622 (revert-buffer-in-progress-p): New variable.
23623 (revert-buffer): Bind it.
23624 Pass nil for `after-find-file-from-revert-buffer'.
23626 * saveplace.el (save-place-find-file-hook): Use new variable
23627 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23629 2011-04-06 Glenn Morris <rgm@gnu.org>
23631 * Makefile.in (AUTOGEN_VCS): New variable.
23632 (autoloads): Use $AUTOGEN_VCS.
23634 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23635 * calendar/calendar.el (calendar-mode-map):
23636 Check for toolkit scroll bars. (Bug#8305)
23638 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23640 * minibuffer.el (completion-in-region--postch)
23641 (completion-in-region-mode): Remove unnecessary messages.
23643 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23645 * font-lock.el (font-lock-refresh-defaults):
23646 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23647 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23649 * info.el (Info-directory-list, Info-read-node-name-2)
23650 (Info-split-parameter-string): Doc fixes.
23651 (Info-virtual-nodes): Reflow docstring.
23652 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23653 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23654 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23655 Fix typos in docstrings.
23656 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23657 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23658 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23659 (Info-restore-desktop-buffer): Mark unused parameters.
23660 (Info-directory-find-file, Info-directory-find-node)
23661 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23662 (Info-virtual-index-find-node, Info-apropos-find-file)
23663 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23664 Mark unused parameters; fix typos in docstrings.
23665 (Info-virtual-index): Remove unused local variable `nodename'.
23667 2011-04-05 Deniz Dogan <deniz@dogan.se>
23669 * net/rcirc.el: Update my e-mail address.
23670 (rcirc-mode-map): Remove M-o binding.
23672 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23674 * startup.el (command-line): Save the cursor's theme-face
23675 directly, instead of using face-override-spec.
23677 * custom.el (load-theme): Minor optimization in assigning faces.
23679 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23681 * help-fns.el (describe-variable): Complete all variables having
23682 documentation, including keywords.
23683 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23685 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23687 Convert to lexical-binding.
23689 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23690 (bs--get-marked-string, bs--get-modified-string)
23691 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23692 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23693 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23695 * ehelp.el (electric-help-execute-extended)
23696 (electric-help-ctrl-x-prefix):
23697 * hexl.el (hexl-revert-buffer-function):
23698 * linum.el (linum-after-change, linum-after-scroll):
23699 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23701 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23703 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23710 * epg.el: Use lexical binding.
23712 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23714 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23716 * textmodes/flyspell.el (flyspell-word): Recognize default
23717 dictionary case for flyspell-mark-duplications-exceptions.
23718 Use regexp matching for languages.
23719 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23720 default dictionary (Bug#7926).
23722 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23724 * emacs-lisp/package.el (package--with-work-buffer):
23725 Recognize https URLs.
23727 * net/network-stream.el: Move from gnus/proto-stream.el.
23728 Change prefix to network-stream throughout.
23729 (open-protocol-stream): Merge into open-network-stream, leaving
23730 open-protocol-stream as an alias. Handle nil BUFFER args.
23732 * subr.el (open-network-stream): Move to net/network-stream.el.
23734 2011-04-02 Glenn Morris <rgm@gnu.org>
23736 * find-dired.el (find-exec-terminator): New option.
23737 (find-ls-option): Test for -ls support.
23738 (find-ls-subdir-switches): Test for -b in find-ls-option.
23739 (find-dired, find-grep-dired): Doc fixes.
23740 (find-dired): Use find-exec-terminator.
23742 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23743 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23744 (find-name-arg): Remove purecopy.
23746 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23747 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23748 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23749 accordingly. Don't add the null-device if not needed.
23751 * files.el (save-some-buffers): Doc fix.
23753 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23755 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23757 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23759 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23760 Use `dolist' rather than `mapcar'.
23762 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23764 Add lexical binding.
23766 * subr.el (apply-partially): Use new closures rather than CL.
23767 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23768 (dolist, dotimes): Use slightly different expansion for lexical code.
23769 (functionp): Move to C.
23770 (letrec): New macro.
23771 (with-wrapper-hook): Use it and apply-partially instead of CL.
23772 (eval-after-load): Preserve lexical-binding.
23773 (save-window-excursion, with-output-to-temp-buffer): Turn them
23776 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23778 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23780 (help-add-fundoc-usage): Don't add `Not documented'.
23781 (help-function-arglist): Handle closures, subroutines, and new
23782 byte-code-functions.
23783 (help-make-usage): Remove leading underscores.
23784 (describe-function-1): Handle closures.
23785 (describe-variable): Use special-variable-p for completion.
23787 * files.el (lexical-binding): Declare safe.
23789 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23790 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23791 (pcase): Add `let' pattern.
23792 Change memoization so it actually works.
23793 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23794 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23797 * emacs-lisp/macroexp.el: Use lexical binding.
23798 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23799 Don't convert ' to #' without checking that it's indeed quoting
23802 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23803 Use eval-sexp-add-defvars.
23804 (eval-sexp-add-defvars): New fun.
23806 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23808 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23810 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23811 than the internal `byte-compile-lambda'.
23812 (defmethod): Don't hide code under quotes.
23813 (eieio-defmethod): New `code' argument.
23815 * emacs-lisp/eieio-comp.el: Remove.
23817 * emacs-lisp/edebug.el (edebug-eval-defun)
23818 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23819 (edebug-toggle): Avoid `eval'.
23821 * emacs-lisp/disass.el (disassemble-internal): Handle new
23823 (disassemble-1): Handle new byte codes.
23825 * emacs-lisp/cl.el (pushnew): Silence warning.
23827 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23828 (cl-byte-compile-throw): Remove.
23829 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23831 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23834 * emacs-lisp/cconv.el: New file.
23836 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23837 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23838 (byte-compile-initial-macro-environment):
23839 Handle declare-function here.
23840 (byte-compile--lexical-environment): New var.
23841 (byte-stack-ref, byte-stack-set, byte-discardN)
23842 (byte-discardN-preserve-tos): New lap codes.
23843 (byte-interactive-p): Don't use any more.
23844 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23846 (byte-compile-lapcode): Use them and handle new lap codes.
23847 (byte-compile-obsolete): Remove.
23848 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23849 (byte-compile-arglist-warn): Check late def of inlinable funs.
23850 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23851 since they should have been expanded by now.
23852 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23853 (byte-compile-from-buffer): Remove unused second arg.
23854 (byte-compile-preprocess): New function.
23855 (byte-compile-toplevel-file-form): New function to distinguish
23856 file-form calls from outside from file-form calls from hunk-handlers.
23857 (byte-compile-file-form): Simplify.
23858 (byte-compile-file-form-defsubst): Remove.
23859 (byte-compile-file-form-defmumble): Simplify now that
23860 byte-compile-lambda always returns a byte-code-function.
23861 (byte-compile): Preprocess.
23862 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23863 Remove, not used any more.
23864 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23865 (byte-compile-make-args-desc): New funs.
23866 (byte-compile-lambda): Handle lexical functions. Always return
23867 a byte-code-function.
23868 (byte-compile-reserved-constants): New var, to make up room for
23869 closed-over variables.
23870 (byte-compile-constants-vector): Obey it.
23871 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23872 (byte-compile-macroexpand-declare-function): New function.
23873 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23874 byte-code-functions.
23875 (byte-compile-form): Check obsolescence here.
23876 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23877 (byte-compile-variable-ref): Remove.
23878 (byte-compile-dynamic-variable-op): New fun.
23879 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23880 (byte-compile-variable-set): New funs.
23881 (byte-compile-discard): Add 2 args.
23882 (byte-compile-stack-ref, byte-compile-stack-set)
23883 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23884 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23885 macroexpand-all instead.
23886 (byte-compile-quote-form): Remove.
23887 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23888 (byte-compile-bind, byte-compile-unbind): New funs.
23889 (byte-compile-let): Handle let* and lexical binding.
23890 (byte-compile-let*): Remove.
23891 (byte-compile-catch, byte-compile-unwind-protect)
23892 (byte-compile-track-mouse, byte-compile-condition-case):
23893 Handle a new :fun-body form, used for lexical scoping.
23894 (byte-compile-save-window-excursion)
23895 (byte-compile-with-output-to-temp-buffer): Remove.
23896 (byte-compile-defun): Simplify.
23897 (byte-compile-stack-adjustment): New fun.
23898 (byte-compile-out): Use it.
23899 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23901 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23904 * emacs-lisp/byte-opt.el: Use lexical binding.
23905 (byte-inline-lapcode): Remove (to bytecomp).
23906 (byte-compile-inline-expand): Pay attention to inlining to/from
23907 lexically bound code.
23908 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23910 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23911 any more and don't call compiler-macros.
23912 (byte-compile-splice-in-already-compiled-code): Remove.
23913 (byte-code): Don't inline any more.
23914 (disassemble-offset): Receive `bytes' as argument rather than via
23916 (byte-compile-tag-number): Declare before first use.
23917 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23918 `return' even if make-spliceable.
23919 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23920 obsolete interactive-p.
23921 (byte-optimize-lapcode): Optimize new lap-codes.
23922 Don't trip up on new form of `byte-constant' lap code.
23924 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23926 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23928 * custom.el (custom-initialize-default, custom-declare-variable):
23931 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23933 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23934 (COMPILE_FIRST): Add macroexp and cconv.
23935 * makefile.w32-in: Mirror changes in Makefile.in.
23937 * vc/cvs-status.el:
23941 * vc/smerge-mode.el:
23942 * textmodes/bibtex-style.el:
23943 * textmodes/css-mode.el:
23951 * emacs-lisp/smie.el:
23954 * abbrev.el: Use lexical binding.
23956 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23958 * info.el (info-display-manual): New function.
23960 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23962 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23964 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23966 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23967 an entry for that server in rcirc-authinfo. (Bug#8385)
23969 2011-03-31 Glenn Morris <rgm@gnu.org>
23971 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23973 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23975 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23977 * progmodes/python.el (python-default-interpreter)
23978 (python-python-command-args, python-jython-command-args)
23979 (python-which-shell, python-which-args, python-which-bufname)
23980 (python-file-queue, python-comint-output-filter-function)
23981 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23982 variables and functions.
23984 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23986 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23987 (completion-in-region-mode): New minor mode.
23988 (completion-in-region): Use it.
23989 (completion-in-region--data, completion-in-region-mode-map): New vars.
23990 (completion-in-region--postch): New function.
23991 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23993 (completion--capf-wrapper): New function.
23994 (completion-at-point): Use it to track well-behavedness of
23996 (completion-help-at-point): New command.
23998 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24000 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24001 syntax class to search for whitespace on a single line
24002 (Message-ID: <4D938140.4030905@redhat.com>).
24004 2011-03-30 Leo Liu <sdl.web@gmail.com>
24006 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24008 (edit-abbrevs-map): Bind them here.
24009 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24011 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24013 * allout.el (allout-hide-by-annotation, allout-flag-region):
24014 Reduce possibility of overlay leakage by making them volatile.
24016 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24017 hash is not shared between buffers. Mode initialization is
24018 responsible for giving it a useful starting value.
24019 (allout-item-span): Reduce possibility of overlay leakage by
24020 making them volatile.
24021 (allout-widgets-count-buttons-in-region): Add diagnostic function
24022 for tracking down button overlay leaks.
24024 2011-03-29 Leo Liu <sdl.web@gmail.com>
24026 * ido.el (ido-read-internal): Use the default history var
24027 minibuffer-history if no HISTORY is specified.
24029 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24031 * net/imap.el (imap-shell-open, imap-process-connection-type):
24032 Use imap-process-connection-type for 'shell' streams as well as
24033 Kerberos, SSL, other subprocesses.
24035 2011-03-28 Leo Liu <sdl.web@gmail.com>
24037 * abbrev.el (abbrev-table-empty-p): New function.
24038 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24039 nonempty ones. (Bug#5937)
24041 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24043 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24045 2011-03-27 Leo Liu <sdl.web@gmail.com>
24047 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24048 for foreground and background colors.
24049 (ansi-color-make-color-map): Adapt.
24051 2011-03-25 Leo Liu <sdl.web@gmail.com>
24053 * midnight.el (midnight-time-float): Remove. Note it calculates
24054 the microsecond component incorrectly and seconds-to-time does the
24056 Remove redundant (require 'timer).
24058 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24059 (ido-completions): Remove unused arguments. (Bug#8329)
24061 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24063 * minibuffer.el (completion--flush-all-sorted-completions):
24064 Remove itself from hook.
24065 (completion-at-point): Let the functions perform the completion
24066 immediately and return nil or t.
24067 * comint.el (comint-dynamic-complete-functions): Now identical to
24068 completion-at-point-functions.
24069 (comint-dynamic-list-input-ring): Remove unused var `index'.
24070 (comint--match-partial-filename, comint--unquote&expand-filename):
24071 New funs, split from comint-match-partial-filename.
24072 (comint-dynamic-complete): Use completion-at-point.
24073 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24075 2011-03-24 Drew Adams <drew.adams@oracle.com>
24077 * thingatpt.el: Support `defun'.
24079 2011-03-23 Leo Liu <sdl.web@gmail.com>
24081 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24083 * help-mode.el (help-mode-finish): Tweak regexp.
24085 2011-03-23 Glenn Morris <rgm@gnu.org>
24087 * eshell/esh-opt.el (eshell-eval-using-options):
24088 Do not bind unused local variable `eshell-option-stub'.
24090 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24092 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24094 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24095 keymap variable in `with-no-warnings' to avoid a warning when the
24096 keymap has been already `defconst'ed.
24098 2011-03-22 Leo Liu <sdl.web@gmail.com>
24100 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24101 encode all chars in abbrevs; otherwise use emacs-mule or
24102 utf-8-emacs. (Bug#8308)
24104 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24106 * simple.el (backward-delete-char-untabify):
24107 Avoid warning about using `delete-backward-char'.
24109 * image.el (image-type-file-name-regexps): Make it variable.
24110 `imagemagick-register-types' modifies it, and the user may want
24111 to add new extensions for known image types.
24112 (imagemagick-register-types): Throw error if not using ImageMagick.
24114 2011-03-22 Leo Liu <sdl.web@gmail.com>
24116 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24117 located before rcirc-prompt-end-marker.
24118 (rcirc-complete): Error if point is not after rcirc prompt.
24119 Handle the case when table is nil.
24120 (rcirc-user-authenticated): Define to fix compiler warning.
24122 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24124 * custom.el (custom--inhibit-theme-enable): Make it affect only
24125 custom-theme-set-variables and custom-theme-set-faces.
24126 (provide-theme): Ignore custom--inhibit-theme-enable.
24127 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24128 (custom-enabling-themes): Delete variable.
24129 (enable-theme): Accept only loaded themes as arguments.
24130 Ignore the special custom-enabled-themes variable.
24131 (custom-enabled-themes): Forbid themes from setting this.
24132 Eliminate use of custom-enabling-themes.
24133 (custom-push-theme): Quote "changed" custom var entry.
24135 2011-03-21 Leo Liu <sdl.web@gmail.com>
24137 * ido.el (ido-read-internal): Add ido-selected to history instead
24140 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24142 * subr.el (deferred-action-list, deferred-action-function):
24145 2011-03-21 Leo Liu <sdl.web@gmail.com>
24147 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24148 change on 2011-02-13 (bug#8309).
24150 * minibuffer.el (read-file-name-function): Change default value.
24151 (read-file-name--defaults): Rename from read-file-name-defaults.
24152 (read-file-name-default): Rename from read-file-name.
24153 (read-file-name): Call read-file-name-function.
24155 2011-03-21 Glenn Morris <rgm@gnu.org>
24157 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24160 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24162 * cus-theme.el: Add missing provide statement.
24163 (customize-create-theme): Extract theme value correctly.
24164 (custom-theme-visit-theme): Autoload.
24165 (customize-create-theme): Prompt before inserting default faces.
24167 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24169 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24170 units and musical notes.
24172 2011-03-20 Leo Liu <sdl.web@gmail.com>
24174 * ido.el (ido-read-internal): Use completing-read-default.
24175 (ido-completing-read): Fix compatibility with completing-read.
24177 2011-03-20 Christian Ohler <ohler@gnu.org>
24179 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24180 (ert-delete-all-tests): Use `called-interactively-p' rather than
24182 (ert--make-xrefs-region): Respect END.
24184 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24186 * dired-aux.el (dired-create-directory): Signal an error if the
24187 directory already exists (Bug#8246).
24189 * facemenu.el (list-colors-display): Call list-faces-display
24190 inside with-help-window.
24191 (list-colors-print): Use display property to align the final
24192 column, instead of checking window-width.
24194 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24196 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24197 windows-nt systems.
24198 (emerge-protect-metachars): Quote correctly for ms-dos and
24199 windows-nt systems.
24201 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24203 * info.el (info-initialize): Replace all uses of `:' with
24204 path-separator for compatibility with non-Unix systems.
24205 Cache quoting of path-separator. (Bug#8258)
24207 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24209 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24210 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24211 (mouse-avoidance-mode): Fix typos in docstrings.
24213 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24215 * startup.el (package-subdirectory-regexp): Move from package.el.
24216 Omit \\` and \\', and let callers add them.
24218 * emacs-lisp/package.el (package-strip-version)
24219 (package-load-all-descriptors): Add \\` and \\' to
24220 package-subdirectory-regexp before using it.
24221 (package-untar-buffer): New arg DIR; ensure that file untars only
24222 into this expected directory. Remove superfluous delete-region.
24223 (package-unpack): Caller changed.
24224 (package-tar-file-info): Use package-subdirectory-regexp.
24226 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24228 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24229 diff-mode-shared-map (bug#8284).
24230 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24232 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24234 * calendar/time-date.el (format-seconds): Use assoc instead of
24235 assoc-string, since assoc-string doesn't exist in XEmacs.
24237 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24239 * custom.el (custom-known-themes): Reflow docstring.
24240 (custom-theme-load-path): Fix typo in docstring.
24241 (load-theme): Fix typo in error message.
24242 (custom-available-themes, custom-variable-theme-value):
24243 Use `let', not `let*'.
24245 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24247 * calc/README: Mention inclusion of musical notes.
24249 * calc/calc-units.el (calc-lu-quant): Rename from
24250 `calc-logunits-quantity'.
24251 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24252 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24253 (calc-db): Rename from `calc-dblevel'.
24254 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24255 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24256 (calc-np): Rename from `calc-nplevel'.
24257 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24258 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24259 (calc-lu-plus): Rename from `calc-logunits-add'.
24260 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24261 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24262 (calc-lu-minus): Rename from `calc-logunits-sub'.
24263 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24264 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24265 (calc-lu-times): Rename from `calc-logunits-mul'.
24266 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24267 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24268 (calc-lu-divide): Rename from `calc-logunits-div'.
24269 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24270 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24272 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24273 functions being autoloaded.
24275 * calc/calc.el (calc-lu-power-reference): Rename from
24276 `calc-logunits-power-reference'.
24277 (calc-lu-field-reference): Rename from
24278 `calc-logunits-field-reference'.
24280 * calc/calc-help.el (calc-l-prefix-help):
24281 Mention musical note functions.
24283 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24285 * minibuffer.el (completion-all-sorted-completions):
24286 Use :completion-cycle-penalty text property if present.
24288 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24290 * allout.el (allout-yank-processing): Adjust for new rebulleting
24291 regime so bullet being yanked is used without prompting the user
24294 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24296 * startup.el (command-line): Warn the user that _emacs is deprecated.
24298 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24300 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24301 (delphi-verbose, delphi-comment-face, delphi-string-face)
24302 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24303 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24304 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24305 (delphi-new-comment-line, delphi-font-lock-defaults)
24306 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24307 Fix typos in docstrings.
24309 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24311 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24312 Invert the roles of character and string values for INSTEAD, so a
24313 string is used for the more common case of a defaulting prompt.
24315 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24317 * progmodes/ruby-mode.el (ruby-backward-sexp):
24318 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24319 * play/gamegrid.el (gamegrid-make-face):
24320 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24321 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24322 * notifications.el (notifications-notify):
24323 * net/xesam.el (xesam-search-engines):
24324 * net/quickurl.el (quickurl-list-insert):
24325 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24327 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24329 * startup.el (command-line): Update package subdirectory regexp.
24331 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24333 * allout.el (allout-abbreviate-flattened-numbering)
24334 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24336 * subr.el (read-char-choice): Only show the cursor after the prompt,
24337 not after the answer.
24339 2011-03-15 Kevin Ryde <user42@zip.com.au>
24341 * help-fns.el (variable-at-point): Skip leading quotes, if any
24344 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24346 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24349 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24351 * shell.el (shell): When called interactively, offer to change the
24352 shell file name on remote hosts.
24354 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24356 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24357 integration for LDAP parameters. The host, base, user or binddn,
24358 and secret tokens can be specified in a netrc file, for instance.
24359 This is optional because an `auth-source' parameter must be
24360 specified in the search attributes.
24362 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24364 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24366 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24368 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24369 into declaration. Remove redundant and harmful binding.
24371 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24373 * files.el (file-ownership-preserved-p): Pass `integer' as an
24374 explicit 2nd argument to `file-attributes'. If the file's owner
24375 is the Administrators group on Windows, and the current user is
24376 Administrator, consider that a match.
24378 * server.el (server-ensure-safe-dir): Consider server directory
24379 safe on MS-Windows if its owner is the Administrators group while
24380 the current Emacs user is Administrator. Use `=' to compare
24381 numerical UIDs, since they could be integers or floats.
24383 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24385 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24387 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24389 Sync with Tramp 2.2.1.
24391 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24393 * net/trampver.el: Update release number.
24395 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24397 * progmodes/compile.el (compilation--previous-directory): Fix up
24398 various nil/dead-marker mismatches (bug#8014).
24399 (compilation-directory-properties, compilation-error-properties):
24400 Don't call it at a position past the one we're about to change.
24402 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24403 Disable obsolescence warnings in the file that declares it.
24405 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24407 * allout-widgets.el (allout-widgets-tally):
24408 Initialize allout-widgets-tally as a hash table rather than nil to
24409 prevent mode-line redisplay warnings. Also, clarify the module
24410 description and fix a comment typo.
24412 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24414 * help-fns.el (describe-variable): Don't complete keywords.
24415 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24417 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24419 * emacs-lisp/package.el (package-version-join): Impose a standard
24420 string representation for pre/alpha/beta version lists.
24421 (package-unpack-single): Standardize the directory name by passing
24422 it through package-version-join.
24423 (package-strip-rcs-id): Accept any version string that does not
24424 signal an error in version-to-list.
24426 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24428 * simple.el (delete-trailing-whitespace): Return nil for the
24429 benefit of `write-file-functions'.
24431 2011-03-10 Glenn Morris <rgm@gnu.org>
24433 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24435 * vc/vc-git.el (vc-git-program): New option.
24436 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24437 (vc-git--call): Use it.
24439 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24441 * cus-edit.el (Custom-newline): If no button at point, look
24442 for a subgroup button at start-of-line. (Bug#2298)
24444 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24446 2011-03-10 Julien Danjou <julien@danjou.info>
24448 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24449 `cursor-type' is nil.
24451 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24453 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24455 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24457 * allout.el: Change so yank of distinctive-bullet items
24458 preserves the existing header prefix, rebulleting it if necessary,
24459 rather than replacing it. This is necessary for proper operation
24460 of cooperative addons like allout-widgets.
24461 (allout-make-topic-prefix, allout-rebullet-heading):
24462 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24463 value as alternate bullet to be used, instead of prompting the user
24464 for a bullet character.
24466 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24468 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24469 Do not use `tramp-file-name-port', because this returns also
24470 `tramp-default-port'.
24472 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24474 * net/rcirc.el (rcirc-handler-001): Remove useless
24475 with-rcirc-process-buffer.
24476 (rcirc-check-auth-status): Swap arguments to string-match.
24478 2011-03-09 Glenn Morris <rgm@gnu.org>
24480 * shell.el (shell-mode):
24481 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24483 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24484 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24486 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24488 * emacs-lisp/package.el (package-refresh-contents)
24489 (package-menu-execute): Use condition-case-no-debug.
24491 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24493 * simple.el (shell-command-to-string): Use `process-file'.
24495 * emacs-lisp/package.el (package-tar-file-info): Handle also
24498 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24499 Use `equal' for upload base check.
24501 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24503 * textmodes/texinfo.el (texinfo-environments):
24504 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24506 2011-03-08 Glenn Morris <rgm@gnu.org>
24508 * cus-start.el (cursor-in-non-selected-windows):
24509 Fix :set quoting oddness. (Bug#8192)
24511 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24512 in some setf expressions. (Bug#2159)
24514 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24516 * custom.el (custom-available-themes): Return themes in
24517 alphabetical order.
24519 See ChangeLog.15 for earlier changes.
24521 ;; Local Variables:
24525 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24527 This file is part of GNU Emacs.
24529 GNU Emacs is free software: you can redistribute it and/or modify
24530 it under the terms of the GNU General Public License as published by
24531 the Free Software Foundation, either version 3 of the License, or
24532 (at your option) any later version.
24534 GNU Emacs is distributed in the hope that it will be useful,
24535 but WITHOUT ANY WARRANTY; without even the implied warranty of
24536 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24537 GNU General Public License for more details.
24539 You should have received a copy of the GNU General Public License
24540 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.