1 2013-02-17 Glenn Morris <rgm@gnu.org>
3 * image-dired.el (tumme): Make this alias obsolete.
5 2013-02-16 Glenn Morris <rgm@gnu.org>
7 * image.el (image-animated-types): Remove.
8 (image-multi-frame-p): Rename from image-animated-p, and generalize.
9 (image-animated-p): Make obsolete alias.
10 (image-animate, image-nth-frame, image-animate-timeout):
11 Use image-multi-frame-p.
12 (image-animate-timeout): If no delay, use image-default-frame-delay.
13 * image-mode.el (image-mode, image-toggle-animation):
14 Use image-multi-frame-p. (Bug#763, bug#10739)
15 (image-mode): Adjust startup message for a multi-frame image.
17 * image-mode.el (image-mode-map): Give it a menu.
19 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
21 * net/tramp-cache.el (tramp-connection-properties): New customer
23 (tramp-get-connection-property): Use it.
25 * net/tramp-compat.el (top): Require 'trampver.
27 * net/tramp-sh.el (tramp-remote-process-environment): Set
28 tramp-autoload cookie.
30 2013-02-16 Kevin Ryde <user42@zip.com.au>
32 * info-look.el (info-lookup-select-mode): If major-mode has no
33 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
35 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
37 * replace.el (read-regexp): Tighten the regexp that matches tag.
38 When tag is retrieved with `find-tag-default', use regexp that
39 matches tag at point. Also update docstring (Bug#13687).
41 2013-02-16 Eli Zaretskii <eliz@gnu.org>
43 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
44 add watch for the file, not its parent directory, since w32notify
45 sets up the watch for the directory internally. (Bug#13725)
47 2013-02-16 Glenn Morris <rgm@gnu.org>
49 * image.el (image-default-frame-delay): New variable.
50 (image-animated-p): Use image-default-frame-delay.
51 (image-minimum-frame-delay): New constant.
52 (image-animate-timeout): Use image-minimum-frame-delay.
54 * image.el (image-nth-frame): New, split from image-animate-timeout.
55 (image-animate-timeout): Use image-nth-frame.
56 * image-mode.el (image-goto-frame, image-next-frame)
57 (image-previous-frame): New commands.
58 (image-mode-map): Add new frame commands.
60 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
62 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
63 If col-desc already has help-echo, use it. (Bug#13563)
65 2013-02-16 Glenn Morris <rgm@gnu.org>
67 * image.el (image-current-frame): New variable.
68 (image-animate-timeout): Set image-current-frame.
69 * image-mode.el (image-mode): For animated images,
70 display a frame counter via mode-line-process.
72 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
74 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
76 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
78 2013-02-15 Alan Mackenzie <acm@muc.de>
80 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
81 global minor mode has been enabled, call the minor mode function
82 for a new buffer once only, after the major mode hook, whilst
83 allowing that hook explicitly to disable the minor mode.
84 (MODE-disable-in-buffer): New (generated) function.
85 (disable-MODE): New (generated) buffer local variable.
87 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
89 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
90 `iswitchb-next-match' and `iswitchb-prev-match' resply.
91 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
92 `ido-next-match' and `ido-prev-match' resply.
93 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
94 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
95 `icomplete-backward-completions' (Bug#13708).
97 2013-02-15 Glenn Morris <rgm@gnu.org>
99 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
101 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
103 * net/goto-addr.el (goto-address-fontify): Add start and end args.
104 (goto-address-fontify-region): Use them instead of narrowing, so
105 syntax-ppss has access to the whole buffer.
107 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
109 * progmodes/python.el: Explain how to restore "cc-mode"-like
110 forward-sexp movement in header documentation (Bug#13642).
111 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
112 comments and strings (GH bug 114).
114 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
116 * progmodes/python.el (python-info-current-defun): Fix current
117 defun detection (Bug#13618).
119 2013-02-15 Chong Yidong <cyd@gnu.org>
121 * xml.el (xml-parse-string): Fix typo in handling of bad character
124 2013-02-15 Glenn Morris <rgm@gnu.org>
126 * play/fortune.el (fortune-compile): Simplify and fix previous change.
128 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
130 * net/tramp.el (tramp-debug-message):
131 Add `tramp-condition-case-unless-debug'.
132 (tramp-debug-on-error): New defvar.
133 (tramp-condition-case-unless-debug): New defun.
134 (tramp-file-name-handler): Use it.
136 2013-02-14 Juri Linkov <juri@jurta.org>
138 * info.el (Info-isearch-filter): Treat non-nil values of
139 `search-invisible' including its default value `open'
140 like the value `t' to match hidden text. (Bug#13402)
142 2013-02-14 Glenn Morris <rgm@gnu.org>
144 * help-fns.el (find-lisp-object-file-name): Give special treatment
145 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
147 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
149 * net/quickurl.el (quickurl-save-urls):
150 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
152 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
154 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
155 depth for unfinished percent literal. Not using it in the caller.
156 (ruby-move-to-block): Jump over multiline literals of all types,
157 ignoring code-looking contents inside them.
158 (ruby-add-log-current-method): Improve performance at the expense
159 of accuracy. `ruby-block-contains-point' is relatively slow, so
160 only use it for method and singleton class blocks.
162 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
164 Use ControlMaster where applicable. (Bug#13677)
166 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
167 replacing `tramp-detect-ssh-controlmaster'.
168 (tramp-default-method): Use it.
170 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
171 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
173 [scpc, rsyncc]: Remove methods.
174 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
176 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
177 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
179 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
181 * emacs-lisp/package.el (package--initialized): Move before first use.
183 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
185 * icomplete.el (icomplete-hide-common-prefix): New user option.
186 (icomplete-first-match): New face.
187 (icomplete-completions): Correct handling of "complete but not
190 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
192 * descr-text.el (describe-char): Display the script (bug#13698).
194 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
196 * tmm.el: Use lexical-binding and current-active-maps.
197 (tmm-menubar): Use map-keymap and pcase.
198 (tmm--completion-table): New function.
199 (tmm-prompt): Use it to fix the menu order.
200 (tmm-get-keybind): Use current-active-maps.
202 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
204 Add dired-hide-details-mode. (Bug#6799)
206 * locate.el (locate-mode): Set parent mode property to dired-mode.
208 * find-dired.el (find-dired): Call dired-insert-set-properties on
209 initial information line. Set process mark on end of buffer.
210 (find-dired-sentinel):
211 Call dired-insert-set-properties on summary.
213 * dired.el (dired-hide-details-hide-symlink-targets)
214 (dired-hide-details-hide-information-lines): New options.
215 (dired-insert-directory):
216 Set properties after final treatment of output.
217 (dired-insert-set-properties):
218 Set dired-hide-details-* properties.
219 (dired-mode-map): Bind dired-hide-details-mode.
220 (dired-mode): Set buffer-invisibility-spec to a list.
221 (dired-next-line): Skip hidden lines.
222 (dired-previous-line): Use dired-next-line.
223 (dired-hide-details-mode): New minor mode.
224 (dired-hide-details-update-invisibility-spec): New function.
226 2013-02-13 Glenn Morris <rgm@gnu.org>
228 * play/yow.el: Move to obsolete/. (Bug#9384)
230 2013-02-13 Juri Linkov <juri@jurta.org>
232 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
233 to select `ediff-control-frame' and set input focus correctly on Xfce.
236 2013-02-13 Juri Linkov <juri@jurta.org>
238 * image-mode.el (image-mode-map):
239 * doc-view.el (doc-view-mode-map):
240 * vc/ediff-util.el (ediff-setup-keymap):
241 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
243 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
245 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
246 performance. Instead of recalculating indentation fully for each
247 line, sum up indentation depth based only on visited lines.
248 (ruby-parse-partial): Increase the depth after "do" even when END
250 (ruby-parse-partial): When END is in the middle of a percent
251 literal, increase the depth if the delimiter chars belong to the
254 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
256 * play/fortune.el (fortune-compile): Also make the compiled file
257 if it does not exist at all, not just if it is old. (Bug#5338)
259 2013-02-13 Glenn Morris <rgm@gnu.org>
261 * emacs-lisp/package.el (package-menu-execute): Doc fix.
263 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
265 * lisp/emacs-lisp/package.el (package-menu-execute):
266 Add optional noquery argument. (Bug#13625)
268 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
270 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
271 if DIR exists and PARENTS is non-nil.
273 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
275 * progmodes/js.el (js--multi-line-declaration-indentation):
276 Silence byte-compiler warning.
278 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
280 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
282 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
283 only if it doesn't exist.
285 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
288 2013-02-12 Tassilo Horn <tsdh@gnu.org>
290 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
291 UserInstallation when calling soffice to work around LibreOffice
294 2013-02-12 Glenn Morris <rgm@gnu.org>
296 * files.el (basic-save-buffer):
297 Offer to create a non-existing directory. (Bug#3016)
299 * calc/calc-graph.el (calc-graph-show-dumb):
300 * calendar/calendar.el (calendar-mode-map):
301 * cus-edit.el (custom-mode-map):
302 * ehelp.el (electric-help-map):
303 * emulation/vip.el (vip-mode-map):
304 * epa.el (epa-key-list-mode-map):
305 * info.el (Info-mode-map):
306 * mail/rmail.el (rmail-mode-map):
307 * mail/rmailsum.el (rmail-summary-mode-map):
308 * man.el (Man-mode-map):
309 * net/newst-plainview.el (newsticker-mode-map):
310 * progmodes/cpp.el (cpp-edit-mode-map):
311 * progmodes/grep.el (grep-mode-map):
312 * progmodes/idlw-help.el (idlwave-help-mode-map):
313 * simple.el (special-mode-map):
314 * startup.el (splash-screen-keymap):
315 * view.el (view-mode-map):
316 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
318 2013-02-11 Elias Pipping <pipping@lavabit.com>
320 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
323 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
325 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
327 2013-02-11 Glenn Morris <rgm@gnu.org>
329 * vc/diff.el (diff-use-labels): New variable.
330 (diff-no-select): Use --label rather than -L, and first
331 check that it is supported. (Bug#11067)
333 * files.el (enable-dir-local-variables): New variable.
334 (hack-dir-local-variables): Respect enable-dir-local-variables.
335 * tutorial.el (help-with-tutorial):
336 Ignore directory-local variables. (Bug#11127)
338 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
339 (vc-svn-global-switches): ... to here. (Bug#13513)
341 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
343 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
344 Handle "foo (bar, default: xxx): " prompts.
346 2013-02-10 Chong Yidong <cyd@gnu.org>
348 * files.el (basic-save-buffer-1): Do not set
349 buffer-file-coding-system-explicit (Bug#4533).
351 * mail/emacsbug.el (report-emacs-bug): Change binding of
352 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
354 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
356 * calc/calc.el (calc-allow-units-as-numbers): New variable.
357 * calc/calc-units.el (calc-convert-units): Use new variable.
359 2013-02-09 Eli Zaretskii <eliz@gnu.org>
361 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
363 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
366 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
367 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
368 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
369 coding-system-for-write instead.
371 * jka-compr.el (jka-compr-write-region): Don't bind
374 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
377 * files.el (file-name-buffer-file-type-alist): Remove defvar.
378 (insert-file-contents-literally): Remove reference to
379 file-name-buffer-file-type-alist.
381 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
383 (find-buffer-file-type-match, find-buffer-file-type): Remove.
384 (find-buffer-file-type-coding-system): Remove references to
385 find-buffer-file-type-match, find-buffer-file-type, and
387 Don't put find-buffer-file-type-coding-system into
388 file-coding-system-alist.
389 (find-file-binary, find-file-text): Bind coding-system-for-read
390 instead of file-name-buffer-file-type-alist.
392 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
394 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
395 converter (Bug#13622).
396 (doc-view-unoconv-program): Make obsolete alias.
397 (doc-view-odf->pdf-converter-program): New variable.
398 (doc-view-odf->pdf-converter-function): New variable.
399 (doc-view-mode-p): Use it.
400 (doc-view-odf->pdf-converter-unoconv):
401 Rename from `doc-view-odf->pdf-converter-unoconv'.
402 (doc-view-odf->pdf-converter-soffice): New function.
403 (doc-view-convert-current-doc):
404 Use `doc-view-odf->pdf-converter-function'.
406 2013-02-09 Chong Yidong <cyd@gnu.org>
408 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
409 view-echo-area-messages (Bug#13340).
411 * help.el (view-echo-area-messages): Use display-buffer.
413 * dired-x.el (dired-do-run-mail): Prompt for confirmation
416 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
418 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
419 Eval body right away, now that we do eager macroexpansion (bug#13605).
421 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
422 (fundamental-mode): Use run-mode-hooks.
424 * eshell/esh-proc.el (eshell/kill): Fix last change.
425 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
427 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
429 * eshell/esh-proc.el (eshell/kill): Rewrite.
431 * eshell/em-ls.el (show-almost-all): Declare.
432 (eshell-do-ls): Add support for -A argument.
434 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
436 * icomplete.el (icomplete-forward-completions)
437 (icomplete-backward-completions): Handle corner case (bug#13602).
439 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
441 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
442 be nil. Handle this. (Bug#13636)
444 2013-02-07 Richard Stallman <rms@gnu.org>
446 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
447 `save-buffer-coding-system'.
449 2013-02-07 Alan Mackenzie <acm@muc.de>
451 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
452 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
453 (c-parse-state-get-strategy): Don't return 'BOD any more.
454 (c-append-lower-brace-pair-to-state-cache):
455 Extra parameter HERE instead of narrowing.
456 Widen to top of buffer before searching backwards for a brace pair.
457 (c-state-push-any-brace-pair): Add HERE parameter to function call.
458 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
459 Narrow to parameter HERE, in place of being called narrowed.
460 (c-remove-stale-state-cache): Extra parameter HERE in place of
461 narrowing. Check there's an open brace in the cache before
462 searching for its match.
463 (c-invalidate-state-cache-1): Add HERE parameter to function call.
464 (c-parse-state-1): Don't narrow here for 'forward strategy,
465 instead passing extra parameter HERE to several functions.
466 Remove 'BOD strategy.
468 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
470 * emacs-lisp/package.el (describe-package-1): Tell what archive is
471 used to install the package.
473 2013-02-06 Glenn Morris <rgm@gnu.org>
475 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
476 if we can't get user input. (Bug#6567)
478 * startup.el (command-line): If simple.el is missing,
479 test and warn about for some possible causes.
481 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
483 * cus-start.el (all): Add ns-use-native-fullscreen.
485 2013-02-05 Glenn Morris <rgm@gnu.org>
487 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
489 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
490 Fix directory creation in fallback case.
492 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
494 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
495 (vc-update-change-log): Use dolist.
497 2013-02-04 Chong Yidong <cyd@gnu.org>
499 * thingatpt.el: Rewrite the URL detection routines, absorbing some
501 (thing-at-point-beginning-of-url-regexp): New var.
502 (thing-at-point-uri-schemes): Update list of URI schemes.
503 (thing-at-point-url-regexp): Variable deleted.
504 (thing-at-point-markedup-url-regexp): Disallow newlines.
505 (thing-at-point-newsgroup-regexp)
506 (thing-at-point-newsgroup-heads)
507 (thing-at-point-default-mail-uri-scheme): New variables.
508 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
509 method to find the possible bounds of the URI at point.
510 New optional argument to find ill-formed URIs.
511 (thing-at-point-url-at-point): Rewrite. New arguments for finding
512 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
513 the scheme-adding heuristics from ffap-url-at-point.
514 (thing-at-point--bounds-of-well-formed-url): New function.
515 Do parens matching to decide whether to include parens in the URI
518 * ffap.el: Require thingatpt.
519 (ffap-url-at-point): Delegate URI detection to thing-at-point.
520 All URI-valid characters are now recognized (Bug#5673).
521 (ffap-string-at-point): Use use-region-p.
522 (ffap-url-regexp): Extra character is handled by thing-at-point.
523 (ffap-string-at-point-mode-alist): Allow parentheses.
524 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
525 Convert to aliases; code moved to thingatpt.el.
526 (ffap-gnus-hook): Use setq-local.
528 2013-02-04 Glenn Morris <rgm@gnu.org>
530 * emacs-lisp/ert.el (ert--explain-format-atom):
531 Don't try to print non-characters as characters. (Bug#13543)
533 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
535 * net/tramp.el (tramp-debug-message): Extend function exclude list.
536 (tramp-backtrace): New defun.
537 (tramp-handle-insert-file-contents): Use `visit' when inserting
540 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
541 Use `remote-file-name-inhibit-cache'.
543 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
545 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
548 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
549 current-load-list (bug#13366).
551 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
553 * progmodes/compile.el (compilation-error-regexp-alist-alist):
554 Identify g++ template instantiation trace. (Bug#12287)
555 (compilation-mode-hook, compilation-start-hook)
556 (compilation-window-height): Simplify docstrings. (Bug#13379)
558 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
560 * mouse.el (mouse-drag-track): Always deactivate the mark before
561 running the final event's command since that command is in charge of
562 activating the mark if needed (bug#13523).
564 2013-02-02 Juri Linkov <juri@jurta.org>
566 * replace.el (perform-replace): Move let-bindings of isearch-*
567 variables deeper to the loop that searches for the next match.
568 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
569 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
572 * isearch.el (isearch-search-fun-default): Check for null
573 first element of isearch-cmds as a precaution when it's used
574 with inactive isearch.
576 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
578 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
579 error when buffer in question is narrowed so position 1 is out of
582 2013-02-02 Glenn Morris <rgm@gnu.org>
584 * textmodes/remember.el (remember-clipboard): Doc fix.
586 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
588 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
589 properties (bug#13179).
591 2013-02-02 Juri Linkov <juri@jurta.org>
593 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
594 instead of hard-coded default face `match'. (Bug#9438)
596 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
598 * vc/vc-arch.el (vc-arch-registered):
599 * vc/vc-bzr.el (vc-bzr-registered):
600 * vc/vc-cvs.el (vc-cvs-registered):
601 * vc/vc-git.el (vc-git-registered):
602 * vc/vc-hg.el (vc-hg-registered):
603 * vc/vc-mtn.el (vc-mtn-registered):
604 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
607 * info.el (Info-next-reference, Info-prev-reference): Add numeric
608 prefix argument. (Bug#11656)
610 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
612 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
614 2013-02-01 Glenn Morris <rgm@gnu.org>
616 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
617 if the backend is known not to support it.
619 * imenu.el (imenu-default-create-index-function):
620 Tweak infinite loop test to check for forward motion as well as none.
622 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
624 * net/soap-client.el (soap-invoke): Encode the string for
625 `url-request-data' as UTF-8.
626 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
628 2013-02-01 Glenn Morris <rgm@gnu.org>
630 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
632 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
634 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
636 * net/tramp.el (tramp-tramp-file-p): Comment check for
637 `string-as-unibyte'. The function does not exist on XEmacs, and
638 likely we need another approach.
640 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
641 `tramp-gw-*' variables are bound.
643 2013-01-31 Glenn Morris <rgm@gnu.org>
645 * files.el (basic-save-buffer-2): Choose coding system for
646 writing the file before backing it up, to reduce delay between
647 backing up and writing the new version. (Bug#13522)
649 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
651 * simple.el (cycle-spacing): New command.
652 (just-one-space): Use it.
654 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
656 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
657 (opascal-newline-always-indents): Remove custom.
658 (opascal-tab, opascal-newline): Remove commands.
659 (opascal-new-comment-line): Insert "\n" instead of calling newline.
660 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
661 (opascal-save-match-data): Remove, use save-match-data instead.
662 (opascal-save-state): Use with-silent-modifications.
664 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
667 2013-01-30 Juri Linkov <juri@jurta.org>
669 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
670 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
671 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
673 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
675 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
676 column if we're just deleting the backslashes.
677 (makefile-fill-paragraph): Use eolp.
679 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
681 * autorevert.el (auto-revert-use-notify): Fix docstring.
683 2013-01-30 Leo Liu <sdl.web@gmail.com>
685 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
687 2013-01-30 Glenn Morris <rgm@gnu.org>
689 * mouse.el (mouse-drag-line): Avoid pushing same event onto
690 unread-command-events twice in some cases. This tries to implement
691 the 2012-07-26 changes in a different way. (Bug#13560)
693 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
695 * progmodes/python.el
696 (python-pdbtrack-comint-output-filter-function): Enhancements on
697 stacktrace detection. (thanks @gnovak)
699 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
701 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
702 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
704 (jit-lock-register): Use setq-local.
706 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
708 * calc-units.el (math-default-units-table): Remove initial value.
709 (calc-convert-units): Treat expressions where all the units cancel as
710 if they didn't have units.
712 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
714 * net/tramp.el (tramp-process-connection-type): Fix docstring.
715 (tramp-completion-reread-directory-timeout): Fix type.
716 (tramp-connection-min-time-diff): New defcustom.
718 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
720 2013-01-30 Glenn Morris <rgm@gnu.org>
722 * imenu.el (imenu-default-create-index-function):
723 Put back a version of the infinite loop test removed 2013-01-23.
725 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
727 * progmodes/python.el (python-shell-parse-command):
728 Find python-shell-interpreter with modified environment.
730 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
732 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
734 2013-01-29 Alan Mackenzie <acm@muc.de>
736 Amend to fontify /regexp/s in actions correctly.
737 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
738 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
739 are no longer included.
740 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
741 What used to be these variables without "-line" in the name.
742 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
743 (c-awk-non-arith-op-bra-re): Now also matches {.
744 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
745 "return", and "case".
746 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
748 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
749 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
751 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
753 * autorevert.el (auto-revert-use-notify):
754 Use `custom-initialize-default' for initialization. (Bug#13583)
756 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
758 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
759 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
760 in `tramp-file-name-handler'.
761 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
763 (tramp-compute-multi-hops): Check, whether
764 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
766 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
768 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
771 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
773 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
774 checks made superfluous by the \_< operator.
775 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
776 temporarily) broken indentation.
777 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
778 Highlight nested constants, too. \_< broke that.
780 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
782 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
785 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
787 * autorevert.el (auto-revert-handler): Notifications which result
788 from a saved file shall not be taken into account. (Bug#13557)
790 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
792 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
793 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
794 (lisp-mode): Pass t for it. (Bug#13556)
796 2013-01-25 Alan Mackenzie <acm@muc.de>
798 AWK Mode: Fix indentation bug at top level. Bug #12274.
800 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
803 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
805 * net/socks.el (socks-nslookup-host): Use string-to-number.
807 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
809 * autorevert.el (auto-revert-remote-files)
810 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
811 (auto-revert-notify-enabled, auto-revert-use-notify)
812 (auto-revert-notify-watch-descriptor-hash-list)
813 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
814 (auto-revert-notify-event-descriptor)
815 (auto-revert-notify-event-action)
816 (auto-revert-notify-event-file-name): Doc fix.
817 (global-auto-revert-mode): Reorder checks.
818 (auto-revert-notify-rm-watch): Respect changed values of
819 `auto-revert-notify-watch-descriptor-hash-list'.
820 (auto-revert-notify-add-watch): Check for
821 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
822 `inotify-add-watch'. Watch `default-directory' instead of
823 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
824 has a changed meaning now. (Bug#13540)
825 (auto-revert-notify-handler): Change implementation wrt events
826 returning from a directory.
827 (auto-revert-handler): Reorder implementation for checks of remote
829 (auto-revert-buffers): Fix parentheses error.
831 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
833 * progmodes/python.el: Enhancements to header documentation about
834 skeletons. (Bug#5716)
836 * imenu.el (imenu-default-create-index-function): Remove useless
837 infinite loop check. (Bug#13438)
839 2013-01-25 Alan Mackenzie <acm@muc.de>
841 Fix a bug in the state cache mechanism. Refactor this a bit.
843 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
844 `cache-pos' element from the return value.
845 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
846 buffer to enable proper searching from beyond HERE. Amend the
847 test for detecting the sought brace pair. Amend the value written
848 to the "brace desert cache" when the brace isn't found.
849 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
850 and several other variables analogously.
851 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
852 parameter to a locally calculated variable.
853 (c-parse-state-1): Change the calling conventions to the two
854 defuns involving `cache-pos'.
856 2013-01-25 Chong Yidong <cyd@gnu.org>
858 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
860 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
862 * paren.el (show-paren-function): Make sure to set 'priority and
863 'face only if the overlay does exist.
865 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
867 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
869 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
871 (tramp-sh-handle-set-file-acl): Improve error checking.
873 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
875 * doc-view.el (doc-view-display): Force mode line update until all
876 document is converted. Suggested by Stefan Monnier (Bug#13164).
878 2013-01-23 Bastien Guerry <bzg@gnu.org>
880 * paren.el (show-paren-function): Make sure an overlay exists
881 before trying to delete it. Also use `pos' as a position only
882 when it is an integer.
884 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
886 * play/gametree.el (gametree-break-line-here): Use point-marker.
888 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
890 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
891 Mark descriptive parts with `display' property.
893 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
895 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
896 New variable to map standard dict names to hunspell ones.
897 (ispell-set-spellchecker-params): Make sure specific dict names
898 are used for standard dicts with hunspell.
900 2013-01-21 Tassilo Horn <tsdh@gnu.org>
902 * textmodes/reftex-cite.el (reftex-format-citation): Add format
903 chars for note (%N) and url (%U).
904 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
906 2013-01-21 Juri Linkov <juri@jurta.org>
908 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
909 in addition to existing separate binding `meta f10' in `global-map'.
912 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
914 Improve XEmacs compatibility.
916 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
918 * net/tramp-adb.el (top): Require `time-date'.
919 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
920 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
921 Use `tramp-file-name-handler'.
922 (tramp-adb-maybe-open-connection):
923 Use `tramp-compat-set-process-query-on-exit-flag'.
925 * net/tramp-sh.el (tramp-sh-handle-file-acl):
926 Use `tramp-compat-funcall'.
928 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
929 `tramp-compat-funcall'.
931 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
933 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
934 reimplementation using "adb shell command ..." instead of running
935 remote shell interactively.
937 2013-01-20 Glenn Morris <rgm@gnu.org>
939 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
940 Add native profiler menu entries.
942 * profiler.el (profiler-running-p): New function.
943 (profiler-cpu-profile): Use profiler-running-p.
944 (profiler-report-mode-map): Add some more menu entries.
946 2013-01-19 Glenn Morris <rgm@gnu.org>
948 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
949 fixes 2012-12-07 change. (Bug#13499)
951 2013-01-19 Leo Liu <sdl.web@gmail.com>
953 * dired.el (dired-get-marked-files): Prune erroneous values due to
954 last change. (Bug#13152)
956 2013-01-19 Glenn Morris <rgm@gnu.org>
958 * progmodes/etags.el (tags-table-check-computed-list):
959 Preserve point in tags buffer. (Bug#13412)
961 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
963 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
964 Chong Yidong <cyd@gnu.org>
966 * image-mode.el (image-next-file, image-previous-file):
967 New commands (Bug#8453).
968 (image-mode-map): Bind them to n and p.
969 (image-mode--images-in-directory): New helper function.
971 2013-01-19 Chong Yidong <cyd@gnu.org>
973 * image-mode.el (image-mode-fit-frame): Add a frame argument.
974 Suggested by Drew Adams (Bug#7730). Handle window decorations;
975 save and restore the old window configuration.
977 2013-01-18 Leo Liu <sdl.web@gmail.com>
979 * progmodes/js.el: Tweak autoload cookie for alias.
981 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
983 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
984 buffer local, again. This was lost with the fix on 2013-01-12.
986 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
988 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
989 order to support several eshell buffers in parallel.
991 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
993 * autorevert.el (auto-revert-use-notify): In the :set function, do
994 not modify `kill-buffer-hook'.
995 (auto-revert-notify-rm-watch):
996 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
997 (auto-revert-notify-add-watch): Do not call
998 `auto-revert-notify-rm-watch', but add it to a buffer local
1001 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1003 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1004 call to `eval' rather than a backquoted lambda.
1006 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1008 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1009 to return an explicit nil.
1010 (advice--remove-function): Change accordingly.
1012 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1013 the use of nadvice.el.
1015 * progmodes/which-func.el (which-function): Silence imenu errors
1018 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1020 * progmodes/sql.el: (sql-imenu-generic-expression):
1021 (sql-mode-font-lock-object-name): Match schema qualified names.
1022 (sql-connect): Use string keys.
1023 (sql-product-interactive): Wait for interpreter prompt.
1024 (sql-comint-oracle): Set process coding based on NLS_LANG.
1026 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1028 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1029 (sql-interactive-remove-continuation-prompt):
1030 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1032 2013-01-14 Leo Liu <sdl.web@gmail.com>
1034 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1037 2013-01-14 Glenn Morris <rgm@gnu.org>
1039 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1040 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1042 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1044 * progmodes/python.el (python-nav-end-of-statement):
1045 Fix cornercase when handling multiline strings.
1047 2013-01-13 Richard Stallman <rms@gnu.org>
1049 * mail/sendmail.el (mail-position-on-field): Add doc string.
1051 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1052 Get current message boundaries and pass them to
1053 message-forward-make-body-mime. Minor style changes.
1055 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1057 * cus-start.el (all): Avoid warnings about
1058 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1060 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1062 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1064 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1066 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1067 (jit-lock--debug-fontifying): New var.
1068 (jit-lock--debug-fontify): New function.
1069 * subr.el (condition-case-unless-debug): Don't prevent catching the
1070 error, just let the debbugger run.
1071 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1072 timer code and don't drop errors silently.
1074 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1076 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1077 `permanent-local' property.
1078 (auto-revert-notify-handler): Use `file-equal-p'.
1080 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1082 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1083 file notification by ACTION. For filtering by file name, compare
1084 only the non-directory part of the file name.
1086 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1088 * autorevert.el: Use cl-lib instead of cl.
1090 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1091 (vc-bzr-checkin): Use it.
1092 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1093 will preserve match-data.
1095 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1097 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1098 (js--declaration-keyword-re): New var.
1099 (js--multi-line-declaration-indentation): New function.
1100 (js--proper-indentation): Use it.
1102 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1104 * calc/calc.el (calc-highlight-selections-with-faces)
1106 * comint.el (comint-history-isearch-message):
1107 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1108 * ffap.el (ffap-string-at-point-region, ffap-next)
1109 (ffap-string-at-point, ffap-string-around)
1110 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1112 * font-lock.el (font-lock-keywords-alist)
1113 (font-lock-removed-keywords-alist):
1114 * help-mode.el (help-xref-symbol-regexp):
1115 * info.el (Info-find-emacs-command-nodes):
1116 * international/mule.el (add-to-coding-system-list):
1117 * isearch.el (isearch-message-function, isearch-fail-pos):
1118 * misearch.el (multi-isearch-next-buffer-function):
1119 * newcomment.el (comment-box):
1120 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1121 (pr-setting-database):
1122 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1123 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1124 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1125 (pike-font-lock-keywords-3):
1126 * progmodes/compile.el (compile):
1127 * progmodes/etags.el (tags-table-files)
1128 (tags-table-files-function, tags-included-tables-function):
1129 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1130 (gdb-restore-windows):
1131 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1132 (ps-n-up-filling-database):
1133 * server.el (server-buffer, server-log):
1134 * simple.el (newline, delete-backward-char, delete-forward-char)
1135 (minibuffer-history-isearch-message, kill-line, track-eol)
1136 (temporary-goal-column):
1137 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1138 (flyspell-default-deplacement-commands):
1139 * textmodes/ispell.el (ispell-accept-output):
1140 * textmodes/sgml-mode.el (html-tag-help):
1141 * vc/compare-w.el (compare-ignore-whitespace)
1142 (compare-ignore-case, compare-windows-dehighlight):
1143 * vc/diff.el (diff):
1144 * whitespace.el (whitespace-point)
1145 (whitespace-font-lock-refontify, whitespace-bob-marker)
1146 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1148 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1150 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1151 (auto-revert-notify-rm-watch): Ignore errors.
1152 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1153 inotify, and '(size last-write-time) for w32notify.
1154 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1155 watch fails - this is a fallback to the file modification check.
1156 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1157 (auto-revert-notify-event-action)
1158 (auto-revert-notify-event-file-name): New defuns.
1159 (auto-revert-notify-handler): Use them. Implement first
1160 plausibility checks.
1161 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1163 2013-01-11 Julien Danjou <julien@danjou.info>
1165 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1166 max are almost equal. Also return the correct value for V which is
1167 already between 0 and 1.
1169 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1171 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1173 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1175 * autorevert.el (auto-revert-notify-rm-watch)
1176 (auto-revert-notify-add-watch): Fix typos in w32notify function
1179 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1181 * autorevert.el (auto-revert-notify-enabled): Move up.
1182 (auto-revert-use-notify): New defcustom.
1183 (auto-revert-mode, global-auto-revert-mode)
1184 (auto-revert-notify-add-watch, auto-revert-handler)
1185 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1186 `auto-revert-notify-enabled'.
1188 2013-01-10 Elias Pipping <pipping@exherbo.org>
1190 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1191 * doc-view.el (doc-view-document->bitmap):
1192 Use doc-view-single-page-converter-function instead of
1193 single-page-converter arg; adjust callers.
1195 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1197 * progmodes/which-func.el (which-function): Understand Semantic's use
1198 of overlays in imenu--index-alist.
1200 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1202 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1203 (Man-man-k-use-anchor): New var.
1204 (Man-parse-man-k): New function.
1205 (Man-completion-table): Use it.
1206 (man): Flush the completion cache between uses.
1208 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1210 * autorevert.el: Add file watch support.
1211 (auto-revert-notify-enabled): New defconst.
1212 (auto-revert-notify-watch-descriptor-hash-list)
1213 (auto-revert-notify-watch-descriptor)
1214 (auto-revert-notify-modified-p): New defvars.
1215 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1216 (auto-revert-notify-handler): New defuns.
1217 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1218 when mode is disabled.
1219 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1220 (auto-revert-buffers): Add file watches for active buffers.
1222 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1224 * cus-start.el (toplevel): Only allow float values for
1225 scroll-up-aggressively and scroll-down-aggressively.
1226 Allow any number for line-spacing.
1228 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1230 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1231 (doc-view-pdf->png-converter-function): Use mupdf if available.
1232 (doc-view-djvu->png-converter-function)
1233 (doc-view-ps->png-converter-function): Remove.
1234 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1235 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1236 (doc-view-already-converted-p): Adjust accordingly.
1237 (doc-view-mode-p): Simplify.
1238 (doc-view-enlarge): Use setq-local.
1239 (doc-view-pdf->png-converter-ghostscript)
1240 (doc-view-djvu->png-converter-ddjvu)
1241 (doc-view-pdf->png-converter-mupdf): Rework to call
1242 doc-view-start-process directly.
1243 (doc-view-pdf/ps->png): Simplify accordingly.
1244 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1245 (doc-view-document->bitmap): Rename from doc-view-document->png.
1246 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1247 (doc-view-set-slice-from-bounding-box): Fix completion table.
1248 (doc-view-mode): Use add-hook for after-revert-hook.
1250 2013-01-10 Glenn Morris <rgm@gnu.org>
1252 * emacs-lisp/authors.el (authors-ignored-files)
1253 (authors-valid-file-names, authors-renamed-files-alist):
1254 Add some more entries.
1256 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1258 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1259 `t' pseudo-window entry.
1261 2013-01-10 Alan Mackenzie <acm@muc.de>
1263 Fix bugs in the c-parse-state mechanism. Reuse some markers
1264 instead of continually generating new ones.
1266 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1267 (c-state-old-cpp-end-marker): New variables.
1268 (c-append-lower-brace-pair-to-state-cache): Start a backward
1269 search for "}" definitively outside CPP constructs.
1270 (c-remove-stale-state-cache): Inform the caller of a need to
1271 search back for a brace pair in certain circumstances.
1272 (c-state-maybe-marker): New macro.
1273 (c-parse-state): Reuse markers when appropriate.
1275 2013-01-10 Glenn Morris <rgm@gnu.org>
1277 * simple.el (execute-extended-command): Doc fix.
1278 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1280 2013-01-10 Chong Yidong <cyd@gnu.org>
1282 * faces.el (read-face-name): Doc fix.
1284 2013-01-10 Roland Winkler <winkler@gnu.org>
1286 * emacs-lisp/crm.el: Allow any regexp for separators.
1287 (crm-default-separator): All spaces around the default comma separator.
1288 (crm--completion-command): New macro.
1289 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1290 (crm-complete-and-exit): Handle non-single-char separators.
1292 2013-01-09 Elias Pipping <pipping@lavabit.com>
1294 * doc-view.el: Add support for DjVu (bug#13164).
1295 (doc-view-djvu->png-converter-function): New config var.
1296 (doc-view-single-page-converter-function, doc-view--image-type)
1297 (doc-view--image-file-extension): New vars.
1298 (doc-view-mode): Initialize them.
1299 (doc-view-goto-page): Use them.
1300 (doc-view-mode-p): Add support for ddjvu.
1301 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1302 (doc-view-set-up-single-converter): New funs.
1303 (doc-view-pdf/ps->png): Extend for djvu.
1304 (doc-view-document->png): Rename from doc-view-pdf->png.
1305 (doc-view-convert-current-doc): Handle djvu.
1306 (doc-view-insert-image, doc-view-display)
1307 (doc-view-already-converted-p): Don't hardcode png.
1308 (doc-view-set-doc-type): Recognize djvu docs.
1310 2013-01-09 Elias Pipping <pipping@lavabit.com>
1312 * doc-view.el: Add support for mupdf converter (bug#13164).
1313 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1314 (doc-view-ps->png-converter-function): New config vars.
1315 (doc-view-pdf->png-converter-ghostscript)
1316 (doc-view-ps->png-converter-ghostscript)
1317 (doc-view-pdf->png-converter-mupdf): New functions.
1318 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1320 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1322 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1323 first in session cache: When `tramp-own-remote-path' is in
1324 `tramp-remote-path', the remote path is only set in the session
1327 2013-01-09 Glenn Morris <rgm@gnu.org>
1329 * emacs-lisp/trace.el (trace-function-foreground)
1330 (trace-function-background): Doc fix.
1332 2013-01-09 Juri Linkov <juri@jurta.org>
1334 * international/mule-cmds.el (read-char-by-name): Move let-binding
1335 of completion-ignore-case around completing-read to fix regression
1336 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1337 `string-match-p' using the nil value of `case-fold-search' and
1338 `completion-ignore-case' in `completion-pcm--all-completions'.
1341 2013-01-09 Glenn Morris <rgm@gnu.org>
1343 * progmodes/compile.el (compilation-parse-errors):
1344 Fix typo. (Bug#13369)
1346 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1348 * comint.el (comint-send-input): Check size of buffer before
1349 waiting for process output, in case already accepted. (Bug#13290)
1351 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1354 * net/tramp-adb.el (tramp-adb-get-toolbox):
1355 Fix misspelling of 'unknown'.
1357 2013-01-08 Juri Linkov <juri@jurta.org>
1359 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1360 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1361 Use underline style wave on terminals that support it. (Bug#13000)
1363 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1365 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1366 the predicate returns nil.
1368 * simple.el: Use lexical-binding.
1369 (primitive-undo): Use pcase.
1370 (minibuffer-history-isearch-push-state): Use a closure.
1372 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1374 * simple.el (primitive-undo): Move from undo.c.
1376 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1378 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1379 (cvs-mode-remove-handled): Use it (bug#13380).
1381 * emacs-lisp/nadvice.el (advice--tweak): New function.
1382 (advice--remove-function, advice--subst-main): Use it.
1384 * emacs-lisp/advice.el: Update commentary.
1386 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1388 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1389 Remove spurious entry.
1391 2013-01-08 Glenn Morris <rgm@gnu.org>
1393 * net/tramp.el (tramp-default-host-alist): Add :version.
1395 2013-01-08 Juri Linkov <juri@jurta.org>
1397 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1398 single completion. (Bug#12456)
1399 (info--manual-names): Expand node completions into an explicit list
1400 before appending it to another list. Filter out internal buffers
1401 with the leading space in the buffer name. (Bug#10771)
1403 2013-01-08 Juri Linkov <juri@jurta.org>
1405 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1406 that defaults to the Top node.
1407 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1408 the short format (FILENAME) goes to the Top node.
1409 (Info-build-node-completions): Rename arg `file' to `filename'.
1412 2013-01-07 Bastien Guerry <bzg@gnu.org>
1414 * menu-bar.el (menu-bar-search-documentation-menu):
1415 Use `apropos-user-option' and fix the help message.
1417 2013-01-07 Bastien Guerry <bzg@gnu.org>
1419 * apropos.el (apropos-do-all): Update docstring.
1420 (apropos-user-option-button): New face.
1421 (apropos-user-option): Rename from `apropos-variable' and update
1423 (apropos-variable): Rewrite, now show all variables by default.
1424 (apropos-print): Mention "User option" instead of "Variable" when
1425 printing doc for user options. (Bug#13276)
1427 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1429 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1430 Handle filename correctly, when parsing "source -> target" symlink
1432 (tramp-adb-handle-set-file-times): New defun.
1434 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1436 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1437 advice list when the interactive-spec of ad-Advice-* changes.
1439 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1441 * wid-edit.el (widget-default-get): Work for inlined elements.
1444 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1446 * net/tramp.el (tramp-default-host-alist): New defcustom.
1447 (tramp-find-host): Use it.
1448 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1449 `eshell-directory-change-hook'.
1451 * net/tramp-adb.el (top): Add adb specific entry in
1452 `tramp-default-host-alist'.
1453 (tramp-adb-file-name-host): Remove function.
1454 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1455 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1457 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1459 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1461 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1463 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1465 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1466 consist of more than one digit.
1467 (tramp-adb-file-name-handler-alist):
1468 Use `tramp-handle-file-exists-p' consistently.
1469 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1470 (tramp-adb-handle-file-exists-p): Remove function.
1471 (tramp-adb-file-name-host): New defun.
1472 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1474 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1476 2013-01-06 Chong Yidong <cyd@gnu.org>
1478 * vc/vc.el (vc-next-action): Detect buffer modifications
1479 conflicting with locking VCS operation (Bug#11490).
1481 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1483 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1485 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1486 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1488 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1490 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1491 parsing of ls output using regular expression (handle filenames
1492 with spaces). Use virtual device number.
1493 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1496 2013-01-04 Daiki Ueno <ueno@gnu.org>
1498 * epg.el: Silence byte-compiler warnings.
1499 (epg--start): Use delete-char instead of delete-backward-char.
1500 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1502 2013-01-04 Daiki Ueno <ueno@gnu.org>
1504 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1505 Suggested by Eli Zaretskii <eliz@gnu.org>.
1507 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1509 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1510 non-negative integers. Otherwise, the default values are used.
1511 (tramp-convert-file-attributes): Convert uid and gid to integers.
1513 2013-01-04 Glenn Morris <rgm@gnu.org>
1515 * term.el (term-handle-colors-array): Ensure face attributes
1516 are fully specified, not nil. (Bug#13337)
1518 * term.el (term-default-fg-color, term-default-bg-color):
1521 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1522 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1523 rather than 'jka-compr being loaded. (Bug#13338)
1525 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1527 * icomplete.el (icomplete-completions):
1528 Honor icomplete-prospects-height once more following
1529 2012-11-29 changes. (Bug#13224)
1531 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1533 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1534 of called-interactively-p as well (bug#13237).
1536 * view.el (view--enable, view--disable): Rename from view-mode-enable
1537 and view-mode-disable and assume it's called from view-mode.
1538 (view-mode-enable, view-mode-disable): Redefine as obsolete
1539 compatibility layer above view-mode.
1540 (view-mode-enter): Call `view-mode'.
1542 * files.el (after-find-file): Call `view-mode'.
1544 * doc-view.el (doc-view-scale-internally): New var.
1545 (doc-view-enlarge, doc-view-insert-image): Obey it.
1547 2013-01-03 Daiki Ueno <ueno@gnu.org>
1549 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1552 2013-01-03 Glenn Morris <rgm@gnu.org>
1554 * mail/rmail.el (rmail-set-header-1): Ignore case.
1555 Handle multi-line headers. (Bug#13330)
1557 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1558 Handle paragraph starting at beginning of buffer.
1560 * subr.el (eval-after-load): Don't purecopy the form, so that it
1561 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1563 * emacs-lisp/byte-run.el (defun): Place cl declarations
1564 after any interactive spec. (Bug#13265)
1566 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1568 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1569 defun. Don't check for DECL if DOCSTRING isn't a string.
1572 2013-01-02 Glenn Morris <rgm@gnu.org>
1574 * eshell/em-cmpl.el (eshell-pcomplete):
1575 More thoroughly imitate pcomplete. (Bug#13293)
1577 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1578 Return nil for empty path elements. (Bug#13296)
1580 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1582 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1583 order to improve efficiency (Based on Daniel Colascione's
1584 <dancol@dancol.org> patch). (Bug#13182)
1586 2013-01-02 Glenn Morris <rgm@gnu.org>
1588 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1590 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1592 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1593 neither DOCSTRING nor DECL was given. (Bug#13316)
1595 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1597 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1599 (tramp-do-copy-or-rename-file): Ignore errors when calling
1600 `set-file-extended-attributes'.
1602 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1603 Add handler for `file-acl'.
1604 (tramp-smb-handle-file-acl): New defun.
1606 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1608 * calc/README: Mention ISO 8601 week-numbering dates.
1610 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1612 * view.el (view-mode-enable): New argument run-view-mode-hook.
1613 Run view-mode-hook only when it's non-nil (Bug#13315).
1614 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1617 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1619 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1620 (No device connected, invalid device name). (Bug #13299)
1622 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1624 * window.el (window-resizable--p): Rename to window-resizable-p.
1625 (window-resize-no-error): New function.
1627 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1628 broken in fix from 2012-12-28.
1630 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1632 * subr.el (special-form-p): Don't signal errors on undef aliases.
1634 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1636 * calc/calc-forms.el (math-parse-date): Try using
1637 `math-parse-iso-date' when it looks like it might be needed.
1638 Allow times of 24:00.
1639 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1642 2012-12-30 Glenn Morris <rgm@gnu.org>
1644 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1645 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1646 (rmail-summary-displayed, rmail-summary): Declare.
1647 (mairix-rmail-display): Just require rmail.
1649 2012-12-30 Chong Yidong <cyd@gnu.org>
1651 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1652 check for the tarball contents.
1654 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1656 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1657 tarfile content listings (Bug#13136).
1659 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1661 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1662 Insert the undecoded text of the message being forwarded. (Bug#9521)
1664 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1666 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1667 integers, if they are real numbers. (Bug#13282)
1669 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1670 Return `t' on success.
1672 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1673 Add handler for `set-file-selinux-context'.
1675 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1677 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1678 (tramp-sh-handle-set-file-acl): Return `t' on success.
1680 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1682 * files.el (backup-buffer-copy, basic-save-buffer-2):
1683 If set-file-extended-attributes fails, fall back on set-file-modes
1684 instead of signaling an error. (Bug#13298)
1685 (basic-save-buffer): Likewise.
1687 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1689 * progmodes/python.el: Support other commands triggering
1690 python-indent-line so indentation cycling continues to work.
1691 (python-indent-trigger-commands): New defcustom.
1692 (python-indent-line): Use it.
1694 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1696 * progmodes/python.el (python-shell-send-region): Add blank lines
1697 for non sent code so backtraces remain correct.
1699 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1701 * progmodes/python.el: Remove cl dependency.
1702 (python-syntax-count-quotes): Replace incf call.
1703 (python-fill-string): Replace setf call.
1705 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1707 * info.el (info-other-window): New arg, for consistency with info.
1709 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1711 * mail/rmail.el (rmail-maybe-display-summary):
1712 Rewrite (Bug#13066).
1714 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1716 * epg.el (epg--start): Modify process-environment locally.
1718 2012-12-28 Daiki Ueno <ueno@gnu.org>
1720 * epg.el: Support pinentry-curses.
1721 Suggested by Werner Koch in
1722 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1723 (epg-agent-file, epg-agent-mtime): New variable.
1724 (epg--start): Record the modified time of gpg-agent socket file,
1725 to restore Emacs frame after pinentry-curses termination.
1726 (epg-wait-for-completion): Restore Emacs frame here.
1728 2012-12-27 Juri Linkov <juri@jurta.org>
1730 * info.el (Info-file-completions): New variable.
1731 (Info-read-node-name-1): Complete node names in the Info file
1732 when a file name is given. Call `Info-build-node-completions'
1734 (Info-build-node-completions): Add new arg `file'. When it is
1735 non-nil, visit it in a temporary buffer and cache its completions in
1736 `Info-current-file-completions'. Move most of the function body to
1737 `Info-build-node-completions-1'.
1738 (Info-build-node-completions-1): New function with the body from
1739 `Info-build-node-completions'. (Bug#12456)
1741 2012-12-27 Juri Linkov <juri@jurta.org>
1743 * frame.el (frame-maximization-style): Remove user option.
1744 (cycle-frame-maximized): Remove function.
1745 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1746 (toggle-frame-fullscreen): New command bound to <f11> instead of
1747 `toggle-frame-maximized'.
1748 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1750 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1752 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1754 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1755 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1756 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1757 for `file-accessible-directory-p'. (Bug#13275)
1759 2012-12-27 Sam Steingold <sds@gnu.org>
1761 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1762 continuations, see <http://stackoverflow.com/questions/3582436>.
1764 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1766 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1767 "module" and "def" to have indentation before them.
1768 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1770 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1772 2012-12-27 Alan Mackenzie <acm@muc.de>
1774 Speed up fontification where there's large brace blocks.
1775 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1776 to a call of c-beginning-of-decl-1.
1778 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1780 * comint.el (comint-adjust-window-point): New function.
1781 (comint-postoutput-scroll-to-bottom):
1782 Call comint-adjust-window-point (Bug#13248).
1784 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1786 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1788 (auto-mode-alist): Associate .gemspec files with ruby-mode
1789 (https://bugs.ruby-lang.org/issues/5453).
1791 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1793 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1794 Suppress coloring, if possible (required for BusyBox based systems like
1796 (tramp-adb-handle-file-attributes)
1797 (tramp-adb-handle-insert-directory)
1798 (tramp-adb-handle-file-name-all-completions): Use it.
1799 (tramp-adb-get-toolbox): New defun. Check for remote shell
1800 implementation (BusyBox or Toolbox).
1802 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1804 * startup.el (initial-buffer-choice): Allow function as value
1806 (command-line-1): Handle case where initial-buffer-choice
1807 specifies a function.
1808 * server.el (server-execute): Handle case where
1809 initial-buffer-choice specifies a function.
1811 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1813 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1815 (smtpmail-try-auth-methods): Forget the user name/password if the
1816 login is unsuccessful (bug#12424).
1818 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1820 * notifications.el (notifications-notify): Protect body with
1821 `with-demoted-errors'.
1823 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1824 Check properties of remote device. Restart connection, if there is a
1827 2012-12-21 Chong Yidong <cyd@gnu.org>
1829 * sort.el (sort-subr): Doc fix (Bug#13056).
1831 2012-12-21 Bastien Guerry <bzg@gnu.org>
1833 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1835 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1837 * simple.el (process-file): Overwrite stderr file, if exists.
1839 2012-12-21 Daiki Ueno <ueno@gnu.org>
1841 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1842 (epg-error): Set `error-message' property.
1844 2012-12-21 Chong Yidong <cyd@gnu.org>
1846 * international/mule-cmds.el (read-char-by-name): Signal an error
1847 if the user does not supply a valid character (Bug#13177).
1849 * simple.el (transpose-subr-1): Preserve marker positions by
1850 changing the insertion sequence (Bug#13122).
1852 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1854 * simple.el (kill-region): Deactivate mark even for empty regions
1857 2012-12-21 Chong Yidong <cyd@gnu.org>
1859 * help-fns.el (describe-variable): Make sure we get the right
1860 buffer name (Bug#13105). Suggested by Kelly Dean.
1862 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1864 * comint.el (comint-redirect-previous-input-string): New variable.
1865 (comint-redirect-setup, comint-redirect-cleanup)
1866 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1867 (comint-redirect-preoutput-filter): Fix verbose message.
1869 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1871 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1872 is too long for Tramp. See discussion in
1873 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1875 * progmodes/compile.el (compilation-start): Remove line escape
1878 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1880 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1883 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1885 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1886 following non-comment text (bug#13207).
1887 (lm-header-multiline): Continuation lines need to be indented more than
1889 (lm-homepage): New function.
1890 (lm-with-file): Don't be confused if narrowing is in effect.
1892 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1894 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1895 very beginning of a hunk (e.g. killing the first line).
1897 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1899 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1900 and text properties from returned ACL string.
1901 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1902 for "setfacl" command.
1904 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1906 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1907 `tramp-cleanup-this-connection', when the process has died.
1910 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1914 2012-12-17 Kevin Ryde <user42@zip.com.au>
1916 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1918 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1920 Add support for preserving ACL entries of files.
1922 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1923 `set-file-acl' handlers.
1925 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1926 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1928 * net/tramp-compat.el (tramp-compat-copy-file):
1929 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1931 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1932 Add `file-acl' and `set-file-acl' handlers.
1933 (tramp-gvfs-handle-copy-file):
1934 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1935 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1938 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1939 Add `file-acl' and `set-file-acl' handlers.
1940 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1941 (tramp-sh-handle-set-file-acl): New defuns.
1942 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1943 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1945 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1946 Add `file-acl' and `set-file-acl' handlers.
1947 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1949 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1951 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1952 use pop-to-buffer with NORECORD argument t. As buffer name, use
1953 *Metahelp* with a leading space (Bug#13190).
1955 2012-12-16 Romain Francoise <romain@orebokech.com>
1957 * files.el (file-extended-attributes)
1958 (set-file-extended-attributes): New functions.
1959 (backup-buffer): Use them to handle both SELinux context and ACL
1961 (backup-buffer-copy): Work with an alist of extended attributes,
1962 rather than an SELinux context.
1963 (basic-save-buffer-2): Ditto.
1965 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1967 * battery.el (battery-bsd-apm): New function.
1969 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1971 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1972 standard date formats.
1974 2012-12-15 Juri Linkov <juri@jurta.org>
1976 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1977 `isearch-insert-char-by-name'.
1978 (with-isearch-suspended): New defmacro with body mostly from
1979 `isearch-edit-string' except the part that sets
1980 `isearch-new-string' and `isearch-new-message'.
1981 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1982 body that sets `isearch-new-string' and `isearch-new-message'.
1983 (isearch-insert-char-by-name): New command.
1984 * international/mule-cmds.el (read-char-by-name): Let-bind
1985 `enable-recursive-minibuffers' to t.
1986 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1988 2012-12-15 Juri Linkov <juri@jurta.org>
1990 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1993 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1995 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1996 the prompt. (Bug#13045)
1998 2012-12-14 Glenn Morris <rgm@gnu.org>
2000 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2001 Try to include filename in non-bytecomp warning. (Bug#13132)
2003 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2005 Fix permissions bugs with setgid directories etc. (Bug#13125)
2006 * files.el (backup-buffer): Don't rely on 9th output of
2007 file-attributes, as it's now a placeholder. Instead, use the new
2008 optional arg of file-ownership-preserved-p.
2009 (file-ownership-preserved-p): New optional arg GROUP.
2010 Fix mishandling of setuid directories that would cause this
2011 function to return t when it should have returned nil.
2012 Document what happens if the file does not exist, and when
2013 it's not known whether the ownership will be preserved.
2014 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2016 (tramp-get-local-gid): Use group-gid for integer, as that's
2017 faster and more reliable.
2019 2012-12-14 Julien Danjou <julien@danjou.info>
2021 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2022 Update keywords list, data type and PL/pgSQL.
2024 2012-12-14 Dave Abrahams <dave@boostpro.com>
2026 * vc/ediff-util.el (ediff-buffer-type): New function.
2027 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2028 rather than taking it as as argument.
2029 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2031 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2033 * json.el: Add pretty-print option (bug#12634).
2034 (json-encoding-separator, json-encoding-default-indentation)
2035 (json--encoding-current-indentation, json-encoding-pretty-print)
2036 (json-encoding-lisp-style-closings): New vars.
2037 (json--with-indentation): New macro.
2038 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2039 (json-encode-array): Use it to obey json-encoding-pretty-print.
2040 (json-pretty-print-buffer, json-pretty-print): New commands.
2042 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2044 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2045 Extract `ruby-syntax-propertize-expansions'.
2046 (ruby-syntax-propertize-expansions): Only change syntax on
2047 certain string delimiters, to punctuation. This way the common
2048 functions like forward-word and thing-at-point still work.
2049 (ruby-match-expression-expansion): Improve readability.
2050 (ruby-block-contains-point): New function.
2051 (ruby-add-log-current-method): Handle several edge cases.
2053 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2055 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2056 unload-feature finishes even when aborting an ongoing edebug session.
2057 Also, do not worry about edebug-mode, unload-feature takes care of it.
2059 2012-12-13 Andreas Schwab <schwab@suse.de>
2061 * net/tls.el (tls-program): Update customize type.
2063 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2065 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2066 (edebug-setup-hook, cl-read-load-hooks): Use it.
2067 (edebug-unload-function): New function. (Bug#13163)
2069 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2071 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2072 Otherwise, there could be errors in autoloading. (Bug#13151)
2074 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2076 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2079 2012-12-13 Alan Mackenzie <acm@muc.de>
2081 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2082 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2083 around `forward-comment' not recognizing ^M as whitespace.
2085 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2087 * progmodes/python.el (python-skeleton-class)
2088 (python-skeleton-def): Do not add space after defun name.
2090 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2092 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2093 (cl--symbol-function): Remove (now that funbound is like nil).
2095 2012-12-12 Glenn Morris <rgm@gnu.org>
2097 * button.el (button--area-button-p): Fix typo.
2099 2012-12-12 Sam Steingold <sds@gnu.org>
2101 * frame.el (frame-maximization-style): New user option.
2102 (toggle-frame-maximized): Toggle frame maximization according to
2103 `frame-maximization-style', bound to <f11>.
2104 (cycle-frame-maximized): Cycle between all maximization styles and
2105 non-maximized frame, bound to shift-<f11>.
2107 2012-12-12 David Cadé <codename68@gmail.com>
2109 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2111 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2113 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2114 (eieio-override-prin1): Don't quote kewords and booleans.
2115 (object-write) <eieio-default-superclass>: Don't put closing parens
2116 on new line, avoid needless empty lines, align values that are objects
2117 with the slot keyword (instead of beginning on the same line).
2118 (eieio-list-prin1): Align value with slot keyword; increase
2119 eieio-print-depth before printing members of the list.
2121 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2123 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2124 a display text-property.
2125 (report-emacs-bug-hook): Don't bother deleting it any more.
2127 * hilit-chg.el (highlight-save-buffer-state): Delete.
2128 Use with-silent-modifications instead.
2129 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2131 * button.el: Handle buttons in display text-properties.
2132 (button--area-button-p, button--area-button-string):
2133 Use (STRING . STRING-POS) representation instead of just STRING.
2135 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2137 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2138 subdirectory be skipped.
2140 2012-12-11 Glenn Morris <rgm@gnu.org>
2142 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2144 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2145 Treat preprocessor lines embedded in continuations like comments.
2146 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2148 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2150 * calc/calc.el (calc-standard-date-formats): Add more date
2152 * calc/calc-forms.el (math-parse-iso-date): New function.
2153 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2154 (math-parse-iso-date-validate): Add extra error checking.
2155 (calc-date-notation): Add ability to access new date formats.
2157 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2159 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2160 font-lock as well as when there's no text-property.
2162 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2164 * hi-lock.el: Refine the choice of default face.
2165 (hi-lock-keyword->face): New function. Use it wherever we used
2167 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2168 (hi-lock--last-face): Remove var.
2169 (hi-lock--unused-faces): New var to replace it.
2170 (hi-lock-read-face-name): Use/maintain it.
2171 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2172 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2173 if it has another face.
2175 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2177 * subr.el (w32notify-handle-event): New function.
2178 (inotify-handle-event): Doc fix.
2180 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2182 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2184 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2186 * simple.el (just-one-space): Doc fix.
2188 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2190 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2192 2012-12-10 Le Wang <l26wang@gmail.com>
2194 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2195 narrowed buffer (bug#12361).
2197 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2199 * vc/vc-hooks.el (vc-state): Doc fix.
2201 2012-12-10 Glenn Morris <rgm@gnu.org>
2203 * mail/rmail.el (rmail-maybe-display-summary):
2204 Preserve buffer, in case select-window changes it. (Bug#13066)
2206 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2208 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2209 cl-load-hook where they belong.
2211 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2213 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2215 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2217 Parallelize byte compilation on MS-Windows.
2218 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2219 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2220 (WINS_BASIC): Define as concatenation of the above.
2221 (compile): Subdivide into 4 separate and independent jobs that can
2223 (compile0-CMD, compile0-SH): New targets for compiling
2224 COMPILE_FIRST files, which are prerequisites for the rest of the
2226 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2227 New targets for parallel compilation with cmd.exe.
2228 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2229 compiling under a Unixy shell.
2231 2012-12-09 Chong Yidong <cyd@gnu.org>
2233 * simple.el (set-mark-default-inactive): Delete this
2234 accidentally-introduced option.
2235 (set-mark-command, exchange-point-and-mark): Remove calls.
2237 2012-12-09 Glenn Morris <rgm@gnu.org>
2239 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2240 Respect a defcustom's :set function, if appropriate. (Bug#109)
2241 (eval-defun): Doc fix.
2243 2012-12-08 Juri Linkov <juri@jurta.org>
2245 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2246 (Info-fontify-node, Info-bookmark-make-record): Remove the
2247 file extension from Info-current-file (Bug#13016).
2249 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2252 point, still provide some default.
2253 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2254 names, since we don't use it right now. Actually return the list.
2255 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2257 2012-12-07 Chong Yidong <cyd@gnu.org>
2259 * novice.el (disabled-command-function): Remove a spurious help
2260 xref (Bug#13043). Suggested by Kelly Dean.
2262 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2263 syntax is specified (Bug#13025).
2265 * info.el (Info-set-mode-line): Remove the file extension from
2266 Info-current-file if there is one (Bug#13016).
2268 2012-12-07 Glenn Morris <rgm@gnu.org>
2270 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2271 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2272 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2273 and rmail-mime-decoded. (Bug#9841)
2275 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2276 (batch-unrmail, unrmail): Doc fixes.
2277 (unrmail): Respect unrmail-mbox-format.
2278 * mail/rmail.el (rmail-mbox-format): New option.
2279 (rmail-show-message-1): Respect rmail-mbox-format.
2281 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2283 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2285 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2287 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2288 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2289 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2290 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2291 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2292 (cl-progv): Don't rely on dynamic scoping to find the body.
2293 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2294 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2295 (cl-declaim): Use backquotes.
2296 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2297 Use "cl--" prefix for the object's tag.
2299 * ses.el: Use advice-add/remove.
2300 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2301 (copy-region-as-kill, yank): Use advice-add.
2302 (ses-unload-function): Use advice-remove.
2304 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2306 * button.el: Make them work in header-lines (bug#12817).
2307 (button-map): Add bindings for header-line and mode-line use.
2308 (button-get, button-put, button-label): `button' may now be a string.
2309 (button-activate): Don't make it a defsubst.
2310 (button--area-button-p, button--area-button-string): New functions.
2311 (make-text-button): Fix the return value when `beg' was a string.
2312 (push-button): Handle the mode-line case.
2314 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2316 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2317 (sql-signum): Remove. Use `cl-signum' instead.
2318 (sql-read-passwd): Remove; use read-passwd instread.
2319 (sql-get-login-ext): Use read-string.
2320 (sql-get-login): Use dolist and pcase.
2321 (sql--completion-table): Rename from sql-try-completion.
2322 Use complete-with-action.
2323 (sql-mode): Don't change abbrev-all-caps globally.
2324 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2325 (sql-postgres-completion-object): Initialize vars in their `let'.
2326 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2327 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2328 (sql-comint-interbase): Use a single append, without setq.
2329 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2331 * hi-lock.el: Rework the default face and the serialize regexp code.
2332 (hi-lock--auto-select-face-defaults): Remove.
2333 (hi-lock-string-serialize-serial): Remove.
2334 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2336 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2338 (hi-lock-set-pattern): Adjust accordingly.
2339 (hi-lock--regexps-at-point): Simplify accordingly.
2340 (hi-lock--auto-select-face-defaults): Remove.
2341 (hi-lock--last-face): New var to replace it.
2342 (hi-lock-read-face-name): Rewrite (bug#11095).
2343 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2345 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2347 * net/tramp.el (tramp-replace-environment-variables):
2348 Hide compiler warning.
2349 (tramp-file-name-for-operation): Remove `executable-find',
2350 `start-process', `call-process' and `call-process-region'.
2352 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2354 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2357 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2359 2012-12-06 Chong Yidong <cyd@gnu.org>
2361 * ffap.el (ffap-replace-file-component): Fix typo.
2363 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2365 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2366 fix open-paren-like token test (bug#12785).
2368 2012-12-06 Glenn Morris <rgm@gnu.org>
2370 * mail/rmailsum.el (rmail-new-summary): Tweak for
2371 rmail-maybe-display-summary changing buffer. (Bug#13066)
2373 2012-12-06 Juri Linkov <juri@jurta.org>
2375 * info.el (Info-fontify-node): Don't hide the last newline.
2378 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2380 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2381 so as to enable message-read-from-minibuffer to expand mail aliases.
2383 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2385 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2386 the `intangible' property.
2387 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2389 2012-12-05 Deniz Dogan <deniz@dogan.se>
2391 * net/rcirc.el (rcirc-urls): Update documentation.
2392 (rcirc-condition-filter): New function.
2393 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2394 and exclude consecutive duplicate URLs (Bug#6082).
2396 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2398 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2399 Check return code of copy command.
2401 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2402 Use group `tramp'. Add version.
2404 2012-12-05 Chong Yidong <cyd@gnu.org>
2406 * ffap.el (ffap-url-regexp): Don't require matching at front of
2408 (ffap-url-p): If only a substring matches, return that.
2409 (ffap-url-at-point): Use the return value of ffap-url-p.
2410 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2411 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2412 (ffap-guess-file-name-at-point): Likewise.
2413 (ffap-replace-file-component): Fix typo.
2415 * info.el (info-display-manual): Add existing Info buffers, whose
2416 files may not be in Info-directory-list, to the completion.
2417 (info--manual-names): New helper function.
2419 2012-12-05 Glenn Morris <rgm@gnu.org>
2421 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2422 New functions, for detecting and resolving conflicts. (Bug#10709)
2424 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2426 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2427 (hi-lock-auto-select-face-defaults): New buffer local variable.
2428 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2429 (hi-lock-unface-buffer): Prompt user with useful defaults.
2430 With prefix arg, unhighlight all hi-lock patterns in buffer.
2432 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2434 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2436 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2438 * Makefile.in (TRAMP_SRC):
2439 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2441 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2443 * net/tramp-adb.el: New package.
2445 2012-12-04 Chong Yidong <cyd@gnu.org>
2447 * terminal.el: Move to obsolete/.
2449 * longlines.el: Move to obsolete/.
2451 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2452 Remove code referring to longlines mode.
2454 2012-12-03 Juri Linkov <juri@jurta.org>
2456 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2458 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2460 * textmodes/ispell.el (ispell-init-process)
2461 (ispell-start-process, ispell-internal-change-dictionary):
2462 Make sure personal dictionary name is expanded after initial
2463 `default-directory' value. Use expanded strings for
2464 keep/restart checks and for value (Bug#13019).
2466 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2468 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2470 2012-12-03 Leo Liu <sdl.web@gmail.com>
2472 * files.el (dir-locals-read-from-file): Check file non-empty
2473 before reading. (Bug#13038)
2475 2012-12-03 Glenn Morris <rgm@gnu.org>
2477 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2478 Remove any version extension before checking filename. (Bug#13006)
2479 (jka-compr-compression-info-list): Belated :version bump.
2481 2012-12-03 Chong Yidong <cyd@gnu.org>
2483 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2485 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2486 (buffer-menu): Doc fix (Bug#12294).
2488 2012-12-03 Roland Winkler <winkler@gnu.org>
2490 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2491 of diary-show-all-entries in the diary buffer (Bug#12994).
2493 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2495 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2496 "<STDIN>". This is binary safe.
2498 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2500 * calc/calc-forms.el (math-absolute-from-iso-dt)
2501 (math-date-to-iso-dt, math-parse-iso-date-validate)
2502 (math-iso-dt-to-date): New functions.
2503 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2504 (math-fd-isoweekday): New variables.
2505 (calc-date-notation, math-parse-standard-date, math-format-date)
2506 (math-format-date-part): Add support for more formatting codes.
2508 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2510 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2511 current buffer's file name when called interactively (Bug#12488).
2513 2012-12-02 Juri Linkov <juri@jurta.org>
2515 * info.el (info-display-manual): Don't clobber an existing Info
2516 buffer (Bug#10770). Add completion (Bug#10771).
2518 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2520 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2521 before using it for comparison (Bug#5297).
2523 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2525 * textmodes/css-mode.el (css-current-defun-name): New function.
2528 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2529 (html-mode): Use it.
2531 2012-12-01 Chong Yidong <cyd@gnu.org>
2533 Modularize add-log-current-defun (Bug#2224).
2534 Suggested by Jari Aalto.
2536 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2537 (add-log-current-defun): Move mode-specific code to other files.
2538 (add-log-lisp-like-modes, add-log-c-like-modes)
2539 (add-log-tex-like-modes): Variables deleted.
2541 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2542 (lisp-mode-variables): Use it.
2544 * progmodes/cc-mode.el (c-common-init):
2545 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2546 add-log-current-defun-function.
2548 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2551 * progmodes/perl-mode.el (perl-current-defun-name): New.
2552 (perl-mode): Use it.
2554 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2555 Use lisp-current-defun-name.
2557 * textmodes/tex-mode.el (tex-current-defun-name): New.
2558 (tex-common-initialization): Use it.
2560 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2561 (texinfo-mode): Use it.
2563 2012-12-01 Chong Yidong <cyd@gnu.org>
2565 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2566 * progmodes/autoconf.el (autoconf-mode):
2567 * progmodes/js.el (js-mode):
2568 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2569 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2570 * progmodes/perl-mode.el (perl-mode):
2571 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2572 * textmodes/css-mode.el (css-mode):
2573 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2574 (sgml-tags-invisible, sgml-guess-indent):
2575 * textmodes/tex-mode.el (tex-common-initialization)
2576 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2577 (doctex-mode, plain-tex-mode, latex-mode):
2578 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2580 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2582 * vc/vc-hg.el (vc-hg-next-revision):
2583 Ensure use of default "tip" output format. (Bug#6968)
2585 2012-12-01 Kim F. Storm <storm@cua.dk>
2587 * startup.el (fancy-startup-tail): Add a clickable link
2590 2012-12-01 Chong Yidong <cyd@gnu.org>
2592 * startup.el (fancy-startup-tail): Improve the message about
2593 auto-save files (Bug#2176).
2595 * files.el (recover-session): Improve the descriptive message, and
2596 use substitute-command-keys.
2598 2012-12-01 Glenn Morris <rgm@gnu.org>
2600 * ido.el (ido-file-internal):
2601 Handle other-window, other-frame for dired. (Bug#13036)
2603 2012-11-30 Glenn Morris <rgm@gnu.org>
2605 * icomplete.el (icomplete-separator): Fix :version.
2607 2012-11-30 Chong Yidong <cyd@gnu.org>
2609 * shell.el (shell): For C-u M-x shell, use an inactive shell
2610 buffer as the default (Bug#1975).
2611 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2612 (shell-mode): Use them to reapply ansi colorization if Shell mode
2615 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2617 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2619 2012-11-30 Samuel Bronson <naesten@gmail.com>
2621 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2622 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2624 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2626 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2627 by move-to-column (Bug#3234).
2629 2012-11-30 Chong Yidong <cyd@gnu.org>
2631 * longlines.el (longlines-wrap-line, longlines-encode-region):
2632 Preserve text properties (Bug#1425).
2634 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2636 * vc/vc.el (vc-register): Allow registering a file which is
2637 already registered with a different backend (Bug#10589).
2639 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2640 Stefan Monnier <monnier@iro.umontreal.ca>
2642 * icomplete.el: Change separator; add ido-style commands.
2643 (icomplete-show-key-bindings): Remove custom var.
2644 (icomplete-get-keys): Remove function.
2645 (icomplete-forward-completions, icomplete-backward-completions):
2647 (icomplete-minibuffer-map): New var.
2648 (icomplete-minibuffer-setup): Use it.
2649 (icomplete-exhibit): Don't delay if the list of completions is known.
2650 (icomplete-separator): New custom.
2651 (icomplete-completions): Use it.
2652 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2653 (minibuffer-force-complete-and-exit): New command.
2654 (minibuffer--complete-and-exit): New function extracted from
2655 minibuffer-complete-and-exit.
2656 (minibuffer-complete-and-exit): Use it.
2658 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2659 error message when the file doesn't exist (bug#12974).
2661 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2663 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2665 2012-11-29 Glenn Morris <rgm@gnu.org>
2667 * files.el (hack-dir-local-variables): Warn if try to set
2668 coding via dir-locals, since it doesn't work. (Bug#7169)
2670 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2671 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2672 Set buffer-local value of desktop-save-buffer.
2673 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2675 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2676 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2678 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2679 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2681 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2684 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2686 * calc/calc-forms.el (calc-date-notation): Fix regexp
2687 used to find time codes. Fix symbol for seconds.
2689 2012-11-27 Glenn Morris <rgm@gnu.org>
2691 * emacs-lisp/derived.el (derived-mode-make-docstring):
2692 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2694 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2696 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2697 lexically scoped variables (bug#13005).
2699 2012-11-27 Glenn Morris <rgm@gnu.org>
2701 * vc/vc-hooks.el (vc-mistrust-permissions):
2702 Default to t, to avoid data-loss. (Bug#11490)
2704 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2706 * progmodes/python.el (python-indent-guess-indent-offset):
2707 If indentation is guessed make python-indent-offset buffer-local.
2709 Fix Imenu regression.
2710 * progmodes/python.el (python-nav-beginning-of-defun):
2711 Fix forward movement when statement(s) separates point from defun.
2712 (python-imenu-prev-index-position): New function.
2714 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2716 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2718 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2719 Don't set buffer-file-type. Return nil. (Bug#12989)
2721 2012-11-27 Glenn Morris <rgm@gnu.org>
2723 * hippie-exp.el (hippie-expand-try-functions-list):
2724 Re-autoload it. (Bug#12982)
2726 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2728 * descr-text.el (describe-char-padded-string):
2729 Call internal-char-font only on GUI frames. (Bug#11964)
2731 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2733 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2734 and obsoletion message.
2736 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2738 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2739 the constructs to keep outside of the `cl-block' (bug#12977).
2741 2012-11-27 Chong Yidong <cyd@gnu.org>
2743 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2744 keep reading until we get the up-event anyway, in order to process
2745 the up-event for mouse-1-click-follows-link (Bug#12971).
2747 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2749 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2750 base function is not yet defined (bug#12965).
2751 (ad-activate-advised-definition): Use ad-compile-function.
2752 (ad-activate): Use cond.
2754 2012-11-25 Leo Liu <sdl.web@gmail.com>
2756 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2759 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2761 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2762 reftex-section-info-function in order to be compatible with
2763 Texinfo integration.
2765 * textmodes/reftex.el (reftex-section-pre-regexp)
2766 (reftex-section-post-regexp, reftex-section-info-function):
2768 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2769 reftex-section-post-regexp, and reftex-section-info-function in order
2770 to be compatible with Texinfo integration.
2772 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2773 use reftex-section-pre-regexp variable in order to be compatible with
2774 Texinfo integration.
2776 2012-11-25 Chong Yidong <cyd@gnu.org>
2778 * faces.el: Make face-spec-set more analogous to setq.
2779 (face-spec-set): Change the third arg to specify whether this
2780 function is being called via defface, customize, or a third party.
2781 Set the appropriate symbol properties. Clear the override spec if
2782 setting via Custom. Initialize face if necessary. (Bug#4988)
2783 (face-spec-recalc): Allow theme faces to completely replace the
2784 defface spec, in the same way as custom faces (Bug#8454).
2786 * cus-face.el (custom-declare-face): Move face initialization to
2788 (custom-theme-set-faces): Don't initialize the face name here, as
2789 that is now done in face-spec-set.
2791 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2792 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2793 Simplify by using the new arg to face-spec-set.
2795 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2796 reset face-override-spec too, and use custom-declare-face.
2798 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2800 * term/ns-win.el (ns-initialize-window-system): Move creation of
2801 fontsets here (Bug#11964).
2803 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2805 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2808 2012-11-24 Chong Yidong <cyd@gnu.org>
2810 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2813 * custom.el (custom-theme-set-variables): Use a topological sort
2814 for ordering by custom dependencies (Bug#12952).
2815 (custom--sort-vars, custom--sort-vars-1): New functions.
2817 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2819 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2820 lexical-binding (bug#12938).
2822 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2824 * image-mode.el (image-transform-check-size): Use assertions only
2825 for images of type imagemagick.
2827 Otherwise no error, image-transform-fit-to-{width,height} is
2828 silently ignored, as before. Doc fix.
2830 2012-11-24 Chong Yidong <cyd@gnu.org>
2832 * faces.el (color-defined-p): Doc fix (Bug#12853).
2834 2012-11-24 Juri Linkov <juri@jurta.org>
2836 * dired.el (dired-mark): Add optional arg `interactive'.
2837 Check for `use-region-p' if `interactive' is non-nil.
2838 (dired-unmark, dired-flag-file-deletion): Add optional arg
2839 `interactive'. Call `dired-mark' with the arg `interactive'.
2842 * wdired.el: Revert 2012-10-17 change partly and replace it with
2843 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2844 (wdired-finish-edit): Add marks for new file names to
2845 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2846 after `revert-buffer'.
2847 (wdired-do-renames): Remove calls to `dired-remove-file',
2848 `dired-add-file', `dired-add-entry'. (Bug#11795)
2850 2012-11-24 Alan Mackenzie <acm@muc.de>
2852 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2854 Fix bugs in the state cache. Enhance a debugging mechanism.
2855 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2856 "brace at column zero" strategy for C++.
2857 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2858 (c-parse-state-point): New variable.
2859 (c-record-parse-state-state): Record old parse state with
2860 `copy-tree'. Record previous value of point.
2861 (c-debug-parse-state-double-cons): New debugging function.
2862 (c-debug-parse-state): Call the above new function.
2863 (c-toggle-parse-state-debug): Output a confirmatory message.
2865 * progmodes/cc-mode.el (c-before-change, c-after-change):
2866 Call c-invalidate-state-cache from `c-before-change' instead of
2869 2012-11-23 Chong Yidong <cyd@gnu.org>
2871 * find-cmd.el (find-constituents): Add executable, ipath,
2872 readable, samefile, writable, daystart, regextype (Bug#12856).
2874 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2876 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2878 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2880 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2881 definition. This fixes a bootstrap failure.
2882 (calc-gregorian-switch): In menu, put dates before regions.
2883 This is easier to follow, lines up better in the menu, and lets us
2884 coalesce regions that switch at the same time. Give country
2885 names, not "Vatican", as that's better for non-expert users.
2886 Use names that are stable between the date of switch and now, e.g.,
2887 Bohemia and Moravia (which existed then and now) and not
2888 Czechoslovakia (which didn't exist then and doesn't exist now).
2889 What is now the U.S. mostly did not switch at the same time as
2890 Britain, so omit the U.S. Correct spelling of "Britain".
2891 Catholic Switzerland was too much of a mess, so omit it.
2893 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2895 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2896 after the variable is changed.
2898 2012-11-21 Daniel Colascione <dancol@dancol.org>
2900 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2901 in SQL declarations for font-lock.
2902 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2904 2012-11-21 Glenn Morris <rgm@gnu.org>
2906 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2907 (face-italic-p): Add optional argument "inherit".
2909 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2910 Remove -p suffix from names, for consistency with other set-face-*.
2911 (set-face-inverse-video): Fix interactive spec.
2912 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2913 * textmodes/table.el (table--update-cell-face):
2914 Use set-face-inverse-video rather than now obsolete alias.
2916 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2918 * simple.el (line-move): Don't call line-move-partial if
2919 scroll-conservatively is in effect. (Bug#12927)
2921 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2923 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2924 Fallback on completion-at-point rather than
2925 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2926 (eshell-cmpl-initialize): Setup completion-at-point.
2928 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2930 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2932 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2934 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2935 are remote, check out-of-band property for both.
2937 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2939 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2942 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2944 More minor time fixes.
2945 * calendar/time-date.el: Commentary fix.
2946 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2947 too much other code depends on (0 0) time stamps.
2948 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2949 Add a couple of FIXME comments.
2951 Minor cleanup for times as lists of four integers.
2952 * files.el (dir-locals-directory-cache):
2953 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2955 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2956 * ps-bdf.el (bdf-file-newer-than-time):
2957 Process four-integers time stamps, not two. Doc fixes.
2959 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2961 * uniquify.el (uniquify-managed): Use defvar-local.
2962 (rename-buffer, create-file-buffer): Advise with advice-add.
2963 (uniquify-unload-function): Unadvise accordingly.
2965 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2966 (trace-buffer): Don't purecopy.
2967 (trace-entry-message, trace-exit-message): Add `context' arg.
2968 (trace--timer): New var.
2969 (trace-make-advice): Adjust for use in nadvice.
2970 Add `context' argument. Delay `display-buffer' via a timer.
2971 (trace-function-internal): Use advice-add.
2972 (trace--read-args): New function.
2973 (trace-function-foreground, trace-function-background): Use it.
2974 (trace-function): Rename to trace-function-foreground and redefine as
2975 an alias to that new name.
2976 (untrace-function, untrace-all): Adjust to the use of nadvice.
2978 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2980 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2982 * subr.el (called-interactively-p-functions): New var.
2983 (internal--called-interactively-p--get-frame): New macro.
2984 (called-interactively-p, interactive-p): Rewrite in Lisp.
2985 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2986 (called-interactively-p-functions): Use it.
2987 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2988 (called-interactively-p-functions): Use it.
2989 * allout.el (allout-called-interactively-p): Don't assume
2990 called-interactively-p is a subr.
2992 2012-11-20 Glenn Morris <rgm@gnu.org>
2994 * profiler.el (profiler-report-mode-map): Add a menu.
2995 No need to bind `q' because we derive from special-mode.
2996 (profiler-report-find-entry): Handle calls from the menu-bar.
2998 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3000 * emacs-lisp/byte-run.el (defun-declarations-alist):
3001 Allow a compiler-macro to be a lambda expression.
3003 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3005 (python-syntax-context): Add compiler-macro.
3006 (python-font-lock-keywords): Simplify with De Morgan.
3008 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3010 * files.el (load-file): Require match in minibuffer selection, as was
3011 the case in Emacs-20 before we changed the spec to allow .elc files
3014 * json.el: Don't require cl since we don't use it.
3015 * color.el: Don't require cl.
3016 (color-complement): `caddr' -> `nth 2'.
3018 * calendar/time-date.el (time-to-seconds): De-obsolete.
3020 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3022 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3024 (math-date-to-julian-dt): Adjust the initial approximation for the
3025 year to deal with the new definition of the DATE.
3027 2012-11-19 Daniel Colascione <dancol@dancol.org>
3029 * term/w32-win.el (cygwin-convert-path-from-windows):
3030 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3032 2012-11-18 Chong Yidong <cyd@gnu.org>
3034 * filecache.el (file-cache--read-list): New function.
3035 (file-cache-add-directory-list, file-cache-add-file-list)
3036 (file-cache-delete-file-list, file-cache-delete-directory-list):
3037 Use it to read a list of files or directories (Bug#12846).
3038 (file-cache-add-file, file-cache-add-directory)
3039 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3040 (file-cache-delete-directory): Print an message.
3042 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3044 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3045 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3047 2012-11-18 Glenn Morris <rgm@gnu.org>
3049 * image.el (insert-image, insert-sliced-image): Doc fix.
3051 2012-11-18 Chong Yidong <cyd@gnu.org>
3053 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3056 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3058 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3059 response when the target file is in a subdirectory (Bug#12757).
3061 2012-11-18 Chong Yidong <cyd@gnu.org>
3063 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3065 2012-11-18 Glenn Morris <rgm@gnu.org>
3067 * emacs-lisp/cl-lib.el (face-underline-p):
3068 Use set-face-underline rather than the alias set-face-underline-p.
3070 * window.el (with-temp-buffer-window): Doc fix.
3071 * subr.el (with-output-to-temp-buffer):
3072 Add doc xref to with-temp-buffer-window.
3074 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3076 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3077 * calc/calc.el (math-format-date-cache): Declare.
3079 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3081 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3082 It also uses January 1, 1 AD as its day number 1.
3083 * calc/calc-forms.el (math-julian-date-beginning)
3084 (math-julian-date-beginning-int): Implement this.
3086 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3088 * descr-text.el (quail-find-key):
3089 * dired.el (desktop-file-name):
3090 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3091 * generic-x.el (comint-mode, comint-exec):
3092 * image-dired.el (widget-forward):
3093 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3094 (speedbar-change-expand-button-char)
3095 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3096 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3097 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3098 (widget-field-action, widget-value-set):
3099 * speedbar.el (imenu--make-index-alist):
3100 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3101 (ring-length, ring-insert):
3102 * vcursor.el (compare-windows-skip-whitespace):
3103 * woman.el (dired-get-filename):
3106 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3108 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3110 * calc/calc.el (calc-gregorian-switch): New variable.
3112 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3113 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3114 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3115 (math-leap-year-p): Add option to distinguish between Julian
3116 and Gregorian calendars.
3117 (math-day-number): Use `math-day-in-year' to do the computations.
3118 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3119 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3120 to do the computations.
3121 (math-date-to-dt): Use `math-date-to-julian-dt' and
3122 `math-date-to-gregorian-dt' to do the computations.
3123 (calcFunc-weekday, math-format-date-part): Use the new version of
3124 the DATE to determine the weekday.
3125 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3128 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3130 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3131 Cygwin; otherwise use 'file:'. (Bug#12914)
3132 (cygwin-convert-path-from-windows): Declare, to avoid
3133 byte-compiler warnings.
3135 2012-11-17 Andreas Politz <politza@fh-trier.de>
3137 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3138 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3139 prefix and negative numeric prefix args (Bug#12795).
3141 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3143 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3144 Don't signal an error with a score that is too low to add to the
3145 list of top scores. (Bug#12779)
3147 2012-11-17 Chong Yidong <cyd@gnu.org>
3149 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3151 * filecache.el (file-cache-add-file): Handle relative file name in
3152 the argument (Bug#12694).
3154 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3156 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3158 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3160 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3162 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3164 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3166 * window.el (enlarge-window, shrink-window): Don't mention return
3167 value in doc-string (Bug#12896).
3168 (window--display-buffer): Don't resize frames - it won't work
3169 with all window managers and defeat pop-up-frame-alist.
3170 (display-buffer-alist): In doc-string explain that CONDITION can
3171 be a function and which arguments are passed to it (Bug#12854).
3172 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3173 expressions (Bug#12854).
3174 (display-buffer): Pass ACTION argument to
3175 display-buffer-assq-regexp.
3177 2012-11-16 Glenn Morris <rgm@gnu.org>
3179 * window.el (fit-frame-to-buffer-bottom-margin)
3180 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3182 * faces.el (face-underline-p): Use face-attribute-specified-or.
3184 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3186 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3188 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3190 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3192 2012-11-16 Glenn Morris <rgm@gnu.org>
3194 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3195 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3197 * faces.el (face-underline-p): Doc fix. Handle :underline being
3198 things other than `t' (a string, a list).
3199 (face-inverse-video-p): Doc fix.
3200 (set-face-underline): Rename it back from set-face-underline-p.
3201 Doc fix. Allow interactive input of values other than t.
3202 (read-face-attribute): Apply formatting to :underline,
3203 since like :box and :stipple it can take list values.
3205 * term.el (ansi-term): Don't let C-x escape-char binding
3206 clobber the more standard C-c binding. (Bug#12842)
3208 * subr.el (set-temporary-overlay-map): Doc fix.
3210 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3212 * window.el (record-window-buffer)
3213 (display-buffer-record-window): When copying the markers to
3214 window-point preserve window-point-insertion-type. (Bug#12588)
3216 2012-11-16 Glenn Morris <rgm@gnu.org>
3218 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3219 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3220 Use new names for hooks rather than obsolete aliases.
3222 2012-11-15 Daniel Colascione <dancol@dancol.org>
3224 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3225 prefix instead of "file:" so that when FILE-NAME begins with "//",
3226 as it does when the target file is on a network share, url-handler
3229 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3231 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3232 a preactivated advice from an old advice.el; they're not compatible!
3234 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3236 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3237 Fix string-spec case.
3239 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3241 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3243 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3244 (advice--buffer-local-function-sample): New var.
3245 (advice--set-buffer-local, advice--buffer-local): New functions.
3246 (add-function, remove-function): Use them.
3248 2012-11-15 Drew Adams <drew.adams@oracle.com>
3250 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3252 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3254 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3255 potential binding of print-gensym to t, and prettify (back)quotes in
3256 case they appear in args's default values (bug#12884).
3258 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3260 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3261 (advice-eval-interactive-spec): New function.
3262 (advice--make-interactive-form): Support around advice (bug#12844).
3264 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3266 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3267 more strict. Add docstring.
3268 (ruby-expression-expansion-re): Extract from
3269 `ruby-match-expression-expansion'.
3270 (ruby-syntax-propertize-function): After everything else, search
3271 for expansions in string literals, mark their insides as
3272 whitespace syntax and save match data for font-lock.
3273 (ruby-font-lock-keywords): Use the 2nd group from expression
3275 (ruby-match-expression-expansion): Use the match data saved to the
3276 text property in ruby-syntax-propertize-function.
3278 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3280 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3283 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3285 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3286 start/end keyword a bit harder. Works with different values of N.
3288 (ruby-end-of-block): Update accordingly.
3290 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3292 * woman.el (woman-file-name): Don't mess with unread-command-events
3295 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3296 Remove out of date self-require hack.
3297 (ad-do-advised-functions): Use simple `dolist'.
3298 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3299 (ad-advice-definition): Redefine as functions.
3300 (ad-advice-classes): Move before first use.
3301 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3302 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3303 (ad--defalias-fset): Remove functions.
3304 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3305 (ad-get-orig-definition): Rewrite.
3306 (ad-make-advised-definition-docstring): Change base docstring.
3307 (ad-real-orig-definition): Rewrite.
3308 (ad-map-arglists): Change name of called function.
3309 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3310 (ad-make-advised-definition): Simplify.
3311 (ad-assemble-advised-definition): Tweak for new calling context.
3312 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3313 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3314 function and call ad-activate if needed.
3315 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3316 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3317 (ad-compile-function): Compile ad-Advice-*.
3318 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3319 (ad-start-advice, ad-stop-advice): Remove.
3321 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3323 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3324 period before class method names, not after. Remove handling of
3325 one impossible case. Add comments.
3327 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3329 * emacs-lisp/advice.el: Remove support for freezing.
3330 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3331 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3332 Remove support for `freeze'.
3334 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3335 override the default.
3336 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3338 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3341 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3343 (advice--strip-macro): New function.
3344 (advice--defalias-fset): Use them to handle macros.
3345 (advice-add): Use them.
3346 (advice-member-p): Correctly handle macros.
3348 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3350 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3351 Never font-lock the beginning of singleton class as heredoc.
3353 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3355 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3357 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3359 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3360 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3361 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3363 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3365 Fix end-of-defun misbehavior.
3366 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3367 python-beginning-of-defun-function. Handle nested defuns
3369 (python-nav-end-of-defun): Rename from
3370 python-end-of-defun-function. Ensure forward movement.
3371 (python-info-current-defun): Reimplement to work as intended
3372 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3373 parent defuns as soon as possible.
3375 2012-11-13 Glenn Morris <rgm@gnu.org>
3377 * progmodes/flymake.el (flymake-error-bitmap)
3378 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3379 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3381 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3383 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3384 backward, always stop at indentation. Reverts the change from
3385 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3387 2012-11-13 Glenn Morris <rgm@gnu.org>
3389 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3390 Add ibuffer-filter-by-derived-mode.
3392 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3393 the same name shadowing each other.
3395 * window.el (with-temp-buffer-window): Doc tweak.
3397 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3399 * help.el (temp-buffer-max-height):
3400 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3401 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3403 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3405 * emacs-lisp/nadvice.el: New package.
3406 * subr.el (special-form-p): New function.
3407 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3408 (elp-all-instrumented-list): Remove var.
3409 (elp-not-profilable): Remove elp-wrapper.
3410 (elp-profilable-p): Use autoloadp and special-form-p.
3411 (elp--advice-name): New const.
3412 (elp-instrument-function): Use advice-add.
3413 (elp--instrumented-p): New predicate.
3414 (elp-restore-function): Use advice-remove.
3415 (elp-restore-all, elp-reset-all): Use mapatoms.
3416 (elp-set-master): Use elp--instrumented-p.
3417 (elp--make-wrapper): Rename from elp-wrapper, return a function
3418 suitable for advice-add. Use cl-inf.
3419 (elp-results): Use mapatoms+elp--instrumented-p.
3420 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3421 (debug-function-list): Remove var.
3422 (debug): Rename arg, and then let-bind it explicitly inside.
3423 (debugger-setup-buffer): Rename arg.
3424 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3425 (debugger-frame-number): Adjust to new debug-on-entry setup.
3426 (debug--implement-debug-on-entry): Rename from
3427 implement-debug-on-entry, add argument.
3428 (debugger-special-form-p): Remove, use special-form-p instead.
3429 (debug-on-entry): Use advice-add.
3430 (debug--function-list): New function.
3431 (cancel-debug-on-entry): Use it, along with advice-remove.
3432 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3433 (debugger-list-functions): Use debug--function-list instead of
3434 debug-function-list.
3435 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3436 (ad-special-form-p): Remove, use special-form-p instead.
3437 (ad-set-advice-info): Use add-function and remove-function.
3438 (ad--defalias-fset): Adjust accordingly.
3440 2012-11-10 Glenn Morris <rgm@gnu.org>
3442 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3443 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3444 (report-emacs-bug-create-existing-bugs-buffer)
3445 (report-emacs-bug-parse-query-results)
3446 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3448 * term.el (term-default-fg-color, term-default-bg-color):
3449 Make obsolete, rather than just saying "deprecated" in the doc.
3451 * term.el (term): Rename from `term-face'.
3452 (term-current-face, ansi-term-color-vector)
3453 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3456 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3458 * server.el (server-create-window-system-frame): Handle Nextstep
3459 specially (Bug#12780).
3461 2012-11-10 Glenn Morris <rgm@gnu.org>
3463 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3464 Unautoload, and make obsolete. (Bug#7449)
3466 2012-11-10 Chong Yidong <cyd@gnu.org>
3468 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3469 rename from diff-remove-trailing-whitespace (Bug#12831).
3471 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3473 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3474 miscompilation of trace.el.
3476 2012-11-10 Glenn Morris <rgm@gnu.org>
3478 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3480 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3482 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3485 2012-11-10 Chong Yidong <cyd@gnu.org>
3487 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3488 a defcustom with an appropriate :set function.
3489 (minibuffer-default--in-prompt-regexps): New function.
3491 2012-11-10 Glenn Morris <rgm@gnu.org>
3493 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3494 (define-modify-macro): Doc fixes.
3496 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3497 (gv-define-simple-setter): Update doc of `fix-return'.
3499 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3501 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3502 twice when `fix-return' is set (bug#12813).
3504 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3505 gv-define-simple-setter (bug#12812).
3507 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3510 2012-11-10 Glenn Morris <rgm@gnu.org>
3512 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3514 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3515 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3516 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3517 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3519 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3521 2012-11-10 Leo Liu <sdl.web@gmail.com>
3523 * ido.el (ido-set-matches-1): Improve flex matching performance by
3524 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3526 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3528 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3529 (ad--defalias-fset): New function.
3530 (ad-safe-fset): Remove.
3531 (ad-make-freeze-definition): Use cl-letf*.
3533 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3535 * subr.el (dolist): Don't bind VAR in RESULT.
3537 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3538 (fset, documentation): Don't save real def since we don't advise.
3539 (ad-do-advised-functions): Remove problematic `result-form'.
3540 (ad-safe-fset): `ad-real-fset' => `fset'.
3541 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3542 uses CL's dolist internally.
3543 (ad-arglist): Remove unused arg `name'.
3544 (ad-docstring, ad-make-advised-docstring):
3545 `ad-real-documentation' => `documentation'.
3546 (warning-suppress-types): Declare.
3547 (ad-set-arguments): Simple CSE.
3548 (ad-recover-normality): Sanity check.
3550 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3551 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3553 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3555 * ses.el: symbol to coordinate mapping is made by symbol property
3556 `ses-cell'. This means that the same mapping is done for all SES
3557 sheets. That is good enough for cells with standard A1 names, but
3558 not for named cell. So a hash map is added for the latter.
3559 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3560 (ses-sym-rowcol): Use hashmap for named cell.
3561 (ses-is-cell-sym-p): New defun.
3562 (ses-decode-cell-symbol): New defun.
3563 (ses-create-cell-variable): Add cell to hashmap when name is not
3565 (ses-rename-cell): Check that cell new name is not already in
3566 spreadsheet with the use of ses-is-cell-sym-p
3567 (ses-rename-cell): Use hash map for named cells, but accept also
3568 renaming back to A1-like.
3570 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3572 * emacs-lisp/advice.el: Use new dynamic docstrings.
3573 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3574 Use dynamic-docstring-function instead of ad-advice-info.
3575 (ad--make-advised-docstring): New function extracted from
3576 ad-make-advised-docstring.
3577 (ad-make-advised-docstring): Use it.
3578 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3580 (sql-help): Use it with dynamic-docstring-function.
3582 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3584 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3586 * files.el (hack-one-local-variable--obsolete): New function.
3587 (hack-one-local-variable): Use it for obsolete settings.
3589 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3592 * progmodes/js.el (js--filling-paragraph): New var.
3593 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3594 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3597 2012-11-08 Julien Danjou <julien@danjou.info>
3599 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3600 `auto-mode-alist' (Bug#12835).
3602 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3604 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3605 (perl--prettify-symbols-alist): New const.
3606 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3608 (perl-font-lock-keywords-2): Use them.
3609 (perl-electric-noindent-p): New function.
3610 (perl-mode): Use it to set up electric-indent-mode.
3611 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3612 (perl-mode-map): Remove bindings for them.
3613 (perl-imenu-generic-expression, perl-outline-level):
3614 Match functions&packages in column>0.
3616 * env.el (env--substitute-vars-regexp): New const.
3617 (substitute-env-vars): Use it. Add `only-defined' arg.
3618 * net/tramp.el (tramp-replace-environment-variables): Use it.
3620 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3621 Byte-compile *before* eval in eval-and-compile.
3622 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3623 (byte-compile-file-form-autoload): Don't hide actual definition.
3624 (byte-compile-maybe-guarded): Accept `functionp' as well.
3626 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3628 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3630 * notifications.el (notifications-get-server-information-method):
3632 (notifications-get-capabilities): Fix docstring.
3633 (notifications-get-server-information): New defun.
3635 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3637 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3640 * textmodes/ispell.el: Experimental support for support debugging.
3641 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3643 (ispell-print-if-debug): New function to print stuff to
3644 `ispell-debug-buffer' if debugging is enabled.
3645 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3646 show some debugging info.
3647 (ispell-buffer-with-debug): New function that creates a debugging
3648 buffer and calls `ispell-buffer' with debugging enabled.
3650 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3651 comment in autoconf mode. (Bug#12768)
3653 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3655 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3656 frame-first-window, frame-root-window, frame-selected-window,
3657 minibuffer-selected-window, minibuffer-window,
3658 window-absolute-pixel-edges, window-at, window-body-height,
3659 window-body-width, window-display-table, window-combination-limit,
3660 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3661 window-inside-edges, window-inside-pixel-edges, window-left-child,
3662 window-left-column, window-margins, window-next-buffers,
3663 window-next-sibling, window-new-normal, window-new-total,
3664 window-normal-size, window-parameter, window-parameters, window-parent,
3665 window-pixel-edges, window-point, window-prev-buffers,
3666 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3667 window-start, window-text-height, window-top-child, window-top-line,
3668 window-total-height, window-total-width and window-use-time to the list
3669 of functions without side-effects.
3670 (toplevel): Add window-valid-p to the list of error-free functions
3671 without side-effects.
3673 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3675 * textmodes/ispell.el (ispell-program-name):
3676 Update spellchecker parameters when customized.
3678 2012-11-04 Glenn Morris <rgm@gnu.org>
3680 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3682 2012-11-04 Chong Yidong <cyd@gnu.org>
3684 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3685 same-window-* variables.
3687 2012-11-04 Juri Linkov <juri@jurta.org>
3689 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3690 (isearch-describe-key, isearch-describe-mode): Use a display
3691 action instead of binding same-window-* variables (Bug#10040).
3693 2012-11-03 Glenn Morris <rgm@gnu.org>
3695 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3696 Rename handler properties back from cl-- to cl-. (Bug#12788)
3698 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3700 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3702 * term/pc-win.el: Don't load term/internal from here.
3704 * loadup.el: Load term/internal from here.
3706 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3708 * progmodes/python.el (inferior-python-mode): Fix hang in
3709 jit-lock (Bug#12645).
3711 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3713 * window.el (switch-to-visible-buffer)
3714 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3716 2012-11-03 Glenn Morris <rgm@gnu.org>
3718 * emacs-lisp/cl-lib.el (cl--random-time):
3719 Rename from cl-random-time. (Bug#12773)
3720 (cl--gensym-counter, cl--random-state): Update callers.
3721 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3723 2012-11-03 Chong Yidong <cyd@gnu.org>
3725 * cus-start.el: Make cursor-type customizable (Bug#11633).
3727 2012-11-02 Glenn Morris <rgm@gnu.org>
3729 * filecache.el: No need to load find-lisp when compiling.
3730 (find-lisp-find-files): Autoload it.
3731 (file-cache-add-directory-recursively): Don't require find-lisp.
3733 * image.el (image-type-from-file-name): Trivial simplification.
3735 * emacs-lisp/bytecomp.el (byte-compile-eval):
3736 Decouple "noruntime" and "cl-functions" warnings.
3738 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3740 * play/gomoku.el (gomoku-display-statistics): Update mode line
3741 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3743 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3745 * window.el (quit-restore-window): If the window has been
3746 created on an existing frame and ended up as the sole window on
3747 that frame, do not delete it (Bug#12764).
3749 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3751 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3752 Rename from sh--inside-arithmetic-expression, handle more cases
3755 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3756 (sh-font-lock-open-heredoc): Use it (bug#12770).
3758 2012-10-30 Glenn Morris <rgm@gnu.org>
3760 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3762 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3764 2012-10-29 Chong Yidong <cyd@gnu.org>
3766 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3767 function key is stored in a keyboard macro (Bug#4894).
3769 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3771 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3773 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3775 (diff-unified->context, diff-context->unified)
3776 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3778 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3780 * files.el (find-alternate-file): Only ask one question (bug#12487).
3782 2012-10-29 Chong Yidong <cyd@gnu.org>
3784 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3785 Suggested by Dan Nicolaescu (Bug#6326).
3787 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3789 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3791 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3793 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3795 * face-remap.el (face-remap-add-relative): Handle the case where a
3796 face-remapping-alist entry is a cons cell (Bug#12762).
3798 2012-10-29 Kevin Ryde <user42@zip.com.au>
3800 * woman.el (woman-parse-numeric-value): Handle picas correctly
3803 2012-10-29 Glenn Morris <rgm@gnu.org>
3805 * emacs-lisp/cl.el (defsetf): Doc fix.
3807 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3809 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3810 syntax to the matching opener, if any (bug#12547).
3811 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3812 matching open as a "case-(".
3813 (sh-smie-rc-grammar): Add a corresponding rule for it.
3815 2012-10-28 Daniel Hackney <dan@haxney.org>
3817 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3818 "PKGNAME-autoloads.el" in case we created it.
3820 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3822 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3823 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3824 (completion--twq-all): Disable too-strict assertions.
3826 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3828 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3830 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3831 text to match the real keybindings.
3833 2012-10-27 Juri Linkov <juri@jurta.org>
3835 * wdired.el (wdired-keep-marker-rename): New defcustom.
3836 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3839 * dired.el (dired-keep-marker-rename): Add reference to
3840 `wdired-keep-marker-rename' in the docstring.
3841 Add default character value ?R to display initially in
3842 Customization UI instead of ?@.
3844 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3846 * window.el (display-buffer): In doc-string describe
3847 window-height and window-width alist entries.
3849 * time.el (display-time-world): Restore fit-window-to-buffer
3852 2012-10-27 Chong Yidong <cyd@gnu.org>
3854 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3856 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3858 * minibuffer.el (completion-category-overrides): New completion
3859 category `bookmark' (bug#11131).
3861 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3863 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3864 Silence bogus compiler warnings for ad-do-it.
3866 * bookmark.el (bookmark-completing-read): Set the completion category
3867 to `bookmark' (bug#11131).
3869 2012-10-26 Bastien <bzg@altern.org>
3870 Stefan Monnier <monnier@iro.umontreal.ca>
3872 * face-remap.el: Use lexical-binding.
3873 (text-scale-adjust): Improve docstring. Use itself for the temporary
3874 overlay-map bindings, so as to repeat the "Use..." message each time.
3876 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3878 * emacs-lisp/macroexp.el (macroexp--expand-all):
3879 Obey byte-compile-warning-enabled-p (bug#12486).
3881 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3882 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3884 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3886 * mouse.el (mouse-drag-line): Move last form into preceding when
3889 * help.el (resize-temp-buffer-window): Fix doc-string.
3891 2012-10-25 David Engster <deng@randomsample.de>
3893 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3894 Remove. This feature is already integrated in imenu.
3896 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3897 always loaded. Require `speedbar' unconditionally.
3899 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3901 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3903 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3905 * net/ldap.el (ldap-search-internal): The official ldif format starts
3906 with a "version: 1" header (bug#12724).
3908 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3911 2012-10-25 Glenn Morris <rgm@gnu.org>
3913 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3915 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3917 * minibuffer.el (minibuffer-force-complete): Use one more marker
3918 for the temporary-overlay-map command (bug#12619).
3920 2012-10-24 Chong Yidong <cyd@gnu.org>
3922 * time.el (display-time-world-mode): Derive from special-mode.
3923 (display-time-world): Use display-buffer (Bug#12708).
3924 (display-time-world-mode-map): Variable deleted.
3925 (display-time-world-display): Wrap the final delete-char inside
3928 2012-10-24 Chong Yidong <cyd@gnu.org>
3930 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3933 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3935 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3937 * minibuffer.el (completion--all-sorted-completions-location): New var.
3938 (completion--cache-all-sorted-completions)
3939 (completion--flush-all-sorted-completions): Use it.
3940 (completion-in-region, completion-in-region--postch)
3941 (completion-at-point, completion-help-at-point): Use markers in
3942 completion-in-region--data (bug#12619).
3944 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3946 * progmodes/compile.el (compilation-start): Try to handle common
3947 quoting of `cd' argument (bug#12640).
3949 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3952 2012-10-23 Glenn Morris <rgm@gnu.org>
3954 * progmodes/gud.el (gud-menu-map):
3955 Check gdb-active-process is bound. (Bug#12358)
3957 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3959 * repeat.el (repeat): Set real-this-command (bug#12232).
3961 * htmlfontify.el (hfy-post-html-hook):
3962 * filesets.el (filesets-cache-fill-content-hook):
3963 * arc-mode.el (archive-extract-hook):
3964 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3965 * net/rcirc.el (rcirc-sentinel-functions)
3966 (rcirc-receive-message-functions, rcirc-activity-functions)
3967 (rcirc-print-functions):
3968 * net/dbus.el (dbus-event-error-functions):
3969 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3970 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3971 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3972 * term/sun.el (sun-raw-prefix-hooks):
3973 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3975 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3977 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3978 Set `tramp-chunksize' to 1. This improves the performance.
3979 (tramp-smb-wait-for-output): Add timeout to
3980 `tramp-accept-process-output' calls.
3982 2012-10-23 Chong Yidong <cyd@gnu.org>
3984 * faces.el (font-list-limit): Define as an obsolete variable.
3986 * startup.el (command-line):
3987 * cus-start.el: Don't refer to font-list-limit.
3989 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3991 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3993 * subr.el (internal-temp-output-buffer-show): Rename from
3994 temp-output-buffer-show, since previously compiled files expect this name.
3996 2012-10-23 Glenn Morris <rgm@gnu.org>
3998 * image.el (image-type-from-file-name): If multiple types match,
3999 return the first one that is supported. (Bug#9045)
4001 2012-10-22 Glenn Morris <rgm@gnu.org>
4003 * image.el (imagemagick-enabled-types): Doc fix.
4005 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4007 * progmodes/which-func.el (which-func-current): The hash-table may have
4008 an explicit nil (bug#12338).
4010 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4012 * electric.el (electric-pair-delete-selection-self-insert-function):
4013 Rename to electric-pair-will-use-region, return a boolean.
4014 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4016 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4017 (delete-selection-pre-hook): Use use-region-p.
4018 (delete-selection-self-insert-function): Remove.
4019 (self-insert-command): Obey self-insert-uses-region-functions.
4020 (self-insert-iso): Revert to previous setting, since we don't actually
4021 know what that command does.
4022 (delete-selection-self-insert-hooks): Remove.
4024 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4026 * delsel.el (delete-selection-helper): New function, extracted from
4027 delete-selection-pre-hook.
4028 (delete-selection-pre-hook): Use it.
4029 (delete-selection-self-insert-function): New function.
4030 (delete-selection-self-insert-hooks): New hook.
4031 (self-insert-command, self-insert-iso): Use it.
4032 * electric.el (electric-pair-syntax): New function, extracted from
4033 electric-pair-post-self-insert-function.
4034 (electric-pair-post-self-insert-function): Use it.
4035 (electric-pair-delete-selection-self-insert-function): New function.
4036 (electric-pair-mode): Require delsel and setup
4037 delete-selection-self-insert-hooks (bug#11520).
4039 2012-10-20 Chong Yidong <cyd@gnu.org>
4041 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4042 no changes to show (Bug#12586).
4044 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4045 list explicitly (Bug#12571).
4047 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4049 * progmodes/flymake.el (flymake-create-temp-inplace):
4052 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4054 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4056 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4058 * calc/calc-units.el (math-extract-units): Properly extract powers
4061 2012-10-20 Daniel Colascione <dancol@dancol.org>
4063 * frame.el (make-frame): Set x-display-name as we used to in order
4064 to unbreak creating an X11 frame from an Emacs daemon started
4067 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4069 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4070 the same completion-field (bug#12221).
4072 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4074 * emacs-lisp/debug.el (debug): Record height of debugger window
4075 also when debugger will be back (Bug#8789).
4077 2012-10-18 Chong Yidong <cyd@gnu.org>
4079 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4080 Convert to defcustom.
4081 (gdb-get-source-file): Don't bind pop-up-windows.
4083 * progmodes/gud.el (gud-display-line): Don't specially re-use
4084 other frames for the gdb-mi case (Bug#12648).
4086 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * emacs-lisp/advice.el: Clean up commentary a bit.
4089 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4090 (byte-code-function-p): Never redefine.
4092 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4094 2012-10-18 Glenn Morris <rgm@gnu.org>
4096 * dired.el (dired-sort-toggle): Some ls implementations only allow
4097 a single option string. (Bug#12666)
4099 * minibuffer.el (completion-cycle-threshold): Doc fix.
4101 2012-10-17 Kenichi Handa <handa@gnu.org>
4103 * international/mule.el (set-keyboard-coding-system):
4104 Recover input meta mode when the new coding system doesn not use 8-bit.
4105 Supply TERMINAL arg to set-input-meta-mode.
4107 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4109 * wdired.el (wdired-old-marks): New variable.
4110 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4111 (wdired-do-renames): Move point with renamed file and don't lose
4112 mark status (Bug#11795).
4114 2012-10-16 Juri Linkov <juri@jurta.org>
4116 * replace.el (query-replace-help): Mention multi-buffer replacement
4117 keys in the Help message. (Bug#12655)
4119 2012-10-15 Chong Yidong <cyd@gnu.org>
4121 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4123 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4125 * window.el (display-buffer): Doc fix.
4127 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4128 Adjust the msft regexp to the output of Studio 2010, and move msft
4129 before edg-1. See the discussion on emacs-devel,
4130 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4133 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4135 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4136 (oset): Move uses of object-class-fast macro after its definition.
4138 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4140 2012-10-13 Chong Yidong <cyd@gnu.org>
4142 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4143 enabled, re-enable it (Bug#11963).
4145 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4147 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4148 non-nil, restore window configuration (Bug#12623).
4150 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4152 * help-fns.el (describe-variable, describe-function-1):
4153 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4155 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4157 2012-10-12 Glenn Morris <rgm@gnu.org>
4159 * mail/rmailsum.el (rmail-header-summary):
4160 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4162 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4164 * progmodes/python.el (python-mode-map):
4165 Replace subtitute-key-definition with proper command remapping.
4166 (python-nav--up-list): Fix behavior for blocks on the same level.
4168 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4170 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4172 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4173 changes to the format of load-history.
4175 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4176 completion-ignore-case in case that var is buffer-local (bug#12615).
4178 2012-10-11 Kenichi Handa <handa@gnu.org>
4180 * international/eucjp-ms.el: Re-generated.
4182 2012-10-10 Kenichi Handa <handa@gnu.org>
4184 * select.el (xselect--encode-string): If a coding is specified for
4185 selection, and that is compatible with COMPOUND_TEXT, use it.
4187 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4189 * window.el (switch-to-buffer-preserve-window-point): New option.
4191 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4193 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4195 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4196 Don't document nil as a useful value (bug#12583).
4198 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4200 * net/tramp.el (tramp-debug-message):
4201 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4202 (with-tramp-progress-reporter): Rename from
4203 `tramp-with-progress-reporter'.
4204 (with-tramp-file-property, with-tramp-connection-property):
4205 Move from tramp-cache.el, rename from `with-file-property' and
4206 `with-connection-property', respectively.
4208 * net/tramp-cache.el: Remove `with-file-property' and
4209 `with-connection-property'.
4212 * net/tramp-gvfs.el:
4214 * net/tramp-smb.el: Adapt callees.
4216 * net/trampver.el: Update release number.
4218 2012-10-09 Glenn Morris <rgm@gnu.org>
4220 * w32-fns.el (set-message-beep):
4221 * term/w32-win.el (set-message-beep): Update declarations.
4223 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4225 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4226 (mode-line-widen, mode-line-input-method-map)
4227 (mode-line-coding-system-map, mode-line-remote)
4228 (mode-line-unbury-buffer, mode-line-bury-buffer)
4229 (mode-line-next-buffer, mode-line-previous-buffer):
4230 Replace save-selected-window+select-window => with-selected-window.
4232 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4233 * progmodes/cc-vars.el (bq-process): Remove, unused.
4235 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4237 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4239 Implemented `backward-up-list'-like navigation.
4240 * progmodes/python.el (python-nav-up-list)
4241 (python-nav-backward-up-list): New functions.
4242 (python-mode-map): Define substitute key for backward-up-list to
4243 python-nav-backward-up-list.
4245 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4247 * progmodes/python.el (python-fill-paragraph): Rename from
4248 python-fill-paragraph-function. Fixed fill-paragraph for
4249 decorators (Bug#12605).
4251 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4253 * progmodes/python.el (python-shell-output-filter): Handle extra
4254 carriage return in OSX (Bug#12409).
4256 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4258 Fix shell handling of unbalanced quotes and parens in output.
4259 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4260 (python-syntax-propertize-function): Use it.
4261 (python-shell-output-syntax-table): New var.
4262 (inferior-python-mode): Prevent unbalanced parens/quotes from
4263 previous output mess with current input context.
4265 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4267 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4268 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4270 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4272 * ffap.el (ffap-replace-file-component): Support Tramp file name
4273 syntax, not only ange-ftp's one.
4275 2012-10-08 Glenn Morris <rgm@gnu.org>
4277 * cus-start.el (message-log-max): Set :version.
4279 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4281 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4283 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4284 the minibuffer window (Bug#10851).
4286 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4288 Enhancements on forward-sexp movement.
4289 * progmodes/python.el (python-nav-beginning-of-statement)
4290 (python-nav-end-of-statement): Return point-marker.
4291 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4292 (python-info-current-symbol)
4293 (python-info-statement-starts-block-p): Rename from
4294 python-info-beginning-of-block-p.
4295 (python-info-statement-ends-block-p): Rename from
4296 python-info-end-of-block-p.
4297 (python-info-beginning-of-statement-p)
4298 (python-info-end-of-statement-p)
4299 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4302 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4304 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4305 frame-selected-windows.
4307 2012-10-08 Daniel Colascione <dancol@dancol.org>
4309 * battery.el (battery-status-function): Check for
4310 w32-battery-status itself, not system-time windows-nt.
4312 * frame.el: Require cl-lib.
4313 (display-format-alist): New variable mapping frame types to
4314 functions that initialize them.
4315 (window-system-for-display): New function: interprets
4316 display-format-alist.
4317 (make-frame-on-display): Remove existing display-selection logic
4318 and just forward to make-frame, which will now DTRT.
4319 (make-frame): Restructure to use window-system-for-display to
4320 figure out how to create a frame on a given display.
4321 (display-mouse-p): Look for frame-type w32, not a particular
4324 * loadup.el: Load w32 lisp code when we have the w32 feature.
4326 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4327 system-type windows-nt.
4329 * server.el (server-create-window-system-frame): Look for window
4331 (server-proces-filter): Only force a window system when windows-nt
4332 _and_ w32. Explain why.
4334 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4335 of window systems we configure for the mode.
4337 * startup.el (command-line): Mark window system is initialized
4338 after we've done it.
4340 * common-win.el (x-select-text): Look for w32, not windows-nt.
4342 * ns-win.el: Require cl-lib. Add ourselves to
4343 display-format-alist.
4344 (ns-initialize-window-system): Assert we're not initialized twice.
4346 * w32-win.el: Enable lexical binding; require cl-lib; add
4347 ourselves to display-format-alist.
4348 (w32-handle-dropped-file): Convert incoming dropped files from
4349 Windows paths to Cygwin ones before passing them on to the rest of
4351 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4352 (w32-initialize-window-system): Assert we're not initialized twice.
4354 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4355 (x-initialize-window-system): Assert we're not initialized twice.
4357 * w32-common-fns.el: New File.
4358 (w32-version, w32-using-nt, w32-get-clipboard-data)
4359 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4360 (w32-charset-info-alist, x-last-selected, text)
4361 (x-get-selection-value, x-selection-value): Move here.
4363 * w32-fns.el: Require w32-common-fns.
4364 (w32-version, w32-using-nt, w32-get-clipboard-data)
4365 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4366 (w32-charset-info-alist, x-last-selected, text)
4367 (x-get-selection-value, x-selection-value): Move to
4371 (w32-allow-system-shell, w32-system-shells): Define only in
4374 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4376 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4377 (read-passwd): Remove a few more potential sources of leaks.
4379 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4381 * progmodes/python.el (inferior-python-mode)
4382 (python-shell-make-comint): Fix initialization of local
4383 variables copied from parent buffer.
4385 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4387 * term/ns-win.el (ns-read-file-name): Update declaration to match
4389 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4390 it is set when font is acted upon.
4392 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4394 Enhancements to indentation.
4395 * progmodes/python.el (python-indent-context): Give priority to
4396 inside-string context. Make comments indentation markers.
4397 (python-indent-region): Do not mess with strings, unless it's the
4398 enclosing set of quotes.
4400 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4402 * window.el (internal--before-save-selected-window)
4403 (internal--after-save-selected-window): New functions extracted from
4404 save-selected-window. Make sure we return the `alist' we construct.
4405 (save-selected-window): Use them.
4407 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4408 Use with-selected-window.
4410 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4411 forms that define macros (bug#12593).
4413 2012-10-07 Kenichi Handa <handa@gnu.org>
4415 * international/mule-conf.el (compound-text-with-extensions):
4416 Add :mime-charset property as x-ctext.
4418 2012-10-07 Stefan Merten <smerten@oekonux.de>
4420 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4421 (rst-indent-literal-normal, rst-indent-literal-minimized)
4422 (rst-indent-comment): Correct :version tag.
4423 (rst-official-cvs-rev): Correct version string.
4425 2012-10-07 Glenn Morris <rgm@gnu.org>
4427 * mail/rmailmm.el (rmail-mime-process-multipart):
4428 Do not confuse a multipart message with an epilogue
4429 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4431 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4433 Fix shell output retrieval and comint-prompt-regexp init.
4434 * progmodes/python.el (inferior-python-mode):
4435 (python-shell-make-comint): Fix initialization of
4436 comint-prompt-regexp from copied file local variables.
4437 (python-shell-fetched-lines): Remove var.
4438 (python-shell-output-filter-in-progress): Rename from
4439 python-shell-fetch-lines-in-progress.
4440 (python-shell-output-filter-buffer): Rename from
4441 python-shell-fetch-lines-string.
4442 (python-shell-fetch-lines-filter): Delete function.
4443 (python-shell-output-filter): New function.
4444 (python-shell-send-string-no-output): Use them.
4446 2012-10-07 Glenn Morris <rgm@gnu.org>
4448 * hi-lock.el (hi-lock-process-phrase):
4449 Try to make it less fragile. (Bug#7161)
4451 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4453 2012-10-06 Glenn Morris <rgm@gnu.org>
4455 * ehelp.el (electric-help-mode): Use help-mode rather than
4456 non-existent mode `help'.
4457 (electric-help-map): Use button-buffer-map. (Bug#10917)
4459 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4460 (reftex-create-bibtex-footer): Fix custom types.
4462 * progmodes/sh-script.el (sh-indent-after-continuation):
4463 Add explicit :group.
4465 * textmodes/rst.el (rst-preferred-decorations)
4466 (rst-shift-basic-offset): Clarify obsolescence versions.
4468 * profiler.el (profiler): Add missing group :version tag.
4469 * avoid.el (mouse-avoidance-banish-position):
4470 * proced.el (proced-renice-command):
4471 * calc/calc.el (calc-ensure-consistent-units):
4472 * calendar/icalendar.el (icalendar-import-format-uid):
4473 * net/tramp.el (tramp-save-ad-hoc-proxies):
4474 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4475 * progmodes/flymake.el (flymake-error-bitmap)
4476 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4477 * progmodes/sh-script.el (sh-indent-after-continuation):
4478 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4479 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4480 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4481 (vhdl-array-index-record-field-in-sensitivity-list)
4482 (vhdl-indent-comment-like-next-code-line):
4483 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4484 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4485 (reftex-cite-key-separator, reftex-create-bibtex-header)
4486 (reftex-create-bibtex-footer):
4487 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4488 (rst-indent-literal-normal, rst-indent-literal-minimized)
4489 (rst-indent-comment): Add missing custom :version tags.
4491 * calendar/timeclock.el (timeclock-modeline-display):
4492 Add missing obsolete alias for renamed user option.
4494 * strokes.el (strokes-modeline-string):
4495 * emulation/crisp.el (crisp-mode-modeline-string):
4496 * eshell/esh-mode.el (eshell-status-in-modeline):
4497 Aliases to defcustoms must come before the defcustom.
4499 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4500 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4501 (cal-tex-cursor-week-monday): Doc fixes.
4502 (cal-tex-cursor-week2-summary): Doc fix.
4503 Rename from cal-tex-cursor-week-at-a-glance.
4505 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4506 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4508 * calendar/calendar.el (calendar-mode-map):
4509 Add cal-tex-cursor-week2-summary.
4511 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4513 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4515 * subr.el (read-passwd-map): New var.
4516 (read-passwd): Use `read-string' again.
4517 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4519 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4521 * register.el (append-to-register, prepend-to-register):
4522 Deactivate mark, as does `copy-to-register' (bug#12389).
4524 2012-10-06 Chong Yidong <cyd@gnu.org>
4526 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4528 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4530 * international/characters.el: Fix simple mistake ((car chars) ->
4531 elt), delete duplicated code.
4533 2012-10-06 Glenn Morris <rgm@gnu.org>
4535 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4537 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4539 * color.el (color-hsl-to-rgb): Fix incorrect results for
4540 small and large hue values. (Bug#12559)
4542 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4544 Enhancements to docstring formatting when filling paragraphs.
4545 * progmodes/python.el (python-fill-docstring-style): Rename from
4546 python-fill-string-style. Added new style.
4547 (python-fill-string): Use new style. Better checks for
4550 2012-10-05 Glenn Morris <rgm@gnu.org>
4552 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4554 * color.el (color-name-to-rgb, color-rgb-to-hex)
4555 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4556 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4557 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4558 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4560 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4562 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4564 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4565 to get the correct size across symlinks.
4567 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4569 2012-10-04 Juri Linkov <juri@jurta.org>
4571 * replace.el (query-replace-interactive): Declare obsolete.
4572 (query-replace-read-from): Add the last incremental search string
4573 to the list of default values accessible via M-n.
4574 (map-query-replace-regexp): Use `read-regexp'.
4575 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4576 (map-query-replace-regexp, replace-string, replace-regexp):
4577 Fix docstrings to replace mentions of `query-replace-interactive'
4578 with alternatives. (Bug#12526)
4580 2012-10-04 Juri Linkov <juri@jurta.org>
4582 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4583 (dired-pop-to-buffer): Declare obsolete.
4584 (dired-mark-pop-up): Doc fix.
4586 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4588 Allow user to set docstring style for fill-paragraph.
4589 * progmodes/python.el
4590 (python-fill-comment-function, python-fill-string-function)
4591 (python-fill-decorator-function, python-fill-paren-function):
4592 Remove :safe for defcustoms.
4593 (python-fill-string-style): New defcustom
4594 (python-fill-paragraph-function): Enhance context detection.
4595 (python-fill-string): Honor python-fill-string-style settings.
4597 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4599 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4600 after setting its buffer (Bug#10805).
4602 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4604 Fix cornercase for string syntax.
4605 * progmodes/python.el (python-syntax-propertize-function):
4606 Simplify and enhance the regexp for unescaped quotes. Now it also
4607 matches quotes in weird situations like the single quote in
4609 (python-syntax-stringify): Simplify num-quotes detecting code.
4611 2012-10-03 Glenn Morris <rgm@gnu.org>
4613 * help-macro.el (three-step-help):
4614 Revert 2012-09-29 change. (Bug#12567)
4616 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4618 * menu-bar.el (kill-this-buffer): Don't do anything when
4619 `menu-frame' is not alive or visible (Bug#8184).
4621 * emacs-lisp/debug.el (debug): When quitting the debugger window
4622 restore current buffer (Bug#12502).
4624 2012-10-02 Chong Yidong <cyd@gnu.org>
4626 * progmodes/hideif.el (hif-lookup, hif-defined):
4627 Handle semantic-c-takeover-hideif.
4629 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4631 Change sampling interval units from ms to ns.
4632 * profiler.el (profiler-sampling-interval): Change units
4633 from ms to ns, multiplying the default by 1000000 so that
4635 (profiler-report-cpu-line-format): Give enough room for
4636 the maximum counters on 64-bit hosts.
4637 (profiler-report-render-calltree-1): Call them "CPU samples",
4638 not "Time (ms)", since they are not milliseconds now (and
4641 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4643 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4644 Fix querying BBDB for entries without a last name (Bug#11580).
4646 2012-10-02 Chong Yidong <cyd@gnu.org>
4648 * emacs-lisp/eieio.el: Restore Version header.
4650 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4652 * vc/diff-mode.el (diff--auto-refine-data): New var.
4653 (diff-hunk): Use it to delay refinement.
4654 (diff-mode): Remove overlays when we turn off font-lock.
4656 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4657 (table-initialize-table-fixed-width-mode)
4658 (table-set-table-fixed-width-mode): Remove functions.
4659 (table-command-list): Move initialization into declaration.
4660 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4661 (table-with-cache-buffer): Use `declare'.
4662 (table-span-cell): Simplify via CSE.
4663 (table-fixed-width-mode): Use define-minor-mode.
4664 (table-call-interactively, table-funcall, table-apply): Remove.
4665 (table-function): New function, to replace them.
4667 * bookmark.el (bookmark-search-pattern): Remove var.
4668 (bookmark-read-search-input): Remove function.
4669 (bookmark-bmenu-search): Reimplement using a minibuffer.
4671 * faces.el (modeline): Remove obsolete face name.
4673 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4674 and give a non-nil default value.
4675 (add-change-log-entry): Simplify accordingly.
4677 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4679 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4680 (vc-git-log-edit-toggle-amend): New function.
4681 (vc-git-log-edit-toggle-signoff): New function.
4682 (vc-git-log-edit-mode): New major mode.
4683 (vc-git-log-edit-mode-map): Keymap for it.
4684 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4686 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4688 (log-edit-toggle-header): New function.
4689 (log-edit-extract-headers): Accept function values in HEADERS alist.
4691 2012-10-01 David Engster <deng@randomsample.de>
4693 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4694 from symbol property and change message to be more consistent with
4696 (eieio-describe-generic): Add filename for each implementation.
4697 Fix indices for generic and normal methods.
4698 (eieio-method-def, eieio-class-def): New buttons.
4699 (eieio-help-find-method-definition)
4700 (eieio-help-find-class-definition): New functions.
4701 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4702 class, constructor and method definitions.
4704 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4705 information in symbol property.
4706 (scoped-class): Remove.
4707 (eieio-slot-name-index, call-next-method): Check if it is bound.
4709 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4711 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4712 (eieio-custom-mode): New major mode.
4713 (eieio-customize-object): Use it.
4715 2012-10-01 Eric Ludlam <zappo@gnu.org>
4717 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4718 specifying the expected class, and whether subclassing is allowed.
4719 (eieio-persistent-convert-list-to-object):
4720 (eieio-persistent-validate/fix-slot-value)
4721 (eieio-persistent-slot-type-is-class-p): New functions.
4722 (eieio-named::slot-missing): Doc fix.
4724 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4725 Stop using unused publd variable.
4727 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4728 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4729 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4730 (eieio-speedbar-handle-click): Do not specify a class for the
4731 method. Fixes method invocation order problems with EDE.
4733 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4735 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4736 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4738 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4740 * bookmark.el (bookmark-version-control): Give tags in the
4741 :type choices (Bug#12309), and improve doc string.
4742 (bookmark-write-file): Bind `print-circle' to `t' to allow
4743 circular custom bookmark types. (Bug#12503)
4745 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4747 Revert the FOLLOW-SYMLINKS change for file-attributes.
4748 * files.el (remote-file-name-inhibit-cache, after-find-file):
4749 * time.el (display-time-file-nonempty-p): Undo last change.
4751 * profiler.el (profiler-sampling-interval): Change default back to 1.
4752 See Stefan Monnier in
4753 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4755 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4757 Shell output catching a la gud-gdb.
4758 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4759 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4761 (python-shell-fetch-lines-filter): New function.
4762 (python-shell-send-string-no-output): Use them.
4764 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4766 * profiler.el (profiler-sampling-interval): Rename from
4767 profiler-sample-interval.
4768 (profiler-sampling-interval): Default to 10.
4769 (profiler-find-profile): New command (was profiler-find-log).
4770 (profiler-find-profile-other-window): New command.
4771 (profiler-find-profile-other-frame): New command.
4772 (profiler-profile): Introduce API-level data structure.
4774 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4776 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4777 * files.el (remote-file-name-inhibit-cache):
4778 * time.el (display-time-file-nonempty-p): Use it.
4779 * files.el (after-find-file): Don't chase links before calling
4780 file-exists-p, as file-exists-p already does the right thing.
4782 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4784 Merge from standalone RefTeX repository.
4786 The following ChangeLog entries are shortened versions of the
4787 original ones with file paths adapted. A not so strongly edited
4788 version of the original ChangeLog can be found in the commit log.
4790 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4791 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4792 Correctly handle new value type returned by `reftex-citation'.
4794 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4795 that entries with whitespace at various places are found.
4796 Doc fix. Include entries that are cross-referenced from cited entries.
4797 Include @String definitions in the resulting bib file. Add header
4798 and footer defined in `reftex-create-bibtex-header' and
4799 `reftex-create-bibtex-footer'.
4800 (reftex-do-citation): Make it possible again to insert
4801 non-existent entries. Save match data when asking for optional
4802 arguments. Return all keys, not just the first one.
4803 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4804 all citations in the same line.
4805 (reftex-parse-bibtex-entry): Accept additional optional argument
4806 `raw' and keep quotes or braces if it is non-nil. Match fields
4807 containing hyphens besides word constituents.
4808 (reftex-get-string-refs): New function.
4809 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4810 and ask if it should be reread in case it did.
4811 (reftex-pop-to-bibtex-entry)
4812 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4813 entries with spaces or tabs in front of arguments.
4814 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4815 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4816 Match entries containing numbers and symbol constituents.
4817 (reftex-do-citation, reftex-figure-out-cite-format):
4818 Use `reftex-cite-key-separator'.
4820 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4821 (reftex-mouse-view-crossref): Explain why point is set.
4823 * textmodes/reftex-global.el: Whitespace changes.
4825 * textmodes/reftex-index.el: Move provide statement to end of
4827 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4828 (reftex-index-visit-phrases-buffer): Set marker when visiting
4829 buffer. This allows for returning from the phrases file to the
4830 file one was just editing instead of the file where the last
4831 phrases was added from.
4832 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4833 punctuation syntax as it usually is not used as string quote in
4834 TeX-related modes and may occur unmatched. The change also
4835 prevents fontification of quoted content.
4836 (reftex-index-phrases-mode): Use it.
4838 * textmodes/reftex-parse.el (reftex-parse-from-file):
4839 Move backward one char if a `\' was matched after a section macro.
4840 (reftex-parse-from-file): Use beginning of match instead of end as
4843 * textmodes/reftex-ref.el: Adapt creation of
4844 `reftex-<package>-<macro>' functions to new structure of
4845 `reftex-ref-style-alist'.
4846 (reftex-reference): Use `reftex-ref-style-list' function.
4847 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4848 reference macro if `reftex-ref-macro-prompt' is non-nil.
4849 (reftex-reference): Pass refstyle to `reftex-format-special'.
4850 Determine reference macro by looking at
4851 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4852 Use only one special format function.
4853 (reftex-varioref-vref, reftex-fancyref-fref)
4854 (reftex-fancyref-Fref): Remove definitions. The functions are now
4855 generated from `reftex-ref-style-alist'.
4856 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4858 (reftex-format-special): New function.
4860 * textmodes/reftex-sel.el
4861 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4862 of `reftex-ref-style-alist'. Remove code for testing macro type.
4863 (reftex-select-toggle-varioref)
4864 (reftex-select-toggle-fancyref): Remove.
4865 (reftex-select-cycle-ref-style-internal)
4866 (reftex-select-cycle-ref-style-forward)
4867 (reftex-select-cycle-ref-style-backward): New functions.
4868 (reftex-select-label-map): Use `v' and `V' for general cycling
4869 through reference styles. Add `p' for switching between number
4870 and page reference types.
4872 * textmodes/reftex-toc.el (reftex-re-enlarge):
4873 Call `enlarge-window' only if there is something to do because in Emacs
4874 the horizontal version throws an error even if the parameter is 0.
4876 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4877 (reftex-plug-into-AUCTeX): Doc fix.
4878 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4879 string. Adapt to new name.
4880 (reftex-ref-style-alist): Change structure so that it is not
4881 possible to use multiple different package names within a style.
4882 Remove the symbols for symbols for macro type distinction.
4883 Add characters for macro selection.
4884 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4885 (reftex-create-bibtex-footer): New variables.
4886 (reftex-format-ref-function): Mention third argument of special
4888 (reftex-ref-style-alist, reftex-ref-style-default-list):
4890 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4891 to new implementation. Mark as obsolete. Add compatibility code
4892 for honoring the variable values in case they are set.
4893 (reftex-cite-format-builtin, reftex-bibliography-commands):
4894 Add support for ConTeXt.
4895 (reftex-format-ref-function, reftex-format-cite-function):
4897 (reftex-cite-key-separator): New variable.
4899 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4900 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4901 `reftex-syntax-table' because parens have to retain their paren
4902 syntax in order for parsing of BibTeX entries like @book(...) to
4904 (reftex-in-comment): Do not error out if `comment-start-skip' is
4905 not set. Deal correctly with escaped comment characters.
4906 (reftex-tie-multifile-symbols): Add doc string.
4907 Initialize `reftex-ref-style-list'.
4908 (reftex-untie-multifile-symbols): Add doc string.
4909 (reftex-add-index-macros): Doc fix.
4910 (reftex-ref-style-activate, reftex-ref-style-toggle)
4911 (reftex-ref-style-list): New functions.
4912 (reftex-mode-menu): Use them. Adapt to new structure of
4913 `reftex-ref-style-alist'.
4914 (reftex-select-with-char): Kill the RefTeX Select buffer when
4916 (reftex-remove-if): New function.
4917 (reftex-erase-all-selection-and-index-buffers)
4918 (reftex-mode-menu): Reference styles are now computed from
4919 `reftex-ref-style-alist'. Fix typo.
4920 (reftex-report-bug): New function.
4921 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4922 algorithms with O(n log n). Introduce optional argument SORT (not
4925 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4927 Enhancements for triple-quote string syntax.
4928 * progmodes/python.el (python-syntax-propertize-function):
4929 Match both quote cases in one regexp.
4930 (python-syntax-stringify): Handle matches properly.
4932 2012-09-30 Juri Linkov <juri@jurta.org>
4934 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4935 to nil around the call to `insert' to prevent
4936 directory time modification by lock_file. (Bug#2295)
4937 * tar-mode.el (tar-summarize-buffer): Idem.
4939 2012-09-30 Juri Linkov <juri@jurta.org>
4941 * facemenu.el (list-colors-sort): Add option "Luminance".
4942 (list-colors-sort-key): Implement it.
4944 * vc/diff-mode.el (diff-refine-removed):
4945 * vc/ediff-init.el (ediff-fine-diff-A):
4946 * vc/smerge-mode.el (smerge-refined-removed):
4947 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4949 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4951 * term/ns-win.el (x-file-dialog): New function.
4953 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4955 * ido.el (ido-max-directory-size): Default to nil; the current
4956 default is small for POSIX systems, and impractical on Windows 7
4957 now that lstat returns directory sizes for NTFS.
4959 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4961 In buffer display functions handle window-height/window-width
4962 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4963 * window.el (window--display-buffer): New argument ALIST.
4964 Obey window-height and window-width alist entries.
4965 (window--try-to-split-window): New argument ALIST.
4966 Bind window-combination-limit to t when the window's size shall be
4967 changed and window-combination-limit equals `window-size'.
4968 (display-buffer-in-atom-window)
4969 (display-buffer-in-major-side-window)
4970 (display-buffer-in-side-window, display-buffer-same-window)
4971 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4972 (display-buffer-pop-up-window, display-buffer-below-selected)
4973 (display-buffer-at-bottom, display-buffer-in-previous-window)
4974 (display-buffer-use-some-window): Adjust all callers of
4975 window--display-buffer and window--try-to-split-window.
4976 (fit-frame-to-buffer): New option.
4977 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4979 (display-buffer-in-major-side-window): Evaluate window-height /
4980 window-width alist entries.
4982 * help.el (temp-buffer-resize-frames)
4983 (temp-buffer-resize-regexps): Remove options.
4984 (temp-buffer-resize-mode): Adjust doc-string.
4985 (resize-temp-buffer-window): Don't consult
4986 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4987 temp-buffer-resize-frames.
4989 * dired.el (dired-mark-pop-up):
4990 Call display-buffer-below-selected with a fit-window-to-buffer alist
4993 2012-09-30 Chong Yidong <cyd@gnu.org>
4995 * server.el (server-host): Document the security implications.
4996 (server-auth-key): Doc fix.
4998 * startup.el (initial-buffer-choice): Doc fix.
5000 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5002 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5005 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5007 * help-fns.el (help-fns--obsolete): Fix last change.
5009 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5011 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5012 (minor-mode-map-alist): Remove redundant code.
5014 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5015 visited in a buffer.
5016 (cvs-insert-visited-file): New function.
5017 (find-file-hook): Use it.
5019 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5021 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5023 (log-edit-empty-buffer-p): Don't require a space after a header.
5025 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5027 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5029 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5030 a proper minor-mode.
5032 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5034 2012-09-29 Glenn Morris <rgm@gnu.org>
5036 * winner.el (winner-mode): Remove variable (let define-minor-mode
5038 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5040 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5041 (winner-mode): Use define-minor-mode.
5043 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5044 the full definition in loaddefs, rather than duplicating it.
5046 * help-macro.el (three-step-help): No need to autoload defcustom.
5048 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5049 (inferior-lisp-program, inferior-lisp-load-command)
5050 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5051 No need to autoload defcustoms.
5053 * hippie-exp.el (hippie-expand-try-functions-list)
5054 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5055 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5056 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5057 (hippie-expand-only-buffers): No need to autoload defcustoms.
5058 * progmodes/vhdl-mode.el (vhdl-line-expand):
5059 Explicitly load hippie-exp, so it does not get autoloaded
5060 while hippie-expand-try-functions-list is let-bound.
5062 2012-09-28 Glenn Morris <rgm@gnu.org>
5064 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5066 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5067 Only "cl.el" counts as cl these days.
5069 2012-09-28 Juri Linkov <juri@jurta.org>
5071 Display archive errors in the echo area instead of inserting
5074 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5075 to STDERR-TEST that can be a regexp matching a successful output.
5076 Create a temporary file and redirect stderr to it. Search for
5077 STDERR-TEST in the stderr output and display it in the echo area
5078 if no match is found.
5079 (archive-extract-by-file): New function like
5080 `archive-extract-by-stdout' but extracting archives to files
5081 and looking for successful matches in stdout. Function body is
5082 mostly copied from `archive-rar-extract'.
5083 (archive-rar-extract): Use `archive-extract-by-file'.
5084 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5086 2012-09-28 Leo Liu <sdl.web@gmail.com>
5088 * pcomplete.el (pcomplete-show-completions):
5089 Use minibuffer-message to make pcomplete usable in minibuffer.
5091 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5093 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5095 * type-break.el: Use lexical-binding.
5096 (type-break-mode): Use define-minor-mode.
5098 * emacs-lisp/pcase.el (pcase--mark-used): New.
5099 (pcase--u1): Use it (bug#12512).
5101 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5102 in load-history with the right file name.
5104 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5106 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5107 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5108 (doc-view-get-bounding-box): Make bounding box slicing work for
5109 ODF and DVI documents.
5111 2012-09-28 Glenn Morris <rgm@gnu.org>
5113 * type-break.el (type-break-mode, type-break-interval)
5114 (type-break-good-rest-interval, type-break-keystroke-threshold):
5115 No need to autoload.
5116 (type-break-good-rest-interval, type-break-keystroke-threshold):
5119 2012-09-28 Chong Yidong <cyd@gnu.org>
5121 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5124 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5126 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5128 2012-09-27 Glenn Morris <rgm@gnu.org>
5130 * faces.el (x-display-name): Declare (for without-x builds).
5132 * linum.el (linum-format): Don't autoload it. Improve :type.
5134 * progmodes/tcl.el: Don't require outline when compiling.
5135 (outline-regexp, outline-level): Declare.
5136 * textmodes/sgml-mode.el: Don't require outline when compiling.
5137 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5139 * term.el (term-ansi-reset):
5140 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5142 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5143 files for RCS and SCCS. (Bug#9781)
5145 2012-09-27 Chong Yidong <cyd@gnu.org>
5147 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5148 change; value should be t.
5150 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5152 * image-mode.el: Use lexical-binding.
5153 (image-mode-winprops): Use t to stand for the window of
5154 a buffer that's not displayed.
5155 * doc-view.el (doc-view-new-window-function): Handle the new
5157 (doc-view-enlarge): Make it a real nop if the size is not changed.
5158 (doc-view-display): Handle the case where the buffer is not (yet?)
5159 displayed in any window.
5160 (doc-view-saved-settings): New var.
5161 (doc-view-mode): Use it.
5162 (doc-view-fallback-mode): Set it.
5164 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5165 Set lexical-binding.
5166 (minibuffer-eldef-shorten-default): New var.
5167 (minibuffer-default-in-prompt-regexps): Use it for new default.
5168 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5170 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5172 * international/uni-bidi.el:
5173 * international/uni-category.el:
5174 * international/uni-name.el:
5175 * international/uni-numeric.el: Regenerate.
5177 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5178 Stefan Monnier <monnier@iro.umontreal.ca>
5180 * profiler.el: New file.
5182 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5184 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5185 (testcover-reinstrument): Simplify with CSE.
5187 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5189 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5191 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5193 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5194 (verilog-auto-input, verilog-auto-insert-lisp)
5195 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5196 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5197 (verilog-auto-unused, verilog-auto-wire)
5198 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5199 newline. Reported by Andrew Jones.
5200 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5201 Reported by Brad Dobbie.
5202 (verilog-batch-delete-trailing-whitespace):
5203 Create verilog-batch-delete-trailing-whitespace.
5204 Reported by Brad Dobbie.
5205 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5206 parameters from another module. Reported by Dan Katz.
5207 (verilog-auto, verilog-auto-assign-modport)
5208 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5209 AUTOINOUTMODPORT for UVM interface module shell generation.
5210 Reported by Brad Dobbie.
5211 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5213 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5214 Reported by Matt Martin.
5216 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5218 * window.el (window--resize-child-windows): When resizing child
5219 windows proportionally, process them in reverse order to
5220 preserve the "when splitting a window the new one gets the odd
5222 (window--resize-root-window-vertically): When resizing the
5223 minibuffer window try to affect only windows at the bottom of the
5226 2012-09-25 Chong Yidong <cyd@gnu.org>
5228 * subr.el (declare): Doc fix.
5230 * help-fns.el (help-fns--obsolete): Handle macros properly.
5232 2012-09-25 Chong Yidong <cyd@gnu.org>
5234 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5235 this function obsolete.
5237 * calendar/cal-x.el (calendar-two-frame-setup)
5238 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5239 * calendar/calendar.el (american-calendar, european-calendar)
5240 (calendar-for-loop):
5241 * comint.el (comint-dynamic-simple-complete)
5242 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5243 * desktop.el (desktop-load-default):
5244 * dired-x.el (dired-omit-here-always)
5245 (dired-hack-local-variables, dired-default-directory):
5246 * emacs-lisp/derived.el (derived-mode-class):
5247 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5248 * emacs-lock.el (toggle-emacs-lock):
5249 * epa.el (epa-display-verify-result):
5250 * epg.el (epg-sign-keys, epg-start-sign-keys)
5251 (epg-passphrase-callback-function):
5252 * eshell/esh-util.el (eshell-for):
5253 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5254 (eshell-add-to-window-buffer-names):
5255 * files.el (locate-file-completion):
5256 * imenu.el (imenu-example--create-c-index)
5257 (imenu-example--create-lisp-index)
5258 (imenu-example--lisp-extract-index-name)
5259 (imenu-example--name-and-position):
5260 * international/mule-cmds.el (princ-list):
5261 * international/mule-diag.el (decode-codepage-char):
5262 * international/mule-util.el (detect-coding-with-priority):
5263 * iswitchb.el (iswitchb-read-buffer):
5264 * mail/mailalias.el (mail-complete):
5265 * mail/sendmail.el (mail-sent-via):
5266 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5267 (mouse-major-mode-menu):
5268 * password-cache.el (password-read-and-add):
5269 * pcomplete.el (pcomplete-parse-comint-arguments):
5270 * progmodes/sh-script.el (sh-maybe-here-document):
5271 * replace.el (query-replace-regexp-eval):
5272 * savehist.el (savehist-load):
5273 * simple.el (choose-completion-delete-max-match):
5274 * term.el (term-dynamic-simple-complete):
5275 * vc/ediff-init.el (ediff-check-version):
5276 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5277 * vc/vc.el (vc-diff-switches-list):
5278 * view.el (view-return-to-alist-update): Likewise.
5280 * subr.el (eval-next-after-load, makehash, insert-string)
5281 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5283 (mode-line-inverse-video): Variable deleted.
5285 * international/mule-util.el (string-to-sequence): Remove.
5287 * calendar/calendar.el (calendar-version):
5288 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5289 (icalendar-convert-diary-to-ical):
5290 * cus-edit.el (custom-mode):
5291 * ansi-color.el (ansi-color-unfontify-region):
5292 * international/latin1-disp.el (latin1-char-displayable-p):
5293 * progmodes/cwarn.el (turn-on-cwarn-mode):
5294 * progmodes/which-func.el (which-func-update-1):
5295 Use define-obsolete-function-alias.
5297 * net/newst-backend.el (newsticker-cache-filename):
5298 * net/newst-treeview.el (newsticker-groups-filename):
5299 Fix incorrect obsolescence declaration.
5301 * allout.el (allout-passphrase-hint-string): Likewise.
5302 (allout-init): Use a declare form to mark obsolete.
5304 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5305 this applies to functions.
5307 * iswitchb.el (iswitchb-read-buffer): Move code of
5308 iswitchb-define-mode-map here, and delete that obsolete function.
5310 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5311 font-lock-reference-face.
5313 2012-09-25 Glenn Morris <rgm@gnu.org>
5315 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5318 * eshell/em-term.el (eshell-term-name):
5319 Default to term-term-name. (Bug#12485)
5321 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5323 * progmodes/python.el (python-shell-send-buffer): Better handling
5324 of "if __name__ == '__main__':" conditionals when sending the buffer.
5326 2012-09-24 Glenn Morris <rgm@gnu.org>
5328 * eshell/esh-cmd.el (eshell-find-alias-function):
5329 Tighten up file-name regexp. (Bug#12499)
5331 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5333 Enhancements for triple-quote string syntax.
5334 * progmodes/python.el (python-quote-syntax): Remove.
5335 (python-syntax-propertize-function): New value.
5336 (python-syntax-count-quotes, python-syntax-stringify):
5339 2012-09-24 Chong Yidong <cyd@gnu.org>
5341 * mail/supercite.el (sc-version): Remove obsolete function.
5342 (sc-describe): Don't mark as obsolete, since it is bound.
5343 (sc-submit-bug-report): Remove.
5345 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5346 (cvs-commit-buffer-require-final-newline): Remove.
5347 (log-edit-require-final-newline)
5348 (log-edit-changelog-full-paragraphs): Default to t.
5350 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5351 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5352 * vc/vc.el (vc-checkout-carefully): Likewise.
5354 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5355 (emerge-version): Remove.
5357 * progmodes/compile.el (compile-internal): Remove.
5358 (compilation-parse-errors-function): Fix typo.
5360 * international/mule.el (set-char-table-default): Remove.
5361 (set-coding-priority, make-coding-system, generic-char-p)
5362 (charset-list, charset-bytes, charset-id): Use declare to mark
5363 functions as obsolete.
5365 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5366 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5367 * vc/vc-hooks.el (vc-default-registered): Don't use
5368 vc-master-templates.
5370 * font-lock.el (font-lock-reference-face):
5371 Use define-obsolete-variable-alias.
5373 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5374 * calendar/calendar.el (calendar-font-lock-keywords):
5375 * calendar/diary-lib.el (diary-font-lock-keywords)
5376 (diary-fancy-font-lock-keywords):
5377 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5378 * textmodes/reftex-index.el (reftex-insert-index):
5379 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5380 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5381 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5382 * progmodes/prolog.el (prolog-font-lock-keywords):
5383 * progmodes/idlwave.el (idlwave-idl-keywords):
5384 * progmodes/ada-mode.el (ada-font-lock-keywords):
5385 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5387 2012-09-24 Glenn Morris <rgm@gnu.org>
5389 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5391 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5393 * progmodes/python.el (python-indent-line): More consistent cursor
5396 2012-09-23 Stefan Merten <smerten@oekonux.de>
5398 * textmodes/rst.el: Fix compiler warning.
5400 2012-09-23 Roland Winkler <winkler@gnu.org>
5402 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5403 Transcribe also LaTeX hyphenation.
5404 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5405 bibtex-reformat-previous-options.
5407 2012-09-23 Roland Winkler <winkler@gnu.org>
5409 * proced.el (proced-renice-command): New variable.
5410 (proced-marked-processes): New function.
5411 (proced-with-processes-buffer): New macro.
5412 (proced-send-signal): Use them.
5413 (proced-renice): New command bound to r.
5415 2012-09-23 Roland Winkler <winkler@gnu.org>
5417 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5418 ibuffer-saved-filter-groups has one element, shortcut the call of
5419 completing-read. (Bug#12331)
5421 2012-09-23 Chong Yidong <cyd@gnu.org>
5423 * bindings.el (mode-line-toggle-read-only):
5424 * bs.el (bs-toggle-readonly):
5425 * buff-menu.el (Buffer-menu-toggle-read-only):
5426 * dired.el (dired-toggle-read-only):
5427 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5429 2012-09-23 Chong Yidong <cyd@gnu.org>
5431 * image.el (image-type-available-p): Adapt to init-image-library
5434 2012-09-22 Juri Linkov <juri@jurta.org>
5436 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5437 `dired-toggle-read-only'. (Bug#12462)
5439 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5441 * subr.el (temp-output-buffer-show): New function.
5442 (with-output-to-temp-buffer): Call temp-output-buffer-show
5443 instead of internal-temp-output-buffer-show.
5445 2012-09-22 Chong Yidong <cyd@gnu.org>
5447 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5450 * repeat.el (repeat): Doc fix (Bug#12348).
5452 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5455 * simple.el (shell-command-on-region): Doc fix.
5456 (read-only-mode): Doc fix.
5458 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5460 * emacs-lisp/timer.el (run-with-idle-timer)
5461 (timer-activate-when-idle): Warn against reinvoking an idle timer
5462 from within its own timer action. (Bug#12447)
5464 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5466 * cus-start.el (window-combination-limit): Add new optional
5468 * window.el (temp-buffer-window-show)
5469 (window--try-to-split-window): Handle new values of
5470 window-combination-limit (Bug#1806).
5471 (split-window): Test window-combination-limit for t instead of
5473 (display-buffer-at-bottom): New buffer display action function.
5474 * help.el (temp-buffer-resize-regexps): New option.
5475 (temp-buffer-resize-mode): Rewrite doc-string.
5476 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5477 Don't resize reused window. Suggested by Glenn Morris.
5479 2012-09-22 Stefan Merten <smerten@oekonux.de>
5481 * textmodes/rst.el: Revamp section title faces.
5482 (rst-official-version)
5483 (rst-package-emacs-version-alist): Sync with official version
5485 (rst-faces-defaults, rst-set-level-default)
5486 (rst-level-face-max, rst-level-face-base-color)
5487 (rst-level-face-base-light, rst-level-face-format-light)
5488 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5489 (rst-adornment-faces-alist): Match new setup.
5490 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5491 (rst-level-5, rst-level-6): New faces.
5493 2012-09-22 Chong Yidong <cyd@gnu.org>
5495 * simple.el (undo): Handle indirect buffers (Bug#8207).
5497 2012-09-21 Leo Liu <sdl.web@gmail.com>
5499 IDO: Disable match re-ordering for buffer switching.
5500 * ido.el (ido-buffer-disable-smart-matches): New variable.
5501 (ido-set-matches-1): Use it. (Bug#2042)
5503 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5505 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5506 Fix 2011-05-17 change. (Bug#12418)
5508 2012-09-21 Leo Liu <sdl.web@gmail.com>
5510 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5512 2012-09-21 Glenn Morris <rgm@gnu.org>
5514 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5515 Be more robust about locating simple.el.
5517 2012-09-21 Glenn Morris <rgm@gnu.org>
5519 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5521 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5523 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5525 2012-09-20 Juri Linkov <juri@jurta.org>
5527 * replace.el (query-replace-read-from): Use `read-regexp' instead
5528 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5529 (occur-read-primary-args): Use `read-regexp' instead of
5531 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5532 `read-from-minibuffer'.
5533 * isearch.el (isearch-occur): Use `read-regexp' instead of
5535 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5536 `read-from-minibuffer'.
5537 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5538 of `read-string'. (Bug#7567)
5540 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5541 and allow accepting a list of strings prepended to a list of
5542 standard default values. Doc fix. (Bug#12321)
5544 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5546 * replace.el (read-regexp): Don't add ": " when PROMPT already
5547 ends with a colon and space. (Bug#12321)
5549 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5551 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5554 2012-09-20 Stefan Merten <smerten@oekonux.de>
5556 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5557 Fixes feature request bug#11711.
5558 (rst-mode): Create `imenu-create-index-function'.
5559 (rst-get-stripped-line): Delete after refactoring.
5560 (rst-section-tree, rst-section-tree-rec)
5561 (rst-section-tree-point): Refactor and document properly.
5562 (rst-imenu-find-adornments-for-position)
5563 (rst-imenu-convert-cell, rst-imenu-create-index):
5566 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5568 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5569 (macroexp--expand-all): Use it.
5570 (macroexp--funcall-and-return): Remove by folding it into its sole
5571 caller (macroexp--warn-and-return).
5572 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5573 Use macroexp--obsolete-warning.
5575 * calc/calc.el: Fix last change by removing the whole chunk, since it
5576 was only needed back when Calc was not bundled.
5578 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5580 * emacs-lisp/debug.el (debug): Restore assignment to
5581 debugger-old-buffer removed on 2012-09-08.
5583 2012-09-20 Juri Linkov <juri@jurta.org>
5585 * dired-aux.el (dired-diff): Remove (require 'diff) since
5586 `diff-latest-backup-file' is now autoloaded.
5588 2012-09-20 Chong Yidong <cyd@gnu.org>
5590 * vc/diff.el (diff-latest-backup-file): Autoload.
5592 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5594 * calc/calc.el: Remove redundant autoload shape check.
5595 (sel-mode): Don't defvar.
5596 (calc-get-stack-element): Add `sel-mode' arg instead.
5597 (calc-top, calc-top-list): Pass it this additional argument.
5598 * calc/calc-store.el (calc-store-map):
5599 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5600 (calc-map-equation, calc-outer-product, calc-inner-product):
5601 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5603 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5605 2012-09-19 Juri Linkov <juri@jurta.org>
5607 * dired-aux.el (dired-diff): Add (require 'diff) because
5608 `diff-latest-backup-file' is not autoloaded.
5609 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5610 of `dired-get-filename' to t to not report error when there is
5611 no default file on the current line.
5613 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5615 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5616 macroexp--eval-if-compile.
5617 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5618 (macroexp--expand-all): Use them (bug#12371).
5620 * doc-view.el (doc-view-guess-paper-size)
5621 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5623 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5625 New feature: set optimal slice from BoundingBox information.
5626 * doc-view.el (doc-view-mode-map): Add keybinding.
5627 (doc-view-menu): Add menu entry.
5628 (doc-view-set-slice): Adapt docstring.
5629 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5630 (doc-view-scale-bounding-box)
5631 (doc-view-set-slice-from-bounding-box): New functions.
5632 (doc-view-paper-sizes): New defvar.
5634 2012-09-19 Glenn Morris <rgm@gnu.org>
5636 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5637 (byte-compile-log-warning): Autoload. (Bug#12371)
5639 * calendar/calendar.el (calendar-american-month-header)
5640 (calendar-european-month-header, calendar-iso-month-header)
5641 (calendar-month-header): New options.
5642 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5643 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5645 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5647 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5649 2012-09-18 Juri Linkov <juri@jurta.org>
5651 * dired-aux.el (dired-diff): Restore original functionality of
5652 getting the default value, but keep new feature of using the
5653 latest existing backup file (`diff-latest-backup-file').
5655 2012-09-18 Juri Linkov <juri@jurta.org>
5657 * dired.el (dired-mark): If the region is active in Transient Mark
5658 mode, mark all files in the active region. Doc fix.
5659 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5660 Doc fix. (Bug#10624)
5662 2012-09-18 Juri Linkov <juri@jurta.org>
5664 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5665 attributes for M-n are pulled from the file at point.
5666 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5667 Suggested by Drew Adams. (Bug#10624)
5669 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5671 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5672 whitespace after "end".
5673 (ruby-do-end-to-brace): Collapse block to one line if it fits
5676 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5678 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5680 (debug): Don't remove debugger window when debugger is expected
5683 2012-09-18 Chong Yidong <cyd@gnu.org>
5685 * custom.el (defface): Doc fix.
5687 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5689 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5691 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5692 to initialize query-on-exit; then test that instead (bug#12288).
5694 2012-09-17 Stefan Merten <smerten@oekonux.de>
5696 * textmodes/rst.el: Add support for `testcover'.
5697 (rst-defcustom-testcover, rst-testcover-add-compose)
5698 (rst-testcover-add-1value): New functions.
5699 (rst-portable-mark-active-p): Replace by `use-region-p'.
5700 (rst-update-section, rst-classify-adornment)
5701 (rst-find-title-line): Mark `1value' forms.
5702 (rst-classify-adornment): Remove superfluous form.
5703 (rst-update-section, rst-get-adornments-around)
5704 (rst-adornment-complete-p, rst-get-next-adornment)
5705 (rst-adjust, rst-promote-region)
5706 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5707 (rst-find-pfx-in-region, rst-section-tree-rec)
5708 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5709 (rst-toc-node, rst-toc, rst-forward-section)
5710 (rst-iterate-leftmost-paragraphs)
5711 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5712 (rst-bullet-list-region)
5713 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5714 (rst-compile-find-conf, rst-compile)
5715 (rst-repeat-last-character): Fix style.
5717 2012-09-17 Chong Yidong <cyd@gnu.org>
5719 * comint.el (comint--complete-file-name-data): Don't add a space
5720 if the status is `sole'; that adds a gratuitous space in the
5721 completion-cycling case (Bug#12092).
5723 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5725 2012-09-17 Richard Stallman <rms@gnu.org>
5727 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5728 only in the mime-shown mode, not in raw mode.
5729 (rmail-mime): Toggle off mime by displaying the message without
5730 mime processing. (Bug#12305)
5732 * mail/rmail.el (rmail-retry-failure):
5733 Turn off mime processing first. (Bug#12037)
5735 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5737 2012-09-17 Chong Yidong <cyd@gnu.org>
5739 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5740 (shell-dynamic-complete-functions): Convert to defcustom.
5741 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5743 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5744 * comint.el (comint-prompt-read-only):
5745 * custom.el (defcustom):
5746 * hi-lock.el (hi-lock-mode):
5747 * ibuffer.el (ibuffer-formats):
5748 * ielm.el (ielm-prompt-read-only):
5749 * novice.el (disable-command):
5750 * saveplace.el (toggle-save-place):
5751 * speedbar.el (speedbar-supported-extension-expressions):
5752 * startup.el (auto-save-list-file-prefix, init-file-user)
5753 (after-init-hook, inhibit-startup-echo-area-message):
5754 * strokes.el (strokes-help):
5755 * time-stamp.el (time-stamp):
5756 * calendar/calendar.el (calendar, diary-file):
5757 * calendar/diary-lib.el (diary-mail-entries, diary)
5758 (diary-list-entries-hook):
5759 * calendar/holidays.el (holidays, calendar-holidays):
5760 * calendar/lunar.el (lunar-phases):
5761 * calendar/solar.el (sunrise-sunset):
5762 * emulation/edt.el (edt-load-keys):
5763 * emulation/viper.el (viper-mode):
5764 * eshell/em-alias.el (eshell-command-aliases-list):
5765 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5766 * international/ogonek.el (ogonek-information):
5767 * net/tramp-cmds.el (tramp-bug):
5768 * net/quickurl.el (quickurl-reread-hook-postfix):
5769 * play/decipher.el (decipher-font-lock-keywords):
5770 * progmodes/cc-styles.el (c-set-style):
5771 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5772 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5773 * progmodes/octave-mod.el (octave-mode):
5774 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5775 * progmodes/verilog-mode.el (verilog-read-defines):
5776 * textmodes/two-column.el (2C-mode): Likewise.
5778 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5780 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5781 that holds many addresses.
5783 2012-09-16 Chong Yidong <cyd@gnu.org>
5785 * align.el (align-areas): Call the indication function with
5786 positions instead of markers for arguments (Bug#12343).
5788 * files.el (parse-colon-path): Use split-string (Bug#12351).
5790 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5791 (display-buffer-function): Mark as obsolete.
5793 * progmodes/compile.el (compilation-parse-errors): Accept list
5794 values similar to font-lock-keywords (Bug#12136).
5795 Suggested by Oleksandr Manzyuk.
5796 (compilation-error-regexp-alist): Doc fix.
5798 2012-09-15 Glenn Morris <rgm@gnu.org>
5800 * version.el (emacs-bzr-version-bzr): New function.
5801 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5803 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5804 checkouts, check the parent dirstate matches the branch.
5805 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5808 * version.el (emacs-bzr-version): Doc fix.
5809 (emacs-bzr-version-dirstate): New function.
5810 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5811 is local try and check that it matches the branch. If not, just
5812 use dirstate information. (Bug#12441)
5814 2012-09-14 Juri Linkov <juri@jurta.org>
5816 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5819 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5821 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5823 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5824 Remove obsolete byte-compiler hack that tried to silence some warnings.
5825 (edebug-submit-bug-report): Remove.
5826 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5827 Remove aliases, use the un-prefixed name instead.
5828 (edebug-pop-to-buffer): Consider other frames.
5829 (edebug-original-read):: Make it more obvious that it's always defined.
5830 (edebug--make-form-data-entry, edebug--form-data-name)
5831 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5832 single-dashed name, and implement with cl-defstruct.
5833 (edebug-set-form-data-entry): Use the standard accessors.
5834 (edebug-make-top-form-data-entry): Use push.
5835 (edebug-no-match): Drop useless `funcall'.
5836 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5838 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5839 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5840 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5841 (easy-menu-define, with-custom-print): Remove redundant specs.
5842 (edebug-outside-overriding-local-map)
5843 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5844 (edebug--display): Bind unread-command-events directly to nil rather
5845 than binding it to unread-command-events and later setting it to nil.
5846 (edebug--display): Kill edebug-eval-buffer here...
5847 (edebug--recursive-edit): ...rather than here.
5848 Bind standard-output and standard-input.
5849 (edebug-eval): Check cl-macroexpand-all is fboundp.
5850 (edebug-temp-display-freq-count): Fix last change.
5852 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5853 * subr.el (noreturn, 1value): Add `debug' spec.
5854 * emacs-lisp/advice.el: Require cl-lib.
5855 (ad-copy-tree): Remove, use copy-tree instead.
5856 (ad-dolist): Remove use dolist or cl-dolist instead.
5857 (ad-do-return): Remove, use cl-return instead.
5858 (defadvice): Add `debug' spec.
5860 2012-09-13 Juri Linkov <juri@jurta.org>
5862 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5865 2012-09-13 Glenn Morris <rgm@gnu.org>
5867 * calc/calc.el (math-compose-expr):
5868 * calc/calc-ext.el (math-compose-expr):
5869 * progmodes/cc-defs.el (cl-macroexpand-all):
5870 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5871 (cl-macroexpand-all): Update declarations.
5873 * vc/vc.el: No need to require ediff.
5874 (ediff-load-version-control): Declare.
5875 (ediff-vc-internal): Fix declaration.
5876 (vc-version-ediff): Require ediff.
5878 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5880 Use a more backwards-compatible timer format (Bug#12430).
5881 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5882 being right after USECS, as that better supports old code that
5883 inadvisedly looked directly at the timer vector.
5885 2012-09-13 Kenichi Handa <handa@gnu.org>
5887 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5888 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5889 `coding-priority' property of these language environment.
5891 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5893 Fix glitches caused by addition of psec to timers (Bug#12430).
5894 * image.el (image-animate-timer):
5895 * time.el (display-time-world-timer):
5896 Use timer--function and timer--args rather than raw access to
5899 2012-09-13 Glenn Morris <rgm@gnu.org>
5901 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5902 If not compiling a file, try using load-file-name.
5904 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5906 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5908 (edebug-update-eval-list): Use `push'.
5910 * emacs-lisp/edebug.el: Use lexical-binding.
5911 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5912 Mark unused args with underscore.
5913 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5914 (edebug-form-data): Use defvar-local.
5915 (edebug-make-before-and-after-form, edebug-make-after-form):
5917 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5918 Not dynamically scoped any more.
5919 (edebug--enter-trace): Add arguments `function' and `args'.
5920 Rename from edebug-enter-trace.
5921 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5922 (edebug--update-coverage): Add `after-index' and `value' args.
5923 Rename from edebug-update-coverage.
5924 (edebug-slow-after): Call it accordingly.
5925 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5926 edebug-recursive-edit.
5927 (edebug--display): Call it accordingly. Add args `value',
5928 `offset-index', and `arg-mode'. Rename from edebug-display.
5929 (edebug-debugger, edebug): Call it accordingly.
5930 (edebug-eval-display-list): Use dolist.
5932 2012-09-12 Juri Linkov <juri@jurta.org>
5934 * info.el (Info-search): Don't check for isearch-mode and
5935 isearch-regexp before let-binding search-spaces-regexp to
5936 Info-search-whitespace-regexp.
5937 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5938 search-whitespace-regexp if isearch-lax-whitespace or
5939 isearch-regexp-lax-whitespace is non-nil.
5940 (Info-mode): Don't set local variable search-whitespace-regexp.
5941 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5943 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5945 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5946 (debugger-env-macro): Remove support for unread-command-char.
5948 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5949 the temporary map re-appearing on emulation-mode-map-alists.
5951 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5954 * ehelp.el (with-electric-help): Accept functions in
5955 electric-help-form-to-execute.
5956 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5957 And replace unread-command-char -> unread-command-events.
5959 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5961 Sync with Tramp 2.2.6.
5963 * net/tramp.el (tramp-accept-process-output): Don't use
5964 JUST-THIS-ONE in the XEmacs case.
5966 * net/trampver.el: Update release number.
5968 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5970 * emacs-lisp/debug.el (debugger-previous-window-height):
5972 (debug): When debugger-jumping-flag is non-nil try to restore
5973 height of debugger window. (Bug#8789)
5975 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5977 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5978 overriding-local-map and pre/post-command-hook here.
5979 (edebug-recursive-edit): Do it here instead (bug#12345).
5980 (edebug-outside-unread-command-char): Remove all uses of
5981 unread-command-char.
5983 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5984 inhibit-debugger is bound instead.
5986 2012-09-11 Bastien Guerry <bzg@gnu.org>
5988 * subr.el (set-temporary-overlay-map): Add a docstring.
5991 2012-09-11 Bastien Guerry <bzg@gnu.org>
5993 * minibuffer.el (completion-table-subvert): Fix docstring.
5996 2012-09-11 Bastien Guerry <bzg@gnu.org>
5998 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6000 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6002 * progmodes/sql.el: Version 3.1
6003 (sql-db2-escape-newlines): New variable.
6004 (sql-escape-newlines-filter): Use it.
6006 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6008 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6010 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6012 * vc/diff-mode.el (diff-mode-menu):
6013 Bind diff-remove-trailing-whitespace.
6015 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6017 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6018 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6019 (emacs-lisp-byte-code-mode): New functions.
6020 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6021 (eval-defun-2): Remove bogus interactive spec.
6022 (lisp-indent-line): Remove redundant whole-exp code, now done in
6023 indent-according-to-mode.
6024 (save-match-data): Remove redundant indent data.
6026 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6029 2012-09-09 Juri Linkov <juri@jurta.org>
6031 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6032 (replace-lax-whitespace, query-replace-regexp)
6033 (query-replace-regexp-eval, replace-regexp): Doc fix.
6034 (perform-replace, replace-highlight): Let-bind
6035 isearch-lax-whitespace to replace-lax-whitespace and
6036 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6038 * isearch.el (isearch-query-replace): Let-bind
6039 replace-lax-whitespace to isearch-lax-whitespace and
6040 replace-regexp-lax-whitespace to
6041 isearch-regexp-lax-whitespace. (Bug#10885)
6043 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6045 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6047 2012-09-09 Alan Mackenzie <acm@muc.de>
6049 * progmodes/cc-engine.el (c-state-cache-init):
6050 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6051 (c-record-parse-state-state):
6052 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6054 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6056 * register.el (register-separator): Rename from
6057 separator-register. All uses changed. Doc fix.
6058 (register): Fix version.
6060 2012-09-09 Chong Yidong <cyd@gnu.org>
6062 * replace.el (query-replace-map): Bind four new symbols for
6063 requesting window scrolling.
6065 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6066 query-replace-map (Bug#8948).
6068 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6070 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6071 since they are now in query-replace-map.
6073 * window.el (scroll-other-window-down): Make the arg optional.
6075 2012-09-09 Chong Yidong <cyd@gnu.org>
6077 * files.el (hack-local-variables-confirm): Use quit-window to kill
6078 the *Local Variables* buffer.
6080 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6082 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6083 not just expect to be at its beginning. Adjust callees.
6084 Succeed when do-end block has no space before the pipe character.
6085 (ruby-brace-to-do-end): When the original block is one-liner,
6086 convert to multiline. Reindent the result.
6088 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6090 * register.el (register): New group.
6091 (separator-register): New user option.
6092 (increment-register): Route it to `append-to-register', if
6093 register contains text. Implication is that `C-x r +' can now be
6094 used for appending to a text register (bug#12217).
6095 (append-to-register, prepend-to-register): Add separator based on
6096 `separator-register'.
6098 2012-09-08 Alan Mackenzie <acm@muc.de>
6100 AWK Mode: make auto-newline work when there's "==" in the pattern.
6101 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6103 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6104 Test more rigorously for "=" token.
6106 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6108 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6109 Only fail when reached LIMIT.
6111 2012-09-08 Chong Yidong <cyd@gnu.org>
6113 * dired.el (dired-mode-map): Don't bind M-=.
6115 * dired-aux.el (dired-diff): Use backup file as default.
6117 2012-09-08 Drew Adams <drew.adams@oracle.com>
6119 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6121 2012-09-08 Chong Yidong <cyd@gnu.org>
6123 * subr.el (syntax-after, syntax-class): Doc fix.
6125 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6127 * window.el (display-buffer-in-previous-window): New buffer
6128 display action function.
6130 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6131 (debugger-previous-window): New variable.
6132 (debug): Rewrite using display-buffer-in-previous-window,
6133 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6135 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6137 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6139 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6141 * progmodes/python.el (python-shell-send-string):
6142 When default-directory is remote, create temp file on remote
6144 (python-shell-send-file): When file is remote, pass local view of
6145 file paths to remote Python interpreter. (Bug#12340)
6147 2012-09-07 Chong Yidong <cyd@gnu.org>
6149 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6151 * files.el (after-find-file): Don't fail on a read-only buffer if
6152 require-final-newline is `visit' or `visit-save' (Bug#11156).
6154 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6156 * userlock.el (ask-user-about-supersession-threat):
6157 Use read-char-choice (Bug#12093).
6159 2012-09-07 Chong Yidong <cyd@gnu.org>
6161 * subr.el (buffer-narrowed-p): New function.
6163 * ses.el (ses-widen):
6164 * simple.el (count-words--buffer-message):
6165 * net/browse-url.el (browse-url-of-buffer): Use it.
6167 * simple.el (count-words-region): Don't signal an error if there
6168 is a non-nil prefix arg and the mark is not set.
6170 * help.el (describe-key-briefly): Allow the message to be seen
6171 when invoked from the minibuffer (Bug#7014).
6173 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6175 * progmodes/ruby-mode.el (ruby-end-of-defun)
6176 (ruby-beginning-of-defun): Simplify, allow indentation before
6177 block beginning and end keywords.
6178 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6179 (ruby-end-of-defun): Expect that the point is at the beginning of
6182 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6184 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6186 (cl--make-usage-args): Strip _ from argument names.
6188 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6190 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6191 obsolete alias speedbar-key-map.
6192 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6193 (vhdl-index-menu-init): Don't use obsolete variable
6194 font-lock-maximum-size.
6196 2012-09-06 Chong Yidong <cyd@gnu.org>
6198 * frame.el (window-system-version): Mark as obsolete.
6200 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6201 of obsolete variable speedbar-key-map.
6203 2012-09-06 Juri Linkov <juri@jurta.org>
6205 * replace.el (replace-lax-whitespace): New defcustom.
6206 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6207 (replace-string, replace-regexp): Mention it in docstrings.
6208 (perform-replace, replace-highlight): Let-bind
6209 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6210 to the values of replace-lax-whitespace and regexp-flag.
6211 Don't let-bind search-whitespace-regexp. (Bug#10885)
6213 * isearch.el (isearch-query-replace): Let-bind
6214 replace-lax-whitespace instead of let-binding
6215 replace-search-function and replace-re-search-function.
6216 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6217 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6218 (isearch-toggle-symbol): Set isearch-regexp to nil
6219 in isearch-word mode (like in isearch-toggle-word).
6221 2012-09-06 Juri Linkov <juri@jurta.org>
6223 * replace.el (replace-search-function)
6224 (replace-re-search-function): Set default values to nil.
6225 (perform-replace): Let-bind isearch-related variables based on
6226 replace-related values, call `isearch-search-fun' and let-bind
6227 the result to `search-function'. Remove code that sets
6228 `search-function' and `search-string' separately for
6230 (replace-highlight): Add new argument `delimited-flag' and
6231 rename other arguments to the names used in `perform-replace'.
6232 Let-bind `isearch-word' to the argument `delimited-flag'.
6233 (Bug#10885, bug#10887)
6235 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6237 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6238 ruby-beginning-of-indent, simplify, allow all keywords to have
6239 indentation before them.
6240 (ruby-beginning-of-indent): Adjust for above. Search until the
6241 found point is not inside a string or comment.
6242 (ruby-font-lock-keywords): Allow symbols to start with "@"
6243 character, give them higher priority than variables.
6244 (ruby-syntax-propertize-function)
6245 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6246 matchers. Expression expansions are not comments when inside a
6247 string, and there comment syntax status is irrelevant.
6248 (ruby-match-expression-expansion): New function. Check that
6249 expression expansion is inside a string, and it's not escaped.
6250 (ruby-font-lock-keywords): Use it.
6252 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6254 * help.el (temp-buffer-max-height): New default value.
6255 (temp-buffer-resize-frames): New option.
6256 (resize-temp-buffer-window): Optionally resize frame.
6258 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6259 (fit-frame-to-buffer): New function.
6261 2012-09-05 Glenn Morris <rgm@gnu.org>
6263 * emulation/cua-rect.el (cua--init-rectangles):
6264 * textmodes/picture.el (picture-mode-map):
6265 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6266 like forward-char and backward-char. (Bug#12317)
6268 2012-09-05 Leo Liu <sdl.web@gmail.com>
6270 * progmodes/flymake.el (flymake-warning-re): New variable.
6271 (flymake-parse-line): Use it.
6273 2012-09-05 Glenn Morris <rgm@gnu.org>
6275 * calendar/holidays.el (holiday-christian-holidays):
6276 Rename an entry. (Bug#12289)
6278 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6283 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6285 * loadup.el: Load macroexp. Remove hack.
6286 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6287 (macroexp--expand-all): Use it to get better warnings.
6288 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6289 (internal-macroexpand-for-load): New functions.
6290 (macroexp--pending-eager-loads): New var.
6291 (emacs-startup-hook): New hack to replace one in loadup.el.
6292 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6293 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6294 (cl-psetf): Simplify.
6295 (cl-defstruct): Add indent rule.
6297 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6299 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6300 over `user-mail-address' for the SMTP MAIL FROM envelope.
6301 (smtpmail-via-smtp): Ditto.
6303 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6305 * progmodes/ruby-mode.el: Clean up keybindings.
6306 (ruby-mode-map): Don't bind ruby-electric-brace,
6307 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6308 backward-kill-word, reindent-then-newline-and-indent.
6309 (ruby-mark-defun): Remove.
6310 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6311 (ruby-mode): Set local beginning-of-defun-function and
6312 end-of-defun-function values.
6314 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6316 * window.el (temp-buffer-window-setup-hook)
6317 (temp-buffer-window-show-hook): New hooks.
6318 (temp-buffer-window-setup, temp-buffer-window-show)
6319 (with-temp-buffer-window): New functions.
6320 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6321 (special-display-popup-frame): Make sure the window used shows BUFFER.
6323 * help.el (temp-buffer-resize-mode): Fix doc-string.
6324 (resize-temp-buffer-window): New optional argument WINDOW.
6326 * files.el (recover-file, save-buffers-kill-emacs):
6327 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6329 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6331 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6332 remote definition of `default-directory', ensure we can connect.
6334 2012-09-02 Juri Linkov <juri@jurta.org>
6336 Toggle whitespace matching mode with M-s SPC.
6337 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6339 * isearch.el (search-whitespace-regexp): Doc fix.
6340 Remove cons cell customization.
6341 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6342 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6344 (isearch-forward, isearch-forward-regexp): Doc fix.
6345 (isearch-toggle-lax-whitespace): New command.
6346 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6347 (re-search-forward-lax-whitespace)
6348 (re-search-backward-lax-whitespace): New functions.
6349 (isearch-whitespace-regexp): Remove function.
6350 (isearch-query-replace): Let-bind replace-search-function and
6351 replace-re-search-function.
6352 (isearch-occur): Let-bind search-spaces-regexp according to the
6353 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6354 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6355 condition for C-q SPC.
6356 (isearch-search-fun-default): Use new functions mentioned above.
6357 (isearch-search-forward, isearch-search-backward): Remove functions.
6358 (isearch-search): Don't let-bind search-spaces-regexp.
6359 (isearch-lazy-highlight-space-regexp): Remove variable.
6360 (isearch-lazy-highlight-lax-whitespace)
6361 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6362 (isearch-lazy-highlight-new-loop): Use them.
6363 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6365 2012-09-02 Chong Yidong <cyd@gnu.org>
6367 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6369 2012-09-02 Glenn Morris <rgm@gnu.org>
6371 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6373 2012-09-01 Glenn Morris <rgm@gnu.org>
6375 * term.el: Tidy up menu definitions.
6376 (term-mode-map): Use easymenu for In/Out, Complete menus.
6377 (term-pager-break-map): Initialize in the defvar.
6378 (term-terminal-menu, term-signals-menu): Define with easymenu.
6379 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6380 (term-pager-menu): New, extracted from term-process-pager.
6381 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6382 (term-update-mode-line): Propertize line/char and page items.
6383 (term-process-pager): Move keymap initialization elsewhere.
6385 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6387 * window.el (switch-to-prev-buffer): Handle additional values of
6388 BURY-OR-KILL argument. Don't switch in minibuffer window.
6389 (switch-to-next-buffer): Don't switch in minibuffer window.
6390 (quit-restore-window): New function based on quit-window.
6391 Handle additional values of former KILL argument.
6392 (quit-window): Call quit-restore-window with appropriate
6393 interpretation of KILL argument.
6394 (display-buffer-below-selected): New buffer display action
6397 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6399 * minibuffer.el (completion-at-point-functions): Complete docstring
6402 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6404 Better seed support for (random).
6405 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6406 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6407 * play/mpuz.el, play/tetris.el, play/zone.el:
6408 * calc/calc-comb.el (math-init-random-base):
6409 * play/blackbox.el (bb-init-board):
6410 * play/life.el (life):
6411 * server.el (server-use-tcp):
6412 * type-break.el (type-break):
6413 Remove unnecessary call to (random t).
6414 * net/sasl.el (sasl-unique-id-function):
6415 Change (random t) to (random), now that the latter is more random.
6416 * play/life.el (life-initialized): Remove no-longer-needed var.
6418 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6420 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6421 Consider frame's buffer predicate when choosing the buffer.
6424 2012-08-30 Richard Stallman <rms@gnu.org>
6426 * simple.el (special-mode-map): Delete binding for `z'.
6428 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6430 * progmodes/compile.el (compilation-always-kill): Doc fix.
6432 2012-08-30 Chong Yidong <cyd@gnu.org>
6434 * window.el (display-buffer-reuse-frames): Make the obsolescence
6435 message more informative.
6437 2012-08-30 Glenn Morris <rgm@gnu.org>
6439 * paren.el (show-paren-delay):
6440 Add a :set function. Doc fix. (Bug#12297)
6442 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6444 * progmodes/compile.el (compilation-always-kill): New var.
6445 (compilation-start): Use it.
6447 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6449 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6450 * files.el (read-only-mode): Move to simple.el.
6452 * files.el (read-only-mode): New minor mode.
6453 (toggle-read-only): Use it and mark obsolete.
6454 (find-file--read-only):
6455 * vc/vc.el (vc-next-action, vc-checkout):
6456 * vc/vc-cvs.el (vc-cvs-checkout):
6457 * obsolete/vc-mcvs.el (vc-mcvs-update):
6458 * ffap.el (ffap--toggle-read-only): Update callers.
6460 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6462 * eshell/esh-ext.el (eshell-external-command): Do not examine
6463 remote shell scripts.
6464 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6466 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6469 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6471 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6473 2012-08-28 Leo Liu <sdl.web@gmail.com>
6475 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6476 completion-at-point. (Bug#12220)
6478 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6480 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6482 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6484 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6485 be buffer-local; add delete-trailing-whitespace (bug#12259).
6487 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6489 * progmodes/hideif.el (hif-compress-define-list):
6490 Fix typo. (Bug#11951)
6492 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6494 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6495 buffer local setting.
6497 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6498 rcirc-encode-coding-system.
6500 2012-08-28 Leo Liu <sdl.web@gmail.com>
6502 * net/rcirc.el (rcirc-split-message): New function.
6503 (rcirc-send-message): Use it. (Bug#12051)
6505 2012-08-28 Juri Linkov <juri@jurta.org>
6507 * info.el (Info-fontify-node): Hide empty lines at the end of
6508 the node. (Bug#12272)
6510 2012-08-27 Drew Adams <drew.adams@oracle.com>
6512 * dired.el (dired-pop-to-buffer): Make window start at beginning
6513 of buffer (Bug#12281).
6515 2012-08-26 Chong Yidong <cyd@gnu.org>
6517 * window.el (special-display-regexps, special-display-frame-alist)
6518 (special-display-buffer-names, special-display-function)
6519 (display-buffer-reuse-frames): Mark as obsolete.
6521 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6523 * help.el (help-print-return-message): Don't treat
6524 display-buffer-reuse-frames specially.
6526 2012-08-26 Chong Yidong <cyd@gnu.org>
6528 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6529 New variable, replacing gdb-frame-parameters.
6530 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6531 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6532 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6533 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6534 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6535 the functions directly with gdb-display-buffer-other-frame-action.
6536 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6537 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6538 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6539 (gdb-display-registers-buffer): Define directly.
6540 (def-gdb-display-buffer): Macro deleted.
6541 (gdb-display-buffer): Remove second and third args, callers don't
6542 use them. Defer to the default display-buffer behavior, apart
6543 from making windows dedicated.
6544 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6546 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6548 * window.el (display-buffer-pop-up-frame): Handle a
6549 pop-up-frame-parameters alist entry.
6550 (display-buffer): Document it.
6552 2012-08-26 Chong Yidong <cyd@gnu.org>
6554 * isearch.el (search-whitespace-regexp): Make string and nil
6555 values apply to both ordinary and regexp search. Allow a cons
6556 cell value to distinguish between the two.
6557 (isearch-whitespace-regexp, isearch-search-forward)
6558 (isearch-search-backward): New functions.
6559 (isearch-occur, isearch-search-fun-default, isearch-search)
6560 (isearch-lazy-highlight-new-loop): Use them.
6561 (isearch-forward, isearch-forward-regexp): Doc fix.
6563 2012-08-26 Chong Yidong <cyd@gnu.org>
6565 * faces.el (help-argument-name): Always inherit from italic
6568 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6570 * window.el (window--even-window-heights): Even heights when
6571 WINDOW and the selected window form a vertical combination.
6572 (display-buffer-use-some-window): Provide that window used gets
6573 sized back by quit-window. (Bug#11880) and (Bug#12091)
6575 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6577 Fix file time stamp problem with bzr and CVS (Bug#12001).
6578 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6579 in the file's time stamp, since the version control system loses
6582 2012-08-22 Juri Linkov <juri@jurta.org>
6584 * info.el (Info-fontify-node): Hide the suffix of the
6585 Info file name in the header line. (Bug#12187)
6587 2012-08-22 Glenn Morris <rgm@gnu.org>
6589 * calendar/cal-tex.el (cal-tex-weekly-common):
6590 Restore leading blank page.
6592 2012-08-22 Le Wang <l26wang@gmail.com>
6594 * misc.el (forward-to-word, backward-to-word): Activate or extend
6595 the region under `shift-select-mode'. (Bug#12231)
6597 2012-08-22 Bastien Guerry <bzg@gnu.org>
6599 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6600 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6601 gives details on why the space is never needed.
6603 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6605 * window.el (walk-window-tree, window-with-parameter):
6606 New optional argument MINIBUF to control whether these functions
6607 should run on the minibuffer window.
6608 (window-at-side-list): Don't operate on minibuffer window.
6609 (window-in-direction): Simplify and rewrite doc-string.
6610 (window--size-ignore): Rename to window--size-ignore-p.
6612 (display-buffer-in-atom-window, window--major-non-side-window)
6613 (window--major-side-window, display-buffer-in-major-side-window)
6614 (delete-side-window, display-buffer-in-side-window):
6616 (window--side-check, window-deletable-p, delete-window)
6617 (delete-other-windows, split-window): Handle side windows and
6618 atomic windows appropriately.
6619 (window--display-buffer): Call display-buffer-record-window also
6620 when the window buffer did not change.
6622 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6624 * help-fns.el (help-fns--key-bindings):
6625 Abbreviate non-symbol remap targets. (Bug#12174)
6627 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6629 * dired.el (dired-mark-remembered): Don't clobber point.
6632 2012-08-22 Glenn Morris <rgm@gnu.org>
6634 * progmodes/bug-reference.el (bug-reference): New custom group.
6635 (bug-reference-bug-regexp): Make it a defcustom.
6637 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6639 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6640 (js-paren-indent-offset, js-square-indent-offset)
6641 (js-curly-indent-offset): Add :safe (Bug#12257).
6643 2012-08-22 Edward O'Connor <hober0@gmail.com>
6645 * json.el (json-key-format): Add error properties.
6646 (json-encode-key): New function.
6647 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6648 Use json-encode-key.
6650 2012-08-22 Glenn Morris <rgm@gnu.org>
6652 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6653 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6654 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6655 Update for above change.
6657 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6659 * cus-face.el (custom-face-attributes): Fix customize type for the
6660 :underline attribute. (Bug#11805)
6662 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6664 * window.el (window-point-1, set-window-point-1): Remove.
6665 (window-in-direction, record-window-buffer)
6666 (set-window-buffer-start-and-point, split-window-below)
6667 (window--state-get-1, display-buffer-record-window):
6668 Replace calls to window-point-1 and set-window-point-1 by calls to
6669 window-point and set-window-point respectively.
6671 2012-08-21 Glenn Morris <rgm@gnu.org>
6673 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6674 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6677 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6678 (cal-tex-shortday): New function.
6679 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6680 (cal-tex-cursor-filofax-daily): Use the above.
6682 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6684 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6685 (cal-tex-cursor-filofax-week): Use them.
6687 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6689 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6690 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6692 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6693 (cal-tex-end-document): Don't rely on buffer name.
6695 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6697 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6698 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6699 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6702 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6703 (cal-tex-cursor-week, cal-tex-cursor-week2)
6704 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6705 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6706 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6707 (cal-tex-insert-preamble, cal-tex-b-document)
6708 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6709 Improve cal-tex-cmd usage.
6711 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6712 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6713 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6714 (cal-tex-weekly-paper): New function.
6715 (cal-tex-cursor-week, cal-tex-cursor-week2)
6716 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6717 (cal-tex-cursor-day): Use it.
6719 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6720 (cal-tex-cursor-filofax-week): Remove leading blank page.
6722 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6723 Add autoload cookie. For now at least, don't use color, since
6724 no other cal-tex function does.
6726 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6727 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6728 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6730 2012-08-21 Juri Linkov <juri@jurta.org>
6732 * info.el (Info-file-attributes): New variable.
6733 (info-insert-file-contents): Add file attributes to
6734 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6735 `Info-toc-nodes' when previous modtime of the Info file is less
6737 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6738 of info.el. (Bug#12230)
6740 2012-08-20 Glenn Morris <rgm@gnu.org>
6742 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6743 * calendar/holidays.el (calendar-holiday-list):
6744 Report errors with display-warning rather than beep'n'sleep.
6746 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6748 * net/tramp.el (tramp-accept-process-output): Accept only output
6749 from PROC. Otherwise, process filters and sentinels might be
6750 confused. (Bug#12145)
6752 2012-08-20 Chong Yidong <cyd@gnu.org>
6754 * descr-text.el (describe-text-properties-1): Use overlays-in to
6755 report on empty overlays (Bug#3322).
6757 2012-08-20 Glenn Morris <rgm@gnu.org>
6759 * mail/rmailout.el (rmail-output-read-file-name):
6760 Trap and report errors in rmail-output-file-alist elements.
6762 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6763 since most non-font-lock faces are not also variables).
6765 2012-08-20 Edward Reingold <reingold@iit.edu>
6767 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6768 New function. (Bug12160)
6770 2012-08-19 Glenn Morris <rgm@gnu.org>
6772 * mail/rmailout.el (rmail-output-read-file-name):
6773 Fix previous change (when the alist is nil or does not match).
6775 2012-08-19 Chong Yidong <cyd@gnu.org>
6777 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6780 2012-08-18 Chong Yidong <cyd@gnu.org>
6782 * simple.el (yank-handled-properties): New defcustom.
6783 (yank-excluded-properties): Add font-lock-face and category.
6786 * subr.el (remove-yank-excluded-properties):
6787 Obey yank-handled-properties. The special handling of font-lock-face
6788 and category is now done this way, instead of being hard-coded.
6789 (insert-for-yank-1): Remove font-lock-face handling.
6790 (yank-handle-font-lock-face-property)
6791 (yank-handle-category-property): New function.
6793 2012-08-17 Glenn Morris <rgm@gnu.org>
6795 * mail/rmailout.el (rmail-output-read-file-name):
6796 Check rmail-output-file-alist against the full message body
6797 in the correct rmail buffer. (Bug#12214)
6799 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6801 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6802 Eliminate superfluous prompt. (Bug#12203)
6804 2012-08-17 Chong Yidong <cyd@gnu.org>
6806 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6807 font spec, set the font directly (Bug#3228).
6809 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6811 * window.el (delete-window): Fix last fix.
6813 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6815 * window.el (window-valid-p): Move to window.c.
6816 (window-child, window-child-count, window-last-child)
6817 (window-normalize-window, window-combined-p)
6818 (window-combinations, window-atom-root, window-min-size)
6819 (window-sizable, window-sizable-p, window-size-fixed-p)
6820 (window-min-delta, window-max-delta, window--resizable)
6821 (window--resizable-p, window-resizable, window-total-size)
6822 (window-full-height-p, window-full-width-p, window-body-size)
6823 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6824 (minimize-window, window-deletable-p, delete-window)
6825 (delete-other-windows, set-window-buffer-start-and-point)
6826 (next-buffer, previous-buffer, split-window, balance-windows-2)
6827 (set-window-text-height, window-buffer-height)
6828 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6829 (truncated-partial-width-window-p): Minor code adjustments.
6830 In doc-strings state whether the argument window has to denote a
6831 live, valid or any window.
6833 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6835 * progmodes/subword.el (subword-forward-function)
6836 (subword-backward-function, subword-forward-regexp)
6837 (subword-backward-regexp): New variables.
6838 (subword-forward, subword-forward-internal, subword-backward-internal):
6839 Use new variables, eg so that different "word" definitions
6840 can be easily used. (Bug#11411)
6842 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6844 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6845 for composite selectors.
6846 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6847 operation just because we can't find a previous revision.
6849 2012-08-15 Chong Yidong <cyd@gnu.org>
6851 * frame.el (set-frame-font): Accept font objects.
6853 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6855 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6857 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6859 * man.el (Man-overstrike-face, Man-underline-face)
6860 (Man-reverse-face): Remove variables.
6861 (Man-overstrike, Man-underline, Man-reverse): New faces.
6862 (Man-fontify-manpage): Use them instead of the variables.
6863 (Man-cleanup-manpage): Comment change.
6864 (Man-ansi-color-map): New variable.
6865 (Man-fontify-manpage): Use it.
6866 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6868 Implement ANSI SGR parameters 22-27 (bug#12146).
6869 * ansi-color.el (ansi-colors): Doc fix.
6870 (ansi-color-context, ansi-color-context-region): Doc fix.
6871 (ansi-color--find-face): New function.
6872 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6873 Rename the local variable `face' to `codes' since it is now a list of
6874 ansi codes. Doc fix.
6875 (ansi-color-get-face): Remove.
6876 (ansi-color-parse-sequence): New function, derived from
6877 ansi-color-get-face.
6878 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6881 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6883 * subr.el (read-passwd): Allow use from a minibuffer.
6885 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6887 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6888 inside comments and strings as identifiers.
6890 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6891 expression to evaluate. This allows to evaluate expressions with
6892 embedded whitespace.
6893 (gud-tooltip-tips): Add a blank before the newline in the
6894 message-box text, for the benefit of message-box emulation on
6897 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6898 messages from GDB, pop them up in a tooltip to give feedback to
6900 (gdb-tooltip-print-1): Quote the expression to evaluate.
6901 This allows to evaluate expressions with embedded whitespace.
6902 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6903 if the TTY name is nil or empty (which happens when communicating
6904 with the inferior via pipes, e.g. on MS-Windows).
6905 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6906 don't send that to the GUD buffer.
6908 2012-08-14 Glenn Morris <rgm@gnu.org>
6910 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6911 Optimize away setq-default with no args, as for setq. (Bug#12195)
6913 2012-08-14 Chong Yidong <cyd@gnu.org>
6915 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6917 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6920 2012-08-14 Glenn Morris <rgm@gnu.org>
6922 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6924 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6926 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6927 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6928 Use cached shell name.
6930 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6932 * progmodes/python.el (python-shell-send-string):
6933 (python-shell-send-setup-code): Do not use `format' with `message'.
6935 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6937 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6938 (ruby-percent-literal-beg-re): New constant.
6939 (ruby-syntax-general-delimiters-goto-beg): Rename to
6940 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6941 (ruby-syntax-propertize-general-delimiters): Rename to
6942 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6943 popular term. Adjust comments everywhere.
6944 (ruby-syntax-propertize-percent-literal): Only propertize when not
6945 inside a simple string or comment. When the literal is unclosed,
6946 leave the text after it unpropertized.
6947 (ruby-syntax-methods-before-regexp): New constant.
6948 (ruby-syntax-propertize-function): Use it to recognize regexps.
6949 Don't look at the text after regexp, just use the whitelist.
6951 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6953 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6954 non-nil always load the compiled file if it exists. (Bug#12197)
6956 2012-08-14 Chong Yidong <cyd@gnu.org>
6958 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6959 (hi-lock-set-pattern): When deciding whether to use font lock or
6960 overlays, look at font-lock-mode instead of font-lock-fontified
6962 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6963 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6965 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6967 * subr.el (internal--after-with-selected-window): Fix typo
6970 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6972 Use `completion-table-dynamic' for completion functions.
6973 * progmodes/python.el
6974 (python-shell-completion--do-completion-at-point)
6975 (python-shell-completion--get-completions):
6977 (python-shell-completion-complete-at-point): New function.
6978 (python-completion-complete-at-point): Use it.
6980 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6982 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6983 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6985 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6987 * subr.el (function-get): Refine `autoload' arg so it can also
6988 autoload functions for gv.el (bug#12191).
6989 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6992 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6993 Prefer pcase-let over destructuring-bind.
6994 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6995 Also, remove whitespace as we go, rather than after accumulating the
6998 * subr.el (internal--before-with-selected-window)
6999 (internal--after-with-selected-window): Fix typo seleted->selected.
7000 (with-selected-window): Adjust callers.
7001 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7003 2012-08-13 Bastien Guerry <bzg@gnu.org>
7005 * window.el (special-display-popup-frame): Minor docstring
7006 enhancement. (Bug#12172)
7008 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7010 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7012 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7015 * files.el (hack-local-variables-filter): Remove useless eval.
7017 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7019 * subr.el (with-selected-window): Fix last change.
7021 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7023 * subr.el (internal--before-with-seleted-window)
7024 (internal--after-with-seleted-window): New functions.
7025 (with-selected-window): Use them, to replace dependency on
7028 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7030 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7031 binding for `newline'.
7032 (ruby-move-to-block): When moving backward, stop at block opening,
7034 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7035 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7036 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7037 `ruby-toggle-block'.
7039 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7041 * ibuffer.el (ibuffer-do-toggle-read-only):
7042 * dired.el (dired-toggle-read-only):
7043 * buff-menu.el (Buffer-menu-toggle-read-only):
7044 * bindings.el (mode-line-toggle-read-only):
7045 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7047 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7049 * descr-text.el (describe-char): Put the overlays over the
7050 "displayed as" character.
7052 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7054 * calc/calc-units.el (math-default-units-table): Give an
7056 (math-put-default-units): Add options to put composite units and
7057 unit systems in the default units table.
7058 (calc-convert-units): Send composite units to
7059 `math-put-default-units' when appropriate.
7061 2012-08-11 Glenn Morris <rgm@gnu.org>
7063 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7065 * tutorial.el (help-with-tutorial):
7066 * emacs-lisp/copyright.el (copyright-update-directory):
7067 * emacs-lisp/autoload.el (autoload-find-generated-file)
7068 (autoload-find-file): Disable local eval: (for insurance).
7070 * files.el (hack-local-variables-filter): If an eval: form is not
7071 known to be safe, and enable-local-variables is :safe, then ignore
7072 the form totally, as is done for non-eval forms. (Bug#12155)
7073 This is CVE-2012-3479.
7075 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7077 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7078 (rx-form): Simplify.
7080 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7082 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7083 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7084 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7085 (ruby-syntax-propertize-function): Adjust for changes in
7086 `ruby-syntax-propertize-heredoc'.
7088 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7090 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7091 binding (use `M-;' instead).
7092 (ruby-singleton-class-p): New function.
7093 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7095 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7097 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7099 2012-08-10 Chong Yidong <cyd@gnu.org>
7101 * progmodes/python.el (python-shell-get-process-name): Don't mess
7102 with same-window-buffer-names.
7104 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7105 (eshell-remove-from-window-buffer-names): Make obsolete.
7106 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7107 (eshell): Just use pop-to-buffer-same-window instead.
7109 2012-08-10 Chong Yidong <cyd@gnu.org>
7111 * bindings.el: Bind M-= back to count-words-region.
7113 * simple.el (count-words-region): Accept a prefix arg for acting
7114 on the entire buffer.
7115 (count-words--buffer-message): New helper function.
7117 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7119 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7120 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7121 (event-start, event-end): Use posn-at-point to return a more
7123 (posnp): New function.
7124 * mouse.el (popup-menu-normalize-position): Use it.
7126 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7128 * mouse.el (popup-menu-normalize-position): New function.
7129 (popup-menu): Use `popup-menu-normalize-position' to normalize
7130 the form for POSITION argument.
7132 * term/x-win.el (x-menu-bar-open):
7133 Use the value returend from (posn-at-point) as position
7134 passed to `popup-menu'.
7136 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7138 * calc/calccomp.el (math-compose-expr): Add extra argument
7139 indicating that parentheses should be put around products in
7140 denominators. Give multiplication precedence over division during
7143 2012-08-09 Chong Yidong <cyd@gnu.org>
7145 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7146 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7147 (Man-untabify-command, manual-program): Convert to defcustom
7150 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7152 * descr-text.el (describe-char): Don't insert extra newlines
7155 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7156 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7158 * align.el (align-region): Delete temporary markers (Bug#10047).
7159 Plus some code cleanups.
7161 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7163 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7164 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7165 (python-shell-internal-last-output): Use make-local-variable
7166 instead of make-variable-buffer-local.
7168 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7170 * progmodes/python.el: Enhancements to forward-sexp.
7171 (python-nav-forward-sexp): Rename from
7172 python-nav-forward-sexp-function.
7173 (python-nav--forward-sexp, python-nav--backward-sexp):
7176 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7178 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7179 modes and simplification modes.
7181 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * delsel.el (delete-selection-pre-hook): Don't propagate the
7184 file-supersession signals (bug#12161).
7186 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7188 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7189 (cl-map-extents): Add compatibility aliases (bug#12135).
7191 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7193 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7194 tests by `ignore-error'.
7195 (tramp-find-shell): Open also a new shell, when cache is already
7196 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7198 2012-08-08 Juri Linkov <juri@jurta.org>
7200 * bookmark.el: Add `defaults' property to the bookmark record.
7201 (bookmark-current-buffer): Doc fix.
7202 (bookmark-make-record): Add `defaults' property with default values
7203 to the bookmark record.
7204 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7205 with `bookmark-insert-current-bookmark'.
7206 (bookmark-set): Get `defaults' property from the bookmark record
7207 and use it in `read-from-minibuffer'.
7208 (bookmark-insert-current-bookmark): Remove function.
7210 * info.el (Info-bookmark-make-record): Add `defaults' property
7211 with values of canonical Info node name, the current Info file
7212 name and the current Info node name. (Bug#12107)
7214 2012-08-08 Juri Linkov <juri@jurta.org>
7216 * files.el (basic-save-buffer): Use `buffer-name' as the default
7217 of `read-file-name' when buffer is not visiting a file (bug#12128).
7219 2012-08-08 Juri Linkov <juri@jurta.org>
7221 * info.el (Info-isearch-search): Doc fix.
7222 (Info-search): Change search-failed message from "initial node" to
7223 "end of node" (bug#12078).
7224 (Info-isearch-search): Change `isearch-string-state' to
7225 `isearch--state-string'.
7227 2012-08-08 Glenn Morris <rgm@gnu.org>
7229 * language/persian.el: Remove file.
7230 * language/misc-lang.el: Move unique part of persian.el here.
7231 * loadup.el: Remove language/persian.
7233 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7235 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7237 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7239 * progmodes/python.el: Fix defsubst warning.
7240 (python-syntax-context) Rename from python-info-ppss-context.
7241 (python-syntax-context-type): Rename from
7242 python-info-ppss-context-type.
7243 (python-syntax-comment-or-string-p): Rename from
7244 python-info-ppss-comment-or-string-p.
7246 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7248 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7250 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7252 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7253 a defcustom that is quoted with backquote.
7255 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7256 Fix handling of interactive spec when the body uses return.
7257 (math-do-arg-check, math-define-function-body): Use backquote forms.
7258 * calc/calc-ext.el (math-defcache): Likewise.
7259 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7260 * allout.el (allout-new-exposure): Likewise.
7261 * calc/calcalg2.el (math-tracing-integral): Likewise.
7262 * info.el (Info-last-menu-item): Likewise.
7263 * emulation/vip.el (vip-loop): Likewise.
7264 * textmodes/artist.el (artist-funcall): Likewise.
7265 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7266 Construct menu-item directly.
7268 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7271 2012-08-07 Chong Yidong <cyd@gnu.org>
7273 * simple.el (deactivate-mark): Preserve text properties when
7274 saving the primary selection (Bug#8384).
7276 2012-08-07 Kevin Ryde <user42@zip.com.au>
7278 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7279 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7280 and continue processing (Bug#12110).
7282 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7284 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7285 syntax-propertize-function (bug#10095).
7287 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7289 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7290 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7291 describe-function-1.
7292 (describe-function-1): Use them. Move compiler macro after sig.
7293 (help-fns--compiler-macro): Use function-get. Assume we're already in
7294 standard-output. Adjust layout to new call order.
7296 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7297 re-binding a symbol that has a symbol-macro (bug#12119).
7299 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7301 * language/persian.el: New file. (Bug#11812)
7302 * loadup.el: Add language/persian.el.
7304 2012-08-06 Chong Yidong <cyd@gnu.org>
7306 * window.el (window--maybe-raise-frame): New function.
7307 (window--display-buffer): Split off from here.
7308 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7309 (display-buffer-pop-up-window, display-buffer-use-some-window):
7310 Obey an inhibit-switch-frame action alist entry.
7311 (display-buffer): Update doc.
7313 * replace.el (occur-after-change-function): Avoid losing focus by
7314 using the inhibit-switch-frame display parameter (Bug#12139).
7316 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7318 Make internal shell process buffer names start with space.
7319 * progmodes/python.el (python-shell-make-comint): Add optional
7321 (run-python-internal): Use it.
7322 (python-shell-internal-get-or-create-process): Check for new
7323 internal buffer names.
7325 2012-08-06 Glenn Morris <rgm@gnu.org>
7327 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7328 Do less getting and setting of environment variables.
7330 2012-08-05 Chong Yidong <cyd@gnu.org>
7332 * proced.el (proced): Add substitution string to docstring to
7333 trigger autoloading of the proced library on C-h f (Bug#1768).
7335 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7336 Don't show defvars which have no second argument (Bug#8638).
7338 * imenu.el (imenu-generic-expression): Move documentation here
7339 from imenu--generic-function.
7340 (imenu--generic-function): Refer to imenu-generic-expression.
7342 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7344 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7345 indentation declaration.
7346 (viper-loop): Add indentation declaration (Bug#7025).
7348 2012-08-05 Chong Yidong <cyd@gnu.org>
7350 * help-fns.el (describe-variable): Add hyperlink for
7351 directory-local variables files. Improve buffer-local and
7352 permanent-local reporting; suggested by MON KEY (Bug#6644).
7354 * help-mode.el (help-dir-local-var-def): New button type.
7356 * files.el (kill-buffer-hook): Provide a defvar.
7358 2012-08-05 Glenn Morris <rgm@gnu.org>
7360 * eshell/esh-ext.el (eshell/addpath):
7361 Also update eshell-path-env. (Bug#12013)
7363 2012-08-05 Chong Yidong <cyd@gnu.org>
7365 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7367 * fringe.el (fringe-styles): Add docstring.
7368 (fringe--check-mode): New function.
7369 (set-fringe-mode, set-fringe-style): Use it.
7370 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7372 * files.el (set-auto-mode): Fix invalid setq call.
7374 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7376 * isearch.el: Misc simplification; use defstruct.
7377 (isearch-mode-map): Dense maps now work like sparse ones.
7378 (isearch--state): New defstruct.
7379 (isearch-string-state, isearch-message-state, isearch-point-state)
7380 (isearch-success-state, isearch-forward-state)
7381 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7382 (isearch-wrapped-state, isearch-barrier-state)
7383 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7384 replaced by defstruct's accessors.
7385 (isearch--set-state): Rename from isearch-top-state and change
7387 (isearch-push-state): Use new isearch--get-state.
7388 (isearch-toggle-word): Disable regexp when enabling word.
7389 (isearch-message-prefix): Remove unused arg _c-q-hack.
7390 (isearch-message-suffix): Remove unused arg _ellipsis.
7392 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7394 * simple.el (list-processes--refresh): For a server use :host or
7395 :local as the address.
7396 (list-processes): Doc fix.
7398 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7400 * lisp/mpc.el: Support password in host argument.
7401 (mpc--proc-connect): Parse and use new password element.
7402 Set mpc-proc variable instead of returning process.
7403 (mpc-proc): Adjust accordingly.
7405 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7407 * whitespace.el (whitespace-display-mappings): Use Unicode
7408 codepoints, instead of emacs-mule codepoints. See
7409 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7412 * files.el (file-truename): Don't skip symlink-chasing part on
7413 windows-nt. Incorporate the resolution of 8+3 short aliases on
7414 Windows into the loop that recursively chases symlinks.
7415 Compare directory and its parent case-insensitively on MS-Windows and
7418 2012-08-03 Chong Yidong <cyd@gnu.org>
7420 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7422 * sort.el (sort-regexp-fields): Doc fix.
7424 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7426 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7427 labels regex position point at the expected place.
7429 2012-08-03 MON KEY <monkey@sandpframing.com>
7431 * net/imap.el (imap-interactive-login, imap-authenticate)
7432 (imap-mailbox-lsub, imap-mailbox-list)
7433 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7434 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7435 (imap-parse-response): Doc fix.
7437 2012-08-03 João Távora <joaotavora@gmail.com>
7439 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7440 if sexp scanning does not move point (Bug#5734).
7442 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7444 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7445 Add listings, minted, and ctable packages.
7446 (reftex-label-alist-builtin): Move listings, minted, and ctable
7447 entries before LaTeX.
7448 (reftex-label-alist): Docfix.
7450 2012-08-02 Bastien Guerry <bzg@gnu.org>
7452 * replace.el (occur): Fix docstring (bug#12122).
7454 2012-08-02 Glenn Morris <rgm@gnu.org>
7456 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7458 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7460 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7461 * international/mule-cmds.el: Create
7462 inactivate-current-input-method-function as an obsolete alias for
7463 deactivate-current-input-method-function. See Katsumi Yamaoka in
7464 <http://bugs.gnu.org/10150#46>.
7466 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7468 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7471 2012-08-01 Glenn Morris <rgm@gnu.org>
7473 * progmodes/autoconf.el (autoconf-definition-regexp):
7474 Add AH_TEMPLATE, adjust submatch numbering.
7475 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7476 (autoconf-current-defun-function): Update for above change.
7477 (autoconf-current-defun-function): First skip to end of current word.
7479 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7481 * calendar/cal-html.el (cal-html-insert-agenda-days):
7482 Fix typo. (Bug#12018)
7484 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7486 Shell processes: enhancements to startup and CEDET compatibility.
7487 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7488 (python-shell-make-comint): accept-process-output at startup.
7489 (run-python-internal): Set inferior-python-mode-hook to nil.
7490 (python-shell-internal-get-or-create-process): call sit-for.
7491 (python-preoutput-result): Add obsolete alias.
7492 (python-shell-internal-send-string): Use it.
7493 (python-shell-send-setup-code): Remove call to
7494 accept-process-output.
7496 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7498 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7501 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7503 * calc-mode.el (calc-basic-simplification-mode): Rename from
7504 `calc-limited-simplification-mode'.
7505 (calc-alg-simplification-mode): New function.
7506 (calc-set-simplify-mode): Adjust message.
7508 * calc.el (calc-set-mode-line): Adjust mode line display for
7509 basic simplification mode.
7511 * calc-help.el (calc-m-prefix-help): Update help message.
7513 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7514 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7516 2012-07-31 Bastien Guerry <bzg@gnu.org>
7518 * man.el (man): Fix comment. (bug#12101)
7520 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7522 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7523 Don't return a non-nil value when no suitable buffer was found.
7525 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7527 * progmodes/python.el (run-python-internal): Disable font lock for
7530 2012-07-30 Stefan Merten <smerten@oekonux.de>
7532 * textmodes/rst.el: Silence `checkdoc-ispell'.
7533 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7534 (rst-official-version, rst-official-cvs-rev)
7535 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7536 (rst-mode-map): New key binding.
7538 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7540 Update .PHONY listings in makefiles.
7541 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7542 autoloads, update-subdirs, updates, bzr-update, update-authors,
7543 compile-onefile, compile-calc, backup-compiled-files,
7544 compile-after-backup, compile-one-process, mh-autoloads,
7545 bootstrap-clean, distclean, maintainer-clean.
7547 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7549 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7550 (calc-set-mode-line): Don't display "AlgSimp ".
7552 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7553 (calc-lim-simplify-mode): New function.
7554 (calc-set-simplify-mode): Default to 'alg.
7555 (calc-default-simplify-mode): Make algebraic simplifications
7558 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7559 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7561 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7562 indicate new simplification modes.
7564 * calc/README: Mention new default simplification mode.
7566 * calc/calc.el (math-normalize-error): New variable.
7567 (math-normalize): Set `math-normalize-error' to t
7568 when there's an error.
7570 * calc/calc-alg.el (math-simplify): Don't simplify when
7571 `math-normalize' returns an error.
7573 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7575 * international/mule-cmds.el (set-locale-environment): Revert last
7576 change, since display-graphic-p returns nil when this function is
7577 called during startup. Instead...
7579 * term/w32console.el (terminal-init-w32console): ...setup the
7580 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7582 2012-07-29 Juri Linkov <juri@jurta.org>
7584 * simple.el (goto-line): Don't display default line number in the
7585 prompt because it should be displayed by `read-number' (bug#9952).
7586 Add the current line number to the defaults of `goto-line' to
7587 allow its easier modification by users with `M-n' (bug#9201).
7589 * subr.el (read-number): Support multiple default values like in
7590 other minibuffer reading functions. Replace `read' with
7591 `string-to-number' for consistency with `number-to-string'.
7593 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7595 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7596 * emulation/viper-init.el (viper-deactivate-input-method-action):
7597 Rename from viper-inactivate-input-method-action.
7598 (viper-deactivate-input-method):
7599 Rename from viper-inactivate-input-method.
7600 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7601 * international/mule-cmds.el (deactivate-input-method):
7602 Rename from inactivate-input-method.
7603 Also run input-method-deactivate-hook.
7604 (deactivate-current-input-method-function):
7605 Rename from inactivate-current-input-method-function.
7606 (input-method-deactivate-hook): New hook.
7607 (input-method-inactivate-hook): Mark obsolete.
7608 (inactivate-input-method): Mark obsolete.
7610 * international/quail.el (quail-activate):
7611 Also run quail-deactivate-hook.
7612 (quail-deactivate): Rename from quail-inactivate.
7613 * international/robin.el (robin-activate):
7614 Also run robin-deactivate-hook.
7615 (robin-deactivate): Rename from robin-inactivate.
7617 2012-07-29 Chong Yidong <cyd@gnu.org>
7619 * simple.el (indicate-copied-region): New function.
7620 (kill-ring-save): Split off from here.
7622 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7623 (kill-rectangle): Set deactivate-mark to t on read-only error.
7625 * register.el (copy-to-register, copy-rectangle-to-register):
7626 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7627 (append-to-register, prepend-to-register): Call indicate-copied-region.
7629 2012-07-29 Juri Linkov <juri@jurta.org>
7631 * simple.el (async-shell-command-buffer): New defcustom.
7632 (shell-command): Use it. (Bug#4719)
7634 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7636 * international/mule-cmds.el (set-locale-environment): In a
7637 console session on MS-Windows, set up keyboard and terminal
7638 encoding from the OEM codepage, not the ANSI codepage.
7641 2012-07-28 Chong Yidong <cyd@gnu.org>
7643 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7646 2012-07-28 Leo Liu <sdl.web@gmail.com>
7648 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7649 the alist (bug#12029).
7651 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7653 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7654 (compile-always, compile-first)
7655 ($(lisp)/calendar/cal-loaddefs.el)
7656 ($(lisp)/calendar/diary-loaddefs.el)
7657 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7658 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7659 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7660 instead of on update-subdirs.
7661 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7663 2012-07-28 Chong Yidong <cyd@gnu.org>
7665 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7666 directory if vc-deduce-backend returns nil (Bug#7350).
7668 * simple.el (delete-trailing-lines): New option.
7669 (delete-trailing-whitespace): Obey it (Bug#11879).
7671 2012-07-28 David Engster <deng@randomsample.de>
7673 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7674 Explanation of new 'symbol-qnames feature in doc-strings.
7675 (xml-maybe-do-ns): Return expanded names as plain symbols if
7676 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7677 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7679 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7681 Consistent completion in inferior python with emacs -nw.
7682 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7683 binding in inferior-python-mode-map with "\t".
7684 (python-shell-completion-complete-at-point)
7685 (python-completion-complete-at-point): Remove interactive spec.
7687 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7689 * calc/calccomp.el (math-compose-expr): Undo previous change.
7691 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7693 * progmodes/python.el (python-mode-map): Add keybinding for
7695 (python-shell-make-comint): Fix pop-to-buffer call.
7696 (run-python): Autoload. New arg SHOW.
7697 (python-shell-get-or-create-process): Do not pop python process
7700 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7702 * notifications.el (notifications-on-action-signal)
7703 (notifications-on-closed-signal): Use also the bus address for the map.
7704 (notifications-notify, notifications-close-notification)
7705 (notifications-get-capabilities): Add optional argument BUS.
7707 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7709 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7710 Add support for the lstlisting and minted environments, and for the
7712 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7713 labels written in keyvals syntax.
7715 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7717 * calc/calccomp.el (math-compose-expr): Use parentheses when
7718 there is a product in the denominator of a fraction.
7720 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7722 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7723 ($(lisp)/calendar/diary-loaddefs.el)
7724 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7725 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7726 Fixes failures in parallel bootstrap because subdirs.el is being
7727 rewritten while the autoload files are built at the same time,
7728 which needs to load subdirs.el.
7730 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7732 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7733 (mouse-drag-line): Don't exit tracking when a switch-frame or
7734 switch-window event occurs (Bug#12006).
7736 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7738 * mouse.el (popup-menu): Fix last change.
7740 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7742 Autoload from Lisp with more care. Follow aliases when looking for
7743 function properties.
7744 * subr.el (autoloadp): New function.
7745 (symbol-file): Use it.
7746 (function-get): New function.
7747 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7749 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7750 (lisp-indent-function):
7751 * emacs-lisp/gv.el (gv-get):
7752 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7753 * emacs-lisp/byte-opt.el (byte-optimize-form):
7754 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7755 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7757 * emacs-lisp/cl.el: Don't propagate function properties any more.
7759 * speedbar.el (speedbar-add-localized-speedbar-support):
7760 * emacs-lisp/disass.el (disassemble-internal):
7761 * desktop.el (desktop-load-file):
7762 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7763 (describe-function-1):
7764 * emacs-lisp/find-func.el (find-function-noselect):
7765 * emacs-lisp/elp.el (elp-instrument-function):
7766 * emacs-lisp/advice.el (ad-has-proper-definition):
7767 * apropos.el (apropos-safe-documentation, apropos-macrop):
7768 * emacs-lisp/debug.el (debug-on-entry):
7769 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7770 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7771 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7773 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7775 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7776 function, not an obsolete variable (Bug#12046).
7778 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7780 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7782 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7784 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7785 window only if it is still live (Bug#12034).
7787 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7789 * subr.el (redirect-frame-focus): Add advertised calling
7790 convention (Bug#12030).
7792 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7794 Prefer typical American spelling for "acknowledgment".
7795 * vc/add-log.el (change-log-acknowledgment): Rename from
7796 change-log-acknowledgement, with an alias for the old name.
7798 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7800 * calc-alg.el (math-simplify-divide): Don't cross multiply
7801 in an equation when the lhs is a variable.
7803 2012-07-24 Julien Danjou <julien@danjou.info>
7805 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7808 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7810 * startup.el (command-line): Don't display an empty user name in
7811 the error message about non-existent home directory, when
7812 init-file-user was set to an empty string. See
7813 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7814 for the details and context.
7816 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7818 * ses.el (ses-cell-formula-aset): New macro.
7819 (ses-cell-references-aset): New macro.
7820 (ses-cell-p): New function.
7821 (ses-rename-cell): Do no longer rely on complex operations like
7822 ses-cell-set-formula or ses-set-cell to change the cell and handle
7823 the undo at the same time, but rather use lower level new macros
7824 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7825 the undo directly. Refresh the mode line.
7827 2012-07-21 Leo Liu <sdl.web@gmail.com>
7829 * progmodes/cc-cmds.el (c-defun-name):
7830 Use match-string-no-properties instead for consistency.
7832 2012-07-20 Leo Liu <sdl.web@gmail.com>
7834 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7837 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7839 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7841 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7842 * progmodes/bug-reference.el, misearch.el: Provide themselves
7845 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7846 of narrowed buffer (bug#11966).
7848 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7850 * ses.el (ses-rename-cell): Set new name also in reference list of
7851 cells of which the renamed cell depends.
7853 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7855 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7856 to check whether menu-bar is shown or not. If not shown,
7857 show the menu-bar as a popup menu instead of using tmm.
7858 * mouse.el (popup-menu): Accept `point' as `position' argument.
7860 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7862 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7863 up inside string symbol literal (bug#11923).
7865 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7867 * startup.el (fancy-startup-text): Read the whole tutorial, not
7868 just its first 256 bytes. Prevents gibberish in display of the
7871 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7873 Drop idle buffer compaction due to an absence of the
7875 * compact.el: Remove.
7877 2012-07-19 Sam Steingold <sds@gnu.org>
7879 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7880 vc-bzr-pull & vc-bzr-merge-branch.
7881 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7882 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7883 for consistency with compilation-error-regexp-alist.
7884 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7885 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7886 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7887 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7889 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7891 * emacs-lisp/chart.el: Use lexical-binding.
7892 (chart-emacs-storage): Don't hardcode the list of entries.
7894 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7896 Next round of tweaks caused by Fgarbage_collect changes.
7897 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7899 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7901 Compact buffers when idle.
7902 * compact.el: New file.
7904 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7906 * subr.el (eventp): Presume that if it looks vaguely like an event,
7907 it's an event (bug#10190).
7909 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7911 Enhancements to ppss related code (thanks Stefan).
7912 * progmodes/python.el (python-indent-context)
7913 (python-indent-calculate-indentation, python-indent-dedent-line)
7914 (python-indent-electric-colon, python-nav-forward-block)
7915 (python-mode-abbrev-table)
7916 (python-info-assignment-continuation-line-p): Simplify checks
7918 (python-info-continuation-line-p): Cleanup.
7919 (python-info-ppss-context): Do not catch 'quote.
7920 (python-info-ppss-context-type)
7921 (python-info-ppss-comment-or-string-p): Simplify.
7923 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7925 * progmodes/python.el: Enhancements to eldoc support.
7926 (python-info-current-symbol): New function.
7927 (python-eldoc-at-point): Use python-info-current-symbol.
7928 (python-info-current-defun): Fix cornercase on first defun scan.
7929 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7930 and signal error when no inferior python process is available.
7932 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7934 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7935 assume it's always t.
7936 (vc-git-registered): Remove caching, the function is only called
7938 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7940 2012-07-18 Chong Yidong <cyd@gnu.org>
7942 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7944 * simple.el (count-words): Report on narrowing (Bug#9959).
7946 * bindings.el: Bind M-= to count-words.
7948 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7950 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7952 * progmodes/sh-script.el (sh-imenu-generic-expression):
7953 Capture a function with `function' keyword and without parentheses
7954 like "function FOO" (bug#11856).
7956 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7958 * window.el (split-window-sensibly): Make WINDOW argument
7961 2012-07-18 Chong Yidong <cyd@gnu.org>
7963 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7965 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7966 and make C-x 8 RET exit isearch (Bug#11439).
7968 * international/iso-transl.el: Move isearch-mode-map key
7969 definitions to isearch.el.
7971 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7973 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7974 (eieio-defclass): Use gv-define-setter when possible.
7976 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7978 Reflect recent changes in Fgarbage_collect.
7979 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7980 reflect new format of data returned by Fgarbage_collect.
7982 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7984 New utility functions + python-info-ppss-context fix (Bug#11910).
7985 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7986 (python-info-ppss-comment-or-string-p): New functions.
7987 (python-info-ppss-context): Small fix for string check.
7989 2012-07-17 Juri Linkov <juri@jurta.org>
7991 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7992 (dired-do-async-shell-command): Don't add `*' at the end of the
7993 command (Bug#11815).
7994 (dired-do-shell-command): Doc fix.
7995 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7996 Join the individual commands using either "&" or ";" as the
7997 separator depending on the values of these trailing characters.
7998 At the end re-add the trailing "&". (Bug#10598)
8000 * simple.el (async-shell-command): Sync the interactive spec with
8001 `shell-command'. Doc fix.
8002 (shell-command): Doc fix.
8004 2012-07-17 Juri Linkov <juri@jurta.org>
8006 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8008 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8010 Final renames and doc fixes for movement commands (bug#11899).
8011 * progmodes/python.el (python-nav-beginning-of-statement):
8012 Rename from python-nav-statement-start.
8013 (python-nav-end-of-statement): Rename from
8014 python-nav-statement-end.
8015 (python-nav-beginning-of-block): Rename from
8016 python-nav-block-start.
8017 (python-nav-end-of-block): Rename from python-nav-block-end.
8019 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8021 * progmodes/python.el (python-shell-send-string-no-output):
8022 Allow accept-process-output to quit, keeping shell process ready for
8023 future interactions (Bug#11868).
8025 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8027 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8029 * emacs-lisp/elint.el (elint-find-args-in-code):
8030 Use help-function-arglist, so as to handle lexical byte-code.
8032 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8035 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8037 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8038 Avoid spuriously marking the buffer as modified because of c-is-sws.
8040 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8041 as not-a-comment (bug#11946).
8043 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8044 for uninterned vars.
8046 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8047 Use read-event since we don't really want to read chars but bytes.
8049 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8050 $$..$$ but also $..$ using regexps (bug#11953).
8051 Use tex-verbatim for \url and \path.
8052 (tex-font-lock-keywords): Define as defconst like the others.
8053 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8055 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8057 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8058 alias for insert-char.
8060 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8062 * progmodes/python.el: Simplified imenu implementation.
8063 (python-nav-jump-to-defun): Remove command.
8064 (python-mode-map): Use `imenu' instead.
8065 (python-nav-list-defun-positions-cache)
8066 (python-imenu-include-defun-type, python-imenu-make-tree)
8067 (python-imenu-subtree-root-label, python-imenu-index-alist):
8069 (python-nav-list-defun-positions, python-nav-read-defun)
8070 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8071 (python-imenu-make-tree, python-imenu-create-index):
8073 (python-mode): Update to interact with imenu by setting
8074 `imenu-extract-index-name-function' only.
8076 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8078 * progmodes/python.el: Enhancements to navigation commands.
8079 (python-nav-backward-sentence)
8080 (python-nav-forward-sentence): Remove.
8081 (python-nav-backward-statement, python-nav-forward-statement)
8082 (python-nav-statement-start, python-nav-statement-end)
8083 (python-nav-backward-block, python-nav-forward-block)
8084 (python-nav-block-start, python-nav-block-end)
8085 (python-nav-forward-sexp-function)
8086 (python-info-current-line-comment-p)
8087 (python-info-current-line-empty-p): New functions.
8088 (python-indent-context): Use `python-nav-statement-start'.
8090 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8092 * eshell/em-ls.el (eshell/ls): Use `apply'.
8094 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8095 multi-hops, instead of Tramp internals.
8097 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8099 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8100 when F1 and F2 are located on different hosts.
8102 2012-07-14 Chong Yidong <cyd@gnu.org>
8104 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8105 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8106 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8107 (xterm-mouse--read-event-sequence-1000)
8108 (xterm-mouse--read-event-sequence-1006): New functions. For old
8109 mouse protocol, handle M-mouse-X events correctly.
8110 (xterm-mouse-event): New arg specifying mouse protocol.
8111 (turn-on-xterm-mouse-tracking-on-terminal)
8112 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8113 sequence to toggle extended coordinates on newer XTerms.
8114 This appears to be harmless on terminals which do not support this.
8116 2012-07-14 Leo Liu <sdl.web@gmail.com>
8118 Add fringe bitmap indicators for flymake. (Bug#11253)
8119 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8120 (flymake-make-overlay): New arg BITMAP.
8121 (flymake-error-bitmap, flymake-warning-bitmap)
8122 (flymake-fringe-indicator-position): New user variables.
8124 * fringe.el: New bitmap exclamation-mark.
8126 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8128 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8131 2012-07-14 Chong Yidong <cyd@gnu.org>
8133 * electric.el (electric-pair-post-self-insert-function): Fix pair
8134 insertion in empty-region case (Bug#11520).
8136 2012-07-14 Chong Yidong <cyd@gnu.org>
8138 * bindings.el: Consolidate ctl-x-r-map bindings.
8139 Bind copy-rectangle-as-kill to C-x r w.
8141 * rect.el, register.el: Move bindings to bindings.el.
8143 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8145 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8147 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8149 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8151 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8153 * bindings.el (top): Use `mapc' instead of `mapcar'.
8155 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8157 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8159 * progmodes/sql.el (sql-comint): Suppress the check for program on
8160 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8163 2012-07-13 Chong Yidong <cyd@gnu.org>
8165 * bindings.el: Assign a non-nil permanent-local property to
8166 per-buffer variables which lack a default value (Bug#11930).
8168 * help-fns.el (describe-variable): In the "automatically becomes
8169 local" notice, take note of permanent-local variables.
8171 2012-07-13 Chong Yidong <cyd@gnu.org>
8173 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8174 to allow printing the message when called from Lisp.
8176 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8177 Remove toggle-read-only.
8179 * bs.el (bs-toggle-readonly):
8180 * buff-menu.el (Buffer-menu-toggle-read-only):
8181 Remove with-no-warnings around toggle-read-only.
8183 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8184 Remove with-no-warnings around toggle-read-only.
8185 (ffap-read-only, ffap-read-only-other-window)
8186 (ffap-read-only-other-frame): Callers changed.
8188 * help-mode.el: Don't require view package.
8189 (help-mode-finish): Set buffer-read-only instead of calling
8192 * bindings.el (mode-line-toggle-read-only):
8193 * dired.el (dired-toggle-read-only):
8194 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8195 with non-nil second arg.
8197 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8198 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8201 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8203 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8206 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8208 More CL cleanups and reduction of use of cl.el.
8209 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8210 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8211 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8212 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8213 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8214 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8215 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8216 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8217 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8218 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8219 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8220 * eshell/em-cmpl.el, eshell/em-banner.el:
8221 * calendar/parse-time.el: Use cl-lib.
8222 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8223 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8224 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8225 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8226 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8227 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8228 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8229 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8230 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8231 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8232 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8233 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8234 `lambda' rather than with `quote'.
8235 (eshell-do-opt): Adjust accordingly.
8236 (eshell-process-option): Simplify.
8237 * eshell/esh-var.el:
8238 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8239 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8240 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8241 to `pcase--dontcare'.
8242 * emacs-lisp/cl.el (labels): Mark obsolete.
8243 (cl--letf, letf): Move to cl-lib.
8244 (cl--letf*, letf*): Remove.
8245 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8246 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8247 (cl-progv): Rewrite.
8248 (cl--letf, cl-letf): Move from cl.el.
8249 (cl-letf*): New macro.
8250 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8252 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8254 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8256 2012-07-11 Chong Yidong <cyd@gnu.org>
8258 * vc/log-edit.el (log-edit-vc-backend): New variable.
8259 (log-edit): Doc fix.
8261 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8262 argument of log-edit to set up all local variables.
8263 (vc-start-logentry): New optional arg specifying VC backend.
8265 * vc/vc.el (vc-checkin): Use it.
8266 (vc-deduce-fileset): Handle Log Edit buffers.
8267 (vc-diff): Make first argument optional too.
8269 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8271 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8273 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8274 command, just in case. The function is not needed anymore.
8275 (eshell-external-command): Do not call `eshell-remote-command'.
8277 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8279 Reduce use of (require 'cl).
8280 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8281 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8282 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8283 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8284 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8285 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8286 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8287 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8288 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8289 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8290 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8291 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8292 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8293 (byte-compile-unfold-bcf, byte-compile-check-variable):
8294 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8295 (byte-compile-nilconstp):
8296 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8297 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8299 * emacs-lisp/gv.el (cond): Make it a valid place.
8300 (if): Simplify slightly.
8302 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8303 (pcase--self-quoting-p): New function.
8304 (pcase--u1): Use it.
8306 2012-07-10 Glenn Morris <rgm@gnu.org>
8308 * emacs-lisp/authors.el (authors-fixed-entries):
8309 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8311 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8313 Rename configure.in to configure.ac (Bug#11603).
8314 * emacs-lisp/authors.el (authors-canonical-file-name):
8315 * progmodes/autoconf.el (autoconf-mode):
8316 Prefer configure.ac to configure.in.
8318 2012-07-08 Chong Yidong <cyd@gnu.org>
8320 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8321 Implement the mouse-1-click-follows-link handling properly.
8323 * info.el (Info-link-keymap): Use follow-link mechanism for
8324 header-line links (Bug#374).
8326 * simple.el (deactivate-mark): Do not set the primary selection
8327 if another program has acquired it (Bug#11772).
8329 2012-07-07 Kevin Ryde <user42@zip.com.au>
8331 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8332 (woman-decode-region): Replace escaped-escapes without destroying
8333 bold or underline (Bug#11552).
8334 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8336 2012-07-07 Chong Yidong <cyd@gnu.org>
8338 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8339 (interprogram-cut-function, interprogram-paste-function):
8340 Mention that we typically mean the clipboard.
8342 2012-07-06 Glenn Morris <rgm@gnu.org>
8344 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8346 * files.el (toggle-read-only): Restrict message to interactive use.
8348 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8350 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8352 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8354 2012-07-06 Glenn Morris <rgm@gnu.org>
8356 * Makefile.in (compile-one-process): Rename from "recompile".
8358 * Makefile.in (bzr-update): "compile" is the same as "recompile
8359 autoloads", but parallelizable, so use that instead.
8361 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8363 * window.el (quit-window): Always restore window height when
8364 it's saved in quit-restore parameter (Bug#11810).
8366 2012-07-06 Glenn Morris <rgm@gnu.org>
8368 * simple.el (kill-whole-line): Doc tweak.
8370 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8372 * files.el (file-relative-name): Compare file names
8373 case-insensitively if on MS-Windows or MS-DOS, or if
8374 read-file-name-completion-ignore-case is non-nil. Don't use
8375 case-fold-search for this purpose. (Bug#11827)
8377 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8379 * calendar/cal-dst.el (calendar-current-time-zone):
8380 Return calendar-current-time-zone-cache if non-nil.
8382 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8383 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8385 * calendar/cal-dst.el (calendar-current-time-zone):
8386 Return calendar-current-time-zone-cache if non-nil.
8388 2012-07-06 Glenn Morris <rgm@gnu.org>
8390 * Makefile.in (cvs-update): Remove old alias.
8392 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8394 Sync with Tramp 2.2.6-pre.
8396 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8397 compatible declaration.
8399 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8400 Protect `list-load-path-shadows' call.
8402 * net/tramp-compat.el (top): Require packages, which aren't
8403 autoloaded anymore for XEmacs. Protect call of
8404 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8405 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8406 it hurts at least for SXEmacs.
8407 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8408 standard-value for `temporary-file-directory'.
8410 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8411 Redirect stderr to /dev/null.
8412 (tramp-sh-handle-write-region): uid and gid can be floats.
8413 Reported by Russell Sim <russell.sim@gmail.com>.
8414 (tramp-sh-handle-vc-registered): Hide errors.
8415 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8416 and `start-file-process'.
8417 (tramp-maybe-open-connection): Check also whether `non-essential'
8420 2012-07-04 Chong Yidong <cyd@gnu.org>
8422 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8423 (xml-parse-tag): Likewise, and avoid changing entity tables.
8424 (xml-syntax-table): Define from scratch, making sure not to give
8425 x2000 and other Unicode spaces whitespace syntax, since those are
8427 (xml-parse-fragment): Delete unused function.
8428 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8429 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8430 (xml-entity-ref, xml-pe-reference-re)
8431 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8432 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8433 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8434 (xml-entity-value-re): Use syntax references in regexps where
8435 possible; no need to define inside a let-binding.
8436 (xml-parse-dtd): Use xml-pe-reference-re.
8437 (xml-entity-or-char-ref-re): New defconst.
8438 (xml-parse-string, xml-substitute-special): Use it.
8440 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8442 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8443 (find-file--read-only): New function.
8444 (find-file-read-only, find-file-read-only-other-window)
8445 (find-file-read-only-other-frame): Use it.
8446 (insert-file-contents-literally): Don't `fset'.
8447 (get-free-disk-space): Use locate-dominating-file.
8449 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8450 function is already compiled.
8452 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8454 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8456 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8457 files on the same host.
8459 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8461 * help-fns.el (describe-function-1): Only call
8462 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8464 2012-07-03 Chong Yidong <cyd@gnu.org>
8466 * xml.el: Protect parser against XML bombs.
8467 (xml-entity-expansion-limit): New variable.
8468 (xml-parse-string, xml-substitute-special): Use it.
8469 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8471 2012-07-03 Glenn Morris <rgm@gnu.org>
8473 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8474 Allow linking to specific messages in debbugs reports (eg 123#5).
8476 2012-07-02 Chong Yidong <cyd@gnu.org>
8478 * xml.el: Fix entity and character reference expansion, allowing
8479 them to expand into markup as per XML spec.
8480 (xml-default-ns): New variable.
8481 (xml-entity-alist): Use XML spec definitions for lt and amp.
8482 (xml-parse-region): Make first two arguments optional.
8483 Discard text properties.
8484 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8485 All callers changed.
8486 (xml-parse-tag): Call xml-parse-tag-1. For backward
8487 compatibility, this function should not modify buffer contents.
8488 (xml-parse-tag-1): Fix opening-tag regexp.
8489 (xml-parse-string): Rewrite, handling entity and character
8490 references properly.
8491 (xml--entity-replacement-text): Signal an error if a parameter
8492 entity is undefined.
8494 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8496 * comint.el (comint-output-filter): Filter out repeated prompts.
8498 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8499 and file-name-absolute-p.
8500 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8503 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8506 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8507 Rename from byte-compile--refiy-function. All uses changed.
8509 2012-07-01 Chong Yidong <cyd@gnu.org>
8511 * xml.el (xml--parse-buffer): New function. Move most of
8512 xml-parse-region here.
8513 (xml-parse-region): Copy region into a temporary buffer, since
8514 parameter entity substitution requires changing buffer contents.
8515 Use xml--parse-buffer.
8516 (xml-parse-file): Use xml--parse-buffer.
8517 (xml-parse-dtd): Make parameter entity substitution work right.
8518 Use proper regexps for ELEMENT declarations (Bug#7172).
8520 2012-06-30 Glenn Morris <rgm@gnu.org>
8522 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8524 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8525 Remove outdated and unnecessary dbus declarations.
8527 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8529 * emacs-lisp/timer.el (timer-until): Subtract results of
8530 float-time, instead of taking float-time of the result of
8531 time-subtract, since float-time signals an error for negative time
8534 2012-06-30 Chong Yidong <cyd@gnu.org>
8536 * xml.el (xml-*-re): Convert defvars into defconsts, and
8537 eval-and-compile them so eval-and-compile works on derivatives.
8538 (xml--entity-replacement-text): Use eval-and-comple.
8540 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8542 * vc/vc-git.el (vc-git-registered): Use cache property
8544 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8545 `vc-git-working-revision' in order to benefit from the cache.
8546 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8548 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8550 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8551 removed (likely outside Emacs). (Bug#11757)
8553 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8555 * emacs-lisp/cl-lib.el: Require macroexp.
8557 2012-06-30 Chong Yidong <cyd@gnu.org>
8559 * xml.el: Implement XML parameter entities.
8560 (xml-parameter-entity-alist): New variable.
8561 (xml-parse-region, xml-parse-fragment): Preserve previous values
8562 of xml-entity-alist and xml-parameter-entity-alist, so that
8563 repeated calls on different documents do not change them.
8564 (xml-parse-tag): Fix doctype regexp.
8565 (xml--entity-replacement-text): New function.
8566 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8567 properly requires url retrieval which is unimplemented.
8568 (xml-escape-string): Doc fix.
8570 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8572 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8574 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8576 * fringe.el (fringe-mode): Doc fix.
8578 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8580 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8582 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8583 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8585 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8587 * calendar/cal-dst.el (calendar-current-time-zone):
8588 Return calendar-current-time-zone-cache if non-nil.
8590 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8592 * progmodes/which-func.el (which-func-format):
8593 Add mouse-face. (Bug#11698)
8595 2012-06-29 Leo Liu <sdl.web@gmail.com>
8597 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8599 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8601 * minibuffer.el (minibuffer-confirm-exit-commands):
8602 Add completion-at-point (bug#11725).
8604 2012-06-29 Glenn Morris <rgm@gnu.org>
8606 * progmodes/f90.el (f90-font-lock-keywords-2):
8607 Add some preprocessor elements. (Bug#10499)
8609 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8611 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8612 Use syntax-propertize (bug#11739).
8614 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8616 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8618 2012-06-28 Julien Danjou <julien@danjou.info>
8620 * term.el (term-handle-colors-array): Use a set of new faces to
8621 color the terminal. Also uses :inverse-video property.
8622 (term-default-fg-color): Set to nil by default, deprecate in favor
8624 (term-default-bg-color): Set to nil by default, deprecate in favor
8626 (term-current-face): Use `term-face' by default.
8627 (term-bold-attribute): Variable deleted.
8629 2012-06-28 Glenn Morris <rgm@gnu.org>
8631 * simple.el (completion-list-mode-finish):
8632 Don't use toggle-read-only. (Since completion-list-mode has
8633 a special mode-class, it wasn't doing anything extra anyway.)
8635 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8637 Make inlining of other-mode interpreted functions work (bug#11799).
8638 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8639 (byte-compile): Use it to fix compilation of lexical-binding closures.
8640 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8641 function, if needed.
8643 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8645 * help-mode.el (help-make-xrefs): Don't just withstand
8646 cyclic-variable-indirection but any error in documentation-property.
8648 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8650 * bindings.el (bindings--define-key): New function.
8651 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8652 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8653 * bindings.el: Use it to purecopy define-key bindings.
8655 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8657 * emacs-lisp/cl.el (flet): Mark obsolete.
8658 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8659 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8660 * progmodes/js.el (js-c-fill-paragraph):
8661 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8662 (ebrowse-switch-member-buffer-to-derived-class):
8663 * play/5x5.el (5x5-solver): Use cl-flet.
8665 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8666 (cl--symbol-function): New macro.
8667 (cl--letf, cl--letf*): Use it.
8669 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8670 Strip "toggle-" if any.
8672 2012-06-27 Glenn Morris <rgm@gnu.org>
8674 * info.el (Info-default-directory-list): Move here from paths.el.
8675 * paths.el: Remove file, which is now empty.
8676 * loadup.el: No longer load "paths".
8678 * custom.el (custom-initialize-delay): Doc fix.
8680 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8681 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8682 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8683 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8684 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8685 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8686 * eshell/eshell.el (eshell-defgroup): Remove alias.
8688 2012-06-27 Chong Yidong <cyd@gnu.org>
8690 * help.el (help-enable-auto-load): New variable.
8692 * help-fns.el (help-fns--autoloaded-p): New function.
8693 (describe-function-1): Refer to a function as "autoloaded" if it
8694 was autoloaded at any time in the past. Perform autoloading if
8695 help-enable-auto-load is non-nil.
8697 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8699 * makefile.w32-in (compile, compile-always): Depend on
8700 update-subdirs, not on subdirs.el. Otherwise, several different
8701 sub-targets of 'bootstrap' running in parallel could
8702 simultaneously write to subdirs.el, producing a garbled file.
8704 2012-06-26 Sam Steingold <sds@gnu.org>
8706 * files.el (file-name-base): New convenience function.
8707 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8708 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8709 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8710 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8711 * textmodes/ispell.el, textmodes/reftex-ref.el:
8712 * textmodes/tex-mode.el: Use it.
8713 Did not touch cedet and org because they are maintained elsewhere.
8715 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8717 * calendar/calendar.el (calendar-exit): Don't try to delete or
8718 iconify last frame. See:
8719 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8721 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8723 * server.el (server-process-filter): Remember dir in the
8724 process's `server-client-directory' properties.
8726 2012-06-24 Chong Yidong <cyd@gnu.org>
8728 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8731 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8733 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8735 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8737 * help-fns.el (describe-variable): Don't croak when doc is not found.
8738 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8739 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8740 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8741 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8742 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8744 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8746 2012-06-23 Chong Yidong <cyd@gnu.org>
8748 * info.el (Info-mouse-follow-link): Accept symbol values of
8749 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8750 (Info-fontify-node): Use Info-link-keymap for all navigation
8751 buttons, with link-args property to perform the desired action.
8752 (Info-link-keymap): Doc fix.
8753 (Info-next-link-keymap, Info-prev-link-keymap)
8754 (Info-up-link-keymap): Delete now-unused keymaps.
8756 2012-06-23 Chong Yidong <cyd@gnu.org>
8758 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8760 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8763 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8765 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8767 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8770 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8771 the requote function doesn't work properly (bug#11714).
8773 2012-06-23 Glenn Morris <rgm@gnu.org>
8775 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8777 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8779 Further GV/CL cleanups.
8780 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8782 (gv--defun-declaration): New function.
8783 (defun-declarations-alist): Use it.
8784 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8785 (gv-place): Autoload.
8786 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8787 original definition of dotimes and dolist.
8788 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8789 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8790 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8791 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8792 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8793 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8794 to the function's definition.
8795 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8799 * env.el: Don't use CL.
8801 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8803 Support higher-resolution time stamps (Bug#9000).
8805 * calendar/time-date.el (with-decoded-time-value): New arg
8806 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8807 (encode-time-value): New optional arg PICO. New type 3.
8808 (time-to-seconds) [!float-time]: Support the new picoseconds
8809 component if it's used.
8810 (seconds-to-time, time-subtract, time-add):
8811 Support ps-resolution time stamps as well.
8813 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8814 (timerp): Timer vectors now have length 9, not 8.
8815 (timer--time): Support new-style (4-part) time stamps.
8816 (timer-next-integral-multiple-of-time): Time stamps now have
8817 picosecond resolution, so take a bit more care about rounding.
8818 (timer-relative-time, timer-inc-time): New optional arg psecs.
8819 (timer-set-time-with-usecs): Set psecs to 0.
8820 (timer--activate): Check psecs component, too.
8822 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8824 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8826 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8827 Move the non-essential binding to the post/pre-command-hook where it is
8828 more obviously correct.
8830 * subr.el (read-passwd): Don't use a history at all.
8831 * savehist.el (savehist-save): Remove password saved accidentally
8832 because of the above bug.
8834 2012-06-22 Bastien Guerry <bzg@gnu.org>
8836 * files.el (toggle-read-only): Display a message telling whether
8837 the buffer is read-only or not (bug#11726).
8839 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8841 * emacs-lisp/gv.el: New file.
8842 * subr.el (push, pop): Extend to generalized variables.
8843 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8844 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8845 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8846 gv-define-simple-setter, and gv-define-expander.
8847 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8848 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8849 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8850 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8851 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8853 (cl-defstruct): Don't define setf-method any more.
8854 * emacs-lisp/cl.el (flet): Don't autoload.
8855 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8856 (define-setf-expander, defsetf, define-modify-macro)
8857 (cl-struct-setf-expander): Move from cl-lib.el.
8858 * emacs-lisp/syntax.el:
8859 * emacs-lisp/ewoc.el:
8860 * emacs-lisp/smie.el:
8861 * emacs-lisp/cconv.el:
8862 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8863 (timer--time): Use gv-define-simple-setter.
8864 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8865 to avoid coding-system problems in subr.el. Adjust all users.
8866 (macroexp--maxsize, macroexp-small-p): New functions.
8867 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8868 * scroll-bar.el (scroll-bar-mode):
8869 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8870 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8871 * winner.el (winner-configuration, winner-make-point-alist)
8872 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8873 * files.el (locate-file-completion-table): Avoid list*.
8875 2012-06-22 Chong Yidong <cyd@gnu.org>
8877 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8878 (dired-create-files): Doc fix (Bug#11329).
8879 (dired-do-copy): Doc fix (Bug#11334).
8880 (dired-mark-read-string): Doc fix (Bug#11553).
8882 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8883 Doc fix (Bug#11326).
8884 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8885 (dired-dwim-target): Doc fix.
8887 * wdired.el (wdired-mode): Doc fix.
8889 2012-06-22 Glenn Morris <rgm@gnu.org>
8891 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8892 (pcmpl-rpm-cache-stamp-file): New constant.
8893 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8894 (pcmpl-rpm-packages): Optionally cache list of packages.
8896 * pcmpl-rpm.el (pcmpl-rpm): New group.
8897 (pcmpl-rpm-query-options): New option.
8898 (pcmpl-rpm-packages): No need to inline it.
8899 Use pcmpl-rpm-query-options.
8901 * calendar/calendar.el (calendar-in-read-only-buffer):
8902 Avoid some needless mode changes.
8904 2012-06-21 Chong Yidong <cyd@gnu.org>
8906 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8907 (desktop-path): Remove . from the default value (Bug#10977).
8908 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8910 2012-06-20 Chong Yidong <cyd@gnu.org>
8912 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8914 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8916 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8919 2012-06-20 Chong Yidong <cyd@gnu.org>
8921 * term.el (term-window-width): Handle the case of a missing right
8923 (term-check-size): Use window-text-height (Bug#5445).
8924 (term-mode): Use define-derived-mode. Minor cleanups.
8925 Set font-lock-defaults (Bug#7692).
8926 (term-move-columns, term-insert-char, term-emulate-terminal)
8927 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8929 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8931 * net/ange-ftp.el (ange-ftp-get-passwd):
8932 Bind `enable-recursive-minibuffers'.
8933 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8935 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8937 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8939 2012-06-19 Glenn Morris <rgm@gnu.org>
8941 * progmodes/python.el (python-mode): Derive from prog-mode.
8943 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8945 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8946 (edt-user-menu-bar-update-buffers): New functions.
8947 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8949 2012-06-19 Chong Yidong <cyd@gnu.org>
8951 * subr.el (with-selected-window): Preserve the selected window's
8952 terminal's top-frame (Bug#4702).
8954 * window.el (save-selected-window): Likewise.
8956 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8958 * progmodes/python.el (python-rx-constituents): Move backquote.
8959 (python-skeleton-define, python-define-auxiliary-skeleton):
8962 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8964 * minibuffer.el (read-file-name-default): Revert the patch from
8967 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8969 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8970 (pcase--u1, pcase--q1): Don't use apply-partially.
8972 2012-06-18 Glenn Morris <rgm@gnu.org>
8974 * progmodes/python.el (python-proc, python-buffer)
8975 (python-send-receive, python-send-string): Fix obsolete versions.
8977 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8979 * window.el (special-display-p): Completely remove stringp
8980 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8982 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8984 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8986 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8988 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8989 * net/tramp-sh.el (tramp-maybe-open-connection):
8990 Throw if `non-essential' is non-nil.
8992 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8994 * window.el (special-display-p): Signal an error if BUFFER-NAME
8995 is not a string (Bug#11713).
8997 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8999 * progmodes/python.el (python-info-beginning-of-backslash):
9000 Rename from python-info-beginning-of-backlash, as a spelling fix.
9002 2012-06-17 Chong Yidong <cyd@gnu.org>
9004 * term.el (term-emulate-terminal): If term-check-size is called,
9005 move point to the process mark without resetting point (Bug#4635).
9007 2012-06-17 Glenn Morris <rgm@gnu.org>
9009 * international/mule-cmds.el (mule-menu-keymap)
9010 (set-language-environment, set-locale-environment): Doc tweaks.
9012 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9014 * cus-face.el (custom-face-attributes): Add wave-style underline
9016 * faces.el (set-face-attribute): Update docstring to describe
9017 wave-style underline attribute.
9019 2012-06-16 Chong Yidong <cyd@gnu.org>
9021 * term/xterm.el (terminal-init-xterm): Discard input before
9022 querying background mode (Bug#10959).
9024 2012-06-16 Stefan Merten <smerten@oekonux.de>
9026 * textmodes/rst.el: Added and corrected some comments.
9027 (rst-re-alist-def): Improve symbol syntax.
9028 (rst-mode-syntax-table): Correct syntax entries.
9029 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9030 (rst-official-version, rst-official-cvs-rev): Update version
9033 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9035 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9036 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9038 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9040 * progmodes/python.el: New python.el merge.
9041 (python-guess-indent): Obsolete var.
9042 (python-indent-guess-indent-offset): New defcustom.
9043 (python-indent): Obsolete var.
9044 (python-indent-offset): New defcustom.
9045 (python-python-command, python-jython-command): Delete var.
9046 (python-shell-interpreter): New defcustom.
9047 (python-pdbtrack-do-tracking-p): Delete var.
9048 (python-pdbtrack-activate): New defcustom.
9049 (python-use-skeletons): Obsolete var.
9050 (python-skeleton-autoinsert): New defcustom.
9051 (inferior-python-filter-regexp, python-continuation-offset)
9052 (python-honour-comment-indentation, python-indent-string-contents)
9053 (python-jython-packages, python-mode-hook)
9054 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9055 (python-shell-prompt-alist)
9056 (python-source-modes): Delete defcustoms.
9057 (python-check-buffer-name, python-eldoc-setup-code)
9058 (python-eldoc-string-code, python-ffap-setup-code)
9059 (python-ffap-string-code, python-fill-comment-function)
9060 (python-fill-decorator-function, python-fill-paren-function)
9061 (python-fill-string-function, python-imenu-include-defun-type)
9062 (python-imenu-make-tree, python-imenu-subtree-root-label)
9063 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9064 (python-shell-compilation-regexp-alist)
9065 (python-shell-completion-module-string-code)
9066 (python-shell-completion-pdb-string-code)
9067 (python-shell-completion-setup-code)
9068 (python-shell-completion-string-code)
9069 (python-shell-enable-font-lock, python-shell-exec-path)
9070 (python-shell-extra-pythonpaths)
9071 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9072 (python-shell-process-environment)
9073 (python-shell-prompt-block-regexp)
9074 (python-shell-prompt-output-regexp)
9075 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9076 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9077 (python-shell-virtualenv-path): New defcustoms.
9078 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9079 (inferior-python-mode-syntax-table, python--prompt-regexp)
9080 (python-buffer, python-command python-python-command)
9081 (python-default-template, python-imports, python-indent-index)
9082 (python-indent-list, python-indent-list-length)
9083 (python-mode-running, python-pdbtrack-is-tracking-p)
9084 (python-preoutput-continuation, python-preoutput-leftover)
9085 (python-preoutput-result, python-preoutput-skip-next-prompt)
9086 (python-prev-dir/file, python-recursing)
9087 (python-saved-check-command, python-version-checked)
9088 (python-which-func-length-limit)
9089 (view-return-to-alist): Delete vars.
9090 (python-check-custom-command, python-dotty-syntax-table)
9091 (python-imenu-index-alist, python-indent-current-level)
9092 (python-indent-dedenters, python-indent-levels)
9093 (python-nav-beginning-of-defun-regexp)
9094 (python-nav-list-defun-positions-cache)
9095 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9096 (python-shell-internal-buffer)
9097 (python-skeleton-available): New vars.
9098 (def-python-skeleton): Delete macro.
9099 (python-skeleton-define): New macro.
9100 (python-define-auxiliary-skeleton, python-rx): New macros.
9101 (python-insert-class): Delete command.
9102 (python-skeleton-class): New command.
9103 (python-insert-def): Delete command.
9104 (python-skeleton-def): New command.
9105 (python-insert-for): Delete command.
9106 (python-skeleton-for): New command.
9107 (python-insert-if): Delete command.
9108 (python-skeleton-if): New command.
9109 (python-insert-try/except, python-insert-try/finally): Delete commands.
9110 (python-skeleton-try): New command.
9111 (python-insert-while): Delete command.
9112 (python-skeleton-while): New command.
9113 (python-backspace): Delete command.
9114 (python-indent-dedent-line-backspace): New command.
9115 (python-electric-colon): Delete command.
9116 (python-indent-electric-colon): New command.
9117 (python-guess-indent): Delete command.
9118 (python-indent-guess-indent-offset): New command.
9119 (python-shift-left): Delete command.
9120 (python-indent-shift-left): New command.
9121 (python-shift-right): Delete command.
9122 (python-indent-shift-right): New command.
9123 (python-find-function): Delete command.
9124 (python-nav-jump-to-defun): New command.
9125 (python-next-statement): Delete command.
9126 (python-nav-forward-sentence): New command.
9127 (python-previous-statement): Delete command.
9128 (python-nav-backward-sentence): New command.
9129 (python-fill-paragraph): Delete command.
9130 (python-fill-paragraph-function): New command.
9131 (python-send-buffer): Delete command.
9132 (python-shell-send-buffer): New command.
9133 (python-send-defun): Delete command.
9134 (python-shell-send-defun): New command.
9135 (python-send-region, python-send-region-and-go): Delete commands.
9136 (python-shell-send-region)
9137 (python-shell-switch-to-shell): New commands.
9138 (python-send-string): Delete command.
9139 (python-shell-send-string): New command.
9140 (python-switch-to-python): Delete command.
9141 (python-shell-switch-to-shell): New command.
9142 (python-describe-symbol): Delete command.
9143 (python-eldoc-at-point): New command.
9144 (python--set-prompt-regexp, python-args-to-list)
9145 (python-after-info-look, python-check-version)
9146 (python-check-comint-prompt, python-find-imports)
9147 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9148 (python-unload-function, python-expand-template)
9149 (python-maybe-jython, python-preoutput-filter)
9150 (python-pdbtrack-get-source-buffer)
9151 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9152 (python-pdbtrack-toggle-stack-tracking)
9153 (python-pdbtrack-track-stack-file, python-initial-text)
9154 (python-first-word, python-comment-line-p, python-send-command)
9155 (python-setup-brm, python-sentinel, python-set-proc)
9156 (python-skip-out, python-input-filter, python-outdent-p)
9157 (python-outline-level, python-backslash-continuation-line-p)
9158 (python-end-of-block, python-end-of-statement, python-mark-block)
9159 (python-beginning-of-block, python-beginning-of-statement)
9160 (python-blank-line-p, python-beginning-of-string)
9161 (python-open-block-statement-p): Delete functions.
9162 (python-indent-line, python-indent-line-1): Delete functions.
9163 (python-indent-line): New function.
9164 (python-indentation-levels): Delete function.
9165 (python-indent-calculate-levels): New function.
9166 (python-proc): Delete function.
9167 (python-shell-get-process): New function.
9168 (python-send-receive): Delete function.
9169 (python-shell-send-string-no-output): New function.
9170 (python-module-path): Delete function.
9171 (python-ffap-module-path): New function.
9172 (python-completion-at-point)
9173 (python-symbol-completions): Delete functions.
9174 (python-completion-complete-at-point): New function.
9175 (python-load-file): Delete function.
9176 (python-shell-send-file): New function.
9177 (python-calculate-indentation): Delete function.
9178 (python-indent-calculate-indentation): New function.
9179 (python-skip-comments/blanks): Delete function.
9180 (python-util-forward-comment): New function.
9181 (python-continuation-line-p): Delete function.
9182 (python-info-continuation-line-p): New function.
9183 (python-which-func, python-current-defun): Delete function.
9184 (python-info-current-defun): New function.
9185 (python-beginning-of-defun): Delete function.
9186 (python-nav-beginning-of-defun): New function.
9187 (python-close-block-statement-p)
9188 (python-block-end-p): Delete function.
9189 (python-info-closing-block): New function.
9190 (python-comint-output-filter-function)
9191 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9192 (python-fill-comment, python-fill-decorator, python-fill-paren)
9193 (python-fill-string, python-imenu-make-element-tree)
9194 (python-imenu-make-tree, python-imenu-tree-assoc)
9195 (python-indent-context, python-indent-dedent-line)
9196 (python-indent-line-function)
9197 (python-indent-post-self-insert-function)
9198 (python-indent-toggle-levels)
9199 (python-info-assignment-continuation-line-p)
9200 (python-info-beginning-of-backlash)
9201 (python-info-block-continuation-line-p)
9202 (python-info-closing-block-message)
9203 (python-info-line-ends-backslash-p)
9204 (python-info-looking-at-beginning-of-defun)
9205 (python-info-ppss-context, python-info-ppss-context-type)
9206 (python-nav-list-defun-positions, python-nav-read-defun)
9207 (python-nav-sentence-end, python-nav-sentence-start)
9208 (python-pdbtrack-comint-output-filter-function)
9209 (python-pdbtrack-set-tracked-buffer)
9210 (python-shell-calculate-exec-path)
9211 (python-shell-calculate-process-environment)
9212 (python-shell-completion--do-completion-at-point)
9213 (python-shell-completion--get-completions)
9214 (python-shell-completion-complete-at-point)
9215 (python-shell-completion-complete-or-indent)
9216 (python-shell-get-or-create-process)
9217 (python-shell-get-process-name)
9218 (python-shell-internal-get-or-create-process)
9219 (python-shell-internal-get-process-name)
9220 (python-shell-internal-send-string, python-shell-make-comint)
9221 (python-shell-parse-command, python-shell-send-setup-code)
9222 (python-skeleton-add-menu-items)
9223 (python-util-clone-local-variables, python-util-position)
9224 (run-python-internal, python-indentation-levels)
9225 (python-nav-beginning-of-defun)
9226 (python-completion-complete-at-point): New functions.
9227 (run-python): Change arguments. New API requirements.
9229 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9231 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9234 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9235 (macroexp--expand-all): Use it.
9237 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9238 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9239 Use `cl-function' instead.
9241 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9243 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9244 Suggested by Stefan Monnier while discussing bug#11657.
9246 2012-06-14 Sam Steingold <sds@gnu.org>
9248 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9250 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9252 * play/doctor.el (doctor-doc): Remove parameter and use
9253 doctor-sent instead of sent.
9254 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9256 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9258 * files.el: Require cl-lib.
9259 (file-name-non-special): Replace case -> cl-case.
9261 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9263 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9264 mapping from #' to function*.
9266 2012-06-13 Chong Yidong <cyd@gnu.org>
9268 * mouse.el (mouse-drag-track): Do not set the mark if the user
9269 releases the mouse without selecting anything (Bug#11588).
9271 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9273 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9274 as well (bug#11646).
9276 * loadup.el: Count byte-code functions as well.
9278 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9279 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9281 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9282 (bug#11649). Add cl-defun and cl-defmacro.
9284 2012-06-13 Drew Adams <drew.adams@oracle.com>
9286 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9289 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9291 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9292 Otherwise, it blocks in batch mode.
9294 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9296 * help-mode.el (bookmark-make-record-default): Declare.
9298 2012-06-13 Chong Yidong <cyd@gnu.org>
9300 * emacs-lisp/package.el (list-packages): Compute a list of
9301 packages that are newly-available since the last list-packages
9303 (package-menu--new-package-list): New var.
9304 (package-menu--generate, package-menu--print-info)
9305 (package-menu--status-predicate, package-menu-mark-install):
9306 Handle new status label "new".
9308 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9310 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9311 conversion to backquotes.
9313 2012-06-12 Chong Yidong <cyd@gnu.org>
9315 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9316 Rename from gud-inhibit-global-bindings.
9318 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9320 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9321 hook from nxml-glyph-set-hook.
9323 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9326 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9328 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9329 Convert to defcustom.
9331 2012-06-12 Drew Adams <drew.adams@oracle.com>
9333 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9335 (help-mode): Use them.
9337 2012-06-11 Glenn Morris <rgm@gnu.org>
9339 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9340 Use preprocessor face for directives.
9341 (fortran-directive-re): Doc fix.
9343 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9345 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9346 conversion to backquotes (bug#11652).
9348 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9349 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9350 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9351 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9352 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9353 (cl-ninth, cl-tenth): Mark them as inlinable.
9354 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9355 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9356 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9357 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9358 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9359 (cl-list*, cl-adjoin): Don't put an autoload manually.
9360 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9361 (cl--compiler-macro-list*): Add autoload cookie.
9362 (cl--compiler-macro-cXXr): New function.
9364 * help-fns.el (help-fns--compiler-macro): New function extracted from
9365 describe-function-1; follow aliases and use `compiler-macro' property.
9366 (describe-function-1): Use it.
9368 2012-06-11 Chong Yidong <cyd@gnu.org>
9370 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9371 is uninstalled, if imagemagick is installed.
9373 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9375 * emacs-lisp/cl-lib.el: Use lexical-binding.
9376 (cl-map-extents, cl-maclisp-member): Remove.
9377 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9378 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9379 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9380 * emacs-lisp/cl-extra.el: Use lexical-binding.
9381 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9382 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9383 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9384 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9385 * emacs-lisp/cl-seq.el: Use lexical-binding.
9386 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9387 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9388 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9389 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9390 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9393 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9395 Sync with Tramp 2.2.6-pre.
9397 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9398 `print-length' and `print-level' to nil, in order to avoid
9399 truncation. Reported by Christopher Schmidt
9400 <christopher@ristopher.com>.
9402 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9404 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9406 (tramp-compat-copy-directory): Add optional argument
9407 COPY-CONTENTS. It is not handled yet.
9409 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9410 (tramp-ftp-file-name-p): Simplify.
9412 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9413 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9416 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9417 (tramp-methods): Do not use `tramp-password-end-of-line'.
9418 (tramp-completion-function-alist-putty): Handle UNIX case.
9419 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9420 (tramp-do-file-attributes-with-stat)
9421 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9422 gid as real numbers. They could run out of integer range on cygwin.
9423 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9424 (tramp-sh-handle-expand-file-name): Handle hops.
9425 (tramp-open-connection-setup-interactive-shell):
9426 Use `tramp-cleanup'. Move check for busyboxes ...
9427 (tramp-find-shell): ... here. Simplify implementation.
9428 Set "remote-shell" property also for alternative shells.
9429 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9430 If failing, a regular file would be written otherwise.
9431 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9432 (tramp-find-inline-encoding): Cache the coding commands in the
9433 process cache. Apply test command on the remote side, if defined.
9434 (tramp-find-inline-compress): Cache the compress commands in the
9436 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9437 when requested. Handle hops.
9438 (tramp-current-connection): New defvar.
9439 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9440 Throw `suppress', if there was a failed connection shortly before.
9441 Handle user interrupt. (Bug#10187)
9442 (tramp-get-inline-compress, tramp-get-inline-coding):
9443 Read connection properties from the process cache.
9445 * net/tramp-smb.el (tramp-smb-server-version)
9446 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9448 (tramp-smb-prompt): Extend for powershell prompt.
9449 (tramp-smb-file-name-handler-alist): Add handlers for
9450 `process-file', `shell-command' and `start-file-process'.
9451 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9452 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9453 (tramp-smb-file-name-p): Simplify.
9454 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9455 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9456 (tramp-smb-shell-quote-argument): New defuns.
9457 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9458 Implement using "tar". By this, time-stamps are preserved.
9459 (tramp-smb-handle-copy-file): Handle also the case of directories.
9460 (tramp-smb-do-file-attributes-with-stat)
9461 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9462 Use `tramp-get-connection-buffer').
9463 (tramp-smb-handle-rename-file): Use "rename", when source and
9464 target are on the same share.
9465 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9466 Use `tramp-smb-server-version'.
9467 (tramp-smb-wait-for-output): Remove prompt.
9469 * net/tramp.el (top): Require 'cl.
9470 (tramp-methods, tramp-rsh-end-of-line):
9471 Remove `tramp-password-end-of-line' from docstring.
9472 (tramp-save-ad-hoc-proxies): New defcustom.
9473 (tramp-completion-function-alist): Adapt docstring.
9474 (tramp-default-password-end-of-line): Remove defcustom.
9475 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9476 (tramp-user-regexp, tramp-file-name-regexp-unified)
9477 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9478 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9479 (tramp-remote-file-name-spec-regexp): New defconst.
9480 (tramp-file-name-structure): Extend structure for hops.
9481 (tramp-get-method-parameter): Move up.
9482 (tramp-file-name-p, tramp-dissect-file-name)
9483 (with-parsed-tramp-file-name): Handle hops.
9484 (tramp-file-name-hop): New defun.
9485 (tramp-make-tramp-file-name): New optional arg HOP.
9486 (tramp-message-show-progress-reporter-message): New defvar.
9487 (tramp-with-progress-reporter): Use it. We cannot use
9488 `tramp-message-show-message' here, because this suppresses also
9490 (tramp-error-with-buffer): Suppress buffer view, if
9491 `tramp-message-show-message' is nil.
9492 Use `tramp-get-connection-buffer'.
9493 (tramp-cleanup): New defun.
9494 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9495 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9497 (tramp-completion-handle-file-name-all-completions): Handle hops.
9498 Fix an error when called from ido.
9499 (tramp-completion-dissect-file-name): Use better local variable
9500 name. Add hop to the vector.
9501 (tramp-handle-insert-file-contents): Use progress-reporter for the
9503 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9505 (tramp-check-for-regexp): Simplify search.
9506 (tramp-enter-password): Remove it. Move implementation ...
9507 (tramp-action-password): ... here.
9508 (tramp-mode-string-to-int, tramp-local-host-p)
9509 (tramp-make-tramp-temp-file, tramp-read-passwd)
9510 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9511 Set tramp-autoload cookie.
9513 * net/trampver.el: Update release number.
9515 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9516 Michael Albinus <michael.albinus@gmx.de>
9518 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9519 (tramp-parse-group, tramp-parse-file)
9520 (tramp-parse-shostkeys-sknownhosts): New defuns.
9521 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9522 (tramp-parse-shosts-group, tramp-parse-sconfig)
9523 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9524 (tramp-parse-sknownhosts, tramp-parse-hosts)
9525 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9527 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9528 (tramp-parse-putty-group): Don't narrow.
9529 (tramp-parse-putty): Make a loop.
9530 (tramp-file-name-handler): Catch the `suppress' signal.
9532 2012-06-11 Chong Yidong <cyd@gnu.org>
9534 * image.el (imagemagick-register-types): Put the ImageMagick entry
9535 at the end of image-type-file-name-regexps.
9537 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9539 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9540 (pcase, pcase-let*, pcase-dolist): Use them.
9542 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9544 * emacs-lisp/pcase.el (pcase--let*): New function.
9545 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9546 (pcase--expand): Use macroexp-let².
9548 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9550 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9551 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9552 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9553 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9554 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9555 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9557 2012-06-10 Glenn Morris <rgm@gnu.org>
9559 * mail/rmail.el (rmail-yank-current-message): Leave point at
9560 correct position. (Bug#11660)
9562 2012-06-10 Chong Yidong <cyd@gnu.org>
9564 * allout-widgets.el: Fix code header.
9566 2012-06-10 Chong Yidong <cyd@gnu.org>
9568 * cus-edit.el (customize-changed-options-previous-release):
9571 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9573 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9575 2012-06-09 Chong Yidong <cyd@gnu.org>
9577 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9579 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9581 * window.el (special-display-popup-frame): Don't use
9582 window--display-buffer (Bug#11651).
9584 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9586 Fix parallel builds: make sure loaddefs.el is not being written
9587 while Lisp files are compiled.
9588 (compile): Don't depend on 'mh-autoloads'.
9589 (compile-CMD, compile-SH): Depend on 'autoloads'.
9590 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9592 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9594 2012-06-09 Chong Yidong <cyd@gnu.org>
9596 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9597 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9598 Doc fixes (Bug#11225).
9600 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9602 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9603 a function if there's a clear indication that it has a compiler-macro.
9604 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9605 (macro-declarations-alist): Add arglist to declaration functions.
9606 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9607 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9608 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9609 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9610 Also add autoload to find the compiler macro.
9611 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9612 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9613 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9614 (cl--compiler-macro-get): New functions, replacing calls to
9615 cl-define-compiler-macro.
9616 (cl-typep) [compiler-macro]: Use macroexp-let².
9618 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9620 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9621 string properly, fixes Bug#11473.
9623 2012-06-08 Chong Yidong <cyd@gnu.org>
9625 * faces.el (set-face-attribute): Doc fix.
9626 (modify-face): Don't use :bold and :italic.
9627 (error, warning, success): Tweak definitions.
9629 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9630 (custom-modified, custom-set, custom-changed, custom-themed)
9631 (custom-saved, custom-button, custom-button-mouse)
9632 (custom-button-pressed, custom-state, custom-comment-tag)
9633 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9634 (custom-group-subtitle): Use new-style face specs.
9635 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9636 (custom-set-face, custom-changed-face, custom-saved-face)
9637 (custom-button-face, custom-button-pressed-face)
9638 (custom-documentation-face, custom-state-face)
9639 (custom-comment-face, custom-comment-tag-face)
9640 (custom-variable-tag-face, custom-variable-button-face)
9641 (custom-face-tag-face, custom-group-tag-face-1)
9642 (custom-group-tag-face): Remove obsolete face alias.
9644 * epa.el (epa-validity-high, epa-validity-medium)
9645 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9646 (epa-field-name, epa-field-body):
9647 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9648 (font-lock-keyword-face, font-lock-builtin-face)
9649 (font-lock-function-name-face, font-lock-variable-name-face)
9650 (font-lock-type-face, font-lock-constant-face):
9651 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9652 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9653 * speedbar.el (speedbar-button-face, speedbar-file-face)
9654 (speedbar-directory-face, speedbar-tag-face)
9655 (speedbar-selected-face, speedbar-highlight-face)
9656 (speedbar-separator-face):
9657 * whitespace.el (whitespace-newline, whitespace-space)
9658 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9659 (whitespace-line, whitespace-space-before-tab)
9660 (whitespace-space-after-tab, whitespace-indentation)
9662 * emulation/cua-base.el (cua-global-mark):
9663 * eshell/em-prompt.el (eshell-prompt):
9664 * net/newst-plainview.el (newsticker-new-item-face)
9665 (newsticker-old-item-face, newsticker-immortal-item-face)
9666 (newsticker-obsolete-item-face, newsticker-date-face)
9667 (newsticker-statistics-face, newsticker-default-face):
9668 * net/newst-reader.el (newsticker-feed-face)
9669 (newsticker-extra-face, newsticker-enclosure-face):
9670 * net/newst-treeview.el (newsticker-treeview-face)
9671 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9672 (newsticker-treeview-immortal-face)
9673 (newsticker-treeview-obsolete-face)
9674 (newsticker-treeview-selection-face):
9675 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9676 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9677 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9678 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9679 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9680 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9681 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9683 * progmodes/vera-mode.el (vera-font-lock-number)
9684 (vera-font-lock-function, vera-font-lock-interface):
9685 * textmodes/table.el (table-cell): Use new-style face specs, and
9686 don't use the old :bold and :italic attributes.
9688 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9689 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9690 (ebrowse-member-class, ebrowse-progress): Likewise.
9691 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9692 (ebrowse-file-name-face, ebrowse-default-face)
9693 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9694 (ebrowse-progress-face): Remove obsolete faces.
9696 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9697 Inherit from error and warning faces respectively.
9699 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9701 (flyspell-incorrect-face, flyspell-duplicate-face):
9702 Remove obsolete aliases.
9704 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9706 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9709 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9711 * startup.el (argv, argi): Make lexically scoped.
9712 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9713 * emacs-lisp/cl-macs.el: Use lexical-binding.
9714 Rename cl-bind-* to cl--bind-*.
9715 * files.el: Don't require `cl' since it doesn't use it.
9716 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9718 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9720 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9721 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9722 instead of calling external sort utility.
9723 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9725 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9727 * descr-text.el (describe-char): Mention how to insert the
9728 character, if the current input method doesn't support it.
9729 See the discussion in this thread for the details:
9730 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9732 2012-06-08 Sam Steingold <sds@gnu.org>
9734 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9735 XF86Back to previous-buffer.
9736 (minibuffer-local-map): Bind them to next-history-element and
9737 previous-history-element respectively.
9738 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9739 help-go-back respectively.
9740 * info.el (Info-mode-map): Bind them to Info-history-forward and
9741 Info-history-back respectively.
9742 These are the keys next to Up on the ThinkPad keyboard.
9744 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9746 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9747 * emacs-lisp/cl-macs.el: Provide itself.
9748 (cl--labels-convert-cache): New var.
9749 (cl--labels-convert): New function.
9750 (cl-flet, cl-labels): New implementation with new semantics, relying on
9752 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9753 (cl-closure-vars, cl--function-convert-cache)
9754 (cl--function-convert): Move from cl-macs.el.
9755 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9756 rename by removing the "cl-" prefix.
9757 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9759 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9761 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9762 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9763 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9764 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9765 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9766 (cl-hash-table-count): Add old compatibility aliases.
9768 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9769 Use macroexpand-all-environment instead.
9770 (cl--old-macroexpand): New var.
9771 (cl--sm-macroexpand): New function.
9772 (cl-symbol-macrolet): Use it during macro expansion.
9773 (cl--function-convert-cache): New var.
9774 (cl--function-convert): New function, extracted from
9776 (cl-lexical-let): Use it.
9778 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9779 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9780 (cl-member): Remove old alias.
9782 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9783 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9784 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9785 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9786 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9787 (cl-macroexpand-cmacs): Remove var.
9788 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9789 Use macroexpand-all instead.
9791 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9793 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9794 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9795 (macroexp-copyable-p): New functions and macros.
9796 * emacs-lisp/edebug.el (edebug-unwrap):
9797 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9798 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9799 (pcase--let*): Remove.
9800 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9801 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9802 macroexp-const-p instead.
9803 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9805 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9806 instead of "cl-" for internal definitions. Use macroexp-const-p.
9807 (cl-old-bc-file-form): Remove var.
9808 (cl-const-exprs-p): Remove fun.
9809 (cl-labels, cl-macrolet): Use backquote.
9810 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9811 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9812 (cl-define-setf-expander): Rename from cl-define-setf-method.
9813 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9815 * international/mule-cmds.el: Don't require CL.
9816 (view-hello-file): Don't use `letf'.
9818 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9820 * tmm.el (tmm-prompt): Use string-prefix-p.
9821 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9822 (tmm-add-prompt): Use minibuffer-completion-help.
9823 (tmm-delete-map): Remove.
9825 * subr.el (kbd): Make it its own function.
9827 2012-06-07 Stefan Merten <smerten@oekonux.de>
9829 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9830 Silence compiler warnings. Fix versions.
9831 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9832 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9833 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9834 (rst-package-emacs-version-alist): Correct Emacs version to
9835 represent major merge with upstream.
9836 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9838 2012-06-06 Glenn Morris <rgm@gnu.org>
9840 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9841 Only print environment variables if set.
9843 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9845 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9846 (macroexp--cons): Rename from maybe-cons.
9847 (macroexp--accumulate): Rename from macroexp-accumulate.
9848 (macroexp--all-forms): Rename from macroexpand-all-forms.
9849 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9850 (macroexp--expand-all): Rename from macroexpand-all-1.
9852 2012-06-06 Sam Steingold <sds@gnu.org>
9854 * calendar/calendar.el (calendar-in-read-only-buffer):
9855 Call `special-mode' to enable the standard read-only keybindings.
9857 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9859 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9860 with "loading" messages (bug#11635).
9862 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9864 * files.el (enable-remote-dir-locals): New option.
9865 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9867 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9868 Ensure, that the temp directory is local.
9870 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9871 `temporary-file-directory'.
9873 * progmodes/python.el (python-send-region): Ensure, that the
9874 temporary file is created also in the remote case.
9876 2012-06-06 Glenn Morris <rgm@gnu.org>
9878 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9879 (vc-rcs-update-changelog): Use it.
9881 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9883 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9884 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9885 (vc-sccs-diff): Replace use of the external vcdiff script.
9887 2012-06-05 Glenn Morris <rgm@gnu.org>
9889 * ledit.el: Move to obsolete/.
9891 2012-06-05 Sam Steingold <sds@gnu.org>
9893 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9896 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9898 * emacs-lisp/cust-print.el: Move to obsolete.
9900 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9901 compiler-macro expansion.
9903 Add native compiler-macro support.
9904 * emacs-lisp/macroexp.el (macroexpand-all-1):
9905 Support compiler-macros directly. Properly follow aliases and apply
9906 the compiler macros more thoroughly.
9907 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9908 macroexpand now properly follows aliases.
9909 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9910 (cl-compiler-macroexpand): Use new prop.
9911 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9913 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9915 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9917 * window.el (get-lru-window, get-mru-window, get-largest-window):
9918 New argument NOT-SELECTED to avoid picking the selected window.
9919 (window--display-buffer-1, window--display-buffer-2): Replace by
9920 new function window--display-buffer
9921 (display-buffer-same-window, display-buffer-reuse-window)
9922 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9923 Use window--display-buffer.
9924 (display-buffer-use-some-window): Remove temporary dedication
9925 hack by calling get-lru-window and get-largest-window with
9926 NOT-SELECTED argument non-nil. Call window--display-buffer.
9928 2012-06-05 Glenn Morris <rgm@gnu.org>
9930 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9931 Replace external vcdiff script.
9933 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9935 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9937 2012-06-04 Chong Yidong <cyd@gnu.org>
9939 * image.el (imagemagick-types-inhibit): Revert last change.
9941 (imagemagick-enabled-types): Remove CIN and EPS*.
9943 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9945 * emacs-lisp/cl-lib.el: Rename from cl.el.
9946 * emacs-lisp/cl.el: New compatibility file.
9947 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9948 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9949 to obey the "cl-" prefix.
9950 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9952 2012-06-03 Glenn Morris <rgm@gnu.org>
9954 * emacs-lisp/authors.el (authors-aliases): Addition.
9956 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9959 2012-06-03 Stefan Merten <smerten@oekonux.de>
9961 * textmodes/rst.el: Add comments.
9962 (rst-transition, rst-adornment): New faces.
9963 (rst-adornment-faces-alist): Make default safe to reevaluate.
9965 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9966 Improve customization tags.
9967 (rst-define-level-faces): Clarify meaning.
9969 2012-06-03 Chong Yidong <cyd@gnu.org>
9971 * progmodes/compile.el (compilation-mode-line-fail)
9972 (compilation-mode-line-run, compilation-mode-line-exit):
9974 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9976 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9978 * progmodes/which-func.el (which-func-update-ediff-windows):
9979 New function. Use it in ediff-select-hook (Bug#11478).
9981 2012-06-03 Chong Yidong <cyd@gnu.org>
9983 * bindings.el: Remove explicit help text from format-mode-line.
9984 It is now supplied by mode-line-default-help-echo.
9985 (mode-line-front-space, mode-line-end-spaces)
9986 (mode-line-misc-info): New variables.
9987 (mode-line-modes, mode-line-position): Move the default value to
9988 the variable definition.
9989 (mode-line-default-help-echo): New defcustom.
9990 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9991 (mode-line-modified-help-echo): New functions.
9992 (mode-line-mule-info, mode-line-modified): Use them.
9993 (mode-line-eol-desc, propertized-buffer-identification):
9994 Consistency fixes for help text.
9995 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9996 set-buffer-file-coding-system (Bug#289).
9997 (mode-line-mule-info-help-echo): Update help text.
9999 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10001 * simple.el (execute-extended-command): Set real-this-command
10004 2012-06-02 Chong Yidong <cyd@gnu.org>
10006 Remove incorrect uses of "modeline" in comments, docstrings, and
10007 function/variable names (Bug#10329).
10009 * cus-edit.el (mode-line):
10010 * dframe.el (dframe-mouse-hscroll):
10011 * emacs-lisp/re-builder.el:
10012 * emacs-lisp/easy-mmode.el (define-minor-mode):
10013 * frame.el (set-frame-name):
10014 * help.el (lookup-minor-mode-from-indicator):
10015 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10016 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10017 (c-toggle-hungry-state):
10018 * progmodes/antlr-mode.el (antlr-language-alist):
10019 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10020 * progmodes/vhdl-mode.el (vhdl-mode):
10021 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10022 * term/ns-win.el (ns-face-at-pos):
10023 * term/sup-mouse.el (sup-mouse-report):
10024 * textmodes/flyspell.el (flyspell-mode-line-string):
10025 * textmodes/ispell.el (ispell-highlight-face):
10026 * textmodes/reftex-global.el:
10027 * vc/vc-arch.el (vc-arch-mode-line-string):
10028 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10029 * vc/vc-git.el (vc-git-mode-line-string):
10030 * vc/vc-hooks.el (vc-display-status)
10031 (vc-default-mode-line-string):
10032 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10034 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10036 * dired.el (dired-sort-set-mode-line): Rename from
10037 dired-sort-set-modeline. All callers changed.
10039 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10040 eshell-status-in-modeline.
10042 * foldout.el (foldout-mode-line-string): Rename from
10043 foldout-modeline-string. All callers changed.
10044 (foldout-update-mode-line): Rename from foldout-update-modeline.
10046 * subr.el (redraw-modeline): Make into obsolete alias.
10048 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10049 timeclock-modeline-display. Make old name an alias.
10050 (timeclock-update-mode-line): Likewise. All callers changed.
10051 (timeclock-mode-line-display): No need to check before using
10053 (timeclock-relative, timeclock-day-over-hook)
10054 (timeclock-use-elapsed, timeclock-mode-string)
10055 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10057 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10058 crisp-mode-modeline-string.
10060 * play/solitaire.el (solitaire-build-mode-line): Rename from
10061 solitaire-build-modeline. All callers changed.
10063 * play/zone.el (zone-hiding-mode-line): Rename from
10064 zone-hiding-modeline. All callers changed.
10065 (zone): Remove unusued `modeline-hidden-level' property.
10067 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10068 xscheme-modeline-initialize. All callers changed.
10070 * strokes.el (strokes-lighter): Rename from
10071 strokes-modeline-string.
10073 * textmodes/sgml-mode.el (html-face-tag-alist)
10074 (html-tag-face-alist): Use mode-line face instead of obsolete
10077 2012-06-02 Stefan Merten <smerten@oekonux.de>
10079 * textmodes/rst.el: Always require `cl'.
10080 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10082 2012-06-02 Chong Yidong <cyd@gnu.org>
10084 * image.el (imagemagick-enabled-types): Rename from
10085 imagemagick-types-enable. Add many more types.
10086 (imagemagick-types-inhibit): Change default to nil.
10087 (imagemagick-filter-types): Caller changed.
10089 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10091 * emacs-lisp/cl-macs.el: Use backquotes.
10092 (cl-transform-function-property): Use eval-and-compile rather than
10094 (defstruct): Use declare-function instead of with-no-warnings.
10096 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10097 (byte-compile-output-docform): Re-add the print-circle bindings.
10098 (byte-compile-fix-header): Use #$ just because it's shorter.
10099 (byte-compile-output-file-form): Remove defun/defmacro.
10101 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10103 * simple.el (choose-completion): Remove now obsolete binding for
10106 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10108 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10109 in order to avoid "Stack overflow in regexp matcher".
10111 2012-05-31 Glenn Morris <rgm@gnu.org>
10113 * image.el: For clarity, call imagemagick-register-types at
10114 top-level, rather than relying on a custom :initialize.
10115 (imagemagick-types-enable): New option. (Bug#11557)
10116 (imagemagick-filter-types): New function. (Bug#7406)
10117 (imagemagick-register-types): Use imagemagick-filter-types.
10118 If disabling support, remove elements altogether rather
10119 than using an impossible regexp.
10120 (imagemagick-types-inhibit): Give it the default init function.
10122 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10124 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10125 Handle arbitrary file name lengths (Bug#11585).
10127 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10129 * desktop.el (desktop-read): Clear previous and next buffers for
10130 all windows and bury *Messages* buffer (bug#11556).
10132 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10134 Add `declare' for `defun'. Align `defmacro's with it.
10135 * emacs-lisp/easy-mmode.el (define-minor-mode)
10136 (define-globalized-minor-mode): Don't autoload the var definitions.
10137 * emacs-lisp/byte-run.el: Use lexical-binding.
10138 (defun-declarations-alist, macro-declarations-alist): New vars.
10139 (defmacro, defun): Use them.
10140 (make-obsolete, define-obsolete-function-alias)
10141 (make-obsolete-variable, define-obsolete-variable-alias):
10143 (macro-declaration-function): Mark obsolete.
10144 * emacs-lisp/autoload.el: Use lexical-binding.
10145 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10147 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10149 * textmodes/ispell.el (ispell-with-no-warnings):
10151 (ispell-kill-ispell, ispell-change-dictionary):
10152 Use `called-interactively-p' for Emacs instead of obsolete
10155 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10157 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10158 (macro-declaration-function): Move var from C code.
10159 (macro-declaration-function): Define function with defalias.
10160 * emacs-lisp/macroexp.el (macroexpand-all-1):
10161 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10162 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10163 defun/defmacro any more.
10164 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10165 Provide fallback for unknown arglist.
10166 (byte-compile-arglist-warn): Change calling convention.
10167 (byte-compile-output-file-form): Move print-vars binding.
10168 (byte-compile-output-docform): Simplify accordingly.
10169 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10170 (byte-compile-defmacro-declaration): Remove.
10171 (byte-compile-file-form-defmumble): Generalize to defalias.
10172 (byte-compile-output-as-comment): Return byte-positions.
10173 Simplify callers accordingly.
10174 (byte-compile-lambda): Use `assert'.
10175 (byte-compile-defun, byte-compile-defmacro): Remove.
10176 (byte-compile-file-form-defalias):
10177 Use byte-compile-file-form-defmumble.
10178 (byte-compile-defalias-warn): Remove.
10180 2012-05-29 Stefan Merten <smerten@oekonux.de>
10182 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10183 possible. Fix authors. Improve comments. Improve loading of `cl'.
10185 (rst-mode-abbrev-table): Merge definition.
10186 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10187 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10189 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10191 * calendar/icalendar.el
10192 (icalendar-export-region): Export UID properly.
10194 2012-05-29 Leo Liu <sdl.web@gmail.com>
10195 * calendar/icalendar.el (icalendar-import-format):
10196 Add `icalendar-import-format-uid' (Bug#11525).
10197 (icalendar-import-format-uid): New.
10198 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10201 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10203 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10204 different alternative patterns.
10205 (pcase-codegen): Be more careful to preserve identity.
10206 (pcase--u1): Don't forget to mark vars as used.
10208 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10209 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10210 (byte-compile-from-buffer): ...rather than here.
10212 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10213 functions from byte-compile-function-environment.
10215 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10217 * window.el (window-deletable-p): Avoid deleting the root window
10218 of a frame with an active minibuffer.
10220 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10222 * simple.el (choose-completion): Use quit-window (Bug#11567).
10224 2012-05-29 Chong Yidong <cyd@gnu.org>
10226 * whitespace.el (whitespace-cleanup): Fix usage of
10227 whitespace-empty-at-bob-regexp (Bug#11492).
10229 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10231 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10232 revert (Bug#11488).
10234 2012-05-29 Juri Linkov <juri@jurta.org>
10236 * isearch.el (isearch-mode-map): Bind `M-s _' to
10237 `isearch-toggle-symbol'. Bind `M-s c' to
10238 `isearch-toggle-case-fold'.
10239 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10240 (isearch-forward): Add `M-s _' to the docstring.
10241 (isearch-forward-symbol, isearch-toggle-case-fold)
10242 (isearch-symbol-regexp): New functions. (Bug#11381)
10244 2012-05-29 Juri Linkov <juri@jurta.org>
10246 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10247 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10248 a function, call it to get the regexp.
10249 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10250 property `isearch-message-prefix' instead of the string "word ".
10251 (isearch-search-fun-default): For the case of `isearch-word',
10252 return a lambda that calls re-search-forward/re-search-backward
10253 with a regexp returned by `word-search-regexp' or by the function
10256 2012-05-29 Juri Linkov <juri@jurta.org>
10258 * isearch.el (isearch-search-fun-default): New function.
10259 (isearch-search-fun): Move default part to the new function
10260 `isearch-search-fun-default'.
10261 (isearch-search-fun-function): Set the default value to
10262 `isearch-search-fun-default'. (Bug#11381)
10264 * comint.el (comint-history-isearch-end):
10265 Use `isearch-search-fun-default'.
10266 (comint-history-isearch-search): Use `isearch-search-fun-default'
10267 and remove spacial case for `isearch-word'.
10268 (comint-history-isearch-wrap): Remove spacial case for
10271 * hexl.el (hexl-isearch-search-function):
10272 Use `isearch-search-fun-default'.
10274 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10275 Use `word-search-regexp' for `isearch-word'.
10277 * misearch.el (multi-isearch-search-fun):
10278 Use `isearch-search-fun-default'.
10280 * simple.el (minibuffer-history-isearch-search):
10281 Use `isearch-search-fun-default' and remove spacial case for
10283 (minibuffer-history-isearch-wrap): Remove spacial case for
10286 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10287 Remove spacial case for `isearch-word'.
10288 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10290 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10292 Decrease XEmacs incompatibilities.
10293 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10294 Use `string-match'.
10295 (flyspell-delete-region-overlays): Use alternative definition for
10297 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10298 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10299 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10300 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10301 `define-obsolete-face-alias' under XEmacs, but old method.
10303 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10304 `with-no-warnings' definition or Emacs alias.
10305 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10306 (ispell-word): Do not use `region-p' if XEmacs.
10308 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10310 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10311 Check for `ispell-dictionary-base-alist' instead of full
10312 `ispell-dictionary-alist'.
10313 (ispell-init-process): Show spellchecker when starting new Ispell
10316 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10318 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10319 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10321 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10323 * version.el (motif-version-string, gtk-version-string)
10324 (ns-version-string): Declare.
10326 2012-05-27 Juri Linkov <juri@jurta.org>
10328 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10329 after the `eval-defun-1' specialcaseing
10330 like in `edebug-eval-defun' (bug#10181).
10332 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10333 like in `eval-defun-1'.
10335 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10337 * mail/sendmail.el (mail-yank-region):
10338 Recognize rmail-yank-current-message in addition to insert-buffer.
10339 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10340 a *mail* buffer created through rmail-start-mail with sendmail as
10343 2012-05-27 Chong Yidong <cyd@gnu.org>
10345 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10346 Default to 256 (Bug#11267).
10348 * help.el (describe-mode): Doc fix.
10350 2012-05-26 Glenn Morris <rgm@gnu.org>
10352 * w32-fns.el (w32-init-info): Remove.
10353 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10355 * info.el (info-initialize): For self-contained NS builds, put the
10356 included info/ directory at the front. (Bug#2791)
10358 * paths.el (Info-default-directory-list): Make it a defcustom,
10359 mainly so that we can use custom-initialize-delay.
10361 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10363 * subr.el (buffer-has-markers-at): Mark obsolete.
10365 * subr.el (lambda): Use declare.
10367 * emacs-lisp/lisp-mode.el (lambda):
10368 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10370 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10372 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10374 2012-05-26 Glenn Morris <rgm@gnu.org>
10376 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10378 2012-05-25 Glenn Morris <rgm@gnu.org>
10380 * paths.el: Remove no-byte-compile.
10381 * loadup.el: No need to load paths.el uncompiled.
10383 * image.el (imagemagick-types-inhibit): Doc fix.
10385 * version.el: Remove no-byte-compile and associated formatting.
10386 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10387 is ancient code from when there was an "inc-vers.el".
10389 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10391 * progmodes/gdb-mi.el: Minor style changes.
10392 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10393 Turn into minor modes.
10394 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10395 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10396 (gdb-shell): Remove unneeded let-binding.
10397 (gdb-get-many-fields): Eliminate O(n²) behavior.
10399 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10401 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10402 platforms that don't link in fontset.c.
10404 2012-05-25 Juri Linkov <juri@jurta.org>
10406 Use the same diff color scheme as in modern VCSes (bug#10181).
10408 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10409 to avoid confusion with `diff-added' that now uses green colors.
10410 (diff-removed): Use shades of red.
10411 (diff-added): Use shades of green.
10412 (diff-changed): Leave just the yellow color.
10413 (diff-use-changed-face): New variable.
10414 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10415 how to highlight context diff changes.
10416 (diff-refine-change): Use shades of yellow.
10417 (diff-refine-removed): New face that uses shades of red.
10418 (diff-refine-added): New face that uses shades of green.
10419 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10420 `diff-refine-removed' in the call to `smerge-refine-subst'
10421 depending on the value of `diff-use-changed-face'.
10423 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10424 (smerge-other): Use shades of green.
10425 (smerge-base): Use shades of yellow.
10426 (smerge-refined-change): Empty face.
10427 (smerge-refined-removed): New face that uses shades of red.
10428 (smerge-refined-added): New face that uses shades of green.
10429 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10430 args `props-r' and `props-a', and use them. Doc fix.
10431 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10432 on its value use different faces `smerge-refined-change',
10433 `smerge-refined-removed', `smerge-refined-added' in the call to
10434 `smerge-refine-subst'.
10436 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10437 Add face condition `min-colors 88' with shades of red.
10438 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10439 `min-colors 88' with shades of green.
10440 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10441 `min-colors 88' with shades of yellow.
10443 2012-05-24 Glenn Morris <rgm@gnu.org>
10445 * paths.el (prune-directory-list, remote-shell-program): Move to...
10446 * files.el (prune-directory-list, remote-shell-program): ...here.
10447 For the latter, delay initialization, prefer ssh, just search PATH.
10449 * paths.el (term-file-prefix): Move to faces.el (the only user).
10450 * faces.el (term-file-prefix): Move here, make it a defcustom.
10452 * paths.el (news-directory, news-path, news-inews-program):
10453 Move to gnus/nnspool.el.
10455 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10457 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10458 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10459 Make the latter a defcustom, with a delayed initialization.
10461 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10462 These were deleted from Gnus itself late 2010.
10464 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10466 * progmodes/which-func.el (which-func-ff-hook):
10467 Check against user-error, not error.
10469 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10470 cl-specs.el, which no longer exists.
10472 2012-05-22 Glenn Morris <rgm@gnu.org>
10474 * info.el (info-emacs-bug): New command.
10475 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10476 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10478 2012-05-21 Glenn Morris <rgm@gnu.org>
10480 * makefile.w32-in (update-subdirs-SH):
10481 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10483 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10485 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10487 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10488 Simplify Maven regexp, and make sure the file can't start with a space
10491 2012-05-21 Glenn Morris <rgm@gnu.org>
10493 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10494 Scrap superfluous subshells.
10496 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10498 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10499 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10501 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10503 * calc/calc.el (calc-ensure-consistent-units): New variable.
10505 * calc/calc-units.el (math-consistent-units-p)
10506 (math-check-unit-consistency): New functions.
10507 (calc-quick-units, calc-convert-units):
10508 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10510 (calc-extract-units): Fix typo.
10512 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10514 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10516 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10517 (flyspell-default-deplacement-commands): Don't spell check after
10518 repeated window/frame switches (e.g. triggered by mouse-movement).
10519 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10520 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10521 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10522 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10523 Remove unused vars.
10524 (flyspell-get-casechars, flyspell-get-not-casechars):
10525 Simplify; Don't bother removing a ] just to add it back.
10526 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10528 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10530 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10532 (math-function-table): Add support for more C functions.
10534 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10536 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10537 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10538 Protect delay handling for otherchars against empty otherchars.
10540 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10542 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10543 their respective macro declarations.
10544 * skeleton.el (define-skeleton):
10545 * progmodes/compile.el (define-compilation-mode):
10546 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10547 (define-ibuffer-filter):
10548 * emacs-lisp/generic.el (define-generic-mode):
10549 * emacs-lisp/easy-mmode.el (define-minor-mode)
10550 (define-globalized-minor-mode):
10551 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10552 * emacs-lisp/byte-run.el (defsubst):
10553 * custom.el (deftheme): Add doc-string metadata.
10555 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10557 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10559 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10561 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10563 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10564 * emacs-lisp/cl-macs.el: Idem.
10565 * emacs-lisp/cl-specs.el: Remove.
10567 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10569 Minor renaming of internal CL functions and variables.
10570 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10571 (cl--position): Rename from cl-position.
10572 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10573 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10574 (cl--random-state): Rename from *random-state*.
10576 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10578 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10579 parens around the arg list (bug#11499).
10581 2012-05-17 Juri Linkov <juri@jurta.org>
10583 * isearch.el (word-search-regexp, word-search-backward)
10584 (word-search-forward, word-search-backward-lax)
10585 (word-search-forward-lax): Move functions from search.c
10586 (bug#10145, bug#11381).
10588 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10590 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10591 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10592 Delay for otherchars as for normal word components.
10594 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10596 * minibuffer.el (completion--sifn-requote): Fix last change.
10597 (minibuffer-local-must-match-filename-map):
10598 Move define-obsolete-variable-alias before its var.
10600 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10602 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10604 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10606 (completion--string-equal-p): New function.
10607 (completion--twq-all): Use it to get better assertion failure data.
10609 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10610 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10611 (shell--requote-argument): New functions.
10612 (shell-completion-vars): Use them.
10613 (shell--parse-pcomplete-arguments): Rename from
10614 shell-parse-pcomplete-arguments.
10615 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10616 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10617 Obey comint-file-name-quote-list.
10619 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10620 (smie-indent-keyword): Use it.
10622 2012-05-14 Stefan Merten <smerten@oekonux.de>
10624 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10626 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10628 * net/rlogin.el (rlogin-mode-map): Fix last change.
10630 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10632 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10633 the following \r\n using a single `process-send-string', since the
10634 Lotus SMTP server refuses to accept any commands if they are sent
10635 with two `process-send-string's (Bug#11444).
10637 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10639 * shell.el (shell-parse-pcomplete-arguments):
10640 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10642 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10644 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10645 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10646 (image-transform-width, image-transform-fit-width): New functions.
10647 (image-transform-properties): Use them.
10648 (image-transform-check-size): New function.
10649 (image-toggle-display-image): Use it (for testing).
10650 (image-transform-set-rotation): Reduce angle mod 360.
10651 Delete obsolete comment.
10653 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10655 * image-mode.el: Fix scaling (bug#11399).
10656 (image-transform-resize): Doc fix.
10657 (image-transform-properties): Default scale is 1 and height should
10660 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10662 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10663 than hard-coding `car', to fix misbehavior when moving forward.
10665 2012-05-13 Chong Yidong <cyd@gnu.org>
10667 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10668 (tabulated-list-entries, tabulated-list-padding)
10669 (tabulated-list-sort-key): Make permanent-local.
10671 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10672 (electric-buffer-list): Put electric buffer menu
10673 command descriptions in this docstring, instead of the docstring
10674 of electric-buffer-menu-mode. Code cleanups.
10675 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10676 Electric-buffer-menu-mode.
10677 (electric-buffer-update-highlight): Minor code cleanup.
10679 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10681 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10684 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10686 Move define-obsolete-variable-alias before the var's definition.
10687 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10688 * tooltip.el (tooltip-hook):
10689 * textmodes/reftex-toc.el (reftex-toc-map):
10690 * textmodes/reftex-sel.el (reftex-select-label-map)
10691 (reftex-select-bib-map):
10692 * textmodes/reftex-index.el (reftex-index-map)
10693 (reftex-index-phrases-map):
10694 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10695 * progmodes/meta-mode.el (meta-mode-map):
10696 * novice.el (disabled-command-hook):
10697 * loadhist.el (unload-hook-features-list):
10698 * frame.el (blink-cursor):
10699 * files.el (find-file-not-found-hooks, write-file-hooks)
10700 (write-contents-hooks):
10701 * emulation/tpu-edt.el (GOLD-map):
10702 * emacs-lock.el (emacs-lock-from-exiting):
10703 * emacs-lisp/generic.el (generic-font-lock-defaults):
10704 * emacs-lisp/chart.el (chart-map):
10705 * dos-fns.el (register-name-alist):
10706 * dired-x.el (dired-omit-files-p):
10707 * desktop.el (desktop-enable):
10708 * cus-edit.el (custom-mode-hook):
10709 * buff-menu.el (buffer-menu-mode-hook):
10710 * bookmark.el (bookmark-read-annotation-text-func)
10711 (bookmark-exit-hooks):
10712 * allout.el (allout-mode-deactivate-hook)
10713 (allout-exposure-change-hook, allout-structure-added-hook)
10714 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10715 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10716 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10717 comes before the corresponding variable's definition.
10719 2012-05-12 Chong Yidong <cyd@gnu.org>
10721 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10722 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10723 (Buffer-menu-mode-map): Bind it.
10724 (Buffer-menu--pretty-name): Add a mouse-face property.
10726 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10728 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10729 (prolog-upper-case-string, prolog-lower-case-string)
10730 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10731 (prolog-use-smie, prolog-smie-grammar): New vars.
10732 (prolog-smie-forward-token, prolog-smie-backward-token)
10733 (prolog-smie-rules): New funs.
10734 (prolog-comment-indent): Remove.
10735 (prolog-mode-variables): Use default comment indentation instead.
10737 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10738 (prolog-mode): Don't call them any more.
10739 (prolog-electric-colon, prolog-electric-dash)
10740 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10742 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10744 * minibuffer.el (completion--twq-all): Again, allow case differences.
10746 * term.el: Move keymap initialization code to be more idiomatic.
10747 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10748 (term-terminal-menu): Move initialization into declaration.
10749 (term-escape-char): Let the user set it in her .emacs.
10751 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10752 Provide SMIE-based indentation (not enabled by default yet).
10753 (sh-mode-map): Don't bind electric keys.
10754 Use electric-pair-mode instead of skeleton-pair.
10755 (sh-assignment-regexp): Fit within 80 columns.
10756 (sh-indent-supported): Specify actual shell name instead of boolean.
10757 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10758 (sh-maybe-here-document): Use it. Make obsolete.
10759 (sh-electric-here-document-mode) New minor mode.
10760 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10761 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10762 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10763 (sh-smie-rc-grammar, sh-use-smie): New vars.
10764 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10765 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10766 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10767 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10768 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10769 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10770 (sh-set-shell): Use smie-setup if requested.
10772 * term.el (term-set-escape-char): Properly set term-escape-char.
10773 See http://stackoverflow.com/questions/10524656.
10775 2012-05-10 Chong Yidong <cyd@gnu.org>
10777 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10778 Use url-generic-parse-url, and handle host names and Windows
10779 filenames properly.
10780 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10781 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10782 URL schemes to work on.
10783 (ffap--toggle-read-only): New function.
10784 (ffap-read-only, ffap-read-only-other-window)
10785 (ffap-read-only-other-frame): Use it.
10786 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10787 necessary for ffap-url-unwrap-remote.
10789 2012-05-10 Dave Abrahams <dave@boostpro.com>
10791 * cus-start.el (create-lockfiles): Add it.
10793 2012-05-09 Chong Yidong <cyd@gnu.org>
10795 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10796 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10798 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10800 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10802 2012-05-09 Chong Yidong <cyd@gnu.org>
10804 * ansi-color.el (ansi-color-process-output): Check for validity of
10805 comint-last-output-start before using it. This avoids a bad
10806 interaction with gdb-mi's input/output buffer.
10808 2012-05-09 Glenn Morris <rgm@gnu.org>
10810 * files.el (dir-locals-read-from-file):
10811 Mention dir-locals in any error message.
10813 2012-05-09 Chong Yidong <cyd@gnu.org>
10815 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10816 package (Bug#11410).
10818 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10819 variables into description.
10821 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10823 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10824 shell-delimiter-argument-list (bug#11348).
10825 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10827 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10829 * textmodes/rst.el: Silence byte-compiler warnings.
10830 (rst-re-alist, rst-reset-section-caches): Move around.
10831 (rst-re): Use `characterp', not `char-valid-p'.
10832 (font-lock-beg, font-lock-end): Declare.
10834 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10835 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10837 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10839 2012-05-08 Glenn Morris <rgm@gnu.org>
10841 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10843 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10845 * vc/log-edit.el: Add GNU coding standards highlighting.
10846 (log-edit-font-lock-gnu-style)
10847 (log-edit-font-lock-gnu-keywords): New vars.
10848 (log-edit-font-lock-keywords): New fun.
10849 (log-edit-mode): Don't fold case in font-lock.
10850 (log-edit-font-lock-keywords): Do not assume case-folding.
10852 * imenu.el: Misc cleanup. Make docstrings out of comments.
10853 Use lexical-binding.
10854 (imenu--index-alist, imenu--last-menubar-index-alist)
10855 (imenu-menubar-modified-tick): Use defvar-local.
10856 (imenu--split-menu): Remove unused var.
10857 (imenu--cleanup-seen): Declare as global.
10858 (imenu--cleanup): Use dolist.
10860 * subr.el (defvar-local): Add debug spec and doc-string position.
10862 2012-05-08 Glenn Morris <rgm@gnu.org>
10864 * language/burmese.el, language/cham.el, language/czech.el:
10865 * language/english.el, language/georgian.el, language/greek.el:
10866 * language/japanese.el, language/khmer.el, language/korean.el:
10867 * language/lao.el, language/misc-lang.el, language/romanian.el:
10868 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10869 * language/thai.el, language/utf-8-lang.el:
10870 Remove no-byte-compile setting.
10872 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10874 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10876 * progmodes/make-mode.el (makefile-browse):
10877 Remove unnecessary interactive. (Bug#11324)
10879 2012-05-07 Glenn Morris <rgm@gnu.org>
10881 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10883 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10885 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10887 * loadup.el: Preload newcomment.el.
10888 * newcomment.el: Move autoload-only code to toplevel.
10890 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10891 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10892 Handle new :right-align column property.
10893 (tabulated-list-print-col): Idem, plus use `display' text-property to
10894 try and preserve alignment for variable pitch fonts.
10896 2012-05-07 Chong Yidong <cyd@gnu.org>
10898 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10899 (tabulated-list-use-header-line): New var.
10900 (tabulated-list-init-header): Use it.
10901 (tabulated-list-print-fake-header): New function.
10902 (tabulated-list-print): Use it.
10903 (tabulated-list-sort-button-map): Add non-header-line commands.
10904 (tabulated-list-init-header): Add column name property to basic
10906 (tabulated-list-col-sort): Handle non-header-line button case.
10907 (tabulated-list--sort-by-column-name): Fix a corner case.
10909 * buff-menu.el (list-buffers--refresh):
10910 Handle Buffer-menu-use-header-line.
10912 2012-05-06 Chong Yidong <cyd@gnu.org>
10914 * buff-menu.el: Convert to Tabulated List mode.
10915 (Buffer-menu-buffer+size-width): Make obsolete.
10916 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10917 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10918 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10919 documentation into docstring of buffer-menu.
10920 (Buffer-menu-toggle-files-only): Add an informative message.
10921 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10922 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10923 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10924 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10925 (Buffer-menu-execute, Buffer-menu-select)
10926 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10927 (Buffer-menu-bury): Use Tabulated List machinery.
10928 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10929 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10931 (list-buffers--refresh): New function.
10932 (list-buffers-noselect): Use it.
10933 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10934 (Buffer-menu--pretty-file-name): New helper functions.
10936 * loadup.el: Preload tabulated-list.
10938 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10939 tabulated-list-sort-column.
10940 (tabulated-list-init-header): Add the initial aligning space even
10941 if tabulated-list-padding is zero.
10943 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10945 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10946 whose cdr is not a cons cell correctly (bug#11038).
10948 2012-05-06 Chong Yidong <cyd@gnu.org>
10950 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10951 Accept additional plist in column descriptors.
10952 (tabulated-list-init-header): Obey it.
10953 (tabulated-list-get-entry): New function.
10954 (tabulated-list-put-tag): Use it. Use string-width instead of
10956 (tabulated-list--column-number): New function.
10957 (tabulated-list-print): Use it.
10958 (tabulated-list-print-col): New function.
10959 Set `tabulated-list-column-name' property on each column's text.
10960 (tabulated-list-print-entry): Use it.
10961 (tabulated-list-delete-entry, tabulated-list-set-col):
10963 (tabulated-list-sort-column): New command (Bug#11337).
10965 * buff-menu.el (list-buffers): Move C-x C-b binding from
10966 buff-menu.el to bindings.el.
10968 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10969 :advertised-binding feature.
10971 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10973 * progmodes/compile.el (compilation-internal-error-properties):
10974 Calculate start position correctly when end-col is set but
10975 end-line is not (Bug#11382).
10977 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10979 * man.el (Man-unindent): Use text-property-default-nonsticky to
10980 prevent untabify from inheriting face properties (Bug#11408).
10982 2012-05-05 Stefan Merten <smerten@oekonux.de>
10984 * textmodes/rst.el: Major merge with upstream development up to
10985 Docutils SVN r7399 / rst.el V1.2.1.
10987 Clarify maintainership and authors.
10989 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10990 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10991 (rst-official-version, rst-official-cvs-rev, rst-version)
10992 (rst-package-emacs-version-alist): New functions and variables
10993 for version information.
10995 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10996 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10997 (rst-mode-syntax-table, rst-mode): New and corrected functions
10998 and variables representing reStructuredText features.
11000 (rst-re): New function for reStructuredText regexes. Use in
11003 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11004 (rst-mode-map): Rebind keys.
11006 (rst-mode-lazy, rst-font-lock-keywords)
11007 (rst-font-lock-extend-region)
11008 (rst-font-lock-extend-region-internal)
11009 (rst-font-lock-extend-region-extend)
11010 (rst-font-lock-find-unindented-line-limit)
11011 (rst-font-lock-find-unindented-line-match)
11012 (rst-adornment-level, rst-font-lock-adornment-level)
11013 (rst-font-lock-adornment-match)
11014 (rst-font-lock-handle-adornment-pre-match-form)
11015 (rst-font-lock-handle-adornment-matcher): Major revision of
11016 font-locking. Integrate with other code. Use `jit-lock-mode'.
11018 (rst-preferred-adornments, rst-adjust-hook)
11019 (rst-new-adornment-down, rst-preferred-bullets)
11020 (rst-preferred-bullets, rst-indent, rst-indent-width)
11021 (rst-indent-field, rst-indent-literal-normal)
11022 (rst-indent-literal-minimized, rst-indent-comment): Change,
11023 extend and improve customization.
11025 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11026 (rst-normalize-cursor-position, rst-get-decoration)
11027 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11028 (rst-rstrip, rst-toc-insert-find-delete-contents)
11029 (rst-shift-fill-region, rst-compute-bullet-tabs)
11030 (rst-debug-print-tabs, rst-debug-mark-found)
11031 (rst-shift-region-guts, rst-shift-region-right)
11032 (rst-shift-region-left, rst-use-char-classes)
11033 (rst-font-lock-keywords-function)
11034 (rst-font-lock-indentation-point)
11035 (rst-font-lock-find-unindented-line-begin)
11036 (rst-font-lock-find-unindented-line-end)
11037 (rst-font-lock-find-unindented-line)
11038 (rst-font-lock-adornment-point, rst-font-lock-level)
11039 (rst-adornment-level-alist): Remove functions and variables.
11041 (rst-compare-adornments, rst-get-adornment-match)
11042 (rst-suggest-new-adornment, rst-get-adornments-around)
11043 (rst-adornment-complete-p, rst-get-next-adornment)
11044 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11045 (rst-straighten-adornments): Standardize function names to
11046 use "adornment" instead of "decoration". Correct callers.
11047 Similar standardizing in many places.
11049 (rst-update-section, rst-adjust, rst-promote-region)
11050 (rst-enumerate-region, rst-bullet-list-region)
11051 (rst-repeat-last-character): Correct use of `interactive'.
11053 (rst-classify-adornment, rst-find-all-adornments)
11054 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11055 (rst-find-leftmost-column, rst-repeat-last-character):
11056 Refactor functions.
11058 (rst-find-title-line, rst-reset-section-caches)
11059 (rst-get-adornments-around, rst-adjust-adornment-work)
11060 (rst-arabic-to-roman, rst-roman-to-arabic)
11061 (rst-insert-list-pos, rst-insert-list-new-item)
11062 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11065 (rst-all-sections, rst-section-hierarchy)
11066 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11069 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11070 configuration instead of only buffer. Change where necessary.
11072 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11073 (rst-shift-region, rst-adaptive-fill): New functions for
11074 indentation and filling.
11076 (rst-comment-line-break, rst-comment-indent)
11077 (rst-comment-insert-comment, rst-comment-region)
11078 (rst-uncomment-region): New functions for handling comments.
11080 (rst-compile): Quote shell arguments.
11082 (rst-compile-pdf-preview, rst-compile-slides-preview):
11083 Delete temporary files after use.
11085 2012-05-05 Glenn Morris <rgm@gnu.org>
11087 * calendar/cal-html.el: Optionally include holidays in the output.
11088 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11089 (cal-html-holidays): New option.
11090 (cal-html-css-default): Add holiday entry.
11091 (holiday-in-range): Autoload it.
11092 (cal-html-htmlify-entry): Add optional class argument.
11093 (cal-html-htmlify-list): Add optional holidays argument.
11094 (cal-html-insert-agenda-days): Include holidays in the output.
11095 (cal-html-one-month): Maybe include holidays.
11097 * calendar/holidays.el (holiday-in-range):
11098 Move here from cal-tex-list-holidays.
11099 * calendar/cal-tex.el (cal-tex-list-holidays):
11100 Make it an obsolete alias for holiday-in-range. Update all callers.
11102 2012-05-05 Chong Yidong <cyd@gnu.org>
11104 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11107 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11109 * files.el (file-auto-mode-skip): New var.
11110 (set-auto-mode-1): Use it.
11112 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11114 * repeat.el: Use lexical-binding.
11115 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11116 (repeat-undo-count): Remove.
11118 * progmodes/octave-mod.el (octave-abbrev-start):
11119 * progmodes/f90.el (f90-abbrev-start):
11120 * face-remap.el (text-scale-adjust):
11121 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11123 * emacs-lisp/pcase.el (pcase--let*): New function.
11124 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11126 (pcase--split-pred): Be more clever about ruling out overlap between
11127 a predicate and some constant pattern.
11128 (pcase--q1): Use `null' instead of (eq foo nil).
11130 * subr.el (setq-local, defvar-local): New macros.
11131 (kbd): Redefine as an alias.
11132 (with-selected-window): Leave unrelated frames alone.
11133 (set-temporary-overlay-map): New function.
11135 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11137 * subr.el (user-error): New function.
11138 * window.el (switch-to-buffer):
11139 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11140 (smerge-match-conflict):
11141 * simple.el (previous-matching-history-element)
11142 (next-matching-history-element, goto-history-element, undo-more)
11144 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11145 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11146 (next-file, tags-loop-scan, list-tags, complete-tag):
11147 * progmodes/compile.el (compilation-loop):
11148 * mouse.el (mouse-minibuffer-check):
11149 * man.el (Man-bgproc-sentinel, Man-goto-page):
11150 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11151 (Info-history-forward, Info-follow-reference, Info-menu)
11152 (Info-extract-menu-item, Info-extract-menu-counting)
11153 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11154 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11155 (Info-next-reference, Info-prev-reference, Info-index)
11156 (Info-index-next, Info-follow-nearest-node)
11157 (Info-copy-current-node-name):
11158 * imenu.el (imenu--make-index-alist)
11159 (imenu-default-create-index-function, imenu-add-to-menubar):
11160 * files.el (basic-save-buffer, recover-file):
11161 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11162 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11163 (checkdoc-message-text, checkdoc-defun):
11164 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11165 * cus-edit.el (customize-changed-options, customize-rogue)
11166 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11167 (custom-variable-mark-to-reset-standard)
11168 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11170 * completion.el (check-completion-length):
11171 * comint.el (comint-search-arg)
11172 (comint-previous-matching-input-string-position)
11173 (comint-previous-matching-input)
11174 (comint-replace-by-expanded-history-before-point, comint-send-input)
11175 (comint-copy-old-input, comint-backward-matching-input)
11176 (comint-goto-process-mark, comint-set-process-mark):
11177 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11178 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11180 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11182 * dabbrev.el (dabbrev--ignore-case-p): New function.
11183 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11186 * files.el (automount-dir-prefix): Mark as obsolete.
11188 2012-05-04 Glenn Morris <rgm@gnu.org>
11190 * patcomp.el, play/bruce.el: Move to obsolete/.
11192 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11194 Fix minor Y10k bugs.
11195 * arc-mode.el (archive-unixdate):
11196 * autoinsert.el (auto-insert-alist):
11197 * calc/calc-forms.el (math-this-year):
11198 * emacs-lisp/copyright.el (copyright-current-year)
11199 (copyright-update-year, copyright):
11200 * tar-mode.el (tar-clip-time-string):
11201 * time.el (display-time-update):
11202 Don't assume years have 4 digits.
11204 2012-05-04 Chong Yidong <cyd@gnu.org>
11206 * dos-w32.el (file-name-buffer-file-type-alist)
11207 (direct-print-region-use-command-dot-com):
11208 * ffap.el (ffap-menu-regexp):
11209 * find-file.el (ff-special-constructs):
11210 * follow.el (follow-debug):
11211 * forms.el (forms--debug):
11212 * iswitchb.el (iswitchb-all-frames):
11213 * ido.el (ido-all-frames):
11214 * emacs-lisp/timer.el (timer-max-repeats):
11215 * mail/feedmail.el (feedmail-mail-send-hook)
11216 (feedmail-mail-send-hook-queued):
11217 * mail/footnote.el (footnote-signature-separator):
11218 * mail/mailabbrev.el (mail-alias-separator-string)
11219 (mail-abbrev-mode-regexp):
11220 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11221 * progmodes/idlwave.el (idlwave-libinfo-file)
11222 (idlwave-default-completion-case-is-down)
11223 (idlwave-library-routines): Convert defvars to defcustoms.
11225 * mail/rmail.el (rmail-decode-mime-charset):
11226 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11227 (idlwave-shell-fix-inserted-breaks)
11228 (idlwave-shell-activate-alt-keybindings)
11229 (idlwave-shell-use-breakpoint-glyph):
11230 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11232 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11234 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11236 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11238 * progmodes/verilog-mode.el (font-lock-keywords):
11239 Fix mis-highligting auto. Reported by Craig Barner.
11240 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11241 defines from global name space. Reported by Dan Dever.
11242 (verilog-auto-reset, verilog-auto-reset-widths)
11243 (verilog-auto-tieoff): Support using unbased numbers for
11244 AUTORESET and AUTOTIEOFF.
11245 (verilog-submit-bug-report): Update variable list.
11246 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11247 parenthesis from not matching. Reported by Michael Rytting.
11248 (verilog-auto-template-lint): Fix hash error when linting modules
11249 with no used templates.
11250 (verilog-warn, verilog-warn-error)
11251 (verilog-warn-fatal): When non-interactive report multiple
11252 warnings before exiting. Suggested by Brad Dobbie.
11253 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11254 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11255 to report unused template errors. Reported by Brad Dobbie.
11256 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11257 nets, bug438. Reported by Vns Blore.
11258 (verilog-auto-inout-module, verilog-auto-reg)
11259 (verilog-read-decls, verilog-read-sub-decls-sig)
11260 (verilog-signals-edit-wire-reg, verilog-signals-with):
11261 Fix passing of Verilog data types in ANSI input/output ports
11262 such as "output logic" into the AUTOs. Special case "wire" and
11263 "reg" for backwards compatibility presuming Verilog 2001.
11264 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11265 (verilog-preprocess): Fix replication of preprocess output.
11266 Reported by Brad Dobbie.
11267 (verilog-auto-inst-interfaced-ports):
11268 Create verilog-auto-inst-interfaced-ports, bug429.
11269 Reported by Julian Gorfajn.
11270 (verilog-after-save-font-hook)
11271 (verilog-before-save-font-hook): New variable.
11272 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11273 (verilog-save-font-mods): Wrap disabling fontification, reported
11275 (verilog-do-indent, verilog-pretty-declarations-auto)
11276 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11277 Reported by Pierre-David Pfister.
11278 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11279 of class declarations, bug292. Reported by Kevin Heilman.
11280 (verilog-read-decls): Fix 'parameter type' not appearing in
11281 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11282 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11283 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11284 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11285 Reported by David Kravitz.
11287 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11289 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11290 assignment with tests in ifs and for loops.
11291 (verilog-extended-complete-re, verilog-complete-reg): Change so
11292 that DPI inport functions don't look like fuction declarations.
11293 (verilog-pretty-expr): Don't line up assignment
11294 operations to the test and increment in if and for loops
11295 (verilog-extended-complete-re, verilog-complete-reg): Change so
11296 that DPI inport functions don't look like fuction declarations.
11298 2012-05-03 Kenichi Handa <handa@m17n.org>
11300 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11301 decoding, and show a warning message without signaling an error
11304 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11306 * emacs-lisp/bytecomp.el
11307 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11308 since cconv.el might have introduced :fun-body, internal-make-closure,
11309 and friends for bytecomp to handle (bug#11391).
11310 * custom.el (defcustom): Avoid ((λ ..) ..).
11312 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11314 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11316 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11318 * notifications.el (dbus-debug):
11319 * term/linux.el (gpm-mouse-enable):
11320 * term/screen.el (xterm-register-default-colors): Declare.
11322 2012-05-02 Chong Yidong <cyd@gnu.org>
11324 * cus-start.el (gc-cons-percentage, exec-suffixes)
11325 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11326 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11327 (make-cursor-line-fully-visible, void-text-area-pointer)
11328 (font-list-limit): Add customization data.
11330 * allout.el (allout-exposure-change-functions)
11331 (allout-structure-added-functions)
11332 (allout-structure-deleted-functions)
11333 (allout-structure-shifted-functions): Rename abnormal hooks from
11334 *-hook, and convert to defcustoms.
11335 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11336 Convert to defcustoms.
11337 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11339 * allout-widgets.el: Hook callers changed.
11341 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11343 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11344 the yanked message in preference to the default value of
11345 buffer-file-coding-system.
11347 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11349 * window.el (display-buffer--action-function-custom-type):
11352 2012-05-02 Alan Mackenzie <acm@muc.de>
11354 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11356 2012-05-01 Glenn Morris <rgm@gnu.org>
11358 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11360 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11362 * cus-edit.el (custom-variable-documentation): Simplify with format.
11364 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11365 Stefan Monnier <monnier@iro.umontreal.ca>
11367 * simple.el (suggest-key-bindings, execute-extended-command):
11368 Move from keyboard.c.
11370 2012-05-01 Chong Yidong <cyd@gnu.org>
11372 * follow.el: Eliminate advice.
11373 (set-process-filter, process-filter, sit-for): Advice deleted.
11374 (follow-mode-off-hook): Obsolete hook removed.
11375 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11377 (follow-auto): Use a :set function.
11378 (follow-mode): Rewritten. Don't advise process filters.
11379 (follow-switch-to-current-buffer-all, follow-scroll-up)
11380 (follow-scroll-down): Assume follow-mode is bound.
11381 (follow-comint-scroll-to-bottom)
11382 (follow-align-compilation-windows): New functions.
11383 (follow--window-sorter): New function.
11384 (follow-all-followers): Use it to explicitly sort windows by their
11385 positions; don't make assumptions about next-window order.
11386 (follow-windows-start-end, follow-delete-other-windows-and-split)
11387 (follow-calc-win-start): Doc fix.
11388 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11389 vertical-motion unnecessarily.
11390 (follow-adjust-window): New function.
11391 (follow-post-command-hook): Use it.
11392 (follow-call-set-process-filter, follow-call-process-filter)
11393 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11394 (follow-stop-intercept-process-output, follow-generic-filter):
11396 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11397 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11398 New functions, replacing advice on scroll-bar-* commands.
11399 (follow-mwheel-scroll): New function (Bug#4112).
11401 * comint.el (comint-adjust-point): New function.
11402 (comint-postoutput-scroll-to-bottom): Use it.
11403 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11405 2012-05-01 Glenn Morris <rgm@gnu.org>
11407 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11408 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11409 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11410 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11411 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11412 Remove no-byte-compile setting.
11414 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11416 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11417 all-completions code to not return a number in the last cdr.
11419 2012-04-30 Leo Liu <sdl.web@gmail.com>
11421 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11424 2012-04-29 Chong Yidong <cyd@gnu.org>
11426 * follow.el (follow-calc-win-end): Rewrite to handle partial
11427 screen lines correctly (Bug#8390).
11428 (follow-avoid-tail-recenter): Minor cleanup.
11430 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11432 Avoid the obsolete `assoc' package.
11433 * speedbar.el (speedbar-refresh): Avoid adelete.
11434 (speedbar-file-lists): Simplify and avoid aput.
11435 * man.el (Man--sections, Man--refpages): New vars, replacing
11436 Man-sections-alist and Man-refpages-alist.
11437 (Man-build-section-alist, Man-build-references-alist):
11438 Use them; avoid aput.
11439 (Man--last-section, Man--last-refpage): New vars.
11440 (Man-follow-manual-reference): Use them.
11441 Use the `default' arg of completing-read.
11442 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11444 2012-04-27 Chong Yidong <cyd@gnu.org>
11446 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11448 * startup.el (x-apply-session-resources): New function.
11450 * term/ns-win.el (ns-initialize-window-system):
11451 * term/w32-win.el (w32-initialize-window-system):
11452 * term/x-win.el (x-initialize-window-system): Use it to properly
11453 set menu-bar-mode and other vars from X resources, even if the
11454 initial frame is not a window-system frame (Bug#2299).
11456 * subr.el (read-key): Avoid running filter function when setting
11457 up temporary tool bar entries (Bug#9922).
11459 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11461 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11464 2012-04-27 Chong Yidong <cyd@gnu.org>
11466 * select.el (xselect--encode-string): New function, split from
11467 xselect-convert-to-string.
11468 (xselect-convert-to-string): Use it.
11469 (xselect-convert-to-filename, xselect-convert-to-os)
11470 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11471 returned strings are properly encoded (Bug#11315).
11473 2012-04-27 Chong Yidong <cyd@gnu.org>
11475 * simple.el (delete-active-region): Move to killing custom group.
11477 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11479 * progmodes/which-func.el (which-func-current): Quote %
11480 characters for mode-line processing.
11482 2012-04-27 Chong Yidong <cyd@gnu.org>
11484 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11485 reaching eob (Bug#11286).
11487 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11489 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11490 (gdb): Make it buffer-local and init to zero.
11491 (gdb-control-commands-regexp): New variable.
11492 (gdb-send): Don't wrap in "-interpreter-exec console" if
11493 gdb-control-level is positive. Increment gdb-control-level
11494 whenever the command matches gdb-control-commands-regexp, and
11495 decrement it each time the command is "end". (Bug#11279)
11497 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11499 * window.el (adjust-window-trailing-edge, enlarge-window)
11500 (shrink-window, window-resize):
11501 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11502 windows (Bug#11276).
11504 2012-04-27 Chong Yidong <cyd@gnu.org>
11506 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11507 fix "missing prefix" warning. All callers changed.
11509 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11511 * emacs-lisp/assoc.el: Move to obsolete/.
11513 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11515 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11517 * term/ns-win.el (ns-define-service):
11518 * progmodes/pascal.el (pascal-goto-defun):
11519 * progmodes/js.el (js--read-tab):
11520 * progmodes/etags.el (tags-lazy-completion-table):
11521 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11522 * emacs-lisp/ewoc.el (ewoc--wrap):
11523 * emacs-lisp/assoc.el (aput, adelete, amake):
11524 * doc-view.el (doc-view-convert-current-doc):
11525 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11527 2012-04-26 Chong Yidong <cyd@gnu.org>
11529 * image.el (image-type-from-buffer): Only return supported image
11532 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11533 value, for symmetry with diff-end-of-hunk.
11534 (diff-split-hunk, diff-find-source-location)
11535 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11536 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11537 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11538 compute the relevant hunk or file properly (Bug#6005).
11539 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11541 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11550 * vc/vc.el: Replace lexical-let by lexical-binding.
11551 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11552 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11553 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11555 2012-04-26 Chong Yidong <cyd@gnu.org>
11557 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11558 (diff-mode-shared-map): Bind it to / and [remap undo].
11560 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11561 (ediff-window-setup-function): Use it as the default, to set up
11562 windows based on whether the current frame is graphical (Bug#2138).
11563 (ediff-choose-window-setup-function-automatically): Make obsolete.
11565 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11567 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11569 * ffap.el: Remove old code for obsolete package.
11570 (ffap-complete-as-file-p): Remove.
11572 Use completion-table-with-quoting for comint and pcomplete.
11573 * comint.el (comint--unquote&requote-argument)
11574 (comint--unquote-argument, comint--requote-argument): New functions.
11575 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11576 (comint-quote-filename): Use regexp-opt-charset.
11577 (comint--common-suffix, comint--common-quoted-suffix)
11578 (comint--table-subvert): Remove.
11579 (comint-unquote-function, comint-requote-function): New vars.
11580 (comint--complete-file-name-data): Use them with
11581 completion-table-with-quoting.
11582 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11583 * pcomplete.el (pcomplete-arg-quote-list)
11584 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11585 (pcomplete-unquote-argument-function): Default to non-nil.
11586 (pcomplete-unquote-argument): Simplify.
11587 (pcomplete--common-quoted-suffix): Remove.
11588 (pcomplete-requote-argument-function): New var.
11589 (pcomplete--common-suffix): New function.
11590 (pcomplete-completions-at-point): Use completion-table-with-quoting
11591 and completion-table-subvert.
11593 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11594 (minibuffer--double-dollars): Preserve properties.
11595 (completion--sifn-requote): New function.
11596 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11598 * minibuffer.el: Add support for completion of quoted/escaped data.
11599 (completion-table-with-quoting, completion-table-subvert): New funs.
11600 (completion--twq-try, completion--twq-all): New functions.
11601 (completion--nth-completion): New function.
11602 (completion-try-completion, completion-all-completions): Use it.
11604 2012-04-25 Leo Liu <sdl.web@gmail.com>
11606 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11607 Use compilation-message if available to find real filename.
11609 2012-04-25 Chong Yidong <cyd@gnu.org>
11611 * vc/diff-mode.el (diff-setup-whitespace): New function.
11612 (diff-mode): Use it.
11614 * vc/diff.el (diff-sentinel):
11615 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11616 Whitespace mode variables based on diff style (Bug#8612).
11618 2012-04-25 Leo Liu <sdl.web@gmail.com>
11620 * progmodes/python.el (python-send-region): Add suffix .py to the
11623 * files.el (auto-mode-alist): Use javascript-mode instead.
11625 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11627 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11629 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11630 (soap-resolve-references-for-array-type): Hack to prevent self
11631 references, see Bug#9.
11632 (soap-parse-envelope): Report the contents of the 'detail' node
11633 when receiving a fault reply.
11634 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11636 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11637 (soap-inspect-simple-type): New function.
11639 * net/soap-client.el (soap-simple-type): New struct.
11640 (soap-default-xsd-types, soap-default-soapenc-types)
11641 (soap-decode-basic-type, soap-encode-basic-type):
11642 support unsignedInt and double basic types.
11643 (soap-resolve-references-for-simple-type)
11644 (soap-parse-simple-type, soap-encode-simple-type): New function.
11645 (soap-parse-schema): Parse xsd:simpleType declarations.
11647 * net/soap-client.el (soap-default-xsd-types)
11648 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11649 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11650 the local name of "soapenc:Array".
11651 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11652 decoding integer, byte and anyURI xsd types.
11654 2012-04-25 Chong Yidong <cyd@gnu.org>
11656 * cus-edit.el (custom-buffer-create-internal): Update header text.
11658 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11660 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11661 settings on 'system-type', not on 'window-system'. On MS-Windows,
11662 set interactive-mode on in GDB.
11664 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11666 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11667 (ruby-syntax-propertize-regexp): Remove.
11668 (ruby-syntax-propertize-function): Split regexp into chunks.
11669 Match following code directly.
11671 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11673 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11674 (ruby-syntax-propertize-regexp): New function.
11675 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11676 by a special keyword.
11678 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11679 (ruby-syntax-general-delimiters-goto-beg)
11680 (ruby-syntax-propertize-general-delimiters): New functions.
11681 (ruby-syntax-propertize-function): Use them to handle GDL.
11682 (ruby-font-lock-keywords): Move old handling of GDL...
11683 (ruby-font-lock-syntactic-keywords): .. to here.
11684 (ruby-calculate-indent): Adjust indentation for GDL.
11686 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11688 * notifications.el (top): Remove unneeded declarations.
11689 (notifications-specification-version): Change to "1.2".
11690 (notifications-interface, notifications-notify-method)
11691 (notifications-close-notification-method): Fix docstring.
11692 (notifications-get-capabilities-method): New defconst.
11693 (notifications-notify): Add :action-items, :resident and
11694 :transient hints. Change "image_data" to "image-data" and
11695 "image_path" to "image-path".
11696 (notifications-get-capabilities): New defun.
11698 2012-04-24 Leo Liu <sdl.web@gmail.com>
11700 * progmodes/python.el: Move hideshow setup to the end.
11702 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11704 * window.el (handle-select-window): Clear echo area since this is
11705 no more done by read_char (Bug#11304).
11707 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11709 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11710 and `/ M' to filter-derived-mode.
11711 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11712 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11713 (ibuffer-mark-by-mode): Use default rather than initial-input.
11714 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11716 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11718 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11719 (ibuffer-filter-by-derived-mode): New filter.
11720 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11722 2012-04-23 Andreas Politz <politza@fh-trier.de>
11724 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11726 2012-04-23 Chong Yidong <cyd@gnu.org>
11728 * cus-edit.el (customize-apropos, customize-apropos-options):
11729 Disable matching of non-option variables (Bug#11176).
11730 (customize-option, customize-option-other-window)
11731 (customize-changed-options): Doc fix.
11732 (customize-apropos-options, customize-apropos-faces)
11733 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11735 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11736 Fix word list splitting (Bug#11132).
11737 (apropos-symbol, apropos-keybinding, apropos-label)
11738 (apropos-property, apropos-function-button)
11739 (apropos-variable-button, apropos-misc-button): New faces.
11740 (apropos-symbol-face, apropos-keybinding-face)
11741 (apropos-label-face, apropos-property-face, apropos-match-face):
11742 Variables removed (Bug#8396).
11743 (apropos-library-button, apropos-format-plist, apropos-print)
11744 (apropos-print-doc, apropos-describe-plist): Callers changed.
11746 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11748 * net/xesam.el (xesam-mode-map): Use let-bound map in
11749 initialization. (Bug#11292)
11751 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11753 Preserve ispell session localwords when switching back to
11756 * textmodes/ispell.el (ispell-buffer-session-localwords):
11757 New buffer-local variable to hold buffer session localwords.
11758 (ispell-kill-ispell): Add option 'clear to delete session
11760 (ispell-command-loop, ispell-change-dictionary)
11761 (ispell-buffer-local-words): Preserve session localwords when
11764 * textmodes/flyspell.el (flyspell-process-localwords)
11765 (flyspell-do-correct): Preserve session localwords when needed.
11767 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11769 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11770 using obsolete `translation-table-for-input'.
11771 (ispell-word, ispell-process-line, ispell-complete-word):
11772 Use plain `insert' instead of removed `ispell-insert-word'.
11774 2012-04-22 Chong Yidong <cyd@gnu.org>
11776 * cus-edit.el (custom-variable-menu)
11777 (custom-variable-reset-saved, custom-face-menu)
11778 (custom-face-reset-saved): If there is no saved value, make the
11779 "reset-saved" operation bring back the default (Bug#9509).
11780 (custom-face-state): Properly detect themed faces.
11782 * faces.el (face-spec-set): Stop supporting deprecated form of
11785 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11787 Move functions from C to Lisp. Make non-blocking method calls
11788 the default. Implement further D-Bus standard interfaces.
11790 * net/dbus.el (dbus-message-internal): Declare function.
11791 Remove unneeded function declarations.
11792 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11793 (dbus-message-type-method-return, dbus-message-type-error)
11794 (dbus-message-type-signal): Declare variables. Remove local
11796 (dbus-interface-dbus, dbus-interface-peer)
11797 (dbus-interface-introspectable, dbus-interface-properties)
11798 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11800 (dbus-interface-objectmanager): New defconst.
11801 (dbus-call-method, dbus-call-method-asynchronously)
11802 (dbus-send-signal, dbus-method-return-internal)
11803 (dbus-method-error-internal, dbus-register-service)
11804 (dbus-register-signal, dbus-register-method): New defuns, moved
11806 (dbus-call-method-handler, dbus-setenv)
11807 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11809 (dbus-call-method-non-blocking): Make it an obsolete function.
11810 (dbus-unregister-object, dbus-unregister-service)
11811 (dbus-handle-event, dbus-register-property)
11812 (dbus-property-handler): Obey the new structure of
11813 `bus-registered-objects'.
11814 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11815 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11816 Use `dbus-call-method'.
11818 2012-04-22 Chong Yidong <cyd@gnu.org>
11820 * cus-edit.el (custom-commands, custom-reset-menu)
11821 (Custom-reset-standard): Tweak labels.
11822 (custom-reset-button-menu): Change default to t.
11823 (custom-buffer-create-internal): For the custom-reset-button-menu
11824 case, put the revert button first.
11825 (custom-group-subtitle): New face.
11826 (custom-group-value-create): Align docstring to a specific column.
11828 * wid-edit.el (widget-documentation-link-add): Don't handle
11829 indentation in this function.
11830 (widget-documentation-string-indent-to): New function.
11831 (widget-documentation-string-value-create): Use it.
11833 * autorevert.el (auto-revert):
11834 * epg-config.el (epg):
11835 * ibuffer.el (ibuffer):
11838 * eshell/eshell.el (eshell):
11839 * net/ange-ftp.el (ange-ftp):
11840 * progmodes/ebnf2ps.el (postscript):
11841 * progmodes/flymake.el (flymake):
11842 * progmodes/prolog.el (prolog):
11843 * progmodes/verilog-mode.el (verilog-mode):
11844 * progmodes/which-func.el (which-func):
11845 * term/xterm.el (xterm):
11846 * textmodes/picture.el (picture):
11847 * textmodes/tildify.el (tildify):
11848 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11849 customization buffers.
11851 2012-04-22 Alan Mackenzie <acm@muc.de>
11853 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11854 Adding a ) can hide the resulting (..) from searches. Fix it.
11855 Bound the backward search to the position of the existing (.
11857 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11859 * progmodes/verilog-mode.el (verilog-mode): Check whether
11860 which-func-modes is t before adding verilog-mode.
11861 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11863 2012-04-21 Leo Liu <sdl.web@gmail.com>
11865 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11867 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11869 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11870 filling of the last column of a table (Bug#5635).
11871 (woman-find-next-control-line): New arg, specifying an additional
11872 regexp component for the control line.
11873 (woman2-roff-buffer): Use it.
11874 (woman-break-table): New function.
11875 (woman2-TS): Use it.
11877 2012-04-21 Chong Yidong <cyd@gnu.org>
11879 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11880 (woman-horizontal-escapes, woman-negative-vertical-space)
11881 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11882 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11884 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11886 * minibuffer.el (completion-file-name-table): Complete user names.
11888 2012-04-20 Leo Liu <sdl.web@gmail.com>
11890 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11893 2012-04-20 Chong Yidong <cyd@gnu.org>
11895 * server.el (server-execute): Respect initial-buffer-choice if it
11896 is a string and there are no files to open (Bug#2825).
11897 (server-create-window-system-frame, server-create-tty-frame):
11898 Don't switch buffers here.
11899 (server-process-filter): Only try to open a window system frame if
11900 compiled with graphical support (Bug#8314).
11902 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11904 * battery.el (battery-echo-area-format): Display remaining time
11905 for sysfs backend too (Bug#11269).
11906 (battery-linux-sysfs): Fix conditional for the charge.
11908 2012-04-20 Chong Yidong <cyd@gnu.org>
11910 * progmodes/gdb-mi.el (gdb): Revert previous change.
11911 (gdb-inferior-io--init-proc): New function.
11912 (gdb-init-1): Use it.
11913 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11914 responsible for allocating a new pty and hooking it to gdb when
11915 the old pty gets an EIO due to process exit.
11916 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11917 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11918 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11920 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11922 * window.el (window-min-size, window-sizable, window-min-delta)
11923 (window-max-delta, window--resizable, window-resizable)
11924 (window-total-size, window-full-height-p, window-full-width-p)
11925 (window-in-direction, window--resize-mini-window, window-resize)
11926 (window--resize-child-windows-normal)
11927 (window--resize-child-windows, window--resize-siblings)
11928 (window--resize-this-window, adjust-window-trailing-edge)
11929 (enlarge-window, shrink-window): Doc fixes.
11931 2012-04-20 Chong Yidong <cyd@gnu.org>
11933 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11934 New function to call delete-process on the gdb-inferior buffer's pty.
11935 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11936 pty process (Bug#11273).
11937 (gdb-update): New arg to suppress talking to the gdb process.
11938 (gdb-done-or-error): Use it.
11939 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11940 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11941 sentinel not being called.
11943 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11945 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11947 2012-04-20 Glenn Morris <rgm@gnu.org>
11949 * net/network-stream.el (open-network-stream): Doc fix.
11951 2012-04-20 Chong Yidong <cyd@gnu.org>
11953 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11955 2012-04-20 Alan Mackenzie <acm@muc.de>
11957 Ensure searching for keywords is case sensitive.
11959 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11960 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11961 (c-defun-name, c-mark-function, c-cpp-define-name)
11962 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11963 (c-context-line-break): Bind case-fold-search to nil.
11965 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11966 Bind case-fold-search to nil.
11968 2012-04-20 Chong Yidong <cyd@gnu.org>
11970 * mail/sendmail.el (mail-bury): Call return action with the right
11971 Rmail buffer (Bug#11242).
11973 * server.el (server-process-filter): Handle corner case where both
11974 tty and nowait options are present (Bug#11102).
11976 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11978 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11979 (top level): Put into the executable the ident-style '$Id:' tag on
11980 windows-nt as well.
11982 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11984 * electric.el (electric-indent-post-self-insert-function): Check that
11985 electric-indent-mode is enabled in current buffer.
11987 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11989 * imenu.el (imenu-progress-message): Restore; it is "used" in
11990 erc/erc-imenu.el and net/snmp-mode.el.
11992 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11994 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11995 (mouse-avoidance-nudge-mouse): Remove unused binding.
11997 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11999 * descr-text.el (describe-char):
12000 * progmodes/python.el (python-describe-symbol):
12001 Don't call `toggle-read-only', set `buffer-read-only'.
12003 * imenu.el (imenu-default-goto-function): Mark unused args.
12004 (imenu-progress-message): Remove obsolete macro; all callers changed.
12006 * subr.el (keymap-canonicalize): Remove unused binding.
12007 (read-passwd): Mark unused arg.
12009 * tutorial.el (tutorial--display-changes): Remove unused binding.
12010 (tutorial--save-tutorial-to): Remove unused variable.
12012 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12013 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12014 (package-generate-autoloads, package-menu--generate)
12015 (package-menu--find-upgrades): Remove unused bindings.
12017 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12018 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12019 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12020 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12021 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12022 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12023 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12024 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12025 (cua-delete-char-rectangle): Mark unused args.
12026 (cua-align-rectangle): Remove unused binding.
12028 * mail/rmail.el (compilation--message->loc)
12029 (epa--find-coding-system-for-mime-charset): Declare.
12031 * net/dbus.el (dbus-register-service): Declare.
12032 (dbus-name-owner-changed-handler): Remove unused binding.
12034 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12035 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12036 (nxml-scan-backward-within): Mark unused arg.
12037 (nxml-dynamic-markup-word): Remove unused binding.
12039 * mouse.el (mouse-menu-major-mode-map):
12040 * emacs-lisp/authors.el (authors-scan-change-log)
12041 (authors-add-to-author-list):
12042 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12043 * emacs-lisp/smie.el (smie-auto-fill):
12044 * mail/sendmail.el (mail-bury):
12045 * mail/unrmail.el (unrmail):
12046 * net/tls.el (open-tls-stream):
12047 * textmodes/picture.el (picture-mouse-set-point):
12048 Remove unused bindings.
12050 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12052 * net/tramp.el (tramp-action-password): Let-bind
12053 `enable-recursive-minibuffers' to t.
12055 2012-04-18 Sam Steingold <sds@gnu.org>
12057 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12058 instead of 'string to accommodate values like [f11].
12059 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12060 * progmodes/gdb-mi.el: Likewise.
12062 2012-04-18 Leo Liu <sdl.web@gmail.com>
12064 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12066 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12069 2012-04-18 Chong Yidong <cyd@gnu.org>
12071 * simple.el (line-move): Use forward-line if in batch mode
12074 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12076 * files.el (after-find-file): Do not try to add a final newline if
12077 the buffer is read-only (Bug#11156).
12079 2012-04-17 Richard Stallman <rms@gnu.org>
12081 * mail/rmail.el (rmail-start-mail):
12082 Pass (rmail-mail-return...) for the return-action.
12083 Pass (rmail-yank-current-message...) for the yank-action.
12084 (rmail-yank-current-message): New function.
12085 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12086 (rmail-reply): Likewise.
12087 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12089 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12090 buffer, not the last. Reject temp buffers. Use the rmail-mode
12091 buffer, not newbuf.
12093 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12095 * server.el (server-ensure-safe-dir): Simplify.
12097 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12099 * emacs-lisp/smie.el: Provide smarter auto-filling.
12100 (smie-auto-fill): New function.
12101 (smie-setup): Use it.
12103 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12105 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12107 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12108 (comment-indent): Use it.
12110 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12112 * ses.el: The overall change is to add cell renaming, that is
12113 setting fancy names for cell symbols other than name matching
12114 "\\`[A-Z]+[0-9]+\\'" regexp .
12115 (ses-localvars): Add ses--renamed-cell-symb-list.
12116 (ses-create-cell-variable): New defun.
12117 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12118 (ses-relocate-formula): Relocate formulas only for cells the
12119 symbols of which are not renamed, i.e. symbols whose names do not
12120 match regexp "\\`[A-Z]+[0-9]+\\'".
12121 (ses-relocate-all): Relocate values only for cells the symbols of
12122 which are not renamed.
12123 (ses-load): Create cells variables as the (ses-cell ...) are read,
12124 in order to check row col consistency with cell symbol name only
12125 for cells that are not renamed.
12126 (ses-replace-name-in-formula): New defun.
12127 (ses-rename-cell): New defun.
12129 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12131 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12132 New option (bug#11118).
12133 (perl-calculate-indent): Respect it.
12135 2012-04-17 Glenn Morris <rgm@gnu.org>
12137 * dired-aux.el (dired-mark-read-string): Doc fix.
12139 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12141 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12142 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12144 2012-04-17 Glenn Morris <rgm@gnu.org>
12146 * mouse.el (mouse-drag-track):
12147 * speedbar.el (speedbar-frame-mode):
12148 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12150 2012-04-16 Leo Liu <sdl.web@gmail.com>
12152 * progmodes/python.el: Trivial cleanup.
12154 2012-04-16 Glenn Morris <rgm@gnu.org>
12156 * vc/vc.el (vc-string-prefix-p):
12157 * vc/pcvs-util.el (cvs-string-prefix-p):
12158 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12159 * mpc.el (mpc-string-prefix-p):
12160 Make all of these into obsolete aliases for string-prefix-p.
12162 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12164 * textmodes/two-column.el: Move custom options to the start.
12165 (frame-width): Remove compat definition.
12166 (2C-associate-buffer, 2C-dissociate):
12167 Use with-current-buffer rather than save-excursion.
12168 (2C-dissociate): Force a mode-line update.
12169 (2C-autoscroll): Use ignore-errors.
12171 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12174 * emacs-lisp/cl-extra.el (*random-state*):
12175 Remove unnecessary declaration.
12177 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12179 * play/cookie1.el (cookie-snarf):
12180 Give an explicit error if input file cannot be read.
12182 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12184 * progmodes/perl-mode.el (c-macro-expand):
12185 Remove unnecessary autoload (it is in loaddefs.el).
12187 * textmodes/picture.el (picture-desired-column)
12188 (picture-update-desired-column): Convert comments to doc-strings.
12189 (picture-substitute): Remove function.
12190 (picture-mode-map): Initialize in the defvar.
12192 * woman.el: Remove eval-after-load for tar-mode.
12193 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12194 (woman-tar-extract-file): Autoload it.
12196 * frame.el (automatic-hscrolling): Make this alias obsolete.
12198 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12200 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12201 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12202 (ispell-dictionary-base-alist): Revert to original XEmacs
12203 friendly version for default. [:alpha:] will be added in
12204 `ispell-set-spellchecker-params' if needed.
12206 2012-04-16 Chong Yidong <cyd@gnu.org>
12208 * image.el (imagemagick--file-regexp): New variable.
12209 (imagemagick-register-types): Use it.
12210 (imagemagick-types-inhibit): Add :set function. Allow new value
12211 of t to inhibit all types.
12213 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12214 so we can preload it.
12216 * loadup.el (fboundp): Preload regexp-opt, needed by
12217 imagemagick-register-types.
12219 2012-04-15 Chong Yidong <cyd@gnu.org>
12221 * frame.el (scrolling): Remove nearly unused customization group.
12223 * scroll-all.el (scroll-all-mode): Move to windows group.
12225 2012-04-15 Chong Yidong <cyd@gnu.org>
12227 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12229 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12231 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12232 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12234 2012-04-15 Glenn Morris <rgm@gnu.org>
12236 * simple.el (process-file-side-effects): Doc fix.
12238 2012-04-15 Glenn Morris <rgm@gnu.org>
12240 * international/mule-cmds.el (set-language-environment): Doc fix.
12242 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12244 * server.el (server-auth-key, server-generate-key): Doc fixes.
12245 (server-get-auth-key): Doc fix. Use `string-match-p'.
12246 (server-start): Reflow docstring.
12248 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12250 * server.el (server-generate-key): `called-interactively-p'
12251 requires a parameter.
12253 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12255 * server.el (server-auth-key): New variable.
12256 (server-generate-key, server-get-auth-key): New function.
12257 (server-start): Use the new variable and functions to allow
12258 setting a permanent server key (bug#9423).
12260 2012-04-14 Leo Liu <sdl.web@gmail.com>
12262 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12264 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12267 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12268 Emacs uses American spelling.
12270 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12272 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12273 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12274 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12275 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12277 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12279 * progmodes/which-func.el (which-func-modes): Change default.
12281 2012-04-14 Kim F. Storm <storm@cua.dk>
12283 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12284 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12286 2012-04-14 Chong Yidong <cyd@gnu.org>
12288 * custom.el (custom-theme-set-variables): Doc fix.
12290 2012-04-14 Glenn Morris <rgm@gnu.org>
12292 * international/mule.el (set-auto-coding-for-load): Doc fix.
12294 2012-04-14 Alan Mackenzie <acm@muc.de>
12296 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12297 imenu work again for Objective C Mode. Correct the *-index values,
12298 these having been disturbed by a previous change in 2011-08.
12300 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12301 Correct two search limits.
12303 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12305 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12307 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12309 * international/characters.el: Fix sorting.
12311 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12313 * international/characters.el: Add more missing Latin case pairs.
12315 2012-04-14 Glenn Morris <rgm@gnu.org>
12317 * files.el (dir-locals-set-class-variables): Doc fix.
12319 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12321 * international/characters.el: Add set-case-syntax-pair call for
12322 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12323 counterpart. (Bug#11209)
12325 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12327 2012-04-14 Glenn Morris <rgm@gnu.org>
12329 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12331 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12333 * textmodes/ispell.el (ispell-dictionary-base-alist):
12334 Add data for Hebrew.
12336 2012-04-14 Chong Yidong <cyd@gnu.org>
12338 * net/rcirc.el (rcirc-cmd-quit):
12339 Revert 2012-03-18 change (Bug#11192).
12341 2012-04-14 Glenn Morris <rgm@gnu.org>
12343 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12345 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12347 * minibuffer.el (completion-in-region-mode-map):
12348 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12350 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12352 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12354 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12356 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12357 to allow `C-M-f' and `C-M-b' to move to the nearest path
12358 separator (bug#9511).
12360 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12362 * avoid.el: Require cl when compiling. And also move the
12363 `provide' to the end.
12365 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12367 * avoid.el (mouse-avoidance-banish-position): New variable.
12368 (mouse-avoidance-banish-destination): Use it (bug#10165).
12370 2012-04-13 Leo Liu <sdl.web@gmail.com>
12372 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12374 2012-04-13 Ken Brown <kbrown@cornell.edu>
12376 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12377 this is no longer needed now that cygstart understands file:// URLs.
12378 (browse-url-filename-alist): For the same reason, don't modify
12379 file:// URLs on Cygwin.
12381 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12383 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12384 the region on shift if the binding is already shifted (bug#11221).
12386 2012-04-12 Glenn Morris <rgm@gnu.org>
12388 * mail/mailpost.el: Move to obsolete/.
12390 2012-04-12 Drew Adams <drew.adams@oracle.com>
12392 * imenu.el (imenu--generic-function): Ignore invisible definitions
12395 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12397 * hexl.el (hexl-bits): New variable.
12398 (hexl-options): Mention the variable in the doc string.
12399 (hexl-rulerise, hexl-line-displen): New functions.
12400 (hexl-mode): Mention the new variable.
12401 (hexl-mode, hexl-current-address, hexl-current-address):
12403 (hexl-ascii-start-column): New function.
12404 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12405 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12407 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12409 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12410 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12411 the encoding, as expected by hunspell.
12413 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12415 * battery.el (battery--linux-sysfs-regexp): New const.
12416 (battery-status-function): Use it. Remove yeeloong special case.
12417 (battery-yeeloong-sysfs): Remove.
12418 (battery-echo-area-format): Remove yeeloong special case.
12420 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12422 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12423 Reported by Noah Friedman.
12425 * subr.el (read-passwd): Use read-string.
12427 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12429 * vcursor.el (vcursor-move): Increase the priority of the overlay
12432 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12434 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12435 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12437 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12439 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12440 define-minor-mode (bug#10760).
12442 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12444 * progmodes/grep.el (rgrep): Tweak the find command line so
12445 that directories matching `grep-find-ignored-files' won't be
12446 pruned (bug#10351).
12448 2012-04-11 Chong Yidong <cyd@gnu.org>
12450 * startup.el (command-line): Remove support for long-obsolete
12451 variable font-lock-face-attributes.
12453 2012-04-11 Glenn Morris <rgm@gnu.org>
12455 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12457 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12459 * window.el (window--state-get-1): Obey window-point-insertion-type.
12461 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12463 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12464 to previous function when point is on the first character of a
12465 function. Take care of that in `narrow-to-defun' (bug#6157).
12467 2012-04-11 Glenn Morris <rgm@gnu.org>
12469 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12470 not just file-errors.
12472 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12473 (vc-bzr-sha1): Use internal sha1.
12475 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12477 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12479 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12481 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12482 that start in the middle of the line (bug#10496).
12484 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12486 * battery.el (battery-linux-proc-acpi): Only one battery is
12487 discharged at a time, but that seems to confuse battery.el when
12488 computing `rate-type' for the battery not being discharged
12491 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12493 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12495 * international/quail.el: Use dolist and simplify.
12496 (quail-define-package, quail-update-keyboard-layout)
12497 (quail-define-rules): Use dolist.
12498 (quail-insert-kbd-layout, quail-get-translation): CSE.
12500 * tmm.el: Use dolist, remove left over hook.
12501 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12503 (calendar-load-hook): Don't mess with it.
12505 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12506 Use derived-mode-p. Run the diff asynchronously.
12508 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12510 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12512 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12514 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12515 (list-dynamic-libraries--loaded): New function.
12516 (list-dynamic-libraries--refresh): Use it.
12518 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12520 * progmodes/python.el (python-fill-paragraph):
12521 Make python-fill-region in a multiline string work when font-lock is
12522 disabled (bug#7018).
12524 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12526 * language/european.el (cp775): Add oem/legacy (en)coding on
12527 DOS/MS Windows for the Baltic languages. There are still plenty
12528 of texts written in this encoding/codepage (bug#6519).
12530 2012-04-10 Glenn Morris <rgm@gnu.org>
12532 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12533 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12535 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12537 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12538 next-line "n" and previous-line "p" in order to make recentf more
12539 consistent with ibuffer, dired or org-mode (bug#9387).
12541 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12543 * image.el (put-image): Return the overlay created instead of the
12544 optional input string (bug#7834). Note that this may break code
12545 that is (for some reason or other) depending on `put-image'
12546 returning the string.
12548 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12550 * simple.el (zap-to-char): Allow zapping using input methods
12553 * textmodes/fill.el (fill-region): Leave point and mark where they
12554 were before filling (bug#5399).
12556 2012-04-09 Glenn Morris <rgm@gnu.org>
12558 * version.el (emacs-bzr-get-version):
12559 Handle lightweight checkouts of local branches.
12561 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12563 * international/characters.el: Recover lost case pairs. (Bug#11209)
12565 2012-04-09 Chong Yidong <cyd@gnu.org>
12567 * custom.el (custom-variable-p): Return nil for non-symbol
12568 arguments instead of signaling an error.
12569 (user-variable-p): Obsolete alias for custom-variable-p.
12571 * apropos.el (apropos-variable):
12572 * files-x.el (read-file-local-variable):
12573 * simple.el (set-variable):
12574 * woman.el (woman-mini-help):
12575 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12577 2012-04-09 Glenn Morris <rgm@gnu.org>
12579 * startup.el (normal-top-level): Don't look for leim-list.el
12580 in places where it will not be found. (Bug#910)
12582 * international/mule-cmds.el (set-default-coding-systems):
12583 * files.el (normal-mode):
12584 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12585 This function was removed with ucs-tables.el in 2008.
12587 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12589 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12590 ispell-encoding8-command to "-i", without a trailing space.
12591 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12592 separate command-line arguments, to specify the encoding, since
12593 that's how hunspell expects it.
12595 2012-04-08 Glenn Morris <rgm@gnu.org>
12597 * loadup.el: Load bindings before cus-start.
12598 This reduces somewhat the number of "rogue" settings in emacs -Q.
12600 2012-04-07 Glenn Morris <rgm@gnu.org>
12602 * version.el (emacs-bzr-get-version): New function.
12603 (emacs-bzr-version): New variable.
12604 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12605 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12607 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12609 * international/uni-bidi.el, international/uni-category.el:
12610 * international/uni-combining.el, international/uni-decimal.el:
12611 * international/uni-decomposition.el, international/uni-digit.el:
12612 * international/uni-lowercase.el, international/uni-mirrored.el:
12613 * international/uni-name.el, international/uni-numeric.el:
12614 * international/uni-titlecase.el, international/uni-uppercase.el:
12615 Update for Unicode 6.1.
12617 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12619 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12621 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12623 * window.el (shrink-window): Mention the `window-min-height'
12624 variable in the doc string.
12626 2012-04-05 Bastien Guerry <bzg@altern.org>
12628 * color.el (color-lighten-name): Fix typo.
12630 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12632 * server.el (server--on-display-p): New function.
12633 (server--on-display-p): Use it.
12635 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12637 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12640 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12642 * comint.el (comint--common-quoted-suffix): Check string boundary
12643 before comparing (bug#11158).
12644 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12646 2012-04-04 Chong Yidong <cyd@gnu.org>
12648 * minibuffer.el (completion-extra-properties): Doc fix.
12650 * subr.el (delayed-warnings-hook): Doc fix.
12652 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12654 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12655 selection (Bug#11159).
12656 (epa-insert-keys): Inform that the default public key will be
12657 exported if no key is selected.
12659 2012-04-04 Richard Stallman <rms@gnu.org>
12661 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12663 2012-04-03 Chong Yidong <cyd@gnu.org>
12665 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12666 mail-insert-file, not its obsolete alias mail-attach-file.
12668 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12670 * notifications.el (notifications-notify): Fix docstring.
12672 2012-04-02 Glenn Morris <rgm@gnu.org>
12674 * emacs-lisp/authors.el (authors-aliases): Another addition.
12676 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12678 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12679 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12680 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12682 2012-04-01 Chong Yidong <cyd@gnu.org>
12684 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12685 Handle root directory properly.
12686 (copy-directory): Caller changed.
12688 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12689 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12691 2012-03-31 Glenn Morris <rgm@gnu.org>
12693 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12695 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12697 * calendar/calendar.el (calendar-window-list)
12698 (calendar-hide-window): Restore. (Bug#11140)
12699 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12701 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12703 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12705 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12706 Check if file is a symlink (Bug#10489).
12708 * files.el (copy-directory): Likewise.
12710 2012-03-30 Chong Yidong <cyd@gnu.org>
12712 * image.el (imagemagick-types-inhibit)
12713 (imagemagick-register-types): Doc fix.
12715 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12717 * textmodes/ispell.el (ispell-get-extended-character-mode):
12718 Disable extended-char-mode for hunspell. hunspell does not support it
12719 and treats ~word as ordinary words in pipe mode.
12721 2012-03-30 Glenn Morris <rgm@gnu.org>
12723 * tutorial.el (help-with-tutorial): Ensure local variables don't
12724 happen to make the buffer read-only. (Bug#11127)
12726 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12728 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12729 (perl-calculate-indent): Return `noindent' in strings.
12731 2012-03-28 Sam Steingold <sds@gnu.org>
12733 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12734 instead of the broken adhockery which does not prevent calendar
12735 buffers from being displayed at random after exit.
12736 (calendar-window-list, calendar-hide-window): Remove the broken
12739 2012-03-28 Glenn Morris <rgm@gnu.org>
12741 * replace.el (query-replace-map): Doc fix.
12743 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12745 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12746 contents. (Bug#11109)
12748 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12750 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12752 (avl-tree--check, avl-tree--check-node): New funs.
12754 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12756 * window.el (switch-to-visible-buffer): New option.
12757 (switch-to-prev-buffer, switch-to-next-buffer):
12758 Observe switch-to-visible-buffer. Make sure that checking for a window
12759 showing a buffer already is done on the same frame.
12761 2012-03-27 Glenn Morris <rgm@gnu.org>
12763 * startup.el (mail-host-address): Doc fix.
12765 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12767 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12768 than 197 variables.
12770 2012-03-26 Ami Fischman <ami@fischman.org>
12772 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12774 2012-03-26 Glenn Morris <rgm@gnu.org>
12776 * files.el (save-buffers-kill-emacs): Doc fix.
12778 * startup.el (normal-top-level, command-line, command-line-1):
12779 Give them doc strings.
12781 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12783 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12784 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12786 2012-03-25 Chong Yidong <cyd@gnu.org>
12788 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12789 theme if it was previously enabled before (Bug#11031).
12791 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12792 spec with custom-face-get-current-spec if its :shown-value is not
12793 determined yet (Bug#9337).
12794 (customize-create-theme, custom-theme-revert): Doc fixes.
12796 * button.el (button-at): Minor addition to docstring.
12798 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12800 * vc/vc.el (vc-merge): Fix a prompt.
12802 2012-03-24 Chong Yidong <cyd@gnu.org>
12804 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12807 * button.el (button-at): Minor addition to docstring.
12809 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12811 * newcomment.el (comment-choose-indent): No space after BOL.
12813 2012-03-22 Sam Steingold <sds@gnu.org>
12815 * window.el (switch-to-prev-buffer): Revert last patch because the
12816 bug turned out to be an advertised feature (Elisp manual 28.14).
12818 2012-03-22 Glenn Morris <rgm@gnu.org>
12820 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12821 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12823 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12825 * net/network-stream.el (network-stream-open-starttls): Make error
12826 message under Windows be less misleading.
12828 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12830 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12831 understands (bug#9942).
12833 2012-03-22 Chong Yidong <cyd@gnu.org>
12835 * simple.el (end-of-visible-line): Handle return value of
12836 next-single-property-change properly (Bug#9371).
12838 2012-03-22 Kenichi Handa <handa@m17n.org>
12840 * international/quail.el (quail-insert-kbd-layout): Fix previous
12841 change. To avoid unwanted bidi reordering, use
12842 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12844 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12846 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12847 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12848 (ruby-beginning-of-indent): Be more careful with the difference
12849 between word-boundary and symbol boundary.
12850 (ruby-mode-syntax-table): Make : a symbol constituent.
12852 2012-03-21 Andreas Politz <politza@fh-trier.de>
12854 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12856 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12858 * progmodes/etags.el (tags-completion-at-point-function):
12861 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12863 2012-03-21 Sam Steingold <sds@gnu.org>
12865 * progmodes/etags.el (tags-completion-at-point-function):
12866 Avoid the error when point is inside the pattern.
12868 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12870 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12873 2012-03-21 Drew Adams <drew.adams@oracle.com>
12875 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12877 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12879 * ido.el (ido-set-current-directory, ido-read-internal)
12880 (ido-choose-completion-string, ido-completion-help): Handle nil
12881 value of ido-completion-buffer (Bug#11008).
12883 2012-03-21 Sam Steingold <sds@gnu.org>
12885 * window.el (switch-to-prev-buffer): Do not switch to a visible
12886 window previous buffer, just like with the frame previous buffers.
12888 2012-03-21 Chong Yidong <cyd@gnu.org>
12890 * faces.el (make-face, make-empty-face, copy-face):
12891 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12894 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12896 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12897 (widget-complete): Remove broken use of it.
12899 2012-03-20 Chong Yidong <cyd@gnu.org>
12901 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12902 Use string-width and truncate-string-width to handle arbitrary
12905 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12907 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12908 to draw rectangles, not squares. (Regression introduced by revno
12909 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12911 2012-03-18 Chong Yidong <cyd@gnu.org>
12913 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12914 it is not yet defined (for temacs).
12916 2012-03-18 Leo Liu <sdl.web@gmail.com>
12918 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12921 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12923 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12924 (ispell-choices-win-default-height, ispell-silently-savep)
12925 (ispell-dictionary-alist, ispell-encoding8-command)
12926 (ispell-check-version, ispell-aspell-find-dictionary)
12927 (ispell-valid-dictionary-list, ispell-words-keyword)
12928 (ispell-get-word, ispell-internal-change-dictionary)
12929 (ispell-region, ispell-skip-region-list)
12930 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12931 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12932 (ispell-message-text-end, ispell-message)
12933 (ispell-buffer-local-parsing): Doc fix.
12935 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12937 * htmlfontify.el: Add support for code block fontification for ODT
12938 export (Bug #9914).
12939 (hfy-optimisations): Define new option
12941 (hfy-fontify-buffer): Honor above setting.
12942 (hfy-begin-span, hfy-end-span): New routines factored out form
12943 `hfy-fontify-buffer'.
12944 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12945 that permit insertion of custom tags.
12946 (hfy-fontify-buffer): Use above handlers.
12947 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12948 (hfy-face-to-css): Re-defined to be a variable.
12949 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12950 over multiple runs. This is made possible by having the caller let
12951 bind a special variable `hfy-user-sheet-assoc'.
12952 (htmlfontify-string): New defun.
12953 (hfy-compile-face-map): Make sure that the last char in the
12954 buffer is correctly fontified.
12955 (hfy-face-resolve-face): Whitespace only change.
12957 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12959 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12960 message more clear.
12962 2012-03-16 Leo Liu <sdl.web@gmail.com>
12964 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12966 2012-03-16 Alan Mackenzie <acm@muc.de>
12968 Further optimize the handling of large macros.
12970 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12971 limit to a call of `c-literal-limits'.
12972 (c-determine-+ve-limit): New function.
12973 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12974 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12975 In CASE 5B, restrict a search limit to 500.
12976 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12978 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12979 Restrict macro bounds to +-500 from after-change's BEG END.
12981 2012-03-16 Leo Liu <sdl.web@gmail.com>
12983 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12985 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12987 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12988 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12990 2012-03-16 Glenn Morris <rgm@gnu.org>
12992 * view.el (view-buffer, view-buffer-other-window)
12993 (view-buffer-other-frame): Doc fixes re special mode-class.
12995 * subr.el (eval-after-load): If named feature is provided not from
12996 a file, run after-load forms. (Bug#10946)
12998 * calendar/calendar.el (calendar-insert-at-column):
12999 Handle non-unit-width characters a bit better. (Bug#10978)
13001 2012-03-15 Chong Yidong <cyd@gnu.org>
13003 * emacs-lisp/ring.el (ring-extend): New function.
13004 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13006 * comint.el (comint-read-input-ring)
13007 (comint-add-to-input-history): Grow comint-input-ring lazily.
13009 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13011 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13012 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13014 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13015 (imenu-add-to-menubar): Don't add a redundant index.
13016 (imenu-update-menubar): Handle a dynamically composed keymap.
13018 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13020 * mail/sendmail.el (mail-encode-header):
13021 Bind rfc2047-encode-encoded-words to nil.
13023 2012-03-13 Glenn Morris <rgm@gnu.org>
13025 * calendar/calendar.el (calendar-string-spread):
13026 Handle non-unit-width characters a bit better. (Bug#10978)
13028 2012-03-13 Leo Liu <sdl.web@gmail.com>
13030 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13031 directory and file as argument (Bug#10822).
13033 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13035 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13036 For dynamically generated code, follow $PC.
13037 (gdb-disassembly-handler-custom): Handle no function name case.
13039 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13041 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13042 * emulation/ws-mode.el (ws-query-replace):
13043 * sort.el (sort-regexp-fields):
13044 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13046 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13048 * dabbrev.el: Fix cycle completion order (bug#10963).
13049 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13050 (dabbrev-completion): Don't use an obarray; provide
13051 a cycle-sort-function.
13053 2012-03-12 Leo Liu <sdl.web@gmail.com>
13055 * simple.el (kill-new): Use equal-including-properties for comparison.
13056 (kill-do-not-save-duplicates): Doc fix.
13058 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13060 * dabbrev.el: Fix cycle completion (bug#10963).
13061 Use lexical binding and wrap to 80 columns.
13062 (dabbrev-completion): Delay computing the list of completions.
13064 2012-03-12 Kenichi Handa <handa@m17n.org>
13066 * international/quail.el (quail-insert-kbd-layout): Surround each
13067 row by LRO and PDF instead of inserting many LRMs. Pad the left
13068 and right of each non-spacing marks. Insert invisible space
13069 between lower and upper characters to prevent composition.
13071 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13073 * minibuffer.el (minibuffer-complete): Don't get confused when the
13074 function is run twice via different commands (bug#10958).
13075 (complete-with-action): Fix docstring.
13077 2012-03-12 Chong Yidong <cyd@gnu.org>
13079 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13080 (nxml-completion-at-point-function): New function.
13081 (nxml-mode): Use it.
13082 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13084 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13085 Load generated autoloads file before byte compiling (Bug#10970).
13086 (package--make-autoloads-and-compile): New helper fun.
13088 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13090 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13092 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13094 * autorevert.el (auto-revert-handler): Ensure, that
13095 file-readable-p is applied only for local files or in
13096 auto-revert-tail-mode.
13098 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13100 * server.el (server-eval-at): Handle non-tcp connections.
13101 Decode result string.
13103 * server.el (server-msg-size): New constant.
13104 (server-reply-print): New function.
13105 (server-eval-and-print): Use it.
13106 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13107 Handle -print-nonl.
13109 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13111 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13114 2012-03-11 Chong Yidong <cyd@gnu.org>
13116 * simple.el (goto-line): Doc fix (Bug#9938).
13118 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13120 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13121 when finished (Bug#10963).
13123 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13125 * window.el (split-window-below): Fix bug in case where
13126 split-window-keep-point is nil (Bug#10971).
13128 2012-03-11 Juri Linkov <juri@jurta.org>
13130 * replace.el (replace-highlight): Set isearch-word to nil
13131 unconditionally. (Bug#10887)
13133 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13135 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13136 mairix-replace-illegal-chars; all callers changed. Don't remove
13137 ^, ~, and = characters: they are meaningful in mairix search specs.
13138 (mairix-widget-create-query): Add usage information about mairix
13139 search forms: negating words, searching for substrings, etc.
13141 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13143 * international/fontset.el (font-encoding-alist): Add an entry for
13144 ksx1001 (Bug#5667).
13146 2012-03-10 Richard Stallman <rms@gnu.org>
13148 * mail/sendmail.el (mail-encode-header):
13149 Set rfc2047-encode-encoded-words.
13151 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13153 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13154 view buffer means not swapped.
13155 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13156 (rmail-write-region-annotate): Error if real text has disappeared.
13158 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13160 2012-03-10 Chong Yidong <cyd@gnu.org>
13162 * emulation/cua-rect.el (cua--init-rectangles):
13163 * emulation/cua-base.el (cua--init-keymaps):
13164 Add delete-forward-char to remappings (Bug#9666).
13166 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13168 * speedbar.el (speedbar-unhighlight-one-tag-line):
13169 Avoid unhighlighting due to frame switching (Bug#10275).
13171 2012-03-10 Chong Yidong <cyd@gnu.org>
13173 * minibuffer.el (completion-in-region, completion-help-at-point):
13174 Give the completion field overlay a high priority (Bug#6830).
13176 * dired.el (dired-goto-file): Recognize absolute file name
13177 listings (Bug#7126).
13178 (dired-goto-file-1): New helper function.
13179 (dired-toggle-read-only): Inhibit warnings.
13181 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13183 * net/dbus.el (dbus-property-handler): Return empty array if
13184 there are no properties.
13186 2012-03-09 Leo Liu <sdl.web@gmail.com>
13188 * savehist.el (savehist-printable): Stricter check for string
13191 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13193 * mail/smtpmail.el (smtpmail-send-it):
13194 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13197 2012-03-09 Glenn Morris <rgm@gnu.org>
13199 * files.el (dir-locals-find-file):
13200 Don't check result is regular, readable.
13201 (dir-locals-read-from-file): Demote errors.
13203 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13205 * international/quail.el (quail-insert-kbd-layout):
13206 Insert invisible LRM characters before each character in a keyboard
13207 layout cell, to prevent their reordering by bidi display engine.
13208 For details, see the discussion in
13209 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13211 2012-03-08 Alan Mackenzie <acm@muc.de>
13213 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13214 the starting position; make it extend the marked region when
13215 invoked repeatedly - all under appropriate circumstances.
13216 Fixes bugs #5525, #10906.
13218 2012-03-08 Glenn Morris <rgm@gnu.org>
13220 * files.el (locate-dominating-file, dir-locals-find-file):
13221 Undo 2012-03-06 change.
13223 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13225 * international/quail.el (quail-help):
13226 Force bidi-paragraph-direction be left-to-right. See discussion in
13227 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13230 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13232 Avoid superfluous registering of signals. (Bug#10807)
13234 * notifications.el (notifications-on-action-object)
13235 (notifications-on-close-object): New defvars.
13236 (notifications-on-action-signal, notifications-on-closed-signal):
13237 Unregister the signal if not needed any longer.
13238 (notifications-notify): Register `notifications-action-signal' or
13239 `notifications-closed-signal', if :on-action or :on-close has been
13240 passed as argument.
13242 2012-03-07 Chong Yidong <cyd@gnu.org>
13244 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13247 2012-03-06 Glenn Morris <rgm@gnu.org>
13249 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13250 (x-disown-selection-internal, x-get-selection-internal):
13251 Doc fix (add arglist signatures). (Bug#10783)
13253 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13255 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13256 Handle breakpoints with no "type".
13258 2012-03-06 Glenn Morris <rgm@gnu.org>
13260 * files.el (locate-dominating-file): Add optional predicate argument.
13261 (dir-locals-find-file): Make use of above change.
13263 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13265 * info.el (Info-insert-dir): Also try "dir.gz".
13267 2012-03-06 Glenn Morris <rgm@gnu.org>
13269 * files.el (dir-locals-find-file):
13270 Ignore non-readable or non-regular files. (Bug#10928)
13272 * files.el (locate-dominating-file): Doc fix.
13274 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13276 * calendar/calendar.el (calendar-set-mode-line):
13277 `getenv' returns a string. (Bug#10951)
13279 2012-03-05 Leo Liu <sdl.web@gmail.com>
13281 * simple.el (backward-delete-char-untabify): Constrain point to
13284 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13286 2012-03-05 Chong Yidong <cyd@gnu.org>
13288 * simple.el (count-words): If called from Lisp, return the word
13289 count, for symmetry with `count-lines'. Arglist changed.
13290 (count-words--message): Args changed. Consolidate counting code
13291 from count-words and count-words-region.
13292 (count-words-region): Caller changed.
13293 (count-lines-region): Make it an obsolete alias.
13295 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13297 * saveplace.el (save-place-to-alist)
13298 (save-place-ignore-files-regexp): Allow value nil to disable this
13301 2012-03-04 Chong Yidong <cyd@gnu.org>
13303 * faces.el (face-spec-reset-face): For the default face, reset the
13304 attributes to default values (Bug#10748).
13306 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13308 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13309 previous patch: Check `message-send-mail-function', and not the
13310 default function (bug#10897).
13312 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13314 * notifications.el (notifications-on-action-signal)
13315 (notifications-on-closed-signal): Check for unique service name of
13316 incoming event. Fix error in removing entry.
13317 (top): Register for signals with wildcard service name.
13318 (notifications-notify): Use daemon unique service name for map entries.
13320 2012-03-04 Chong Yidong <cyd@gnu.org>
13322 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13324 2012-03-04 Glenn Morris <rgm@gnu.org>
13326 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13327 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13328 (expand-abbrev, define-abbrev-table): Doc fixes.
13330 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13332 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13333 `message-default-send-mail-function' and not `send-mail-function'
13334 when doing the prompting for `sendmail-query-once' before sending
13335 in Message buffers (bug#10897).
13337 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13338 This is inconsistent with all the other stream functions, which leave
13339 the setting up to the higher levels (if so wanted) (bug#10931).
13341 2012-03-02 Alan Mackenzie <acm@muc.de>
13343 Depessimize the handling of very large macros.
13345 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13346 (c-macro-cache-syntactic): New variables to implement a one
13347 element macro cache.
13348 (c-invalidate-macro-cache): New function.
13349 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13350 Adapt to use the new cache.
13351 (c-state-safe-place): Use better the cache of safe positions.
13352 (c-state-semi-nonlit-pos-cache)
13353 (c-state-semi-nonlit-pos-cache-limit):
13354 New variables for...
13355 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13356 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13357 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13358 Use c-state-semi-safe-place.
13360 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13361 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13363 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13365 * jka-compr.el (jka-compr-call-process):
13366 Apply `file-accessible-directory-p' only when the default directory is
13369 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13371 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13372 access of FILE2, if FILE1 does not exist.
13374 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13375 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13377 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13378 Add "PAGER=" to `process-environment'.
13380 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13382 * progmodes/sql.el: Bug fix
13383 (sql-get-login-ext): Save login values in globals.
13384 (sql-get-login): Use new version of `sql-get-login-ext'.
13385 (sql-interactive-mode): Set global `sql-connection' to nil.
13386 (sql-connect): Set global values for connection.
13387 (sql-product-interactive): Save global values as buffer local.
13389 2012-02-29 Leo Liu <sdl.web@gmail.com>
13391 * abbrev.el (define-abbrevs): Reset sys to nil.
13393 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13395 * files.el (file-equal-p): Rename from `files-equal-p'.
13396 Return nil when one or both files don't exist.
13397 (file-subdir-of-p): Now only top directory must exists,
13398 return nil if it doesn't.
13399 (copy-directory): No need to test with `file-subdir-of-p' after
13401 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13404 2012-02-28 Glenn Morris <rgm@gnu.org>
13406 * shell.el (shell-mode):
13407 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13408 * play/landmark.el (landmark-font-lock-face-O):
13409 * play/handwrite.el (handwrite):
13410 * play/gomoku.el (gomoku-O):
13411 * net/browse-url.el (browse-url-browser-display):
13412 * international/mule.el (define-charset):
13413 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13414 * filesets.el (filesets-find-file-delay):
13415 * eshell/em-xtra.el (eshell-xtra):
13416 * eshell/em-unix.el (eshell-grep):
13417 * emulation/viper.el (viper-mode):
13418 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13419 * emacs-lisp/easymenu.el (easy-menu-define):
13420 * calendar/timeclock.el (timeclock-use-display-time):
13422 * bookmark.el (bookmark-save-flag):
13423 Doc fix (standardize possessive apostrophe usage).
13425 2012-02-27 Chong Yidong <cyd@gnu.org>
13427 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13428 Fix key-binding lookup for ESC key (Bug#9146).
13430 * font-lock.el (font-lock-specified-p): Rename from
13431 font-lock-spec-present. Callers changed.
13433 2012-02-27 Daniel Hackney <dan@haxney.org>
13435 * emacs-lisp/package.el (package-compute-transaction):
13436 Handle holding a package version to t in package-load-list.
13438 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13440 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13441 (tramp-get-inode, tramp-get-device): Use cached values.
13443 2012-02-26 Alan Mackenzie <acm@muc.de>
13445 Check there is a font-lock specification before doing initial
13448 * font-core.el (font-lock-mode): Move the conditional from
13449 :after-hook to font-lock-initial-fontify.
13450 (font-lock-default-function): Move the check for a specification
13451 to font-lock-spec-present.
13453 * font-lock.el (font-lock-initial-fontify): Call ...
13454 (font-lock-spec-present): New function.
13456 2012-02-26 Jim Blandy <jimb@red-bean.com>
13458 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13459 (gdb-send): Apply it to the operand of the '-interpreter-exec
13460 console' command, so that we can pass arguments with (say) quotes
13461 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13463 2012-02-26 Chong Yidong <cyd@gnu.org>
13465 * help-fns.el (describe-function-1): Clarify description of
13466 remapping (Bug#10844).
13468 * files.el (files-equal-p): Doc fix.
13469 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13470 and quit the loop once a mismatch is found.
13472 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13474 * bs.el (bs--show-with-configuration): Don't throw an error
13475 if the window cannot be split; otherwise, subsequent calls to
13476 bs-show fail, restoring a stale window config. (Bug#10882)
13478 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13480 * term/ns-win.el (global-map): Bind ns-drag-file to
13481 ns-find-file (Bug#5855, Bug#10050).
13483 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13485 * calendar/parse-time.el (parse-time-string): Allow extractor to
13488 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13490 * net/tramp.el (tramp-file-name-for-operation):
13491 Add `files-equal-p' and `file-subdir-of-p'.
13493 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13494 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13495 Add COPY-CONTENTS argument.
13497 2012-02-25 Chong Yidong <cyd@gnu.org>
13499 Add custom groups for VC backends, for consistency with vc-bzr.
13501 * vc/vc-arch.el (vc-arch):
13502 * vc/vc-cvs.el (vc-cvs):
13503 * vc/vc-git.el (vc-git):
13504 * vc/vc-hg.el (vc-hg):
13505 * vc/vc-mtn.el (vc-mtn):
13506 * vc/vc-rcs.el (vc-rcs):
13507 * vc/vc-sccs.el (vc-sccs):
13508 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13509 All relevant defcustoms reassigned.
13511 2012-02-25 Chong Yidong <cyd@gnu.org>
13513 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13515 * term/x-win.el (x-initialize-window-system): Reduce default for
13516 x-selection-timeout to 5 seconds (Bug#8869).
13518 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13520 * files.el (files-equal-p, file-subdir-of-p): New functions.
13521 (copy-directory): Error when trying to copy a directory on itself.
13522 Add missing copy-contents arg to tramp handler.
13523 * dired-aux.el (dired-copy-file-recursive): Same.
13524 (dired-create-files): Modify destination when source is equal to
13525 dest when copying files.
13526 Return also when dest is a subdir of source. (Bug#10489)
13528 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13530 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13533 2012-02-23 Alan Mackenzie <acm@muc.de>
13535 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13536 parameter "after-hook:" to allow the expansion to run code after
13537 the execution of the mode hooks.
13539 * font-lock.el (font-lock-initial-fontify): New function extracted
13540 from font-lock-mode-internal.
13542 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13545 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13547 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13548 (completion--cache-all-sorted-completions): New function.
13549 (completion-all-sorted-completions): Use it.
13550 (completion--do-completion, minibuffer-force-complete):
13551 Use it to re-instate the flush hook.
13553 * icomplete.el (icomplete-completions): Replace last fix with a better
13556 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13558 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13559 when it might call us back infinitely (bug#10797).
13561 2012-02-23 Glenn Morris <rgm@gnu.org>
13563 * minibuffer.el (completion-category-overrides): Doc fix.
13565 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13567 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13568 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13570 2012-02-23 Glenn Morris <rgm@gnu.org>
13572 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13573 (authors-obsolete-files-regexps, authors-ignored-files)
13574 (authors-ambiguous-files, authors-renamed-files-alist):
13577 2012-02-23 Juri Linkov <juri@jurta.org>
13579 * isearch.el (isearch-occur): Sync interactive spec with occur's
13580 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13582 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13584 2012-02-22 Juri Linkov <juri@jurta.org>
13586 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13587 (ucs-insert): Doc fix. Check for hex digits in the string.
13588 Don't display `nil' in the error message. (Bug#10857)
13590 2012-02-22 Alan Mackenzie <acm@muc.de>
13592 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13594 2012-02-22 Glenn Morris <rgm@gnu.org>
13596 * ffap.el (ffap-c-path):
13597 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13599 2012-02-22 Chong Yidong <cyd@gnu.org>
13601 * custom.el (load-theme): Doc fix.
13603 2012-02-22 Glenn Morris <rgm@gnu.org>
13605 * dired-x.el (dired-guess-shell-alist-default):
13606 Remove escape sequences from nroff output. (Bug#172)
13608 2012-02-21 Glenn Morris <rgm@gnu.org>
13610 * vc/emerge.el (emerge-defvar-local):
13611 Set `permanent-local' property rather than unused `preserved'.
13613 * textmodes/picture.el (picture-delete-char): New alias.
13614 (picture-mode-map): Use it. (Bug#10860)
13615 (picture-mode): Doc fix.
13617 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13619 * newcomment.el (uncomment-region-default): Remove unused binding.
13621 2012-02-21 Glenn Morris <rgm@gnu.org>
13623 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13624 (picture-self-insert, picture-tab-chars): Doc fix.
13625 (picture-mode-map): Fix C-a, C-e.
13627 2012-02-20 Glenn Morris <rgm@gnu.org>
13629 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13631 2012-02-20 Leo Liu <sdl.web@gmail.com>
13633 * icomplete.el (icomplete-completions): Check FROM arg before
13634 passing to substring (Bug#10850).
13636 2012-02-19 Chong Yidong <cyd@gnu.org>
13638 * comint.el: Require ansi-color.
13639 (comint-output-filter-functions): Add ansi-color-process-output.
13641 * ansi-color.el: Don't set comint-output-filter-functions; it is
13642 now in the initial value defined in comint.el.
13643 (ansi-color-apply-face-function): New variable.
13644 (ansi-color-apply-on-region): Use it.
13645 (ansi-color-apply-overlay-face): New function.
13647 * shell.el (shell): No need to require ansi-color.
13648 (shell-mode): Use ansi-color-apply-face-function to highlight
13649 color escapes using font-lock-face property (Bug#10835).
13651 2012-02-19 Chong Yidong <cyd@gnu.org>
13653 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13654 mode-line formats (Bug#10839).
13656 2012-02-18 Glenn Morris <rgm@gnu.org>
13658 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13660 * mail/undigest.el (unforward-rmail-message): Doc fix.
13662 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13664 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13666 * international/characters.el (script-list): Sync with the latest
13667 Unicode Character Database.
13669 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13671 * international/titdic-cnv.el: Remove duplicate coding tag.
13672 * language/cham.el: Likewise.
13673 * language/tai-viet.el: Likewise.
13675 2012-02-18 Glenn Morris <rgm@gnu.org>
13677 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13678 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13679 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13680 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13681 * calendar/holidays.el (holiday-bahai-holidays)
13682 (calendar-holidays, list-holidays):
13683 Use utf-8 Bahá'í in doc-strings, menus, etc.
13685 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13687 * saveplace.el (save-place-ignore-files-regexp): New variable
13688 allowing for excluding files from saving their location of point.
13689 The default value matches the temporary commit message editing
13690 files from Git, SVN, Bazaar, and Mercurial.
13691 (save-place-to-alist): Use it.
13693 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13694 Stefan Monnier <monnier@iro.umontreal.ca>
13696 * newcomment.el (uncomment-region-default): Don't leave extra space
13697 when an arg is provided (bug#8150).
13699 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13701 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13703 2012-02-17 Glenn Morris <rgm@gnu.org>
13705 * net/socks.el: Require network-stream. (Bug#10599)
13707 2012-02-17 Kenichi Handa <handa@m17n.org>
13709 * international/charprop.el:
13710 * international/uni-name.el:
13711 * international/uni-old-name.el:
13712 * international/uni-comment.el: Regenerate.
13714 2012-02-16 Glenn Morris <rgm@gnu.org>
13716 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13717 Interactively in calendar buffer, give an error if not on a date.
13719 2012-02-15 Glenn Morris <rgm@gnu.org>
13721 * shell.el (shell-delimiter-argument-list):
13722 Revert 2011-02-17 change. (Bug#8027)
13724 2012-02-15 Chong Yidong <cyd@gnu.org>
13726 * minibuffer.el (completion-at-point-functions): Doc fix.
13728 * custom.el (defcustom): Doc fix; note use of defvar.
13730 2012-02-15 Glenn Morris <rgm@gnu.org>
13732 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13735 2012-02-14 Glenn Morris <rgm@gnu.org>
13737 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13739 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13741 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13742 way the ports list is computed.
13743 (smtpmail-query-smtp-server): Prompt the user for a port number if
13744 we can't connect to any of the standard ports (bug#10810).
13746 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13748 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13750 2012-02-13 Glenn Morris <rgm@gnu.org>
13752 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13754 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13756 * net/gnutls.el (gnutls-trustfiles): New variable.
13757 (gnutls-negotiate): Use it.
13759 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13761 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13762 does its stuff if Gnus is running.
13764 2012-02-13 Alan Mackenzie <acm@muc.de>
13766 Fix a loop in c-set-fl-decl-start.
13768 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13769 c-backward-syntactic-ws actually moves backwards.
13771 2012-02-13 Leo Liu <sdl.web@gmail.com>
13773 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13774 beginning so that all \C-o chars are removed.
13776 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13778 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13780 2012-02-12 Alan Mackenzie <acm@muc.de>
13782 Fix infinite loop with long macros.
13783 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13785 2012-02-12 Chong Yidong <cyd@gnu.org>
13787 * window.el (display-buffer): Doc fix (Bug#10785).
13789 2012-02-12 Glenn Morris <rgm@gnu.org>
13791 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13792 (x-disown-selection-internal, x-get-selection-internal):
13793 Sync docs with the xselect.c versions.
13795 * allout-widgets.el: Add missing license notice.
13797 2012-02-11 Glenn Morris <rgm@gnu.org>
13799 * select.el (x-get-selection-internal, x-own-selection-internal)
13800 (x-disown-selection-internal):
13801 * x-dnd.el (x-get-selection-internal): Update declarations.
13803 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13805 * window.el (window-sides-slots):
13806 * tool-bar.el (tool-bar-position):
13807 * term/xterm.el (xterm-extra-capabilities):
13808 * ses.el (ses-self-reference-early-detection):
13809 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13810 (verilog-auto-wire-type)
13811 (verilog-auto-delete-trailing-whitespace)
13812 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13813 (verilog-auto-tieoff-declaration):
13814 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13815 (sql-oracle-statement-starters, sql-oracle-scan-on):
13816 * progmodes/prolog.el (prolog-align-comments-flag)
13817 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13818 (prolog-left-indent-regexp, prolog-paren-indent-p)
13819 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13820 (prolog-types, prolog-mode-specificators)
13821 (prolog-determinism-specificators, prolog-directives)
13822 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13823 (prolog-electric-dot-flag)
13824 (prolog-electric-dot-full-predicate-template)
13825 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13826 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13827 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13828 (prolog-program-switches, prolog-prompt-regexp)
13829 (prolog-debug-on-string, prolog-debug-off-string)
13830 (prolog-trace-on-string, prolog-trace-off-string)
13831 (prolog-zip-on-string, prolog-zip-off-string)
13832 (prolog-use-standard-consult-compile-method-flag)
13833 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13834 (prolog-imenu-max-lines, prolog-info-predicate-index)
13835 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13836 (prolog-char-quote-workaround):
13837 * progmodes/cc-vars.el (c-defun-tactic):
13838 * net/tramp.el (tramp-encoding-command-interactive)
13839 (tramp-local-end-of-line):
13840 * net/soap-client.el (soap-client):
13841 * net/netrc.el (netrc-file):
13842 * net/gnutls.el (gnutls):
13843 * minibuffer.el (completion-category-overrides)
13844 (completion-cycle-threshold)
13845 (completion-pcm-complete-word-inserts-delimiters):
13846 * man.el (Man-name-local-regexp):
13847 * mail/feedmail.el (feedmail-display-full-frame):
13848 * international/characters.el (glyphless-char-display-control):
13849 * eshell/em-ls.el (eshell-ls-date-format):
13850 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13851 (lisp-lambda-list-keyword-parameter-indentation)
13852 (lisp-lambda-list-keyword-parameter-alignment):
13853 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13854 * dired-x.el (dired-omit-verbose):
13855 * cus-theme.el (custom-theme-allow-multiple-selections):
13856 * calc/calc.el (calc-highlight-selections-with-faces)
13857 (calc-lu-field-reference, calc-lu-power-reference)
13858 (calc-note-threshold):
13859 * battery.el (battery-mode-line-limit):
13860 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13861 (archive-7z-update):
13862 * allout.el (allout-prefixed-keybindings)
13863 (allout-unprefixed-keybindings)
13864 (allout-inhibit-auto-fill-on-headline)
13865 (allout-flattened-numbering-abbreviation):
13866 * allout-widgets.el (allout-widgets-auto-activation)
13867 (allout-widgets-icons-dark-subdir)
13868 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13869 (allout-widgets-theme-dark-background)
13870 (allout-widgets-theme-light-background)
13871 (allout-widgets-item-image-properties-emacs)
13872 (allout-widgets-item-image-properties-xemacs)
13873 (allout-widgets-run-unit-tests-on-load)
13874 (allout-widgets-time-decoration-activity)
13875 (allout-widgets-hook-error-post-time)
13876 (allout-widgets-track-decoration):
13877 Add missing :version tags to new defcustoms and defgroups.
13879 * progmodes/sql.el (sql-ansi-statement-starters)
13880 (sql-oracle-statement-starters): Add custom type.
13882 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13883 (prolog-system-version): Give it a type.
13885 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13887 * term/pc-win.el (x-select-text, x-selection-owner-p)
13888 (x-own-selection-internal, x-disown-selection-internal)
13889 (x-get-selection-internal): Sync doc strings and argument lists
13890 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13892 2012-02-11 Leo Liu <sdl.web@gmail.com>
13894 * progmodes/python.el (python-end-of-statement): Fix infinite
13897 2012-02-10 Glenn Morris <rgm@gnu.org>
13899 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13900 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13902 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13904 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13905 about SMTP before checking the From header.
13907 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13908 into own function for reuse by emacsbug.el.
13910 2012-02-10 Leo Liu <sdl.web@gmail.com>
13912 * subr.el (condition-case-unless-debug): Rename from
13913 condition-case-no-debug. All callers changed.
13914 (with-demoted-errors): Fix caller.
13916 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13917 * nxml/rng-valid.el (rng-do-some-validation):
13918 * emacs-lisp/package.el (package-refresh-contents)
13919 (package-menu-execute):
13920 * desktop.el (desktop-create-buffer):
13921 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13923 2012-02-10 Glenn Morris <rgm@gnu.org>
13925 * textmodes/bibtex.el:
13926 Add missing :version tags for new/changed defcustoms.
13928 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13930 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13932 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13933 (smtpmail-via-smtp): Use it, or fall back on the From address.
13934 (smtpmail-send-it): Ditto.
13936 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13938 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13939 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13940 (byte-compile-tmp-var): New const.
13941 (byte-compile-defvar): Use it to minimize .elc size.
13942 Just use `defvar' rather than simulate it (bug#10761).
13944 2012-02-09 Glenn Morris <rgm@gnu.org>
13946 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13948 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13951 * progmodes/compile.el (compilation-error-screen-columns)
13952 (compilation-first-column, compilation-filter-start): Doc fixes.
13954 * vc/log-view.el (log-view-toggle-entry-display):
13955 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13957 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13958 (report-emacs-bug-can-use-xdg-email):
13959 (report-emacs-bug-insert-to-mailer): Doc fixes.
13960 (report-emacs-bug): Message fix.
13962 * net/browse-url.el (browse-url-can-use-xdg-open)
13963 (browse-url-xdg-open): Doc fixes.
13965 * electric.el (electric-indent-mode, electric-pair-mode)
13966 (electric-layout-rules, electric-layout-mode): Doc fixes.
13967 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13969 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13971 * server.el (server-unselect-display): Don't inadvertently kill
13972 the current buffer. (Bug#10729)
13974 2012-02-08 Glenn Morris <rgm@gnu.org>
13976 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13977 (sql-list-table): Doc fixes.
13979 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13980 Comment out (does nothing).
13982 * completion.el (dynamic-completion-mode):
13983 * dirtrack.el (dirtrack-debug-mode):
13984 * electric.el (electric-layout-mode):
13985 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13986 * face-remap.el (text-scale-mode, buffer-face-mode):
13987 * iimage.el (iimage-mode):
13988 * image-mode.el (image-transform-mode):
13989 * minibuffer.el (completion-in-region-mode):
13990 * scroll-lock.el (scroll-lock-mode):
13991 * simple.el (next-error-follow-minor-mode):
13992 * tar-mode.el (tar-subfile-mode):
13993 * tooltip.el (tooltip-mode):
13994 * vcursor.el (vcursor-use-vcursor-map):
13995 * wid-browse.el (widget-minor-mode):
13996 * emulation/tpu-edt.el (tpu-edt-mode):
13997 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13998 * international/iso-ascii.el (iso-ascii-mode):
13999 * language/thai-util.el (thai-word-mode):
14000 * mail/supercite.el (sc-minor-mode):
14001 * net/goto-addr.el (goto-address-mode):
14002 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14003 * progmodes/cwarn.el (cwarn-mode):
14004 * progmodes/flymake.el (flymake-mode):
14005 * progmodes/glasses.el (glasses-mode):
14006 * progmodes/hideshow.el (hs-minor-mode):
14007 * progmodes/pascal.el (pascal-outline-mode):
14008 * textmodes/enriched.el (enriched-mode):
14009 * vc/smerge-mode.el (smerge-mode):
14010 Doc fixes (minor mode argument).
14012 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14014 * ls-lisp.el (ls-lisp-sanitize): New function.
14015 (ls-lisp-insert-directory): Use it to fix or remove any elements
14016 in file-alist with missing attributes. (Bug#4673)
14018 2012-02-07 Alan Mackenzie <acm@muc.de>
14020 Fix spurious recognition of c-in-knr-argdecl.
14022 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14023 putative K&R region.
14025 2012-02-07 Alan Mackenzie <acm@muc.de>
14027 * progmodes/cc-engine.el (c-forward-objc-directive):
14028 Prevent looping in "#pragma mark @implementation".
14030 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14032 * notifications.el (notifications-on-closed-signal): Make `reason'
14033 optional. (Bug#10744)
14035 2012-02-07 Glenn Morris <rgm@gnu.org>
14037 * emacs-lisp/easy-mmode.el (define-minor-mode):
14038 Doc fixes for the macro and the mode it defines.
14040 * image.el (imagemagick-types-inhibit): Doc fix.
14042 * cus-start.el (imagemagick-render-type): Add it.
14044 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14046 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14047 Set the default at load time, too, so that `font-lock-fontify-buffer'
14048 can be called without setting up the entire mode first. This fixes
14049 a bug in `mm-inline-text' with C MIME parts.
14051 2012-02-06 Chong Yidong <cyd@gnu.org>
14053 * simple.el (list-processes--refresh): Delete exited processes
14056 * comint.el (comint-next-prompt): next-single-char-property-change
14057 and prev-single-char-property-change never return nil (Bug#8657).
14059 * custom.el (defcustom): Doc fix (Bug#9711).
14061 2012-02-05 Chong Yidong <cyd@gnu.org>
14063 * cus-edit.el (custom-variable-reset-backup): Quote the value
14064 before storing it in the customized-value property (Bug#6712).
14065 (custom-display): Add a customization type tag.
14066 (custom-buffer-create-internal): Improve tooltip message.
14068 * wid-edit.el (widget-field-value-get): New optional arg to
14069 suppress trailing whitespace truncation.
14070 (character): Use it (Bug#2689).
14072 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14074 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14075 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14077 2012-02-05 Chong Yidong <cyd@gnu.org>
14079 * cus-edit.el (custom-variable-value-create): For mismatched
14080 types, show the current value (Bug#7600).
14082 * custom.el (defcustom): Doc fix.
14084 2012-02-05 Glenn Morris <rgm@gnu.org>
14086 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14088 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14090 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14091 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14092 (pp-last-sexp): Use `looking-at-p'.
14094 2012-02-04 Glenn Morris <rgm@gnu.org>
14096 * files.el (revert-buffer):
14097 Doc fix (mention revert-buffer-in-progress-p).
14099 * emacs-lisp/ert-x.el (ert-simulate-command):
14100 Check deferred-action-list (which is obsolete) is bound.
14102 * subr.el (with-wrapper-hook): Doc fixes.
14104 * simple.el (filter-buffer-substring-functions)
14105 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14107 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14109 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14110 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14112 2012-02-04 Leo Liu <sdl.web@gmail.com>
14114 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14116 2012-02-04 Glenn Morris <rgm@gnu.org>
14118 * image.el (image-extension-data): Add obsolete alias.
14120 * isearch.el (isearch-update): Doc fix.
14122 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14124 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14126 2012-02-03 Glenn Morris <rgm@gnu.org>
14128 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14129 (image-animate-timeout): Doc fix.
14131 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14133 2012-02-02 Glenn Morris <rgm@gnu.org>
14135 * server.el (server-auth-dir): Doc fix.
14136 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14138 * subr.el (run-mode-hooks): Doc fix.
14140 2012-02-02 Juri Linkov <juri@jurta.org>
14142 * image-mode.el (image-toggle-display-image): Remove tautological
14143 `major-mode' from the `derived-mode-p' test.
14145 2012-02-02 Kenichi Handa <handa@m17n.org>
14147 * composite.el (compose-region): Cancel previous change.
14149 2012-02-02 Kenichi Handa <handa@m17n.org>
14151 * composite.el (compose-region, compose-string): Signal error for
14152 a null string component (Bug#6988).
14154 2012-02-01 Chong Yidong <cyd@gnu.org>
14156 * view.el (view-buffer-other-window, view-buffer-other-frame):
14157 Handle special modes like view-buffer (Bug#10650).
14158 (view-buffer): Simplify.
14160 * frame.el (set-frame-font): Tweak meaning of third argument.
14162 * dynamic-setting.el (font-setting-change-default-font):
14163 Use set-frame-font (Bug#9982).
14165 2012-02-01 Glenn Morris <rgm@gnu.org>
14167 * progmodes/compile.el (compilation-internal-error-properties):
14168 Respect compilation-first-column in the "*compilation*" buffer.
14170 * emacs-lisp/easy-mmode.el (define-minor-mode):
14171 Relax :variable's test for a named function.
14173 2012-01-31 Alan Mackenzie <acm@muc.de>
14175 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14178 2012-01-31 Chong Yidong <cyd@gnu.org>
14180 * frame.el (set-frame-font): New arg ALL-FRAMES.
14182 * menu-bar.el (menu-set-font): Use set-frame-font.
14184 * faces.el (face-spec-reset-face): Don't apply unspecified
14185 attribute values to the default face.
14187 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14189 * progmodes/cwarn.el (cwarn): Remove dead link.
14190 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14191 Remove * from defcustom docstrings.
14192 (turn-on-cwarn-mode): Make obsolete.
14193 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14194 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14196 2012-01-31 Glenn Morris <rgm@gnu.org>
14198 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14199 Fix :variable handling of mode a symbol not equal to modefun.
14200 Allow named functions to be used as the cdr of :variable.
14202 2012-01-30 Glenn Morris <rgm@gnu.org>
14204 * emacs-lisp/authors.el (authors-fixed-entries):
14205 Remove reference to deleted file rnewspost.el.
14207 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14209 * window.el (window-with-parameter): Remove unused variable `windows'.
14210 (window--side-check): Remove unused variable `code'.
14211 (window--resize-siblings): Remove unused variable `first'.
14212 (adjust-window-trailing-edge): Remove unused variable `failed'.
14213 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14214 Use `let', not `let*'.
14215 (balance-windows-2): Remove unused variable `found'.
14216 (window--state-put-2): Remove unused variable `splits'.
14217 (window-state-put): Remove unused variable `selected'.
14218 (same-window-p): Use `string-match-p'.
14219 (display-buffer-assq-regexp): Remove unused variable `value'.
14220 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14221 Mark argument ALIST as ignored.
14222 (pop-to-buffer): Remove unused variable `old-window'.
14224 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14226 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14227 and .lzma compressed files.
14229 2012-01-29 Chong Yidong <cyd@gnu.org>
14231 * frame.el (window-system-default-frame-alist): Doc fix.
14233 * dynamic-setting.el (font-setting-change-default-font): Don't
14234 change the default face if SET-FONT argument is non-nil (Bug#9982).
14236 2012-01-29 Samuel Bronson <naesten@gmail.com>
14238 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14240 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14242 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14243 breakpoints in files outside current directory (Bug#6098).
14245 2012-01-29 Chong Yidong <cyd@gnu.org>
14247 * progmodes/python.el: Require ansi-color at top-level.
14249 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14250 Define and use in Emacs Lisp mode (Bug#9360).
14251 (lisp-mode-abbrev-table): Add doc.
14252 (lisp-mode-variables): Don't set local-abbrev-table.
14253 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14255 2012-01-28 Roland Winkler <winkler@gnu.org>
14257 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14259 2012-01-28 Roland Winkler <winkler@gnu.org>
14261 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14262 (bibtex-set-dialect): Use it. Either set global values of
14263 dialect-dependent variables or bind these variables buffer-locally
14265 (bibtex-mode): Call bibtex-set-dialect via
14266 hack-local-variables-hook.
14267 (bibtex-dialect): Update docstring.
14268 Add safe-local-variable predicate.
14269 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14270 bibtex-set-dialect.
14271 (bibtex-mode-map): Define menu for each dialect.
14272 (bibtex-entry): Fix docstring.
14274 2012-01-28 Chong Yidong <cyd@gnu.org>
14276 * eshell/esh-arg.el (eshell-quote-argument): New function.
14278 * eshell/esh-ext.el (eshell-invoke-batch-file):
14279 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14280 first arg to eshell-parse-command (Bug#10523).
14282 2012-01-28 Drew Adams <drew.adams@oracle.com>
14284 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14285 `default-directory' is non-nil.
14287 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14289 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14290 line that displays system-configuration-options. (Bug#9924)
14292 2012-01-28 Drew Adams <drew.adams@oracle.com>
14294 * descr-text.el (describe-char): Show information about POS, in
14295 addition to information about the character at POS. Improve and
14296 update the doc string. Change "code point" to "code point in
14297 charset", to avoid confusion with the character's Unicode code
14298 point shown above that. (Bug#10129)
14300 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14302 * descr-text.el (describe-char): Show the raw character, not only
14303 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14304 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14307 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14309 * emacs-lisp/package.el (package-install):
14310 Run package-refresh-contents if there is no archive yet (Bug#9798).
14312 2012-01-28 Chong Yidong <cyd@gnu.org>
14314 * emacs-lisp/package.el (package-maybe-load-descriptor):
14315 New function, split from package-maybe-load-descriptor.
14316 (package-maybe-load-descriptor): Use it.
14317 (package-download-transaction): Fully load required packages
14318 inside the loop, so that `require' calls work (Bug#10593).
14319 (package-install): No need to call package-initialize now.
14321 2012-01-28 Chong Yidong <cyd@gnu.org>
14323 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14325 * tooltip.el (tooltip-mode): Doc fix.
14326 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14328 * frame.el (set-cursor-color): Doc fix (Bug#352).
14330 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14331 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14333 * cus-edit.el (custom-buffer-create-internal): Fix search button
14334 action (Bug#10542).
14335 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14337 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14339 * dired.el (dired-mark-files-regexp):
14340 Include any subdirectory components. (Bug#10445)
14342 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14344 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14345 Handle [host]:port syntax. (Bug#10533)
14347 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14349 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14351 2012-01-26 Glenn Morris <rgm@gnu.org>
14353 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14354 * term.el (term-raw-escape-map): Use Control-X-prefix.
14355 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14357 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14359 * window.el (window-state-get, window--state-get-1): Don't deal
14360 with fixed-sizeness of windows. Simplify code.
14362 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14364 * window.el (window--state-get-1, window--state-put-2):
14365 Don't save and restore the mark.
14367 2012-01-25 Chong Yidong <cyd@gnu.org>
14369 * custom.el (custom-variable-p): Doc fix.
14371 2012-01-25 Glenn Morris <rgm@gnu.org>
14373 * dired.el (dired-goto-file): Handle some of the more common
14374 characters that `ls -b' escapes. (Bug#10596)
14376 * progmodes/compile.el (compilation-next-error-function):
14377 Respect compilation-first-column in the "*compilation*" buffer.
14378 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14380 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14382 2012-01-24 Glenn Morris <rgm@gnu.org>
14384 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14386 2012-01-24 Julien Danjou <julien@danjou.info>
14388 * color.el (color-rgb-to-hsl): Fix value computing.
14389 (color-hue-to-rgb): New function.
14390 (color-hsl-to-rgb): New function.
14391 (color-clamp, color-saturate-hsl, color-saturate-name)
14392 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14393 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14395 2012-01-24 Glenn Morris <rgm@gnu.org>
14397 * vc/vc-rcs.el (vc-rcs-create-tag):
14398 * vc/vc-sccs.el (vc-sccs-create-tag):
14399 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14401 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14403 * eshell/esh-util.el (eshell-read-hosts-file):
14404 Skip comment lines. (Bug#10549)
14406 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14408 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14410 * subr.el (display-delayed-warnings): Doc fix.
14411 (collapse-delayed-warnings): New function to collapse identical
14413 (delayed-warnings-hook): Add it.
14415 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14417 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14419 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14420 (tramp-default-user-alist): Don't add "pscp".
14421 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14422 property "login-as", if set. (Bug#10530)
14424 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14426 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14427 "plink1" and "psftp". (Bug#10530)
14429 2012-01-21 Kenichi Handa <handa@m17n.org>
14431 * international/mule-cmds.el (prefer-coding-system): Show a
14432 warning message if the default value of file-name-coding-system
14435 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14437 * windmove.el (windmove-reference-loc):
14438 Fix windmove-reference-loc miscalculation.
14440 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14442 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14445 2012-01-21 Glenn Morris <rgm@gnu.org>
14447 * international/mule.el (auto-coding-alist): Add .tbz.
14449 * files.el (local-enable-local-variables): Doc fix.
14450 (inhibit-local-variables-regexps): Rename from
14451 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14452 Doc fix. Add some extensions from auto-coding-alist.
14453 (inhibit-local-variables-suffixes):
14454 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14455 (inhibit-local-variables-p):
14456 New function, extracted from set-auto-mode-1.
14457 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14458 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14459 (hack-local-variables): Doc fix. Make the mode-only case
14460 respect enable-local-variables and friends.
14461 Respect inhibit-local-variables-regexps for file-locals, but
14462 not for directory-locals.
14463 (set-visited-file-name):
14464 Take account of inhibit-local-variables-regexps.
14465 Whether it applies may change as the file name is changed.
14466 * jka-cmpr-hook.el (jka-compr-install):
14467 * jka-compr.el (jka-compr-uninstall):
14468 Update for inhibit-first-line-modes-suffixes name change.
14470 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14472 * help-macro.el (make-help-screen): Temporarily restore original
14473 binding for minor-mode-map-alist (Bug#10454).
14475 2012-01-19 Julien Danjou <julien@danjou.info>
14477 * color.el (color-name-to-rgb): Use the white color to find the max
14478 color component value and return correctly computed values.
14479 (color-name-to-rgb): Add missing float conversion for max value.
14481 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14483 * window.el (window--state-get-1, window-state-get): Do not use
14484 special state value for window-persistent-parameters.
14485 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14486 (window--state-put-2): Reset all window parameters to nil before
14487 assigning values of persistent parameters.
14489 2012-01-18 Alan Mackenzie <acm@muc.de>
14491 Eliminate sluggishness and hangs in fontification of "semicolon
14494 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14495 Change value 10000 -> 3000.
14496 (c-state-safe-place): Reformulate so it doesn't stack up an
14497 infinite number of wrong entries in c-state-nonlit-pos-cache.
14498 (c-determine-limit-get-base, c-determine-limit): New functions to
14499 determine backward search limits disregarding literals.
14500 (c-find-decl-spots): Amend commenting.
14501 (c-cheap-inside-bracelist-p): New function which detects "={".
14503 * progmodes/cc-fonts.el
14504 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14506 (c-font-lock-declarations): Fix an occurrence of point being
14507 undefined. Check additionally for point being in a bracelist or
14508 near a macro invocation without a semicolon so as to avoid a
14509 fruitless time consuming search for a declarator. Give a more
14510 precise search limit for declarators using the new
14513 2012-01-18 Glenn Morris <rgm@gnu.org>
14515 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14516 (set-auto-mode): Doc fixes.
14518 2012-01-17 Glenn Morris <rgm@gnu.org>
14520 * isearch.el (search-nonincremental-instead): Fix doc typo.
14522 * dired.el (dired-insert-directory): Handle newlines in directory name.
14523 (dired-build-subdir-alist): Unescape newlines in directory name.
14525 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14527 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14528 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14529 (tramp-action-terminal): Use it. (Bug#10530)
14531 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14533 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14535 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14537 * window.el (window-state-ignored-parameters): Remove variable.
14538 (window--state-get-1): Rename argument MARKERS to IGNORE.
14539 Handle persistent window parameters. Make copy of clone-of
14540 parameter only if requested. (Bug#10348)
14541 (window--state-put-2): Install a window parameter only if it has
14542 a non-nil value or an existing parameter shall be overwritten.
14544 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14546 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14548 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14550 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14551 don't pass the (nil) value of `upnode' to string-match.
14553 2012-01-14 Chong Yidong <cyd@gnu.org>
14555 * startup.el (command-line): Fix X resource class for cursorColor.
14556 Fix values recognized by the cursorBlink resource.
14558 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14560 * epg.el (epg--make-temp-file): Avoid permission race condition
14561 when running on old Emacs versions (bug#10403).
14563 2012-01-14 Glenn Morris <rgm@gnu.org>
14565 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14567 2012-01-13 Alan Mackenzie <acm@muc.de>
14569 Fix filling for when filladapt mode is enabled.
14571 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14572 c-mask-paragraph, pass in `fill-paragraph' rather than
14573 `fill-region-as-paragraph'. (This is a reversion of a previous
14575 * progmodes/cc-mode.el (c-basic-common-init):
14576 Make fill-paragraph-handle-comment buffer local and set it to nil.
14578 2012-01-13 Glenn Morris <rgm@gnu.org>
14580 * dired.el (dired-switches-escape-p): New function.
14581 (dired-insert-directory): Use dired-switches-escape-p.
14582 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14584 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14586 2012-01-12 Glenn Morris <rgm@gnu.org>
14588 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14589 changes in adaptive-fill-regexp. (Bug#10276)
14591 2012-01-11 Alan Mackenzie <acm@muc.de>
14593 Fix Emacs bug #10463 - put `widen's around the critical spots.
14595 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14596 widen around each invocation of c-state-pp-to-literal. Remove an
14597 unused let variable.
14599 2012-01-11 Glenn Morris <rgm@gnu.org>
14601 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14604 2012-01-10 Chong Yidong <cyd@gnu.org>
14606 * net/network-stream.el (network-stream-open-starttls):
14607 Avoid emitting a confusing error message when the server gives a bad
14608 response to the capability command.
14610 2012-01-10 Glenn Morris <rgm@gnu.org>
14612 * mail/unrmail.el (unrmail): Tweak previous change.
14614 2012-01-09 Chong Yidong <cyd@gnu.org>
14616 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14618 2012-01-08 Alan Mackenzie <acm@muc.de>
14620 Optimize font locking in long enum definitions.
14622 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14623 arm to a cond form to handle enums.
14624 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14625 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14627 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14629 * files.el (move-file-to-trash): Preserve default file modes on error.
14632 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14634 * faces.el (set-face-attribute): Clarify the meaning of the nil
14637 * subr.el (with-selected-frame): Mention that the selected frame
14638 is restored (bug#9980).
14640 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14643 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14644 (password-read): Don't autoload unused function.
14646 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14648 * progmodes/which-func.el (which-func-mode): Turn into a
14649 non-interactive function and mark as obsolete (bug#10428).
14651 2012-01-06 Chong Yidong <cyd@gnu.org>
14653 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14654 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14655 functions, along with 1 and -1.
14657 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14659 * time.el (display-time-load-average)
14660 (display-time-default-load-average): Doc fixes. See the thread
14662 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14665 2012-01-06 Glenn Morris <rgm@gnu.org>
14667 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14668 has no messages. (Bug#10377)
14670 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14671 than Info-edit. (Bug#10385)
14673 * time.el (display-time-load-average, display-time-next-load-average):
14676 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14677 local setting of buffer-read-only to the input buffer. (Bug#10419)
14679 * calendar/calendar.el (calendar-mode):
14680 Locally set scroll-margin to 0. (Bug#10379)
14682 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14684 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14686 2012-01-05 Glenn Morris <rgm@gnu.org>
14688 * eshell/em-unix.el (diff-no-select): Autoload it.
14689 (eshell/diff): Use diff-no-select. (Bug#10420)
14691 2012-01-05 Chong Yidong <cyd@gnu.org>
14693 * shell.el (shell-dynamic-complete-functions): Revert last change.
14694 (shell-command-completion-function): New function.
14695 (shell-completion-vars): Use it to implement
14696 shell-completion-execonly (Bug#10417).
14698 * custom.el (enable-theme): Don't set custom-safe-themes.
14700 * cus-theme.el (custom-theme-merge-theme):
14701 Ignore custom-enabled-themes and custom-safe-themes.
14703 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14705 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14706 first prompt in `sql-interacive-mode'.
14707 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14709 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14710 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14711 context of original buffer. Invoke `sql-login-hook'.
14713 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14715 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14716 letters in cite-prefix.
14718 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14720 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14722 2012-01-03 Chong Yidong <cyd@gnu.org>
14724 * shell.el (shell-dynamic-complete-functions):
14725 Put pcomplete-completions-at-point, so as to try
14726 comint-filename-completion first (Bug#10417).
14728 2012-01-02 Richard Stallman <rms@gnu.org>
14730 * battery.el (battery-status-function):
14731 Detect when to use battery-yeeloong-sysfs.
14732 (battery-echo-area-format): Add string for Yeeloong.
14733 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14734 (battery-yeeloong-sysfs): New function.
14736 2012-01-02 Chong Yidong <cyd@gnu.org>
14738 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14739 (dirtrack): Merge code for handling relative filenames in prompt
14740 from shell-dir-cookie-watcher.
14741 (dirtrack-debug-message): New arg to avoid excess format calls.
14743 * shell.el (shell-dir-cookie-re): Variable deleted.
14744 (shell-dir-cookie-watcher): Function deleted.
14745 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14746 with dirtrack-mode.
14748 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14750 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14751 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14754 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14756 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14758 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14760 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14761 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14763 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14765 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14766 also for alternative shells.
14767 (tramp-open-connection-setup-interactive-shell): Check, whether
14768 the shell is a busybox.
14769 (tramp-send-command): Don't suppress multiple prompts for
14770 busyboxes, it hurts.
14772 2011-12-28 Chong Yidong <cyd@gnu.org>
14774 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14775 (gdb-get-source-file): Move mode line update to
14776 gdb-get-source-file (Bug#10087).
14778 2011-12-25 Chong Yidong <cyd@gnu.org>
14780 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14781 gud-gdb-marker-filter without taking it as an argument.
14782 (gud-gdb-run-command-fetch-lines): Caller changed.
14783 (gud-gdb-completion-function): New variable.
14784 (gud-gdb-completion-at-point): Use it.
14785 (gud-gdb-completions-1): Split from gud-gdb-completions.
14787 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14788 function as separate arguments.
14789 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14790 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14791 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14792 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14793 (gdb-stopped, def-gdb-auto-update-trigger)
14794 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14795 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14797 (gud-gdbmi-completions): New function.
14798 (gdb): Use it for generating the completion table.
14800 2011-12-24 Alan Mackenzie <acm@muc.de>
14802 Introduce a mechanism to widen the region used in context font
14803 locking. Use this to protect declarations from losing their contexts.
14805 * progmodes/cc-langs.el (c-before-font-lock-functions):
14806 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14807 (c-before-context-fontification-functions): New defvar, a list of
14808 functions to be run just before context (etc.) font locking.
14810 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14811 New, functionality extracted from
14812 c-neutralize-syntax-in-and-mark-CPP.
14813 (c-in-after-change-fontification): New variable.
14814 (c-after-change): Set c-in-after-change-fontification.
14815 (c-set-fl-decl-start): Rejig its interface, so it can be called
14816 from both after-change and context fontifying.
14817 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14819 (c-standard-font-lock-fontify-region-function): New variable.
14820 (c-font-lock-fontify-region): New function.
14822 2011-12-24 Juri Linkov <juri@jurta.org>
14824 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14827 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14829 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14830 existence of source file. (Bug#10325)
14832 2011-12-23 Alan Mackenzie <acm@muc.de>
14834 Fix unstable fontification inside templates.
14836 * progmodes/cc-langs.el (c-before-font-lock-functions):
14837 Newly created from the singular version. The (c c++ objc) entry now
14838 additionally has c-set-fl-decl-start. The other languages (apart
14839 from AWK) have that as a single entry.
14841 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14842 The functionality for "local" declarations has been extracted to
14843 c-set-fl-decl-start.
14845 * progmodes/cc-mode.el (c-common-init, c-after-change):
14846 Changes due to pluralisation of c-before-font-lock-functions.
14847 (c-set-fl-decl-start): New function, extracted from
14848 c-font-lock-enclosing-decls and enhanced.
14850 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14852 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14854 2011-12-22 Juri Linkov <juri@jurta.org>
14856 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14858 2011-12-22 Chong Yidong <cyd@gnu.org>
14860 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14862 2011-12-21 Drew Adams <drew.adams@oracle.com>
14864 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14866 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14868 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14870 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14872 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14873 highlighting and support. Fix up comments for capitalization.
14874 (cfengine-mode-debug): New var.
14875 (cfengine3-mode): Change the modeline indicator to "CFE3".
14876 (cfengine3-font-lock-keywords): Improve defun highlighting.
14877 (cfengine2-actions): Rename from `cfengine-actions'.
14878 (cfengine2-font-lock-keywords): Rename from
14879 `cfengine-font-lock-keywords'.
14880 (cfengine2-imenu-expression): Rename from
14881 `cfengine-imenu-expression'.
14882 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14883 (cfengine2-beginning-of-defun): Rename from
14884 `cfengine-beginning-of-defun'.
14885 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14886 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14887 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14888 modeline indicator to "CFE2".
14889 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14890 (cfengine-mode-abbrevs): Mark obsolete.
14892 2011-12-21 Chong Yidong <cyd@gnu.org>
14894 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14897 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14899 * window.el (window-normalize-buffer-to-display): Remove.
14900 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14902 2011-12-19 Chong Yidong <cyd@gnu.org>
14904 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14905 Don't signal an error in a predicate function; return non-nil.
14906 (vc-dir-mark-file): Move the error here.
14907 (vc-dir-mark-unmark): If acting on the region, keep going if one
14908 of the entries cannot be marked/unmarked.
14909 (vc-dir-mark-all-files): If current entry is a directory, mark
14910 only child files, as documented.
14912 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14914 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14915 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14918 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14920 * term/ns-win.el (ns-get-selection-internal)
14921 (ns-store-selection-internal): Declare.
14922 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14923 Declare as obsolete.
14924 (ns-get-pasteboard, ns-paste-secondary):
14925 Use ns-get-selection-internal.
14926 (ns-set-pasteboard, ns-copy-including-secondary):
14927 Use ns-store-selection-internal.
14929 2011-12-17 Chong Yidong <cyd@gnu.org>
14931 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14932 (vc-deduce-fileset): Doc fix.
14934 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14936 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14938 2011-12-13 Sam Steingold <sds@gnu.org>
14940 * man.el (Man-getpage-in-background): When running under a
14941 window-system, ignore $MANWIDTH and $COLUMNS.
14943 2011-12-15 Kenichi Handa <handa@m17n.org>
14945 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14946 (setup-ethiopic-environment-internal): Comment out key-binding for
14947 ethio-toggle-punctuation.
14949 2011-12-13 Alan Mackenzie <acm@muc.de>
14951 Add the switch statement to AWK Mode.
14953 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14954 "default" to the keywords regexp.
14956 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14957 expression as the rest.
14958 (c-nonlabel-token-key): Allow string literals for AWK.
14959 Refactor for the other modes.
14961 Large brace-block initialisation makes CC Mode slow: Fix.
14962 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14963 routines. Limit backward searching in c-font-lock-enclosing.decl.
14965 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14966 pp-state and literal type in addition to the limits.
14967 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14968 (c-state-literal-at): Use the above new defun.
14969 (c-slow-in-literal, c-fast-in-literal): Remove.
14970 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14972 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14973 being in a literal. Add a limit for backward searching.
14975 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14978 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14980 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14982 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14984 * window.el (delete-other-windows): Use correct frame in call to
14985 window-with-parameter.
14987 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14989 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14990 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14991 (makefile-gmake-statements, makefile-makepp-statements):
14992 Use it and add new makepp keywords.
14993 (makefile-makepp-font-lock-keywords): Add new patterns.
14994 (makefile-match-function-end): Match new [...] and [[...]].
14996 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
14998 * ses.el (ses-call-printer-return, ses-cell-property-get)
14999 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15000 (ses-create-cell-variable, ses-reset-header-string)
15001 (ses-cell-set-formula, ses-repair-cell-reference-all)
15002 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15003 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15004 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15005 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15006 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15007 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15008 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15009 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15010 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15011 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15012 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15013 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15015 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15017 * ses.el: The overall change is to add cell renaming, that is
15018 setting fancy names for cell symbols other than name matching
15019 "\\`[A-Z]+[0-9]+\\'" regexp .
15020 (ses-create-cell-variable): New defun.
15021 (ses-relocate-formula): Relocate formulas only for cells the
15022 symbols of which are not renamed, i.e. symbols whose names do not
15023 match regexp "\\`[A-Z]+[0-9]+\\'".
15024 (ses-relocate-all): Relocate values only for cells the symbols of
15025 which are not renamed.
15026 (ses-load): Create cells variables as the (ses-cell ...) are read,
15027 in order to check row col consistency with cell symbol name only
15028 for cells that are not renamed.
15029 (ses-replace-name-in-formula): New defun.
15030 (ses-rename-cell): New defun.
15032 2011-12-11 Chong Yidong <cyd@gnu.org>
15034 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15035 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15037 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15039 * window.el (other-window): Fix docstring.
15041 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15043 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15044 `from' or `to' address before taking its substring.
15045 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15046 encoded name is chopped in the middle of the encoded string, and
15047 thus displayed encoded.
15049 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15051 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15053 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15055 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15056 to use texinfo-update-node and commands that call it if the
15057 Texinfo file uses @node lines without next/prev/up pointers.
15058 Correct outdated description about texinfo-master-menu.
15059 (texinfo-all-menus-update, texinfo-master-menu)
15060 (texinfo-update-node, texinfo-every-node-update)
15061 (texinfo-multiple-files-update): Doc fix. Warn against updating
15062 all the @node lines.
15063 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15064 argument is numeric. Explain better in the doc string what the
15065 function really does.
15066 (texinfo-insert-master-menu-list): Improve the error message
15067 displayed if there's no menu in the Top node.
15068 (Bug#2975) See also this thread:
15069 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15071 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15073 * speedbar.el (speedbar-supported-extension-expressions):
15074 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15076 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15078 * printing.el (pr-mode-alist):
15079 * simple.el (filter-buffer-substring-functions)
15080 (completion-list-insert-choice-function):
15081 * window.el (window-with-parameter, window-atom-root)
15082 (window-sides-slots, window-size-fixed, window-min-delta)
15083 (window-max-delta, window--resize-mini-window)
15084 (window--resize-child-windows-normal, window-tree)
15085 (delete-other-windows, quit-window, split-window)
15086 (display-buffer-record-window, special-display-buffer-names)
15087 (special-display-regexps, special-display-popup-frame)
15088 (same-window-p, split-window-sensibly)
15089 (display-buffer-overriding-action, display-buffer-alist)
15090 (display-buffer-base-action, display-buffer, switch-to-buffer)
15091 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15092 (fit-window-to-buffer, recenter-positions)
15093 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15094 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15095 and remove unneeded backslashes in docstrings.
15097 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15099 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15101 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15102 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15104 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15105 when reading the makefile (bug#10116).
15107 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15109 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15112 2011-12-06 Glenn Morris <rgm@gnu.org>
15114 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15116 2011-12-06 Chong Yidong <cyd@gnu.org>
15118 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15120 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15122 * textmodes/table.el (table-shorten-cell): Fix typo.
15124 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15126 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15128 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15130 * descr-text.el (describe-char): Fix display of strong
15131 right-to-left characters and directional embeddings and overrides.
15133 * simple.el (what-cursor-position): Fix display of codepoints of
15134 strong right-to-left characters.
15136 2011-12-05 Chong Yidong <cyd@gnu.org>
15138 * faces.el (read-color): Doc fix.
15140 2011-12-05 Glenn Morris <rgm@gnu.org>
15142 * align.el (align--set-marker): Add doc-string.
15143 Don't try to move something that is not a marker. (Bug#10216)
15145 2011-12-04 Glenn Morris <rgm@gnu.org>
15147 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15148 overly zealous deletion of trailing whitespace.
15150 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15152 * server.el (server-delete-client): On Windows, do not try to delete
15154 (server-process-filter): On Windows, treat requests for a tty frame as
15155 if they were for a GUI frame if the running server is in GUI mode.
15157 2011-12-03 Glenn Morris <rgm@gnu.org>
15159 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15161 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15163 * electric.el: Streamline electric-indent's hook.
15164 (electric-indent-chars): Revert to simple list.
15165 (electric-indent-functions): New var.
15166 (electric-indent-post-self-insert-function): Use it.
15168 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15169 there's no inferior buffer (bug#10196).
15170 (prolog-consult-compile): Don't use toggle-read-only.
15172 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15174 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15175 interrupt. (Bug#10187)
15177 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15179 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15182 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15185 2011-12-02 Juri Linkov <juri@jurta.org>
15187 * info.el (Info-search): Display "end of manual" when Isearch
15188 reaches the end of single-file Info manual. (Bug#9918)
15190 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15192 * isearch.el (isearch-message-prefix): Run the input method part
15193 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15195 2011-12-02 Juri Linkov <juri@jurta.org>
15197 * isearch.el (isearch-occur): Use `word-search-regexp' for
15199 (isearch-search-and-update): Add condition for `isearch-word' and
15200 call `word-search-regexp'. (Bug#10145)
15202 2011-12-01 Glenn Morris <rgm@gnu.org>
15204 * eshell/em-hist.el (eshell-hist-initialize):
15205 Handle eshell-history-size nil and HISTSIZE set or unset.
15206 (eshell-history-file-name, eshell-history-size): Fix custom type.
15208 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15210 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15212 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15214 * progmodes/verilog-mode.el (verilog-pretty-expr):
15215 Rework verilog-pretty-expr to handle new assignment operators in system
15216 verilog, such as += *= and the like.
15217 (verilog-assignment-operator-re): Regular expression to find the
15218 assigment operator in a verilog assignment.
15219 (verilog-assignment-operation-re): Regular expression to find an
15220 assignment statement for pretty-expr.
15221 (verilog-in-attribute-p): Query returns true if point is in an
15222 attribute context; used to skip these for expression line up from
15224 (verilog-in-parameter-p): Query returns true if point is in an
15225 parameter definition context; used to skip these for expression
15226 line up from pretty-expr.
15227 (verilog-in-parenthesis-p): Query returns true if point is in a
15228 parenthetical expression, specifically ( ) but not [ ] or { };
15229 used by pretty-expr.
15230 (verilog-just-one-space): If there is no space, don't add one.
15231 (verilog-get-lineup-indent-2): Specifically skip just attribute
15232 contexts for expression lineup, rather than skipping all
15233 parenthetical expressions.
15234 (verilog-calculate-indent): Fix comment, and fix indent.
15235 (verilog-do-indent): Indent declarations in lists (suggested by
15237 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15239 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15242 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15244 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15245 parameters with embedded comments. Reported by Ray Stevens.
15246 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15247 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15248 Reported by Tim Holt.
15249 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15250 instantiated by upper module causing wrong expansion until AUTOed a
15251 second time. Reported by K C Buckenmaier.
15252 (verilog-diff-auto): Fix showing .* as a difference when
15253 `verilog-auto-star-save' off. Reported by Dan Dever.
15254 (verilog-auto-reset, verilog-read-always-signals)
15255 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15256 temporary signals in reset list if
15257 verilog-auto-reset-blocking-in-non is nil, and match assignment
15258 style to each signal's assignment type, bug381.
15259 Reported by Thomas Esposito.
15260 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15261 (verilog-uvm-statement-re): Support UVM indentation and
15262 highlighting, with old OVM keywords only.
15263 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15264 Support AUTOTIEOFF creating non-wire data types.
15265 Suggested by Jonathan Greenlaw.
15266 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15267 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15268 (verilog-inject-sense, verilog-read-inst-pins)
15269 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15270 Fix mismatching parenthesis inside commented out code when deleting
15271 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15272 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15273 non-numeric vector width. Reported by Alex Reed.
15274 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15275 detecting signals with parameter widths. Reported by Alex Reed.
15276 (verilog-auto-delete-trailing-whitespace):
15277 With `verilog-auto-delete-trailing-whitespace' remove trailing
15278 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15279 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15280 Fix verilog-scan-cache corruption when running user AUTO expansion
15281 hooks that call indentation routines.
15282 (verilog-simplify-range-expression): Fix typo ignoring lower case
15284 (verilog-delete-auto): Fix delete-autos to also remove user created
15285 automatics, as long as they start with AUTO.
15286 (verilog-batch-diff-auto, verilog-diff-auto)
15287 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15288 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15289 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15290 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15291 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15292 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15293 is disabled and its cache will get corrupt, causing AUTOS not to
15294 expand. Instead use only -quick functions.
15295 (verilog-scan-region): Fix scanning over escaped quotes.
15296 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15297 (verilog-re-search-backward-quick)
15298 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15299 related functions now ignore strings, to fix misparsing of strings
15300 with magic comments embedded in them.
15301 (verilog-read-auto-template):
15302 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15303 Reported by Brad Dobbie.
15304 (verilog-read-auto-template):
15305 Fix 'verilog-auto-inst-template-numbers' with comments.
15306 Reported by Brad Dobbie.
15307 (verilog-auto-inst, verilog-auto-inst-param)
15308 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15309 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15310 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15311 debugging templates without merge conflicts, bug357.
15312 Reported by Brad Dobbie.
15313 (verilog-read-auto-template):
15314 Fix verilog-auto-inst-template-numbers with multiple templates.
15315 Reported by Brad Dobbie.
15316 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15317 abbrevs so user won't be asked to save.
15318 (verilog-read-auto-lisp-present): Fix to start at beginning of
15319 buffer in case called outside of verilog-auto.
15320 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15321 to "X-2". Reported by Matthew Myers.
15322 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15323 all inputs from module templates. Reported by Leith Johnson.
15324 (verilog-module-inside-filename-p): Fix locating programs as with
15326 (verilog-auto-inst-port): Fix vl-width expressions when using
15327 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15328 (verilog-decls-get-regs, verilog-decls-get-signals,
15329 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15330 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15331 verilog-read-decls): Combine reg and wire structures into one var
15332 structure to represent SystemVerilog concepts.
15333 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15334 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15335 (verilog-auto-wire-type, verilog-insert-definition):
15336 Add verilog-auto-wire-type and AUTOLOGIC to support using
15337 SystemVerilog "logic" keyword instead of "wire"/"reg".
15338 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15339 to declares outputs that also have assignments (presumably in an
15340 ifdef or generate if so there's not a driver conflict).
15341 Reported by Matthew Myers.
15342 (verilog-auto-declare-nettype, verilog-insert-definition):
15343 Add verilog-auto-declare-nettype to fix declarations using
15344 `default_nettype none. Reported by Julian Gorfajn.
15345 (verilog-read-always-signals-recurse, verilog-read-decls)
15346 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15347 malformed end statement, bug325. Reported by Joshua Wise and
15349 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15350 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15351 when expanding .* in interfaces, bug320.
15352 Reported by Pierre-David Pfister.
15353 (verilog-read-module-name): Fix import statements between module
15354 name and open parenthesis, bug317.
15355 Reported by Pierre-David Pfister.
15356 (verilog-simplify-range-expression): Fix simplification of
15357 multiplications inside AUTOWIRE connections, bug303.
15358 (verilog-auto-inst-port): Support parameter expansion in
15359 multidimensional arrays.
15360 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15361 after "assert property". Reported by Julian Gorfajn.
15362 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15363 with multiplication, bug303.
15364 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15365 Reported by Jan Frode Lonnum.
15367 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15369 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15370 (hfy-shell-file-name, hfy-shell):
15371 * international/fontset.el (x-decompose-font-name): Fix typos.
15373 2011-11-29 Ken Brown <kbrown@cornell.edu>
15375 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15376 (gdb-version): Remove defvar.
15377 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15378 (gdb-gud-context-command, gdb-non-stop-handler)
15379 (gdb-current-context-command, gdb-stopped): Use it.
15380 (gdb-init-1): Enable pretty printing here.
15381 (gdb-non-stop-handler): Don't enable pretty-printing here.
15382 Check to see if the target supports non-stop mode; if not, turn off
15383 non-stop mode. Use the following.
15384 (gdb-check-target-async): New defun.
15385 (gud-watch, gdb-stopped): Fix whitespace.
15386 (gdb-get-source-file): Don't try to display the source file if
15387 `gdb-main-file' is nil.
15389 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15391 * align.el: Try to generate fewer markers (bug#10047).
15392 (align--set-marker): New macro.
15393 (align-region): Use it.
15395 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15397 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15399 2011-11-29 Chong Yidong <cyd@gnu.org>
15401 * indent.el (indent-for-tab-command, indent-according-to-mode):
15403 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15405 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15407 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15408 aware of remote file names. (Bug#10124)
15410 2011-11-29 Chong Yidong <cyd@gnu.org>
15412 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15414 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15416 * files.el (find-file): Don't use force-same-window (bug#10144).
15417 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15418 use pop-to-buffer if the selected window can't be used.
15419 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15421 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15423 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15426 2011-11-28 Chong Yidong <cyd@gnu.org>
15428 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15430 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15432 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15433 gdb-get-source-file-list on gdb-create-source-file-list.
15435 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15437 * whitespace.el (whitespace-newline): Use a different foreground
15438 color for 16-color light-background displays.
15440 2011-11-24 Chong Yidong <cyd@gnu.org>
15442 * window.el (display-buffer--special-action): Doc fix.
15444 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15446 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15447 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15448 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15449 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15450 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15451 (avl-tree-stack-first):
15452 * emacs-lisp/cconv.el (cconv--analyse-use):
15453 * net/gnutls.el (gnutls-negotiate): Fix typos.
15455 2011-11-24 Glenn Morris <rgm@gnu.org>
15457 * lpr.el (lpr-windows-system, lpr-lp-system):
15458 * mail/binhex.el (binhex-begin-line):
15459 * progmodes/grep.el (grep-history, grep-find-history):
15460 * textmodes/flyspell.el:
15461 * vc/pcvs-defs.el (cvs-global-menu):
15462 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15463 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15464 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15466 * net/tls.el: Fix case of "GnuTLS".
15468 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15470 * version.el (emacs-build-system): Give it a doc-string.
15472 2011-11-24 Juri Linkov <juri@jurta.org>
15474 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15476 2011-11-24 Glenn Morris <rgm@gnu.org>
15478 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15479 if called on a non-mime message just toggle the headers. (Bug#8006)
15481 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15483 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15484 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15485 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15486 (allout-rebullet-heading, allout-open-sibtopic)
15487 (allout-toggle-current-subtree-encryption)
15488 (allout-toggle-subtree-encryption, allout-encrypt-string)
15489 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15490 (allout-distinctive-bullets-string, allout-auto-activation):
15491 * window.el (window-normalize-buffer-to-display):
15492 * progmodes/verilog-mode.el (verilog-batch-indent):
15493 * textmodes/bibtex.el (bibtex-field-braces-opt)
15494 (bibtex-field-strings-opt):
15495 * vc/cvs-status.el (cvs-tree-merge):
15498 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15500 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15501 `non-essential' to t, in order to avoid remote connections.
15503 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15505 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15506 On MS-DOS and MS-Windows, compare with loaddefs.el
15507 case-insensitively.
15509 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15511 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15513 2011-11-23 Glenn Morris <rgm@gnu.org>
15515 * paths.el (rmail-file-name): Reformat the doc-string so that it
15518 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15519 (rmail-auto-file): Ignore case in the "special" field names,
15520 as mail-fetch-field does for all others.
15522 * mail/rmail.el (rmail-forward):
15523 * mail/rmailkwd.el (rmail-set-label):
15524 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15525 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15527 * mail/rmail.el (rmail-current-message): Doc fix.
15529 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15531 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15533 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15535 2011-11-22 Glenn Morris <rgm@gnu.org>
15537 * mail/rmailmm.el (test-rmail-mime-handler)
15538 (test-rmail-mime-bulk-handler)
15539 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15541 2011-11-21 Juri Linkov <juri@jurta.org>
15543 * calc/calc.el (calc-read-key-sequence):
15544 Let-bind `input-method-function' to nil. (Bug#10018)
15546 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15548 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15549 Tell the caller that the next line needs recomputation, even
15550 though it doesn't start a sexp (bug#10094).
15552 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15554 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15556 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15558 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15559 Use force-same-window.
15561 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15563 * descr-text.el (describe-char-unicode-data):
15564 * json.el (json-string-escape):
15565 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15566 (Footnote-unicode, Footnote-style-p):
15567 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15569 2011-11-20 Chong Yidong <cyd@gnu.org>
15571 * window.el (replace-buffer-in-windows): Restore interactive spec.
15573 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15575 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15577 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15578 (byte-compile-global-not-obsolete-vars): New var.
15579 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15581 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15583 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15585 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15586 * progmodes/pascal.el (electric-pascal-equal):
15587 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15588 * xml.el (xml-substitute-special): Fix typos.
15590 2011-11-20 Glenn Morris <rgm@gnu.org>
15592 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15593 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15595 (rmail-decode-mime-charset): Mark as obsolete.
15597 * mail/rmailsum.el (rmail-message-regexp-p-1):
15598 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15599 Before using mime functions, check they are set. (Bug#10077)
15601 2011-11-19 Juri Linkov <juri@jurta.org>
15603 * info.el (Info-finder-find-node): Use `package--builtins' instead
15604 of `package-alist'. Use node names formed by the pattern "Keyword "
15605 and the keyword name.
15607 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15609 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15611 2011-11-19 Juri Linkov <juri@jurta.org>
15613 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15614 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15615 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15616 `old-history', `old-history-forward'. Add let-binding
15617 `window-selected'. Remove calls to `kill-buffer',
15618 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15619 before calling `Info-find-node', so `Info-find-node-2' will reread
15620 the Info file. Restore window positions only when `window-selected'
15623 2011-11-19 Juri Linkov <juri@jurta.org>
15625 * isearch.el (isearch-lazy-highlight-new-loop):
15626 Remove condition `(not isearch-error)'. (Bug#9918)
15628 * misearch.el (multi-isearch-search-fun): Add condition
15629 `(not bound)' to ignore lazy-highlighting search.
15630 Add the search-failed message "end of multi" when the end of
15631 multi-sequence is reached. Uncapitalize the search-failed
15632 message "Repeat for next buffer".
15634 * info.el (Info-search): Add the search-failed message
15635 "end of the manual" when the end of the manual is reached
15638 2011-11-19 Juri Linkov <juri@jurta.org>
15640 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15641 Use non-destructive `remove' instead of `delete' because
15642 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15643 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15645 2011-11-19 Juri Linkov <juri@jurta.org>
15647 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15648 to nil instead of binding `search-ring' and `regexp-search-ring'.
15651 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15653 * simple.el (line-move): Force movement by logical lines for any
15654 hscrolled window, not only when auto-hscroll-mode is on.
15655 (line-move-visual): Update doc string to that effect. (Bug#10076)
15657 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15659 * language/european.el (macintosh): Define as alias for mac-roman.
15661 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15663 * mail/rmailmm.el (rmail-mime-display-header)
15664 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15665 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15666 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15667 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15668 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15670 (rmail-mime-entity-segment): To get past the tagline, move forward
15671 2 more lines, to account for the 2 empty lines that precede and
15672 follow the line with the buttons.
15673 (rmail-mime-update-tagline): Move one more line, to get past the
15674 empty line that follows the buttons in the tagline. (Bug#9520)
15676 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15678 * window.el (window-max-delta-1, window-min-delta-1)
15679 (window-min-size-1, window-state-get-1, window-state-put-1)
15680 (window-state-put-2): Use "window--" prefix.
15682 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15684 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15685 (smie-warning-count): New var.
15686 (smie-set-prec2tab): Use it.
15687 (smie-bnf->prec2): Improve warnings. Add docstring.
15688 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15689 (smie-bnf--set-class): New function.
15690 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15693 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15694 (compilation-error-properties, compilation-move-to-column):
15695 Handle compilation-first-column while in the target buffer.
15697 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15698 Don't hardcode point-min==1.
15700 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15701 (eshell-rewrite-for-command): Remove workaround.
15702 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15703 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15704 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15706 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15708 2011-11-17 Glenn Morris <rgm@gnu.org>
15710 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15711 Ignore buffer-local generated-autoload-file if it is the same
15712 as the global value. (Bug#10049)
15714 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15716 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15717 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15718 (reftex-toc-previous-heading, reftex-toc-max-level)
15719 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15720 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15721 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15722 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15723 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15724 (reftex-toc-rename-label, reftex-toc-visit-location)
15725 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15726 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15727 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15728 leaving "*toc*" only for references to the buffer.
15730 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15732 * window.el (window-resize, delete-window, split-window):
15733 Replace window-splits by window-combination-resize.
15734 * cus-start.el (window-splits): Replace by window-combination-resize.
15736 2011-11-17 Glenn Morris <rgm@gnu.org>
15738 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15739 Make bash entry derive from sh entry, not shell entry.
15741 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15743 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15746 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15748 * menu-bar.el (menu-bar-file-menu):
15749 * printing.el (pr-ps-utility):
15750 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15751 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15752 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15753 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15754 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15755 (icalendar--convert-cyclic-to-ical)
15756 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15757 (icalendar--convert-ical-to-diary)
15758 (icalendar--convert-recurring-to-diary)
15759 (icalendar--convert-non-recurring-all-day-to-diary)
15760 (icalendar-import-format-sample):
15761 * progmodes/idlw-shell.el (idlwave-shell-mode):
15762 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15763 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15764 (vhdl-ps-print-init): Fix typos.
15766 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15768 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15769 FSF and collapse date sequence, obscure author/maintainer email address
15770 better, remove extra version line, track relocation of author's webpage.
15772 * progmodes/python.el (python-pdbtrack-input-prompt)
15773 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15774 regular python pdb prompts. Adjustments shamelessly taken exactly as
15775 suggested in EmacsWiki page (tiny change):
15776 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15778 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15780 * expand.el (expand-pos, expand-index, expand-point):
15781 Remove redundant info from docstring.
15782 (expand-add-abbrevs): Doc fix.
15783 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15784 (expand-sample-perl-mode-expand-list): Fix typos.
15786 * net/dbus.el (dbus-event-member-name):
15787 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15788 * term/pc-win.el (msdos-create-frame-with-faces):
15789 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15791 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15793 * window.el (split-window, window-state-get-1)
15794 (window-state-put-1, window-state-put-2): Rename occurrences of
15795 window-nest to window-combination-limit.
15796 * cus-start.el (window-nest): Rename to window-combination-limit.
15798 2011-11-16 Chong Yidong <cyd@gnu.org>
15800 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15801 regexp (Bug#10033).
15803 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15805 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15806 `completing-read' will remove *Completions* and will preserve
15807 current-buffer for us.
15808 (tmm-add-prompt): Users of *Completions* will always (re)set its
15810 (tmm-old-comp-map): Remove.
15812 2011-11-16 Glenn Morris <rgm@gnu.org>
15814 * mail/rmailedit.el: Require rmailmm when compiling.
15815 (rmail-old-mime-state): New declaration.
15816 (rmail-edit-current-message): If editing a mime message,
15817 edit the "raw" message from the mbox buffer.
15818 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15820 2011-11-15 Glenn Morris <rgm@gnu.org>
15822 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15823 which wasn't being used. Add optional arg to force given state.
15824 (rmail-mime): Add optional arg to force given state.
15826 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15828 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15829 * frame.el (display-mm-dimensions-alist):
15830 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15831 (outline-move-subtree-down):
15832 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15833 (newsticker--treeview-do-get-node):
15834 * net/quickurl.el (quickurl-list-buffer-name):
15835 * progmodes/dcl-mode.el (dcl-mode):
15836 * progmodes/gdb-mi.el (gdb-mapcar*):
15837 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15839 2011-11-15 Glenn Morris <rgm@gnu.org>
15841 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15842 in a boolean sense, so just make it a boolean, and fix the doc.
15843 (rmail-show-mime-function, rmail-mime-feature)
15844 (rmail-require-mime-maybe): Doc fixes.
15845 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15847 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15849 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15851 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15852 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15853 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15854 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15856 2011-11-15 Glenn Morris <rgm@gnu.org>
15858 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15859 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15860 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15861 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15862 (rmail-mime, rmail-show-mime): Doc fixes.
15864 * term/ns-win.el (mode-line-frame-identification):
15865 Leave it alone. (Bug#10051)
15867 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15869 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15870 Handle empty buffers. (Bug#9978)
15872 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15874 * international/mule.el (define-charset):
15875 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15876 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15877 * progmodes/verilog-mode.el (verilog-backward-token):
15878 * textmodes/ispell.el (lookup-words):
15879 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15881 2011-11-14 Glenn Morris <rgm@gnu.org>
15883 * progmodes/executable.el
15884 (executable-make-buffer-file-executable-if-script-p):
15885 Handle file-modes returning nil.
15887 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15888 message - not necessary, and causes problems. (Bug#9831)
15890 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15892 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15894 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15895 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15896 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15898 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15900 * window.el (window-resize, delete-window): Use window-splits
15901 variable instead of function.
15902 (window-state-get-1, window-state-put-2, window-state-put):
15903 Don't deal with windows' splits status.
15905 2011-11-12 Glenn Morris <rgm@gnu.org>
15907 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15908 (apropos-documentation): Doc fixes.
15910 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15912 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15913 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15915 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15917 * electric.el (electric-indent-post-self-insert-function): Make it
15918 possible for a char to only indent in some circumstances.
15919 (electric-indent-mode): Simplify.
15921 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15923 * window.el (windows-with-parameter): Remove unused function.
15924 (windows-at-side): Rename to window-at-side-list.
15925 (window-check, window-atom-check, window-atom-check-1)
15926 (window-side-check, window-size-ignore, window-size-fixed-1)
15927 (window-in-direction-2): Prefix with "window--".
15928 (window-tree-1): Rename to window--subtree, fix doc-string.
15930 2011-11-11 Glenn Morris <rgm@gnu.org>
15932 * subr.el (eval-after-load): If FILE is already loaded,
15933 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15935 2011-11-10 Glenn Morris <rgm@gnu.org>
15937 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15938 Call svn via vc-svn-command rather than vc-do-command.
15939 (vc-svn-command): Add --non-interactive. (Bug#9993)
15940 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15942 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15943 Add toggle-read-only. (Bug#7292)
15944 * files.el (toggle-read-only): Mention that it should only
15945 be used interactively. (Bug#10006)
15947 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15949 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15950 Adjust regexp for OCaml warnings.
15952 * electric.el (electric-pair-post-self-insert-function): Let user
15953 turn it off buffer-locally (bug#9932).
15955 * progmodes/python.el (python-beginning-of-statement):
15956 Rewrite (bug#2703).
15958 * progmodes/compile.el: Better handle TABs (bug#9749).
15959 (compilation-internal-error-properties)
15960 (compilation-next-error-function): Obey the target buffer's
15961 compilation-error-screen-columns.
15963 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15965 * progmodes/meta-mode.el: Remove obsolete comments.
15966 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15967 Fix typos in docstrings.
15969 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15971 * window.el (window-size-fixed-p): Rewrite doc-string.
15972 (window-resizable-p): Rename to window--resizable-p. Update callers.
15973 (window--resizable): New function. Make all callers of
15974 window-resizable call window--resizable instead.
15975 (window-resizable): Rewrite in terms of window--resizable.
15977 2011-11-08 Glenn Morris <rgm@gnu.org>
15979 * progmodes/delphi.el (delphi-mode-syntax-table):
15980 Let define-derived-mode define a proper syntax table. (Bug#9994)
15982 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15984 * window.el: Stay away from defsubst.
15985 (window-list-no-nils): Remove.
15986 (window-state-get-1, window-state-get): Use backquote instead.
15988 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15990 * emacs-lisp/find-func.el (find-function-read):
15991 Fix incorrect use of default argument in `completing-read'.
15993 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15995 * window.el (display-buffer-function, special-display-function):
15996 Mention display-buffer-record-window but do not mention
15997 help-setup parameter in doc-strings.
15998 (window-min-delta): Fix doc-string typo.
16000 2011-11-08 Chong Yidong <cyd@gnu.org>
16002 * window.el (window-total-height, window-total-width): Doc fix.
16003 (window-body-size): Move from C.
16004 (window-body-height, window-body-width): Move to C.
16006 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16008 * window.el: Make special-display like display-buffer-alist (bug#9532).
16009 (display-buffer--special-action): New function, morphed
16010 from display-buffer--special.
16011 (display-buffer): Use it to handle special-display-buffers at higher
16012 priority (just after display-buffer-alist).
16013 (display-buffer-fallback-action, display-buffer--other-frame-action)
16014 (pop-to-buffer-same-window): Remove display-buffer--special.
16016 2011-11-07 Glenn Morris <rgm@gnu.org>
16018 * calendar/cal-menu.el (cal-menu-set-date-title):
16019 Do nothing if not in a calendar. (Bug#9976)
16021 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16023 * files.el (find-file): Always use selected-window.
16025 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16027 * window.el (window-combinations): Make WINDOW argument
16028 mandatory. Rewrite doc-string.
16029 (walk-window-subtree, window-atom-check, window-min-delta)
16030 (window-max-delta, window--resize-this-window)
16031 (window--resize-root-window-vertically, window-tree)
16032 (balance-windows, window-state-put): Rewrite doc-strings as to
16033 not mention the term "subwindow".
16034 (window--resize-subwindows-skip-p): Rename to
16035 window--resize-child-windows-skip-p.
16036 (window--resize-subwindows-normal): Rename to
16037 window--resize-child-windows-normal.
16038 (window--resize-subwindows): Rename to
16039 window--resize-child-windows.
16040 (window-or-subwindow-p): Rename to window--in-subtree-p.
16042 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16044 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16045 Ensure that mbox format messages end in two newlines (Bug#9974).
16047 2011-11-06 Chong Yidong <cyd@gnu.org>
16049 * window.el (window-combination-p): Function deleted; its
16050 side-effect is not used in any existing code.
16051 (window-combinations, window-combined-p): Call window-*-child
16054 2011-11-05 Chong Yidong <cyd@gnu.org>
16056 * window.el (window-valid-p): Rename from window-any-p.
16057 (window-size-ignore, window-state-get): Callers changed.
16058 (window-normalize-window): Rename from window-normalize-any-window.
16059 New arg LIVE-ONLY, replacing window-normalize-live-window.
16060 (window-normalize-live-window): Delete.
16061 (window-combination-p, window-combined-p, window-combinations)
16062 (walk-window-subtree, window-atom-root, window-min-size)
16063 (window-sizable, window-sizable-p, window-size-fixed-p)
16064 (window-min-delta, window-max-delta, window-resizable)
16065 (window-resizable-p, window-full-height-p, window-full-width-p)
16066 (window-current-scroll-bars, window-point-1, set-window-point-1)
16067 (window-at-side-p, window-in-direction, window-resize)
16068 (adjust-window-trailing-edge, maximize-window, minimize-window)
16069 (window-deletable-p, delete-window, delete-other-windows)
16070 (record-window-buffer, unrecord-window-buffer)
16071 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16072 (quit-window, split-window, window-state-put)
16073 (set-window-text-height, fit-window-to-buffer)
16074 (shrink-window-if-larger-than-buffer): Callers changed.
16076 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16078 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16079 rfc2047-decode-string.
16080 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16083 * window.el (window-body-height, window-body-width): Mention in
16084 the doc string that the return values are in frame's canonical
16087 2011-11-03 Alan Mackenzie <acm@muc.de>
16089 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16090 change in cc-engine.el.
16092 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16094 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16096 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16098 * window.el (quit-window): Call unrecord-window-buffer after
16099 showing another buffer in the window. (Bug#9937)
16100 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16102 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16104 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16105 Accept status with more than 9 shelves. (Bug#9935)
16106 Reported by Colin D Bennett <colin@gibibit.com>.
16108 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16110 * help.el (with-help-window): Don't reference
16111 temp-buffer-show-specifiers in doc-string.
16113 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16115 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16118 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16120 * whitespace.el: New version 13.2.2.
16121 (whitespace-newline-mode): Disable properly. Reported by Sarah
16124 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16126 * net/newst-treeview.el: Remove "Time-stamp".
16127 (newsticker--group-manage-orphan-feeds): Do not call
16128 newsticker--treeview-tree-update.
16129 (newsticker-treeview-update, newsticker-treeview):
16130 Call newsticker--treeview-tree-update if necessary.
16132 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16134 * window.el (window-iso-combination-p, window-iso-combined-p)
16135 (window-iso-combinations): Remove "iso-" infix.
16136 Suggested by Chong Yidong.
16137 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16138 (window-max-delta-1, window-resize, window--resize-siblings)
16139 (window--resize-this-window, adjust-window-trailing-edge)
16140 (split-window, balance-windows-1)
16141 (shrink-window-if-larger-than-buffer):
16142 * calendar/calendar.el (calendar-generate-window):
16143 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16145 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16147 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16148 in place (bug#9907).
16149 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16150 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16151 (eshell-structure-basic-command, eshell-rewrite-while-command)
16152 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16153 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16154 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16155 (eshell-do-pipelines-synchronously, eshell-eval-command):
16156 Use backquotes and prefer setq to set.
16157 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16158 (eshell-macrop): Use functionp.
16159 (eshell-do-eval): Handle multiple expressions in `while' body.
16161 2011-10-30 Chong Yidong <cyd@gnu.org>
16163 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16164 instead of set-mark (Bug#9810).
16166 2011-10-30 Chong Yidong <cyd@gnu.org>
16168 * window.el (split-window-below, split-window-right): Rename from
16169 split-window-above-each-other and split-window-side-by-side
16170 respectively. All callers changed.
16171 (split-window-sensibly, split-window-sensibly): Use them.
16172 (split-window-keep-point): Doc fix.
16174 * isearch.el: Add isearch-scroll property to split-window-below
16175 and split-window-right.
16177 * follow.el (follow-mode):
16178 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16179 * progmodes/ada-xref.el (ada-gdb-application):
16180 * emulation/vip.el (vip-buffer-in-two-windows):
16181 * image-dired.el (image-dired-dired-with-window-configuration):
16182 * dired-x.el (dired-do-find-marked-files):
16183 * dired.el (dired-pop-to-buffer):
16184 * bs.el (bs--show-with-configuration):
16185 * vc/emerge.el (emerge-setup-windows):
16186 * textmodes/two-column.el (2C-two-columns):
16187 * textmodes/reftex-toc.el (reftex-toc):
16188 * progmodes/gdb-mi.el (gdb-setup-windows):
16189 * progmodes/fortran.el (fortran-window-create):
16190 * net/newst-treeview.el (newsticker--treeview-window-init):
16191 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16192 * emulation/tpu-edt.el (tpu-gold-map):
16193 * emulation/crisp.el (crisp-mode-map):
16194 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16196 2011-10-29 Chong Yidong <cyd@gnu.org>
16198 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16200 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16202 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16203 forged Ispell output (Bug#7904).
16205 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16207 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16209 * doc-view.el: Avoid ugly errors about not finding nil.
16210 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16211 (doc-view-dvipdf-program, doc-view-unoconv-program)
16212 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16213 Avoid nil or absolute file name as default value.
16214 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16216 2011-10-28 Alan Mackenzie <acm@muc.de>
16218 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16220 2011-10-28 Alan Mackenzie <acm@muc.de>
16222 Amend the handling of c-beginning/end-of-defun in nested declaration
16225 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16226 cc-langs.el. Change it to a defcustom.
16228 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16231 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16232 Prevent "class foo : bar" being spuriously recognized as a label.
16234 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16235 Add parameter `inclusive' (to include enclosing braces in the region).
16236 (c-widen-to-enclosing-decl-scope): New function.
16237 (c-while-widening-to-decl-block): New macro.
16238 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16239 outward for defun boundaries, and correspondingly change symbol
16240 `respect-enclosure' to `go-outward'.
16241 (c-declaration-limits): Change algorithm to report only the "innermost"
16242 defun's boundaries.
16244 2011-10-28 Deniz Dogan <deniz@dogan.se>
16246 * net/rcirc.el (rcirc-mode): Use hard newlines.
16248 2011-10-28 Alan Mackenzie <acm@muc.de>
16250 Amend to indent and fontify macros "which include their own semicolon"
16251 correctly, using the "virtual semicolon" mechanism.
16253 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16255 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16256 Recode to scan one line at a time rather than having \n and \r
16257 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16258 (c-forward-label): Amend for virtual semicolons.
16259 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16261 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16262 of the new C macros.
16264 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16265 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16266 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16267 (c-opt-cpp-macro-define): Make into a full language variable.
16268 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16269 AWK Mode (including \n, \r) removed, no longer needed.
16271 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16272 Invoke c-make-macro-with-semi-re.
16274 * progmodes/cc-vars.el (c-macro-with-semi-re):
16275 (c-macro-names-with-semicolon): New variables.
16276 (c-make-macro-with-semi-re): New function.
16278 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16280 * vc/log-edit.el: Fill empty field rather than adding new one.
16281 (log-edit-add-field): New function.
16282 (log-edit-insert-changelog): Use it.
16284 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16286 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16288 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16290 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16291 (gdb--check-interpreter): New function.
16294 2011-10-27 Glenn Morris <rgm@gnu.org>
16296 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16297 (least-positive-float, least-negative-float)
16298 (least-positive-normalized-float, least-negative-normalized-float)
16299 (float-epsilon, float-negative-epsilon):
16300 Remove unnecessary declarations.
16302 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16303 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16304 (least-positive-float, least-negative-float)
16305 (least-positive-normalized-float, least-negative-normalized-float)
16306 (float-epsilon, float-negative-epsilon): Add doc-strings,
16307 based on those in cl.texi.
16309 * files.el (set-visited-file-name): If the major-mode changed,
16310 reload the local variables. (Bug#9796)
16312 2011-10-27 Chong Yidong <cyd@gnu.org>
16314 * subr.el (change-major-mode-after-body-hook): New hook.
16315 (run-mode-hooks): Run it.
16317 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16318 Use change-major-mode-before-body-hook.
16320 * simple.el (fundamental-mode):
16321 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16322 change introducing fundamental-mode-hook.
16324 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16326 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16328 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16330 * ido.el (ido-file-name-all-completions-1): Do not require
16331 tramp.el explicitly. (Bug#7583)
16333 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16335 * progmodes/octave-mod.el:
16336 * progmodes/octave-inf.el: Update maintainer.
16338 2011-10-26 Chong Yidong <cyd@gnu.org>
16340 * subr.el (with-wrapper-hook): Rewrite doc.
16342 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16344 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16345 filenames "/method:foo:". (Bug#9793)
16347 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16349 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16352 2011-10-24 Glenn Morris <rgm@gnu.org>
16354 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16356 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16358 * notifications.el: Add the requirement of a running D-Bus session
16359 bus to the Commentary.
16361 2011-10-24 Juri Linkov <juri@jurta.org>
16363 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16364 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16367 2011-10-24 Juri Linkov <juri@jurta.org>
16369 * info.el (Info-following-node-name-re): Add newline to the list
16370 of allowed characters for leading space. (Bug#9824)
16372 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16374 * progmodes/octave-inf.el (inferior-octave-mode-map):
16375 Fix C-c C-h binding.
16376 * progmodes/octave-mod.el (octave-help): Remove.
16378 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16380 Sync with Tramp 2.2.3.
16382 * net/tramp-cache.el (top): Pacify byte-compiler using
16383 `init-file-user' and `site-run-file'.
16385 * net/trampver.el: Update release number.
16387 2011-10-23 Chong Yidong <cyd@gnu.org>
16389 * files.el (toggle-read-only): Remove obsolete comment about
16392 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16393 for toggle-read-only. Note that this hasn't called vc-next-action
16394 since 2008-05-02, though it wasn't documented at the time.
16396 * vc/ediff-init.el (ediff-toggle-read-only-function):
16397 Use toggle-read-only.
16399 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16401 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16404 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16405 correct faulty logical expression.
16406 (c-parse-state-state, c-record-parse-state-state):
16407 (c-replay-parse-state-state): New defvar/defuns.
16408 (c-debug-parse-state): Use new functions.
16410 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16412 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16413 last fix. Use window-in-direction correctly.
16415 2011-10-21 Chong Yidong <cyd@gnu.org>
16417 * progmodes/idlwave.el (idlwave-mode):
16418 * progmodes/vera-mode.el (vera-mode): No need to set
16419 require-final-newline; that's done in prog-mode.
16420 Suggested by Stefan Monnier.
16422 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16424 * mouse.el (mouse-drag-window-above)
16425 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16426 (mouse-drag-mode-line-1, mouse-drag-header-line)
16427 (mouse-drag-vertical-line-rightward-window): Remove.
16428 (mouse-drag-line): New function.
16429 (mouse-drag-mode-line, mouse-drag-header-line)
16430 (mouse-drag-vertical-line): Call mouse-drag-line.
16431 * window.el (window-at-side-p, windows-at-side): New functions.
16433 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16435 * tar-mode.el (tar-grind-file-mode):
16436 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16438 2011-10-21 Chong Yidong <cyd@gnu.org>
16440 * progmodes/idlwave.el (idlwave-mode):
16441 * progmodes/vera-mode.el (vera-mode):
16442 Use mode-require-final-newline.
16444 2011-10-20 Glenn Morris <rgm@gnu.org>
16446 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16448 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16450 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16452 2011-10-20 Chong Yidong <cyd@gnu.org>
16454 * emulation/cua-base.el (cua-mode):
16455 * mail/footnote.el (footnote-mode):
16456 * mail/mailabbrev.el (mail-abbrevs-mode):
16457 * net/xesam.el (xesam-minor-mode):
16458 * progmodes/bug-reference.el (bug-reference-mode):
16459 * progmodes/cap-words.el (capitalized-words-mode):
16460 * progmodes/compile.el (compilation-minor-mode)
16461 (compilation-shell-minor-mode):
16462 * progmodes/gud.el (gud-tooltip-mode):
16463 * progmodes/hideif.el (hide-ifdef-mode):
16464 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16465 * progmodes/subword.el (subword-mode):
16466 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16467 * progmodes/which-func.el (which-function-mode):
16468 * term/tvi970.el (tvi970-set-keypad-mode):
16469 * term/vt100.el (vt100-wide-mode):
16470 * textmodes/flyspell.el (flyspell-mode):
16471 * textmodes/ispell.el (ispell-minor-mode):
16472 * textmodes/nroff-mode.el (nroff-electric-mode):
16473 * textmodes/paragraphs.el (use-hard-newlines):
16474 * textmodes/refill.el (refill-mode):
16475 * textmodes/reftex.el (reftex-mode):
16476 * textmodes/rst.el (rst-minor-mode):
16477 * textmodes/sgml-mode.el (html-autoview-mode)
16478 (sgml-electric-tag-pair-mode):
16479 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16480 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16481 * emulation/crisp.el (crisp-mode):
16482 * emacs-lisp/eldoc.el (eldoc-mode):
16483 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16484 minor mode behavior.
16486 2011-10-19 Juri Linkov <juri@jurta.org>
16488 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16489 the list of hard-coded chars with escape-glyph face.
16491 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16493 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16495 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16497 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16500 2011-10-19 Glenn Morris <rgm@gnu.org>
16502 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16503 Ignore ignored files. (Bug#9726)
16505 2011-10-19 Chong Yidong <cyd@gnu.org>
16507 Doc fix for minor modes, stating that an omitted argument enables
16508 the mode unconditionally when called from Lisp.
16510 * abbrev.el (abbrev-mode):
16511 * allout.el (allout-mode):
16512 * autoinsert.el (auto-insert-mode):
16513 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16514 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16515 (global-auto-revert-mode):
16516 * battery.el (display-battery-mode):
16517 * composite.el (global-auto-composition-mode)
16518 (auto-composition-mode):
16519 * delsel.el (delete-selection-mode):
16520 * desktop.el (desktop-save-mode):
16521 * dired-x.el (dired-omit-mode):
16522 * dirtrack.el (dirtrack-mode):
16523 * doc-view.el (doc-view-minor-mode):
16524 * double.el (double-mode):
16525 * electric.el (electric-indent-mode, electric-pair-mode):
16526 * emacs-lock.el (emacs-lock-mode):
16527 * epa-hook.el (auto-encryption-mode):
16528 * follow.el (follow-mode):
16529 * font-core.el (font-lock-mode):
16530 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16531 * help.el (temp-buffer-resize-mode):
16532 * hilit-chg.el (highlight-changes-mode)
16533 (highlight-changes-visible-mode):
16534 * hi-lock.el (hi-lock-mode):
16535 * hl-line.el (hl-line-mode, global-hl-line-mode):
16536 * icomplete.el (icomplete-mode):
16537 * ido.el (ido-everywhere):
16538 * image-file.el (auto-image-file-mode):
16539 * image-mode.el (image-minor-mode):
16540 * iswitchb.el (iswitchb-mode):
16541 * jka-cmpr-hook.el (auto-compression-mode):
16542 * linum.el (linum-mode):
16543 * longlines.el (longlines-mode):
16544 * master.el (master-mode):
16545 * mb-depth.el (minibuffer-depth-indicate-mode):
16546 * menu-bar.el (menu-bar-mode):
16547 * minibuf-eldef.el (minibuffer-electric-default-mode):
16548 * mouse-sel.el (mouse-sel-mode):
16549 * msb.el (msb-mode):
16550 * mwheel.el (mouse-wheel-mode):
16551 * outline.el (outline-minor-mode):
16552 * paren.el (show-paren-mode):
16553 * recentf.el (recentf-mode):
16554 * reveal.el (reveal-mode, global-reveal-mode):
16555 * rfn-eshadow.el (file-name-shadow-mode):
16556 * ruler-mode.el (ruler-mode):
16557 * savehist.el (savehist-mode):
16558 * scroll-all.el (scroll-all-mode):
16559 * scroll-bar.el (scroll-bar-mode):
16560 * server.el (server-mode):
16561 * shell.el (shell-dirtrack-mode):
16562 * simple.el (auto-fill-mode, transient-mark-mode)
16563 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16564 (line-number-mode, column-number-mode, size-indication-mode)
16565 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16566 * strokes.el (strokes-mode):
16567 * time.el (display-time-mode):
16568 * t-mouse.el (gpm-mouse-mode):
16569 * tool-bar.el (tool-bar-mode):
16570 * tooltip.el (tooltip-mode):
16571 * type-break.el (type-break-mode-line-message-mode)
16572 (type-break-query-mode):
16573 * view.el (view-mode):
16574 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16575 (global-whitespace-mode, global-whitespace-newline-mode):
16576 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16578 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16579 Fix autogenerated docstring.
16581 2011-10-19 Juri Linkov <juri@jurta.org>
16583 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16584 by checking environment variables "DESKTOP_SESSION" and
16585 "XDG_CURRENT_DESKTOP". (Bug#9779)
16587 2011-10-19 Juri Linkov <juri@jurta.org>
16589 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16590 (browse-url-chromium-program, browse-url-chromium-arguments):
16592 (browse-url-default-browser): Check for `browse-url-chromium' and
16593 call `browse-url-chromium-program'.
16594 (browse-url-chromium): New command. (Bug#9779)
16596 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16598 * facemenu.el (list-colors-duplicates): On Windows, detect more
16599 duplicates by assuming that only colors matching "^System" are
16600 special "system colors". (Bug#9722)
16602 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16604 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16605 to distinguish the author from the committer.
16607 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16609 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16611 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16613 * international/mule.el (sgml-html-meta-auto-coding-function):
16614 Add support for detecting encoding in HTML5 specified only as
16615 <meta charset="UTF-8">. Implementation just makes http-equiv and
16616 content-type parts from HTML4 encoding string optional. (Bug#9716)
16618 2011-10-18 Glenn Morris <rgm@gnu.org>
16620 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16622 2011-10-18 Chong Yidong <cyd@gnu.org>
16624 * faces.el (cursor): Doc fix.
16626 2011-10-17 Chong Yidong <cyd@gnu.org>
16628 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16630 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16632 * dirtrack.el (dirtrack): Support shell buffers with path
16633 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16635 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16637 * json.el: Bump version to 1.3 and note change in History.
16638 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16640 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16642 * comint.el (comint-insert-input, comint-send-input)
16643 (comint-get-old-input-default, comint-backward-matching-input)
16644 (comint-next-prompt): Use nil instead of `input' for field property of
16645 past user input (bug#114).
16647 * minibuffer.el (completion--replace): Inherit surrounding properties
16649 (minibuffer-complete-and-exit): Use it.
16651 * comint.el (comint--table-subvert): Quote the all-completions output
16654 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16656 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16658 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16659 window on right of selected. (Bug#9350) Reword other window
16660 entries and separate them from frame entries.
16662 2011-10-15 Glenn Morris <rgm@gnu.org>
16664 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16667 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16669 * net/network-stream.el (network-stream-open-starttls):
16670 Improve detection of failure due to lack of TLS support.
16672 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16673 putting the input text in front and in bold.
16675 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16677 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16679 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16682 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16683 unread-command-events rather than pushing yet-another event.
16685 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16687 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16688 the explanation of the possible choices. Make the options passed
16689 to completing-read shorter.
16691 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16693 * textmodes/flyspell.el (flyspell-large-region): Make sure
16694 extended character mode is used if defined (Bug#1339).
16696 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16698 * simple.el (what-cursor-position): Fix the display of the
16699 character info for LRE, LRO, RLE, and RLO characters by appending
16702 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16704 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16705 even in case of error; add debug spec; simplify data flow.
16706 (with-timeout-handler): Remove.
16708 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16710 Fix Bug#6019, Bug#9315.
16712 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16713 complete `buffer-file-name', the local file name part could look
16714 remotely (for example on VMS).
16716 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16717 `tramp-run-real-handler'.
16718 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16719 already quoted by '"'.
16721 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16722 Let `file-name-handler-alist' be nil, the local file name part
16723 could look remotely (for example on VMS).
16725 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16727 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16729 (flyspell-post-command-hook): ...to here.
16731 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16733 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16735 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16736 using completion. Protect against "slow" callers.
16737 Remove the "message hack".
16739 2011-10-11 Juri Linkov <juri@jurta.org>
16741 * isearch.el (isearch-lazy-highlight-word): New variable.
16742 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16745 2011-10-11 Glenn Morris <rgm@gnu.org>
16747 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16748 like f90-previous-statement does.
16750 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16752 * eshell/eshell.el (eshell-command): History should be saved
16753 only in interactive use, to avoid error.
16755 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16757 * minibuffer.el (completion-file-name-table): Fix last change,
16758 i.e. ignore normal errors but not the other ones.
16760 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16762 * window.el (special-display-buffer-names)
16763 (special-display-regexps): Remove some remnants of earlier
16764 changes from doc-strings.
16765 (quit-windows-on): New function.
16767 * vc/vc.el (vc-revert, vc-rollback):
16768 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16769 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16770 (Bug#6183) (Bug#7074) (Bug#7447)
16772 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16774 * window.el (frame-auto-hide-function): Add version tag.
16777 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16779 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16782 2011-10-09 Leo Liu <sdl.web@gmail.com>
16784 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16787 2011-10-08 Glenn Morris <rgm@gnu.org>
16789 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16790 before the first code statement zero indent. (Bug#9690)
16792 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16794 * simple.el (count-words-region): Always count in the region.
16795 Report the number of lines and characters too.
16796 (count-words): New command, which counts in the buffer if the
16797 region is inactive, as count-words-region used to.
16798 (count-words--message): New function. Handle plurals.
16799 (count-lines-region): Make it an alias for count-words-region.
16801 * bindings.el (esc-map): Replace count-lines-region with
16802 count-words-region.
16804 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16806 * window.el (window--delete): Delete dedicated frame
16807 unconditionally when argument KILL is non-nil. (Bug#9699)
16808 (switch-to-buffer): Fix doc-string typo.
16810 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16812 * eshell/eshell.el (eshell-command): Avoid using hooks.
16814 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16816 * bindings.el ([M-left],[M-right]): Bind to left-word and
16817 right-word respectively.
16819 2011-10-07 Glenn Morris <rgm@gnu.org>
16821 * cus-start.el (debug-on-quit): Fix custom type.
16823 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16825 * subr.el (define-key-after): Clarify that the function is not
16826 useful for non-menu keymaps.
16828 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16830 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16832 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16833 in current minibuffer (Fix bug with recursive minibuffers).
16835 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16837 * progmodes/gdb-mi.el (gdb): Doc fix.
16839 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16841 * window.el (frame-auto-hide-function): New option replacing
16842 frame-auto-delete. Suggested by Stefan Monnier.
16843 (window--delete): Call frame-auto-hide-function instead of
16844 investigating frame-auto-delete.
16845 (window-point-1, set-window-point-1): New functions.
16846 (window-in-direction, record-window-buffer, window-state-get-1)
16847 (display-buffer-record-window): Use window-point-1 instead of
16849 (set-window-buffer-start-and-point): Use set-window-point-1.
16851 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16853 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16855 2011-10-05 Glenn Morris <rgm@gnu.org>
16857 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16858 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16860 2011-10-05 Leo Liu <sdl.web@gmail.com>
16862 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16863 works with buffer object.
16865 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16867 * mpc.el (mpc-tool-bar-map): Add labels.
16869 2011-10-04 Glenn Morris <rgm@gnu.org>
16871 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16873 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16875 * window.el (window--delete): New function.
16876 (frame-auto-delete): Resuscitate option.
16877 (bury-buffer, replace-buffer-in-windows)
16878 (quit-window): Rewrite using window--delete.
16879 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16880 Pass display-buffer-mark-dedicated to window--display-buffer-2
16883 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16885 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16886 returns a list (bug#9554). Add remote file name completion.
16887 * comint.el (comint--table-subvert): Curry and get quote&unquote
16888 functions as arguments.
16889 (comint--complete-file-name-data): Adjust call accordingly.
16890 * pcomplete.el (pcomplete--table-subvert): Remove.
16891 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16893 * minibuffer.el (completion-table-case-fold): Use currying.
16894 (completion--styles-type, completion--cycling-threshold-type):
16896 (completion-styles, completion-category-overrides)
16897 (completion-cycle-threshold): Use them.
16898 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16899 completion-table-case-fold.
16901 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16903 * minibuffer.el (completion-category-overrides): Fix type of styles
16904 and add more user friendly tags (bug#9660).
16906 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16908 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16909 (mule-input-method-string): New widget.
16910 (default-input-method, language-info-custom-alist): Use it.
16912 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16914 * pcomplete.el: Require comint.
16915 (pcomplete--common-suffix): Remove.
16916 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16917 (pcomplete--table-subvert): Sync with comint--table-subvert.
16918 (pcomplete--entries): Use comint-completion-file-name-table.
16919 * comint.el (comint-unquote-filename): Simplify.
16920 (comint-completion-file-name-table): New function (bug#9616).
16921 (comint--complete-file-name-data): Use it.
16923 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16924 (pcmpl-gnu-tar-buffer): Remove.
16925 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16926 around. Make sure pcomplete-suffix-list is only changed temporarily.
16927 Don't look inside the tar's file if it's too large.
16929 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16931 * cus-edit.el (custom-mode-map):
16932 * epa.el (epa-key-list-mode-map):
16933 * man.el (Man-mode-map):
16934 * startup.el (splash-screen-keymap):
16935 * simple.el (special-mode-map): Use scroll-up-command and
16936 scroll-down-command.
16938 * progmodes/idlw-help.el (idlwave-help-mode-map):
16939 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16940 * net/newst-plainview.el (newsticker-mode-map):
16941 * emulation/ws-mode.el (wordstar-mode-map):
16942 * emulation/vi.el (vi-com-map):
16943 * calc/calc-graph.el (calc-graph-show-dumb):
16944 * term/sun.el (terminal-init-sun):
16945 * term/ns-win.el (global-map):
16946 * progmodes/grep.el (grep-mode-map):
16947 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16948 * mail/rmail.el (rmail-mode-map):
16949 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16951 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16952 custom-safe-themes as special.
16954 2011-10-01 Julien Danjou <julien@danjou.info>
16956 * notifications.el (notifications-notify): Fix docstring.
16958 2011-10-01 Per Starbäck <per@starback.se>
16960 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16962 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16964 * startup.el (command-line-1): Fix last fix by inserting
16965 initial-scratch-message into *scratch* before displaying it.
16966 (Bug#9605) and (Bug#9636)
16968 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16970 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16971 window is hscrolled, move by logical lines. (Bug#9607)
16972 (line-move-visual): Update the doc string to the above effect.
16974 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16976 * window.el (display-buffer-record-window): When WINDOW is the
16977 selected window use `point' instead of `window-point'. (Bug#9626)
16979 * startup.el (command-line-1): Use insert-before-markers when
16980 inserting initial-scratch-message. (Bug#9605)
16982 * help.el (help-window): Remove variable.
16984 2011-09-29 Glenn Morris <rgm@gnu.org>
16986 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16988 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16990 * descr-text.el (describe-char-categories): Accept category
16991 descriptions more than one line long.
16993 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16995 * simple.el (delete-trailing-whitespace): Fix last change.
16997 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16998 Don't confuse "y => 3" as the beginning of a `y' operation.
17000 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17001 object has more than 4 slots (bug#9613).
17003 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17005 * subr.el (with-output-to-temp-buffer):
17006 * net/quickurl.el (quickurl, quickurl-browse-url):
17007 Fix typos in docstrings.
17009 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17011 * minibuffer.el (completion-styles)
17012 (completion-category-overrides): Cross reference each other in doc
17015 2011-09-27 Glenn Morris <rgm@gnu.org>
17017 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17018 to split-string. (Bug#9606)
17020 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17022 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17025 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17027 * emacs-lisp/package.el (list-packages): Fix echo area message.
17029 2011-09-27 Leo Liu <sdl.web@gmail.com>
17031 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17033 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17035 * net/dbus.el (dbus-unregister-object): Don't release services for
17036 registered signals. (Bug#9581)
17038 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17040 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17041 function that picks between cfengine 2 and 3 support
17042 automatically. Update docs accordingly.
17044 2011-09-22 Kenichi Handa <handa@m17n.org>
17046 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17048 (indian-itrans-v5-table-for-tamil): New variable.
17049 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17051 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17053 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17054 that's true if the current command involved collapsing of text.
17055 It's reset to false at the beginning of the next command.
17056 (allout-post-command-business): Move the cursor to the beginning
17057 of entry if the cursor is hidden and collapsing activity just
17060 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17062 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17063 tracking (Bug#9541).
17065 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17067 * net/newst-reader.el (newsticker-html-renderer)
17068 (newsticker-show-news): Automatically load html rendering package
17069 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17070 because w3m-fill-column is let-bound" and the error "Symbol's value
17071 as variable is void: w3m-fill-column".
17073 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17075 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17076 Release services only if they are defined. (Bug#9581)
17078 2011-09-23 Richard Stallman <rms@gnu.org>
17080 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17081 distinguish start of paragraph from start of its text.
17083 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17085 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17086 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17087 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17089 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17091 * international/mule-diag.el (mule-diag): Insert a newline after
17092 each fontset description.
17094 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17096 * simple.el (delete-trailing-whitespace):
17097 Document last change; simplify.
17099 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17101 * simple.el (delete-trailing-whitespace): Also delete
17102 extra newlines at the end of the buffer.
17104 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17105 (picture-newline): Use forward-line so as to ignore fields.
17107 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17109 * subr.el (with-wrapper-hook): Fix edebug spec.
17111 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17113 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17116 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17118 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17119 Fix nasty bug using wrong cached values.
17121 2011-09-23 Alan Mackenzie <acm@muc.de>
17123 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17125 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17127 * window.el (pop-to-buffer): Ensure right window is selected if we
17128 chose another frame.
17130 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17132 * simple.el (what-cursor-position): Use get-char-property-change
17133 and next-single-char-property-change, to be able to show display
17134 properties that come from overlays as well as text properties.
17136 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17138 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17140 * cmuscheme.el (run-scheme, switch-to-scheme):
17141 * cus-edit.el (customize-group, custom-buffer-create)
17142 (customize-browse):
17144 * shell.el (shell):
17145 * mail/sendmail.el (mail):
17146 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17148 2011-09-22 Richard Stallman <rms@gnu.org>
17150 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17151 move back only to line beg, don't move back over blank lines.
17153 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17155 * files.el (copy-directory): Set directory attributes only in case
17156 they could be retrieved from the source directory. (Bug#9565)
17158 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17160 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17161 (hs-find-block-beginning, hs-hide-level-recursive):
17162 Ignore strings as well as comments. (Bug#9502)
17164 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17166 * progmodes/sql.el (sql-comint-postgres):
17167 Convert port number to a string. (Bug#9566)
17169 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17171 * window.el (quit-window): Undedicate window when switching to
17172 previous buffer. Reported by Thierry Volpiatto
17173 <thierry.volpiatto@gmail.com>.
17174 (special-display-popup-frame): When popping up a new frame reset
17175 its previous buffers to nil. Simplify code.
17177 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17179 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17180 and process filter, as done also in `shell-command'.
17182 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17184 * window.el (set-window-buffer-start-and-point):
17185 Call set-window-start with NOFORCE argument t.
17186 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17187 (quit-window): Reword doc-string. Handle new format of
17188 quit-restore parameter. Don't delete window if it has a
17189 previous buffer we can show instead of the present one.
17190 (display-buffer-record-window): Rewrite using a new format for
17191 the quit-restore window parameter
17192 (special-display-popup-frame, display-buffer-same-window)
17193 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17194 (display-buffer-pop-up-window, display-buffer-use-some-window):
17195 Adapt symbol passed to display-buffer-record-window.
17196 * help.el (help-window-setup): Handle new format of quit-restore
17199 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17201 * faces.el (face-list): Fix docstring (bug#9564).
17203 * window.el (display-buffer--action-function-custom-type):
17204 Don't include internal functions in the Custom interface.
17206 2011-09-20 Juri Linkov <juri@jurta.org>
17208 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17209 (Info-forward-node, Info-backward-node, Info-next-preorder)
17210 (Info-last-preorder): Use it. (Bug#9528)
17212 2011-09-20 Juri Linkov <juri@jurta.org>
17214 * info.el (Info-last-preorder): Visit last menu item only when
17215 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17217 2011-09-20 Julien Danjou <julien@danjou.info>
17219 * password-cache.el (password-cache-remove): Remove entries even if the
17220 value is nil, so that password with a nil value (negative caching) is
17221 possible to invalidate.
17223 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17225 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17226 all whitespace around breakpoint. (Bug#9553)
17227 (f90-find-breakpoint): Only break at whitespace inside a comment.
17229 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17231 * minibuffer.el (completion-file-name-table): Keep track of errors.
17232 (completion-table-with-predicate): Handle the case where pred1 is nil.
17233 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17235 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17237 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17238 (debugger-return-value): Signal an error if the debugging context does
17239 not await any return value.
17241 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17242 * image-mode.el (image-toggle-display-text)
17243 (image-toggle-display-image): Stay away from evil `intangible'.
17245 2011-09-19 Leo Liu <sdl.web@gmail.com>
17247 * replace.el (occur-revert-arguments): Make it permanent-local.
17248 (occur-mode): Don't call font-lock-defontify.
17250 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17252 * net/ldap.el (ldap-search-internal): Don't push empty search
17255 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17257 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17259 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17261 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17262 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17264 2011-09-18 Juri Linkov <juri@jurta.org>
17266 * buff-menu.el (Buffer-menu-mode-map):
17267 * dired.el (dired-mode-map):
17268 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17269 (lisp-interaction-mode-map):
17270 * emacs-lisp/package.el (package-menu-mode-map):
17271 * epa.el (epa-key-list-mode-map):
17272 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17273 (menu-bar-options-menu):
17274 * outline.el (outline-mode-menu-bar-map):
17275 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17276 * vc/vc-dir.el (vc-dir-menu-map):
17277 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17278 Capitalize non-function content words in menu item strings.
17280 * dired.el (dired-mode-map): Add menu item for
17281 `image-dired-dired-toggle-marked-thumbs'.
17283 2011-09-18 Juri Linkov <juri@jurta.org>
17285 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17286 to `isearch-case-fold-search' and restore its original value
17287 after the `isearch-mode' call.
17289 2011-09-18 Juri Linkov <juri@jurta.org>
17291 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17292 because `zgrep' returns 1 for successful matches (bug#9226).
17294 2011-09-18 Juri Linkov <juri@jurta.org>
17296 * info.el (Info-extract-menu-node-name): Check the second match
17297 for empty string (second test-case of bug#9528).
17298 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17299 intermediate nodes to the history (first test-case of bug#9528).
17301 2011-09-18 Juri Linkov <juri@jurta.org>
17303 * info.el (Info-mode-syntax-table): New variable.
17304 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17306 2011-09-18 Juri Linkov <juri@jurta.org>
17308 * info.el (Info-file-supports-index-cookies):
17309 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17310 outputs one more line for long file names (bug#4142).
17312 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17314 * newcomment.el (comment-normalize-vars): If prompting for
17315 comment-start, set comment-start-skip too (Bug#8424).
17317 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17319 * icomplete.el: Fix previous fix of Bug#5849.
17320 (icomplete-mode): Don't set completion-show-inline-help.
17321 (icomplete-minibuffer-setup): Set completion-show-inline-help
17322 locally during icompletion.
17324 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17326 * woman.el (woman2-process-escapes): Don't delete unrecognized
17327 escapes (Bug#7843).
17329 * files.el (inhibit-first-line-modes-regexps): Add image files.
17330 (hack-local-variables-prop-line): Return nil for malformed
17331 prop-lines (Bug#9044).
17333 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17335 * net/tramp.el (top): Don't require 'shell.
17336 (tramp-methods): Fix docstring.
17337 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17338 Return complete remote file name. Handle "smb" case.
17339 Use `tramp-tmpdir', if defined for the respective method.
17340 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17342 * net/tramp-compat.el (top): Require 'shell.
17344 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17345 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17346 `tramp-current-host'.
17347 (tramp-get-remote-tmpdir): Remove.
17349 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17350 `tramp-tmpdir' entries.
17351 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17352 (tramp-smb-handle-file-attributes): Ignore errors.
17353 (tramp-smb-wait-for-output): Check also for process end.
17355 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17357 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17358 when sending QUIT (bug#9312).
17360 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17362 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17363 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17364 occur-mode-display-occurrence.
17365 (occur-edit-mode): Add usage message.
17366 (occur-cease-edit): New command.
17367 (occur-after-change-function): Use text properties to find the
17368 position of the prefix text.
17369 (occur-engine): Set stickiness of prefix text properties.
17371 2011-09-17 Glenn Morris <rgm@gnu.org>
17373 * progmodes/etags.el (complete-tag):
17374 Fix call to completion-in-region. (Bug#9526)
17376 2011-09-17 Juri Linkov <juri@jurta.org>
17378 * textmodes/ispell.el (ispell-word): Add to the error message
17379 the word, ispell program name and current dictionary (bug#9121).
17380 (ispell-tex-arg-end): Capitalize "error" in the error message.
17382 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17384 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17387 2011-09-17 Juri Linkov <juri@jurta.org>
17389 * window.el (window-safe-min-height, window-safe-min-width):
17390 Fix typos (followup to bug#9522).
17392 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17394 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17396 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17398 * simple.el (line-move): If goal-column is set, move by logical
17399 lines, not by display lines. (Bug#971)
17400 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17401 to reflect the above change.
17403 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17405 * image.el (imagemagick-register-types): Use regexp-opt.
17407 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17409 * window.el (display-buffer-base-action): Rename from
17410 display-buffer-default-action. Make default value empty.
17411 (display-buffer-overriding-action): Convert to defvar.
17412 (display-buffer-fallback-action): New var.
17414 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17416 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17418 (package--add-to-archive-contents): If there is a duplicate entry
17419 with an older version, remove it.
17420 (package-menu-mark-delete, package-menu-mark-install)
17421 (package-menu-mark-unmark): Make unused args optional.
17422 (package-menu-mark-obsolete-for-deletion):
17423 Use package-menu-get-status instead of a regexp search.
17424 (package-menu-get-status): Use tabulated-list-entry.
17425 (package-menu-mark-upgrades): New command.
17426 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17427 (package-menu-execute): Do installation before deletion.
17428 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17429 instead of checking major-mode.
17430 (package-menu--find-upgrades): New function.
17432 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17434 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17435 passwords in the log buffer.
17436 (smtpmail-process-filter): Update the process marker so that the
17437 "broken by peer" status message is inserted in the right place.
17439 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17441 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17442 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17443 bibtex-completion-at-point-function.
17444 (bibtex-completion-at-point-function): Use them.
17446 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17448 * mpc.el (mpc-constraints-tag-lookup): New function.
17449 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17450 also to browser "album|playlist".
17452 2011-09-14 Juri Linkov <juri@jurta.org>
17454 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17455 (isearch-edit-string): Use length of `isearch-string' when
17456 `isearch-fail-pos' returns nil.
17457 (isearch-message): Remove duplicate code and call
17458 `isearch-fail-pos' with arg `t'.
17460 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17462 * replace.el (occur-mode-goto-occurrence): Don't force using other
17465 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17467 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17469 * window.el (display-buffer-window): Remove.
17470 (display-buffer-record-window): Use help-setup window parameter
17471 instead of variable display-buffer-window.
17472 (display-buffer-function, special-display-buffer-names)
17473 (special-display-function): Mention help-setup parameter instead
17474 of display-buffer-window in doc-string.
17475 * help.el (help-window-setup): New argument help-window.
17476 Use help-window-setup parameter instead of display-buffer-window.
17477 Reword some messages.
17478 (with-help-window): Pass window used for displaying the buffer
17479 to help-window-setup. Don't set display-buffer-window.
17481 2011-09-13 Glenn Morris <rgm@gnu.org>
17483 * emacs-lisp/debug.el (debugger-make-xrefs):
17484 Preserve point. (Bug#9462)
17486 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17488 * window.el (window-deletable-p): Use next-frame.
17490 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17492 * window.el (window-auto-delete): Remove.
17493 (window-deletable-p): Remove argument FORCE. Don't deal with
17494 dedication and previous buffers.
17495 (switch-to-prev-buffer): Don't delete window.
17496 (delete-windows-on): Delete a window's frame if and only if the
17497 window is dedicated.
17498 (replace-buffer-in-windows): Delete buffer's window or frame if
17499 and only if window is dedicated.
17500 (quit-window): Handle quit-restore as before last change.
17501 (bury-buffer): Delete window only if window-deletable-p returns t.
17503 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17505 * window.el (window-deletable-p): Never delete the last frame on a
17508 2011-09-13 Glenn Morris <rgm@gnu.org>
17510 * help.el (describe-key-briefly): Copy previous standard-output change.
17512 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17514 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17516 2011-09-13 Glenn Morris <rgm@gnu.org>
17518 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17519 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17521 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17523 * dired-aux.el (dired-mark-read-string): Don't return default
17524 value on empty input (Bug#9361).
17525 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17526 Omit initial minibuffer contents.
17527 (dired-do-chmod): Signal an error on empty input.
17528 (dired-mark-read-string): Don't return default on empty input.
17530 * files.el (file-modes-symbolic-to-number): Doc fix.
17532 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17534 * international/mule-cmds.el (ucs-completions): Remove.
17535 (read-char-by-name): Use complete-with-action instead; add metadata.
17537 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17539 * window.el (display-buffer--action-function-custom-type)
17540 (display-buffer--action-custom-type): New vars.
17541 (display-buffer-alist, display-buffer-default-action)
17542 (display-buffer-overriding-action): Add defcustom types.
17544 * frame.el (delete-other-frames): Doc fix (Bug#276).
17546 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17548 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17550 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17552 Change modes that used same-window-* vars to use switch-to-buffer.
17554 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17555 Use switch-to-buffer.
17557 * cus-edit.el (customize-group, custom-buffer-create)
17558 (customize-browse, custom-buffer-create-other-window):
17559 Use switch-to-buffer or switch-to-buffer-other-window.
17561 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17562 (Info-prev, Info-up, Info-speedbar-goto-node)
17563 (info-display-manual): Use switch-to-buffer.
17564 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17566 * mail/sendmail.el (mail): Use switch-to-buffer.
17567 (mail-recover): Use switch-to-buffer-other-window.
17569 * cmuscheme.el (run-scheme, switch-to-scheme):
17571 * shell.el (shell):
17572 * net/rlogin.el (rlogin):
17573 * net/telnet.el (telnet, rsh):
17574 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17576 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17578 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17580 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17582 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17583 so don't mention it (bug#9301).
17584 (dired-sort-toggle-or-edit): Clarify string further.
17586 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17587 match `x', `w32' and `ns', like the manual says (bug#9029).
17589 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17590 (process-kill-buffer-query-function): Mention the buffer name in
17593 * image-mode.el (image-next-line): The line parameter is mandatory
17596 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17597 which can be useful (bug#9301).
17599 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17601 * subr.el (match-string): Mention that the current buffer should
17602 be the same as the search was done in (bug#9282).
17604 * facemenu.el: Disable the remove-* commands if the mark isn't
17607 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17609 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17611 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17613 * replace.el (occur-mode-goto-occurrence)
17614 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17615 and display-buffer.
17617 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17620 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17621 special-display and same-window variables.
17622 (mail-other-window): Use switch-to-buffer-other-window.
17623 (mail-other-frame): USe switch-to-buffer-other-frame.
17625 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17626 Use display-buffer-other-frame.
17627 (gdb-display-gdb-buffer): Use pop-to-buffer.
17629 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17631 * progmodes/python.el: Don't set same-window-buffer-names.
17633 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17635 * window.el (display-buffer-alist): Add *Python*.
17637 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17639 * window.el (display-buffer-alist): Add entry for buffers
17640 previously handled same-window-*.
17641 (display-buffer-alist, display-buffer-default-action)
17642 (display-buffer-overriding-action): Mark as risky.
17643 (display-buffer-alist): Document action function changes.
17644 (display-buffer--same-window-action)
17645 (display-buffer--other-frame-action): New variables.
17646 (switch-to-buffer, display-buffer-other-frame): Use them.
17647 (display-buffer): Rename reuse-frame entry to reusable-frames.
17648 (display-buffer-reuse-selected-window): Function deleted.
17649 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17650 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17651 (display-buffer-special): New function.
17652 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17653 display-buffer-reuse-or-pop-window. Split off special-display
17654 part into display-buffer-special.
17655 (display-buffer-use-some-window): Don't perform any special
17656 pop-up-frames handling.
17657 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17658 (display-buffer--maybe-same-window): Rename from
17659 display-buffer-maybe-same-window.
17661 * info.el: Don't set same-window-regexps.
17662 (info-setup): New function.
17663 (info-other-window, info): Call it.
17665 * cus-edit.el: Don't set same-window-regexps.
17666 (customize-group): New argument.
17667 (customize-group-other-window): Use it.
17668 (customize-face, customize-face-other-window): Likewise.
17669 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17673 * progmodes/gud.el: Don't set same-window-regexps.
17678 * mail/sendmail.el:
17679 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17681 2011-09-10 Juri Linkov <juri@jurta.org>
17683 * isearch.el (isearch-edit-string): Remove obsolete mention of
17684 `C-w' (`isearch-yank-word-or-char') from docstring.
17685 (isearch-query-replace): Fix typo in docstring (bug#9466).
17687 2011-09-10 Juri Linkov <juri@jurta.org>
17689 * paren.el (show-paren-function): Don't show escaped parens.
17690 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17692 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17694 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17695 (mm-default-file-encoding): Remove autoload forms, they are
17696 replaced with autoload cookies in mml.el and mm-encode.el.
17697 (mail-add-attachment): New command.
17698 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17699 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17701 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17703 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17705 * simple.el (count-words-region): Use buffer if there's no region
17708 2011-09-09 Juri Linkov <juri@jurta.org>
17710 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17711 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17712 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17714 2011-09-09 Alan Mackenzie <acm@muc.de>
17716 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17717 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17719 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17721 Fix for Savannah bug#9392.
17722 * simple.el (mail-encode-mml): New defvar.
17724 * mail/rmail.el (mail-encode-mml): Add a defvar.
17725 (rmail-enable-mime-composing): Default to t.
17726 (rmail-forward): Use MIME method of forwarding only if both
17727 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17728 Set mail-encode-mml non-nil if the MIME method was used.
17730 * mail/sendmail.el (mml-to-mime): Add autoload form.
17731 (mail-encode-mml): Add a defvar.
17732 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17734 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17735 message through mml-to-mime, and reset mail-encode-mml to nil.
17737 2011-09-09 Glenn Morris <rgm@gnu.org>
17739 * woman.el (woman-if-body): When processing an .el block,
17740 do not delete the next .el block as well. (Bug#9447)
17741 (woman-special-characters): Add oq, cq, and hy characters.
17743 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17745 * window.el (window-deletable-p): Make sure window is live before
17746 invoking window-prev-buffers.
17748 2011-09-08 Leo Liu <sdl.web@gmail.com>
17750 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17752 2011-09-08 Juri Linkov <juri@jurta.org>
17754 * progmodes/compile.el (compilation-environment): Make it
17755 a defcustom (bug#8340).
17757 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17759 * window.el (frame-auto-delete): Rename to window-auto-delete.
17760 Make it control auto-deletion of windows and/or frames.
17761 (window-deletable-p): New argument FORCE. Rewrite conditions
17762 for deleting window/frame. (Bug#9419)
17763 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17764 Rewrite handling of case when window/frame can be deleted.
17765 (delete-windows-on): Call window-deletable-p with new FORCE
17766 argument t. (Bug#9456)
17768 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17770 * help-mode.el (help-mode): Restore autoload.
17772 2011-09-07 Juri Linkov <juri@jurta.org>
17774 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17775 `compilation-environment'. Set buffer-local
17776 `compilation-environment' to `thisenv' later after (funcall mode).
17779 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17780 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17781 instead of replacing its value. (Bug#8340)
17783 2011-09-07 Juri Linkov <juri@jurta.org>
17785 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17786 based on text properties put by `grep-filter' instead of matching
17788 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17789 to the value of `grep-error-screen-columns' (bug#9438).
17791 2011-09-07 Juri Linkov <juri@jurta.org>
17793 * simple.el (next-error-highlight, next-error-highlight-no-select):
17794 Doc fix (bug#9432).
17796 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17798 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17799 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17801 2011-09-07 Leo Liu <sdl.web@gmail.com>
17803 * net/rcirc.el (rcirc-mode): Conditionally initialize
17806 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17808 * emacs-lisp/find-func.el (find-function-C-source): Only set
17809 find-function-C-source-directory after checking that we found a source
17810 file there (bug#9440).
17812 2011-09-06 Alan Mackenzie <acm@muc.de>
17814 * isearch.el (isearch-other-meta-char): Wherever a key list is
17815 unread, "unread" the prefix arg, too. This fixes bug #8901.
17817 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17819 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17821 2011-09-05 Juri Linkov <juri@jurta.org>
17823 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17825 2011-09-05 Juri Linkov <juri@jurta.org>
17827 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17828 keeping point where processing of grep matches begins, and
17829 continue to delete remaining escape sequences from the same point.
17830 (grep-filter): Make leading zero optional in "0?1;31m" because
17831 git-grep emits "\033[1;31m" escape sequences unlike expected
17832 "\033[01;31m" as GNU Grep does (bug#9408).
17833 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17835 2011-09-05 Juri Linkov <juri@jurta.org>
17837 * subr.el (y-or-n-p): Capitalize "yes".
17839 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17841 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17842 `tramp-cache-unload-hook' where appropriate.
17843 (tramp-methods): Rename `tramp-remote-sh' to
17844 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17845 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17847 * net/tramp-sh.el (top): Don't require 'shell.
17848 (tramp-methods): Add `tramp-remote-shell' and
17849 `tramp-remote-shell-args' entries.
17850 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17851 (tramp-sh-handle-shell-command): Remove.
17852 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17853 Use `tramp-remote-shell'.
17855 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17857 * mail/sendmail.el (sendmail-query-once-function): Delete.
17858 (sendmail-query-once): Save directly to send-mail-function.
17859 Update message-send-mail-function too.
17861 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17863 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17865 * progmodes/python.el (python-mode-map): Use correct function to
17866 start python interpreter from menu-bar (as reported by Geert
17868 (inferior-python-mode-map): Fix typo.
17869 (python-shell-map): Remove.
17871 2011-09-03 Deniz Dogan <deniz@dogan.se>
17873 * net/rcirc.el (rcirc-print): Simplify code for
17874 rcirc-scroll-show-maximum-output. There is no need to walk
17875 through all windows to find the right one.
17877 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17879 * help.el (help-return-method): Doc fix.
17881 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17883 * window.el (window-deletable-p): Don't return a non-nil value
17884 when there's a buffer that was shown in the window before.
17886 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17887 Set window's previous buffers to nil.
17889 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17891 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17892 newline before and after the tag line, so it doesn't interfere
17893 with determining the paragraph direction of bidirectional text.
17895 2011-09-03 Leo Liu <sdl.web@gmail.com>
17897 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17899 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17901 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17902 (pop-to-buffer): Change interactive spec. Pass second argument
17903 directly to display-buffer.
17904 (display-buffer): Fix interactive spec. Use functionp to
17905 distinguish between a function and a list of functions.
17907 * abbrev.el (edit-abbrevs):
17908 * arc-mode.el (archive-extract):
17909 * autoinsert.el (auto-insert):
17910 * bookmark.el (bookmark-bmenu-list):
17911 * files.el (find-file):
17912 * view.el (view-buffer):
17913 * progmodes/compile.el (compilation-goto-locus):
17914 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17916 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17918 * window.el (display-buffer-alist): Doc fix.
17919 (display-buffer): Add docstring. Don't treat
17920 display-buffer-default specially.
17921 (display-buffer-reuse-selected-window)
17922 (display-buffer-same-window, display-buffer-maybe-same-window)
17923 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17924 (display-buffer-pop-up-window)
17925 (display-buffer-reuse-or-pop-window)
17926 (display-buffer-use-some-window): New functions.
17927 (display-buffer-default-action): Use them.
17928 (display-buffer-default): Delete.
17929 (pop-to-buffer-1): Fix choice of actions.
17931 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17933 * minibuffer.el (completion--insert-strings): Don't get confused by
17934 completion entries that end with an LF char.
17936 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17938 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17940 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17942 * window.el (display-buffer): Restore interactive spec.
17943 (display-buffer-same-window, display-buffer-other-window):
17945 (pop-to-buffer-1): New function. Use the above.
17946 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17947 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17949 * view.el (view-buffer-other-window, view-buffer-other-frame):
17950 Just use pop-to-buffer.
17952 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17954 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17956 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17958 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17960 2011-08-31 Richard Stallman <rms@gnu.org>
17962 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17963 of the separation of rmail-view-buffer from rmail-buffer.
17964 If you say no to "replace original", the decrypt is in the
17965 view buffer. If you say yes, the decrypt goes into the
17968 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17970 * window.el (display-buffer-window): Rewrite doc-string.
17971 (display-buffer-record-window): New function.
17972 (display-buffer-macro-specifiers)
17973 (display-buffer-even-window-sizes, display-buffer-set-height)
17974 (display-buffer-set-width, display-buffer-in-window)
17975 (display-buffer-reuse-window, display-buffer-split-specifiers)
17976 (display-buffer-side-specifiers, display-buffer-split-window-1)
17977 (display-buffer-split-window, display-buffer-split-atom-window)
17978 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17979 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17980 (display-buffer-other-window-means-other-frame)
17981 (display-buffer-normalize-special)
17982 (display-buffer-normalize-default)
17983 (display-buffer-normalize-argument)
17984 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17985 (display-buffer-normalize-specifiers, display-buffer-frame)
17986 (display-buffer-same-window, display-buffer-same-frame)
17987 (display-buffer-other-window)
17988 (display-buffer-same-frame-other-window)
17989 (display-buffer-other-frame, pop-to-buffer-same-window)
17990 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17991 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17992 (switch-to-buffer-same-frame)
17993 (switch-to-buffer-other-window-same-frame)
17994 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17995 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17996 (display-buffer-alist-set): Remove.
17997 (display-buffer-function, special-display-buffer-names)
17998 (special-display-regexps, special-display-function):
17999 In doc-string refer to display-buffer-window and quit-restore
18001 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18002 (special-display-frame-alist, special-display-popup-frame)
18003 (same-window-buffer-names, same-window-regexps, same-window-p)
18004 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18005 (split-window-preferred-function, split-height-threshold)
18006 (split-width-threshold, window-splittable-p)
18007 (split-window-sensibly, window--try-to-split-window)
18008 (window--frame-usable-p, even-window-heights)
18009 (window--even-window-heights, window--display-buffer-1)
18010 (window--display-buffer-2, display-buffer-other-frame):
18011 Restore old Emacs 23 code, order and doc-strings where applicable.
18012 (display-buffer-default, display-buffer-assq-regexp): New functions.
18013 (display-buffer-alist): Rewrite doc-string.
18014 (display-buffer-default-action)
18015 (display-buffer-overriding-action): New variables.
18016 (display-buffer, switch-to-buffer): Rewrite.
18017 (pop-to-buffer): Restore Emacs 23 behavior but use
18018 window-normalize-buffer-to-display.
18019 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18020 Restore Emacs 23 behavior but use
18021 window-normalize-buffer-to-switch-to.
18022 (pop-to-buffer-same-window): Rewrite.
18023 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18024 Rewrite using Emacs 23 options.
18026 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18028 * net/tramp.el (tramp-root-regexp): Remove.
18029 (tramp-completion-file-name-regexp-unified)
18030 (tramp-completion-file-name-regexp-separate)
18031 (tramp-completion-file-name-regexp-url): Don't use leading volume
18032 letter on w32 systems. (Bug#5303, Bug#9311)
18033 (tramp-drop-volume-letter): Simplify definition.
18034 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18036 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18038 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18041 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18043 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18045 2011-08-29 Juri Linkov <juri@jurta.org>
18047 * isearch.el (isearch-done): Don't display message "Mark saved"
18048 when arg `edit' is non-nil to prevent its flicker in the echo area.
18050 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18052 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18053 obsolete packages for deletion.
18055 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18057 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18058 (help-mode): Derive help-mode from special-mode. Don't invoke
18059 view-mode from help-mode.
18060 (help-xref-override-view-map): Remove.
18061 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18062 view-mode is not used anymore.
18064 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18066 * server.el (server-port): Doc fix.
18068 * cus-theme.el (custom-theme-choose-mode): Inherit from
18069 special-mode (Bug#9124).
18070 (custom-theme-choose-mode-map): Add special-mode to parent.
18072 2011-08-28 Alan Mackenzie <acm@muc.de>
18074 * progmodes/cc-fonts.el
18075 (c-make-font-lock-BO-decl-search-function): New function.
18076 (c-basic-matchers-after - "Fontify the clauses after various
18077 keywords"): Extract the three keyword lists for the 3 erroneous
18078 constructs from the list of four, and use the new function above
18079 in place of an old one.
18081 2011-08-28 Deniz Dogan <deniz@dogan.se>
18083 * net/rcirc.el (rcirc-insert-prev-input)
18084 (rcirc-insert-next-input): Remove unused argument.
18086 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18088 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18090 2011-08-27 Alan Mackenzie <acm@muc.de>
18092 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18093 handle function pointer parameters properly.
18095 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18097 * window.el (display-buffer-reuse-window): Fix case where
18098 selected window was reused with non-nil OTHER-WINDOW argument.
18101 2011-08-27 Deniz Dogan <deniz@dogan.se>
18103 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18104 oftc's NickServ messages.
18106 2011-08-27 Glenn Morris <rgm@gnu.org>
18108 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18110 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18112 * emacs-lisp/package.el (package-install): Call package-initialize
18113 if called interactively.
18115 2011-08-26 Leo Liu <sdl.web@gmail.com>
18117 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18119 2011-08-25 Juri Linkov <juri@jurta.org>
18121 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18122 `search-whitespace-regexp' (bug#9364).
18124 2011-08-25 Juri Linkov <juri@jurta.org>
18126 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18127 `regexp-search-ring' to their global values to protect from
18128 updating by `read-from-minibuffer' (bug#9185).
18130 2011-08-25 Juri Linkov <juri@jurta.org>
18132 * textmodes/ispell.el (ispell-command-loop): Add newline
18133 at the end of the "Use option `i'..." line.
18135 2011-08-25 Juri Linkov <juri@jurta.org>
18137 * battery.el (display-battery-mode): If `battery-status-function'
18138 or `battery-mode-line-format' is nil, display the message and set
18139 `display-battery-mode' to nil (bug#9363).
18141 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18143 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18144 bidi-string-mark-left-to-right; they are unnecessary now.
18146 2011-08-25 Deniz Dogan <deniz@dogan.se>
18148 * net/quickurl.el: Documentation typo fixes.
18150 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18152 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18154 2011-08-25 Glenn Morris <rgm@gnu.org>
18156 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18158 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18159 (smtpmail-via-smtp): Handle nil response from smtp.
18161 2011-08-24 Juri Linkov <juri@jurta.org>
18163 * proced.el (proced-marked): Inherit from `error' instead of
18164 `font-lock-warning-face'.
18166 * ibuffer.el (ibuffer-marked-face): Change default face from
18167 `font-lock-warning-face' to `warning'.
18168 (ibuffer-deletion-face): Change default face from
18169 `font-lock-type-face' to `error'.
18171 * battery.el (battery-update): Use the face `error' instead of
18172 `font-lock-warning-face' (bug#6117).
18174 2011-08-24 Juri Linkov <juri@jurta.org>
18176 * faces.el (success): Change face color from "Green3" to
18177 "ForestGreen" on light background (bug#9353).
18179 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18181 * window.el (quit-window): Rename from quit-restore-window.
18182 Use same arglist as old quit-window.
18183 (frame-auto-delete): Doc fix.
18185 * view.el (view-mode-exit): Use quit-window.
18187 2011-08-24 Juri Linkov <juri@jurta.org>
18189 * isearch.el (isearch-ring-adjust1): Start visiting previous
18190 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18191 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18192 for empty search string (when the last search string is reused
18193 automatically) to adjust the isearch ring to the last element and
18194 prepare the correct index for further M-p commands (bug#9185).
18196 2011-08-24 Kenichi Handa <handa@m17n.org>
18198 * international/ucs-normalize.el: If decomposition property of
18199 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18201 (nfd, nfkd): Likewise.
18203 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18205 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18206 from process filters aren't reliably transmitted to the surrounding
18207 accept-process-output.
18208 (mpc-proc-check): New function.
18209 (mpc-proc-sync): Use it (bug#8293)
18211 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18213 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18214 Add compatibility functions (bug#9313).
18216 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18218 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18220 * international/uni-bidi.el: Regenerate.
18222 2011-08-23 Kenichi Handa <handa@m17n.org>
18224 * international/charprop.el:
18225 * international/uni-bidi.el:
18226 * international/uni-category.el:
18227 * international/uni-combining.el:
18228 * international/uni-comment.el:
18229 * international/uni-decimal.el:
18230 * international/uni-decomposition.el:
18231 * international/uni-digit.el:
18232 * international/uni-lowercase.el:
18233 * international/uni-mirrored.el:
18234 * international/uni-name.el:
18235 * international/uni-numeric.el:
18236 * international/uni-old-name.el:
18237 * international/uni-titlecase.el:
18238 * international/uni-uppercase.el: Regenerate.
18240 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18242 * help.el (help-window-setup): Fix message displayed when other
18243 window is reused. (Bug#9341)
18245 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18247 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18248 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18250 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18252 * shell.el (shell-parse-pcomplete-arguments): New function.
18253 (shell-completion-vars): Use it instead (bug#9160).
18255 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18257 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18258 strings and comments (bug#9333).
18260 * emacs-lisp/debug.el (debug-arglist): New function.
18261 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18262 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18264 2011-08-22 Juri Linkov <juri@jurta.org>
18266 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18267 Revert regexp that highlights output switches to its old
18268 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18270 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18271 to check for empty output (bug#9226).
18273 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18275 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18276 symbol-constituent as the default, as that stops font-lock from
18277 working properly (Bug#8843).
18279 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18281 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18282 `coding-system-for-*' around the process open call to avoid
18283 auth-source side effects.
18284 (smtpmail-try-auth-methods): Expand the secret password.
18285 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18288 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18290 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18292 * emacs-lisp/find-func.el (find-function-noselect): New arg
18295 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18296 signal an error for built-in functions (Bug#6664).
18298 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18300 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18301 (smtpmail-try-auth-methods): Use it.
18303 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18305 * font-lock.el (font-lock-fontify-region)
18306 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18307 (font-lock-default-unfontify-buffer)
18308 (font-lock-default-fontify-region)
18309 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18311 * progmodes/compile.el (compilation-error-properties):
18312 Fix confusion between file struct and message struct (Bug#9319).
18313 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18316 * net/browse-url.el (browse-url-firefox): Don't call
18317 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18319 2011-08-20 Glenn Morris <rgm@gnu.org>
18321 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18323 * tutorial.el (tutorial--default-keys): Update some default bindings.
18325 * files.el (hack-local-variables): Fully ignore case for "mode:".
18327 2011-08-20 Alan Mackenzie <acm@muc.de>
18329 Resolve invalid use of a regexp in regexp-opt.
18331 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18332 detection for a java annotation.
18334 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18335 detection for a java annotation.
18337 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18339 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18341 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18343 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18346 2011-08-20 Alan Mackenzie <acm@muc.de>
18348 Fontify CPP expressions correctly when starting in the middle of
18349 such a construct. Mainly for when jit-lock etc. starts a chunk
18352 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18354 (c-make-font-lock-search-form): New function, extracted from
18355 c-make-font-lock-search-function.
18356 (c-make-font-lock-search-function): Use the above function.
18357 (c-make-font-lock-context-search-function): New function.
18358 (c-cpp-matchers): Enhance the preprocessor expression case with
18360 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18361 which takes an expression.
18363 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18365 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18367 * window.el (display-buffer-reuse-window)
18368 (display-buffer-pop-up-window): Don't reuse or split a side
18371 2011-08-19 Glenn Morris <rgm@gnu.org>
18373 * files.el (hack-local-variables-prop-line, hack-local-variables):
18374 Downcase "Mode:". (Bug#9331)
18376 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18378 * international/characters.el: Add L and R categories.
18380 * subr.el (bidi-string-mark-left-to-right): Rename from
18381 string-mark-left-to-right. Use category search.
18383 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18385 2011-08-18 Juri Linkov <juri@jurta.org>
18387 * faces.el (error, warning, success): New faces with definitions
18388 copied from old default values of `font-lock-warning-face',
18389 `compilation-warning', `compilation-info' (bug#6117).
18391 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18393 * progmodes/compile.el (compilation-error): Inherit from `error'.
18394 (compilation-warning): Inherit from `warning'.
18395 (compilation-info): Inherit from `success'.
18397 * dired.el (dired-marked): Inherit from `warning'.
18398 (dired-flagged): Inherit from `error'.
18400 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18402 * mail/smtpmail.el (auth-source): Require to avoid problems with
18403 binding variables (bug#9298). Also clean up some unused
18406 * net/network-stream.el (network-stream-open-starttls):
18407 Support using starttls.el without using gnutls-cli.
18409 2011-08-17 Juri Linkov <juri@jurta.org>
18411 * progmodes/grep.el (rgrep): Handle the case when
18412 `grep-find-command' is a cons cell (bug#9278).
18414 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18416 * window.el (display-buffer-pop-up-frame): Run frame creation
18417 function with BUFFER current (as special-display-popup-frame
18418 does). Reported by Drew Adams.
18420 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18422 * epa-mail.el: Simplify GnuPG group expansion using
18424 (epa-mail-group-alist, epa-mail-group-modtime)
18425 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18426 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18427 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18430 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18432 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18434 2011-08-16 Alan Mackenzie <acm@muc.de>
18436 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18437 Correct, to avoid the inside of macros.
18439 2011-08-16 Richard Stallman <rms@gnu.org>
18441 * epa-mail.el: Handle GnuPG group definitions.
18442 (epa-mail-group-alist, epa-mail-group-modtime)
18443 (epa-mail-gnupg-conf-file): New variables.
18444 (epa-mail-parse-groups, epa-mail-sync-groups)
18445 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18446 (epa-mail-expand-recipients): New functions.
18447 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18449 * mail/rmail.el (rmail-epa-decrypt): New command.
18451 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18452 Don't bind buffer-read-only, just inhibit-read-only.
18453 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18454 (epa-decrypt-armor-in-region): Make error message clearer.
18456 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18458 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18459 and "a2b" to "ab" for `prefix'.
18461 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18463 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18465 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18466 Fourquet (Bug#8804).
18468 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18470 * startup.el (argi): Declare as global variable (bug#9275).
18472 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18474 * subr.el (string-mark-left-to-right): Search the entire string
18475 for RTL script, not just the terminating character. Doc fix.
18477 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18479 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18481 (js--regexp-literal, js-syntax-propertize-function): Remove.
18482 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18483 (js-mode-map): Don't rebind electric keys.
18484 (js-insert-and-indent): Remove.
18485 (js-mode): Setup electric-layout and electric-indent instead.
18487 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18489 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18491 * epa.el (epa-progress-callback-function): Fix the logic of
18492 displaying progress.
18493 * epa-file.el (epa-file-insert-file-contents): Make progress
18494 display more user-friendly.
18495 (epa-file-write-region): Ditto.
18497 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18499 * subr.el (string-mark-left-to-right): New function.
18501 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18502 Use string-mark-left-to-right.
18503 (list-buffers-noselect): Caller changed.
18505 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18506 Use string-mark-left-to-right.
18507 (tabulated-list-print): Recenter after moving point.
18509 2011-08-10 Juri Linkov <juri@jurta.org>
18511 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18512 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18513 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18515 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18517 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18520 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18522 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18523 character. (Bug#6594)
18525 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18527 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18528 (image-dired--with-db-file): New macro.
18529 (image-dired-write-tags, image-dired-remove-tag)
18530 (image-dired-create-gallery-lists, image-dired-write-comments)
18531 (image-dired-get-comment, image-dired-mark-tagged-files)
18532 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18533 (image-dired-gallery-generate): Use insert-file-contents.
18535 * time.el (display-time-world-list, display-time-world-display):
18536 * time-stamp.el (time-stamp-string):
18537 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18538 set-time-zone-rule (Bug#7337).
18540 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18542 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18543 (epg-error-to-string, epg-errors-to-string): New function.
18544 (epg-wait-for-completion): Reverse errors list.
18545 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18546 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18547 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18548 (epg-sign-keys, epg-generate-key-from-file)
18549 (epg-generate-key-from-string): Format errors by using
18550 epg-errors-to-string (bug#9255).
18551 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18553 2011-08-07 Juri Linkov <juri@jurta.org>
18555 * faces.el (list-faces-display): Remove extra angle bracket
18556 from `help-mode-map'.
18558 * info.el (Info-history-toc-nodes): Doc fix.
18560 * longlines.el (longlines-mode): Doc fix.
18562 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18564 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18565 of statements and in a few more cases (bug#9183).
18567 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18569 (cl-transform-lambda): Use them (bug#9239).
18571 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18573 * window.el (display-buffer-same-window)
18574 (display-buffer-same-frame, display-buffer-other-window)
18575 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18576 (pop-to-buffer-other-window)
18577 (pop-to-buffer-same-frame-other-window)
18578 (pop-to-buffer-other-frame): Make them defuns.
18579 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18581 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18583 * subr.el (make-composed-keymap): Move from C. Change calling
18584 convention, and improve docstring to bring attention to a subtle point.
18585 * minibuffer.el (completing-read-default): Adjust accordingly.
18587 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18589 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18590 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18592 * net/trampver.el: Update release number.
18594 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18596 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18599 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18601 * mail/sendmail.el (sendmail-query-once): Restore the current
18602 buffer after querying (bug#9074).
18604 * dired.el (dired-flagged): Use different faces for marked and
18605 flagged files (bug#6117).
18607 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18610 * ido.el (ido-mode): Switch off the message if called
18613 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18614 before 587, since it appears that that's more likely to work for
18617 * cus-edit.el (custom-file): When running under emacs -q, always
18618 refuse to save the customizations, even if the .emacs file doesn't
18621 * info.el: Remove the `Info-beginning-of-buffer' function
18624 * net/network-stream.el (network-stream-open-starttls):
18625 Use `starttls-available-p' to see whether starttls.el can be used.
18627 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18629 * window.el (display-buffer-in-window): Don't set dedicated status
18630 of window here (Bug#9215).
18631 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18632 (display-buffer-pop-up-side-window)
18633 (display-buffer-in-side-window): Set dedicated status of window here.
18635 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18637 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18638 before binding generated-autoload-file.
18640 2011-08-01 Deniz Dogan <deniz@dogan.se>
18642 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18644 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18646 Sync with Tramp 2.2.2.
18648 * net/trampver.el: Update release number.
18650 2011-07-30 Juri Linkov <juri@jurta.org>
18652 * dired-aux.el (dired-touch-initial): Remove function.
18653 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18654 current time, and `default' to the last modification time of the
18655 current marked file (bug#6887).
18657 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18659 * simple.el (goto-line): Use string-to-number to provide a
18660 numeric argument to read-number (bug#9163).
18662 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18664 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18665 connection process, it could be nil.
18667 2011-07-27 Leo Liu <sdl.web@gmail.com>
18669 Simplify url handling in rcirc-mode.
18671 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18672 (rcirc-browse-url-at-mouse): Remove.
18673 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18675 2011-07-26 Alan Mackenzie <acm@muc.de>
18677 Fontify bitfield declarations properly.
18679 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18680 (c-symbol-chars): Now exported as a lang variable.
18681 (c-not-primitive-type-keywords): New lang variable.
18683 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18684 QT keyword "more" to prevent "more slots: ...." being spuriously
18685 parsed as a bitfield declaration.
18687 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18688 Refactor and enhance to handle bitfield declarations.
18689 (c-punctuation-in): New function.
18690 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18691 declarations properly.
18693 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18695 * calendar/icalendar.el (icalendar--all-events): Take care of
18696 multiple vcalendars in a single file.
18697 (icalendar--convert-float-to-ical): Checkdoc fixes.
18699 2011-07-25 Deniz Dogan <deniz@dogan.se>
18701 * image.el (insert-image): Clarifying docstring.
18703 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18705 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18706 `tramp-send-command-and-check' if there is no error.
18707 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18709 2011-07-22 Alan Mackenzie <acm@muc.de>
18711 Prevent cc-langs.elc being loaded at run time.
18713 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18716 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18717 "(require 'cc-langs)". Quote a form so it will evaluate at
18718 (cc-mode's) compilation time.
18720 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18722 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18723 loading. (Bug#9114)
18725 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18727 * window.el (display-buffer-pop-up-window)
18728 (display-buffer-pop-up-side-window)
18729 (display-buffer-in-side-window): Call display-buffer-set-height
18730 and display-buffer-set-width after setting the new window's
18731 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18733 2011-07-20 Sam Steingold <sds@gnu.org>
18735 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18736 (etags-tags-included-tables): Call `convert-standard-filename' on
18737 the file names contained in TAGS so that windows Emacs can handle
18738 TAGS files created by cygwin ctags.
18740 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18742 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18743 which apparently didn't work.
18745 2011-07-19 Roland Winkler <winkler@gnu.org>
18747 * proced.el (proced-send-signal): For *Marked Processes* buffer
18748 put point at beginning of buffer.
18750 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18752 * proced.el (proced-format): Make header lines align with the text
18755 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18757 * view.el (view-buffer): Allow running in `special' modes if we're
18758 visiting a file (bug#8615).
18760 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18762 * window.el (display-buffer-alist-of-strings-p)
18763 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18765 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18768 2011-07-18 Alan Mackenzie <acm@muc.de>
18770 Fontify declarators properly when, e.g., a jit-lock chunk begins
18771 inside a declaration.
18773 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18775 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18777 (c-complex-decl-matchers): Insert reference to
18778 c-font-lock-enclosing-decls.
18780 * progmodes/cc-engine.el (c-backward-single-comment):
18781 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18782 to nil around calls to (forward-comment -1).
18784 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18786 * image.el (put-image): Doc typo fix.
18788 * progmodes/etags.el (tags-search): Doc typo fix.
18790 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18791 password if we get errors 550 to 554.
18793 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18795 * net/gnutls.el (gnutls-log-level): Remove.
18797 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18798 indentation character (bug#6380).
18800 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18802 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18803 to clarify what the problem is (bug#4291).
18805 * simple.el (current-kill): Clarify what
18806 `interprogram-paste-function' does (bug#7500).
18807 (auto-fill-mode): Document `auto-fill-function' in relation to
18808 `auto-fill-mode' (bug#2470).
18810 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18812 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18813 method if slot is read-only (bug#9035).
18815 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18817 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18818 * window.el (pop-to-buffer): Select window used even if it was
18819 selected before, see discussion of (Bug#8615), (Bug#6954).
18820 Pass argument NORECORD on to select-frame-set-input-focus.
18822 2011-07-15 Glenn Morris <rgm@gnu.org>
18824 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18827 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18829 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18830 (gnutls-negotiate): Use it.
18832 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18834 * net/gnutls.el (gnutls-negotiate):
18835 Upcase `gnutls-algorithm-priority'.
18837 2011-07-15 Glenn Morris <rgm@gnu.org>
18839 * jka-compr.el (jka-compr-verbose): Move from here...
18840 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18841 Add missing :version tag.
18842 * info.el: No need to require jka-compr when compiling.
18844 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18846 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18847 (gnutls-negotiate): Use it.
18849 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18851 * info.el (Info-beginning-of-buffer): New command.
18852 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18853 announcing `b' as the key (bug#8325).
18854 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18856 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18858 * international/mule-cmds.el
18859 (describe-specified-language-support): Make the error message
18860 clearer (bug#8905).
18862 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18864 * isearch.el (isearch-barrier): Add a doc string, since it's
18865 mentioned in a function doc string (bug#8678).
18867 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18869 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18870 buffer argument (Bug#9083) and self-identifying label argument.
18872 2011-07-15 Glenn Morris <rgm@gnu.org>
18874 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18876 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18878 * man.el (Man-fontify-manpage): Fix message when formatting the
18879 man page (bug#7929).
18881 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18883 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18884 argument LRM; if non-nil, append an invisible LRM character to the
18886 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18887 last argument non-nil, when formatting buffer names.
18888 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18889 paragraph direction.
18891 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18893 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18894 the man page name (bug#7929).
18896 * image.el (put-image): Mention the `put-image' overlay property
18899 * scroll-bar.el (set-scroll-bar-mode): Mention that
18900 `scroll-bar-mode' lists the values (bug#7772).
18902 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18903 command (bug#7729).
18905 * rect.el (apply-on-rectangle): Return the point after the last
18907 (string-rectangle): Go to the point after the last operation
18910 * printing.el (pr-toggle-region): Clarify the documentation
18911 slightly (bug#7493).
18913 * time.el (display-time-update):
18914 Allow `display-time-mail-function' to return nil (bug#7158).
18915 Fix suggested by Detlev Zundel.
18917 * vc/diff.el (diff): Clarify the order the file names are read
18920 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18921 the doc string (bug#7015).
18923 * font-lock.el (font-lock-maximum-decoration): Mention what
18924 numeric levels mean (bug#6935).
18926 * startup.el (initial-buffer-choice): Don't mention the `none'
18927 selection, which is against policy.
18929 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18931 * window.el (display-buffer-normalize-special):
18932 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18934 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18936 * subr.el (version<, version<=, version=): Mention "-CVS" and
18937 "-12345" alpha version numbers.
18939 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18941 * bindings.el: Add advertised binding for set-mark-command
18944 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18946 * bindings.el (mode-line-other-buffer):
18947 * bookmark.el (bookmark-bmenu-2-window):
18948 * bs.el (bs-cycle-next, bs-cycle-previous):
18949 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18952 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18955 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18957 * follow.el (follow-debug-message, follow-redisplay):
18958 * jka-cmpr-hook.el (with-auto-compression-mode):
18959 Fix typos in docstrings.
18961 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18963 * subr.el (with-silent-modifications): Clarify somewhat what the
18964 macro inhibits (bug#6525).
18966 * simple.el (eval-expression): Note what it does if called
18967 interactively (bug#6495).
18969 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18971 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18972 Use pop-to-buffer buffer-or-name if it is nil.
18974 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18975 Remove switch-to-buffer.
18977 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18979 * files.el (make-directory): Clarify that an error will be raised
18980 if there's an error (bug#6397).
18982 * startup.el (initial-buffer-choice): Add `none' as a choice
18985 * subr.el (add-hook): Clarify section about buffer-local hooks
18988 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18990 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18992 * tabify.el (untabify): Preserve the current column so that point
18993 doesn't move (bug#6032).
18995 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18997 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18998 Rewrite to avoid awkward possessive "s" (bug#5986).
19000 2011-07-13 Glenn Morris <rgm@gnu.org>
19002 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19003 (dired-insert-directory): Give a message the first time
19004 if ls is found not to support --dired.
19006 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19008 * simple.el (toggle-truncate-lines): Clarify what is toggled
19009 (bug#5580). Text by Drew Adams.
19011 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19013 * simple.el (blink-matching-open): Make the error message from the
19014 last change less verbose.
19016 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19018 * font-lock.el (font-lock-comment-face): Use the high contrast
19019 "yellow" color for font-lock-comment-face on low color terminals
19020 using a dark background color (bug#4221).
19022 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19024 * dired.el (dired-insert-set-properties): Make the doc string
19025 reflect what it does now (bug#5325).
19027 * simple.el (blink-matching-open): Say that we were unable to find
19028 the match within the limit, if we're limited (bug#5122).
19030 * international/mule-cmds.el (prefer-coding-system): Add an
19031 example (bug#4869).
19033 * progmodes/etags.el (tags-search): Document `file-list-form'
19036 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19038 * net/browse-url.el (browse-url-default-browser)
19039 (browse-url-browser-function): Make the default browser choice a
19040 bit more logical (bug#4300). Also clean up the doc string.
19042 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19044 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19045 binary endings (bug#4440).
19047 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19049 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19050 which can be pretty annoying (bug#8971).
19052 * jka-compr.el (jka-compr-verbose): New variable, and use
19053 throughout (bug#8971).
19055 * info.el (Info-find-file): Fall back on the installation
19056 directory if we can't find the info node anywhere else.
19058 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19060 * vc/vc.el (vc-revert-file):
19061 Don't set file time-stamp in the past. (Bug#5181)
19063 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19065 * files.el (after-find-file): Give a better error message when
19066 trying to find a symlink that points to a file that doesn't exist
19069 * progmodes/cc-vars.el: Remove (probably) misleading comment
19072 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19074 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19076 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19078 * mouse-sel.el: Hack restoring functionality, while keeping
19079 compatibility with 2010-07-03 changes to mouse selection.
19080 (mouse-sel-primary-overlay): New var.
19081 (mouse-sel-selection-alist): Use it.
19082 (mouse-sel-mode): Doc fix; remove points that are default features
19085 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19087 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19088 Fix previous fix (bug#2490).
19090 2011-07-12 Roland Winkler <winkler@gnu.org>
19092 * textmodes/bibtex.el (bibtex-initialize):
19093 Use pop-to-buffer-same-window.
19094 (bibtex-search-entries): Fix interactive call.
19096 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19098 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19099 Fontise bytecomp Error lines more correctly (bug#2490).
19100 Fix suggested by Johan Bockgård.
19102 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19104 * dired-x.el (dired-guess-default): Use `delete-dups'.
19106 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19108 * dired.el (dired-mark-prompt):
19109 * dired-aux.el (dired-read-shell-command): Doc fix.
19111 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19113 * mail/sendmail.el (sendmail-query-once):
19114 Use `customize-save-variable' unconditionally, now that it works under
19117 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19119 * cus-edit.el (custom-file): Take an optional no-error variable.
19120 (customize-save-variable): Set the variable, and give a warning if
19121 running under "emacs -q".
19123 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19125 * loadhist.el (unload-feature-special-hooks):
19126 Add `auto-coding-functions', `fill-nobreak-predicate' and
19127 `find-directory-functions' (bug#5327).
19129 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19131 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19133 * cus-edit.el (custom-guess-name-alist): -alist variables should
19134 use the `alist' type (bug#3120). Suggested by Drew Adams.
19136 * printing.el: Add documentation to all the `pr-toggle-' commands.
19138 2011-07-11 Leo Liu <sdl.web@gmail.com>
19140 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19141 backends where it makes sense (bug#2623).
19143 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19145 * dired-x.el (dired-guess-default): Remove duplicate shell command
19146 entries (bug#2028).
19147 (dired-guess-default): Fix grammar in doc string (bug#2028).
19148 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19150 * subr.el (remove-duplicates): New conveniency function.
19152 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19154 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19157 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19159 * window.el (display-buffer-normalize-default): Don't invert
19160 meaning of even-window-heights. Reported by Eli Zaretskii
19163 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19165 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19167 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19169 * window.el (display-buffer): Fix arguments to
19170 display-buffer-reuse-window in last change.
19172 * faces.el (link): Use a less saturated blue on light backgrounds.
19174 * startup.el (fancy-startup-text, fancy-about-text)
19175 (fancy-startup-tail): Use font-lock faces, for background safety.
19177 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19179 * emulation/viper-cmd.el (viper-change-state-to-vi):
19180 Limit triggering of abbrev expansion (Bug#9038).
19182 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19184 * window.el (display-buffer-default-specifiers): Remove.
19185 (display-buffer-macro-specifiers): Remove default specifiers.
19186 (display-buffer-alist): Default to nil.
19187 (display-buffer-reuse-window): New optional argument other-window.
19188 (display-buffer-pop-up-window): Allow splitting internal
19189 windows. Check whether a live window was created.
19190 (display-buffer-other-window-means-other-frame)
19191 (display-buffer-normalize-arguments): Rename to
19192 display-buffer-normalize-argument and rewrite. Set the
19193 other-window specifier.
19194 (display-buffer-normalize-special): New function.
19195 (display-buffer-normalize-options): Rename to
19196 display-buffer-normalize-default and rewrite.
19197 (display-buffer-normalize-options-inhibit): Remove.
19198 (display-buffer-normalize-specifiers): Rewrite.
19199 (display-buffer): Process other-window specifier and call
19200 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19202 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19203 (display-buffer-alist-set): Don't handle 'unset default values.
19204 (display-buffer-in-window, display-buffer-alist-set):
19205 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19206 <tassilo@member.fsf.org>.
19208 2011-07-09 Leo Liu <sdl.web@gmail.com>
19210 * register.el (insert-register): Restore accidental change on
19211 2011-06-26. (Bug#9028)
19213 2011-07-09 Glenn Morris <rgm@gnu.org>
19215 * subr.el (remq): Handle the empty list. (Bug#9024)
19217 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19219 * mail/sendmail.el (send-mail-function): No longer delay custom
19221 * custom.el (custom-initialize-delay): Doc fix.
19223 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19225 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19227 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19229 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19230 human-friendly prompt.
19232 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19234 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19235 provided by a particular plugin.
19237 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19239 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19240 save customizations (with "emacs -Q"), just set the variable
19241 instead of erroring out.
19243 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19245 2011-07-08 Juri Linkov <juri@jurta.org>
19247 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19248 (archive-zip-update-case): Use 7z if found by `executable-find'.
19249 The order of searching the available programs is the same as in
19250 `archive-zip-extract' (bug#8968).
19252 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19254 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19255 (menu-bar-options-menu): Tweak descriptions.
19257 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19259 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19260 menu items into verb phrases (bug#1421). Also refill to fit under
19263 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19265 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19266 (Info-read-node-name): Doc fix (Bug#1084).
19268 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19269 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19270 (end-of-sexp, beginning-of-sexp)
19271 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19272 (forward-symbol, forward-same-syntax, word-at-point)
19273 (sentence-at-point): Doc fix (Bug#1144).
19275 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19277 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19278 should cover it (bug#1281).
19280 * cus-edit.el (custom-show): Mark as obsolete.
19282 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19283 negotiation fails, then possibly try again with a non-encrypted
19284 connection (bug#9017).
19286 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19289 2011-07-07 Richard Stallman <rms@gnu.org>
19291 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19292 property, and handle its changed format.
19293 Look for the correct line number.
19294 Use file's line contents (but not past first =) to find
19295 correct line in message.
19297 2011-07-07 Kenichi Handa <handa@m17n.org>
19299 * international/characters.el (build-unicode-category-table):
19301 (unicode-category-table): Set it by unicode-property-table-internal.
19303 * international/mule-cmds.el (char-code-property-alist): Move to
19305 (get-char-code-property): Call unicode-property-table-internal to
19306 load a file. Call get-unicode-property-internal where necessary.
19307 (put-char-code-property): Call unicode-property-table-internal to
19308 load a file. Call put-unicode-property-internal where necessary.
19309 put-unicode-property-internal where necessary.
19310 (char-code-property-description):
19311 Call unicode-property-table-internal to load a file.
19313 * international/charprop.el:
19314 * international/uni-bidi.el:
19315 * international/uni-category.el:
19316 * international/uni-combining.el:
19317 * international/uni-comment.el:
19318 * international/uni-decimal.el:
19319 * international/uni-decomposition.el:
19320 * international/uni-digit.el:
19321 * international/uni-lowercase.el:
19322 * international/uni-mirrored.el:
19323 * international/uni-name.el:
19324 * international/uni-numeric.el:
19325 * international/uni-old-name.el:
19326 * international/uni-titlecase.el:
19327 * international/uni-uppercase.el: Regenerate.
19329 * loadup.el: Load international/charprop.el before
19330 international/characters.
19332 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19334 * window.el (next-buffer, previous-buffer): Signal an error if
19335 called from a minibuffer window.
19337 * bindings.el: Revert 2011-07-04 change.
19339 2011-07-06 Richard Stallman <rms@gnu.org>
19341 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19342 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19343 Treat markers like ints.
19344 (rmail-mime-entity): Doc fix.
19346 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19348 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19349 defcustom again for backwards compatibility.
19351 * simple.el (shell-command-on-region): Fill.
19353 * dired-aux.el (dired-kill-line): Add a doc string.
19355 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19356 to "\\sw\\|\\s_" (bug#358).
19358 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19359 (dired-unmark-backward): Ditto.
19360 (dired-flag-backup-files): Ditto.
19362 * dired-x.el (dired-mark-sexp): Ditto.
19364 2011-07-06 Richard Stallman <rms@gnu.org>
19366 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19367 (rmail-mime-entity): New arg TRUNCATED.
19368 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19370 (rmail-mime-save): Warn if entity is truncated.
19371 (rmail-mime-toggle-hidden): Likewise, for showing.
19372 (rmail-mime-process-multipart): Record when an entity is truncated.
19374 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19375 if ENTITY is a string.
19377 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19379 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19380 of faces when `M-C-x'-ing their definitions (bug#8378).
19381 Also clean up the code slightly.
19383 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19384 because that makes the colors go away.
19386 * mail/sendmail.el (send-mail-function): Change the default to
19387 `sendmail-query-once'.
19388 (sendmail-query-once): Add an autoload cookie.
19390 * net/network-stream.el (network-stream-open-starttls): Try using
19391 a plain connection even if the server offered STARTTLS, and we
19392 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19393 capability. This should make smtpmail.el work in slightly more
19396 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19398 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19400 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19402 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19404 * progmodes/sql.el: Version 3.0
19405 (sql-product-alist): Add product :completion-object,
19406 :completion-column, and :statement attributes.
19407 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19408 (sql-mode-syntax-table): Mark all punctuation.
19409 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19411 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19412 (sql-mode-oracle-font-lock-keywords): Improve.
19413 (sql-oracle-show-reserved-words): New function for development.
19414 (sql-product-font-lock): Simplify for source code buffers.
19415 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19417 (sql-highlight-product): Set product specific syntax table.
19418 (sql-mode-map): Add statement movement functions.
19419 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19421 (sql-statement-regexp, sql-beginning-of-statement)
19422 (sql-end-of-statement, sql-signum): New functions.
19423 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19424 (sql-show-sqli-buffer): Bug fix.
19425 (sql-interactive-mode): Store connection data as buffer local.
19426 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19427 with sql-interactive-mode.
19428 (sql-save-connection): Save buffer local settings.
19429 (sql-connection-menu-filter): Change menu entry name.
19430 (sql-product-interactive): Bug fix.
19431 (sql-preoutput-hold): New variable.
19432 (sql-interactive-remove-continuation-prompt): Bug fixes.
19433 (sql-debug-redirect): New variable.
19434 (sql-str-literal): New function.
19435 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19437 (sql-oracle-save-settings, sql-oracle-restore-settings)
19438 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19439 (sql-completion-object, sql-completion-column)
19440 (sql-completion-sqlbuf): New variables.
19441 (sql-build-completions-1, sql-build-completions)
19442 (sql-try-completion): New functions.
19443 (sql-read-table-name): Use them.
19444 (sql-contains-names): New buffer local variable.
19445 (sql-list-all, sql-list-table): Use it.
19446 (sql-oracle-completion-types): New variable.
19447 (sql-oracle-completion-object, sql-sqlite-completion-object)
19448 (sql-postgres-completion-object): New functions.
19450 2011-07-06 Glenn Morris <rgm@gnu.org>
19452 * window.el (pop-to-buffer): Doc fix.
19454 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19456 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19458 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19460 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19462 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19464 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19466 * button.el (button): Inherit from link face. Suggested by Dan
19469 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19471 * progmodes/gdb-mi.el: Fit in 80 columns.
19472 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19475 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19476 if imenu is simply not configured (bug#8941).
19478 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19480 * allout.el (allout-post-undo-hook): New allout outline-change
19481 event hook to signal undo activity.
19482 (allout-post-command-business): Run allout-post-undo-hook if an
19483 undo just occurred.
19484 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19485 * allout-widgets.el (allout-widgets-after-undo-function):
19486 Ensure the integrity of the current item's decoration after it has been
19487 in the vicinity of an undo.
19488 (allout-widgets-mode): Include allout-widgets-after-undo-function
19489 on the new allout-post-undo-hook.
19491 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19493 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19494 Let define-derived-mode define it.
19495 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19496 cycles of abbrev-table inheritance (bug#8998).
19498 2011-07-05 Roland Winkler <winkler@gnu.org>
19500 * textmodes/bibtex.el: Add support for biblatex.
19501 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19502 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19503 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19504 (bibtex-entry-alist, bibtex-field-alist): New variables.
19505 (bibtex-entry-field-alist): Obsolete alias for
19506 bibtex-BibTeX-entry-alist.
19507 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19508 (bibtex-set-dialect): New command.
19509 (bibtex-entry-type, bibtex-entry-head)
19510 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19511 Bind via bibtex-set-dialect.
19512 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19513 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19514 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19515 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19516 Define via bibtex-set-dialect.
19517 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19518 Obey bibtex-no-opt-remove-re.
19519 (bibtex-vec-push, bibtex-vec-incr): New functions.
19520 (bibtex-format-entry, bibtex-field-list)
19521 (bibtex-print-help-message, bibtex-validate)
19522 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19524 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19526 * progmodes/compile.el (compilation-goto-locus):
19527 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19528 * bs.el (bs-cycle-next, bs-cycle-previous):
19529 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19530 * bindings.el (mode-line-other-buffer):
19531 * autoinsert.el (auto-insert):
19532 * arc-mode.el (archive-extract):
19533 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19535 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19537 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19538 Fix check of `emacs-lock-unlockable-modes'.
19539 Coerce true values of `emacs-lock--try-unlocking' to t.
19541 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19543 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19544 * emacs-lock.el: New file.
19546 2011-07-05 Julien Danjou <julien@danjou.info>
19548 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19549 than `boundp' to check if face is set.
19551 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19553 * register.el (registerv-make):
19554 * window.el (window-min-height): Fix typos in docstrings.
19556 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19558 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19561 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19563 * server.el (server-execute): Catch quit and call
19564 `server-return-error' to pass the error back to emacsclient and
19565 close the connection (bug#8942).
19567 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19569 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19570 insecure exception for current topic. Also note that auto-saves
19571 are handled differently.
19573 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19574 State variables for tracking auto-save inhibition situation.
19576 (allout-write-contents-hook-handler): Rename from
19577 'allout-write-file-hook-handler', and describe how it depends on
19578 write-contents-functions sensitivity to non-nil value to prevent
19581 (allout-auto-save-hook-handler): Remove. auto-save does not check
19582 this in individual buffers, only in the starting buffer, so this
19583 is not the right way for us to inhibit auto-save in a buffer
19584 according to its condition.
19586 (allout-mode): Use new allout-write-contents-hook-handler, and
19587 only with write-contents-functions. Remove auto-save provisions -
19588 they're implemented elsewhere.
19590 (allout-before-change-handler): If undo is in progress, note that
19591 for attention of allout-post-command-business.
19593 (allout-post-command-business): If the command we're following was
19594 an undo, check for change in the status of encrypted items and
19595 adjust auto-save inhibitions accordingly.
19597 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19598 according to whether there are or aren't any plain-text topics
19599 pending encryption.
19601 (allout-inhibit-auto-save-info-for-decryption):
19602 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19603 if there are plain-text topics pending encryption.
19605 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19606 buffer-saved-size and some allout state to not inhibit auto-saves
19607 if there are no longer any plain-text topics pending encryption.
19609 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19610 No longer provide for exemption of the current topic.
19612 2011-07-04 Juri Linkov <juri@jurta.org>
19614 Add 7z operations to delete and save changed members (bug#8968).
19615 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19617 (archive-7z-write-file-member): New function.
19618 (archive-7z-summarize): Fix the number of dashes in the
19621 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19623 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19626 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19628 * bindings.el: Ignore next-buffer and previous-buffer in
19629 minibuffer-local-map.
19631 * font-lock.el (font-lock-builtin-face): Change light background
19632 color to dark slate blue (Bug#6693).
19634 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19636 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19638 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19640 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19641 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19642 Add switch-to-buffer.
19644 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19646 * isearch.el (isearch-search-fun-function): Clarify further the
19647 meaning of the function returned.
19649 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19651 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19653 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19654 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19656 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19657 `tramp-default-remote-path' does not exist.
19658 (tramp-send-command-and-read): New optional argument NOERROR.
19659 (tramp-open-connection-setup-interactive-shell)
19660 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19661 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19662 (tramp-process-sentinel): Flush also process' connection property.
19663 (tramp-sh-handle-start-file-process): Do not set process
19664 sentinel. It is done now ...
19665 (tramp-maybe-open-connection): ... here. (Bug#8929)
19667 2011-07-04 MON KEY <monkey@sandpframing.com>
19669 * play/animate.el (animate-string): Doc fixes and allow changing
19670 the buffer name (bug#5417).
19672 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19674 * play/animate.el (animation-buffer-name): Rename from *animate*.
19676 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19678 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19679 This is simpler and helps future-proof the code.
19680 (timer-until): Use time-subtract and float-time.
19681 (timer--time-less-p): Use time-less-p.
19683 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19685 * type-break.el (timep): Use the value of `float-time' to avoid a
19686 byte-compiler warning.
19688 * server.el (server-eval-and-print): Return any result, even nil.
19690 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19692 * type-break.el: Accept time formats that the builtins accept.
19693 (timep, type-break-time-difference): Accept any format that
19694 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19695 This is simpler and helps future-proof the code.
19696 (type-break-time-difference): Round rather than ignoring
19697 subseconds components.
19699 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19701 * info.el (Info-apropos-matches): Make non-interactive, since it
19702 doesn't seem to do anything useful as a command (bug#8829).
19704 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19706 * frame.el (frame-background-mode, frame-set-background-mode):
19707 Move from faces.el.
19708 (frame-default-terminal-background): New function.
19710 * custom.el (custom-push-theme): Don't record faces in `changed'
19711 theme; this doesn't work correctly for per-frame face settings.
19712 (disable-theme): Use face-set-after-frame-default to reset faces.
19713 (custom--frame-color-default): New function.
19715 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19717 * dired.el (dired-flagging-regexp): Remove unused variable
19720 2011-03-29 Kevin Ryde <user42@zip.com.au>
19722 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19723 `perl-Test2' extend to match possible "fail #N" rep count
19726 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19728 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19729 `smtpmail-via-smtp' now returns the error instead of nil.
19731 * isearch.el (isearch-search-fun-function): Clarify the doc string
19734 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19736 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19737 unnecessary spaces (bug#8987).
19739 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19741 * net/network-stream.el (open-network-stream): Use the
19742 :end-of-capability command thoughout.
19744 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19746 * net/network-stream.el (open-network-stream): Add the
19747 :end-of-capability command parameter, used by pop3.el.
19749 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19751 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19753 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19754 for list)" (bug#6475).
19756 * files.el (file-expand-wildcards): Ignore non-readable
19757 sub-directories while trying to find matches instead of signaling
19758 an error (bug#6297).
19760 * man.el (Man-reference-regexp): Allow matching possible
19761 word-wrapped references (bug#6289).
19763 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19764 for consistency with the other vc buffers (bug#6197).
19765 (vc-checkin): Ditto.
19767 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19769 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19771 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19773 * custom.el (defcustom): Clarify that :set is only used in the
19774 Customize user interface (bug#6089).
19776 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19777 associated with a file, refuse to run instead of erroring out
19780 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19781 the doc string, since it appears that using `fill-column' always
19782 controls the width (bug#7845).
19784 * simple.el (shell-command-on-region): Say where the error output
19785 went if `shell-command-default-error-buffer' is set (bug#6857).
19787 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19789 * allout.el (allout-yank-processing): Adjust cursor position for
19790 backwards-deleted space.
19792 (allout-rebullet-heading): Register changes with
19793 allout-exposure-changed-hook, so the modified topic is properly
19796 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19798 * minibuffer.el (completion-in-region): Document PREDICATE
19801 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19802 of keyword/argument pairs (bug#6904).
19804 * replace.el (multi-occur):
19805 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19807 2011-07-02 Drew Adams <drew.adams@oracle.com>
19809 * dired.el (dired-mark-if): Make the message about whether it's
19810 marking or unmarking clearer (bug#8523).
19812 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19814 * disp-table.el (display-table-print-array): New function.
19815 (describe-display-table): Use it to print the vectors more pretty
19818 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19820 * window.el (window-state-get-1): Don't assign clone numbers.
19821 Add clone-of item to list of window parameters.
19822 (window-state-put-2): Don't process clone numbers.
19823 (display-buffer-alist): Fix doc-string.
19825 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19827 * subr.el (remq): Don't allocate if it's not needed.
19828 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19829 (keymap--merge-bindings): New functions.
19830 (keymap-canonicalize): Use them to refine the canonicalization.
19831 * minibuffer.el (minibuffer-local-completion-map)
19832 (minibuffer-local-must-match-map): Move initialization from C.
19833 (minibuffer-local-filename-completion-map): Move initialization from C;
19834 don't inherit from anything here.
19835 (minibuffer-local-filename-must-match-map): Make obsolete.
19836 (completing-read-default): Use make-composed-keymap to combine
19837 minibuffer-local-filename-completion-map with either
19838 minibuffer-local-must-match-map or
19839 minibuffer-local-filename-completion-map.
19841 2011-07-01 Glenn Morris <rgm@gnu.org>
19843 * type-break.el (type-break-time-sum): Use dolist.
19845 * textmodes/flyspell.el (flyspell-word-search-backward):
19846 Replace CL function.
19848 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19850 * mouse.el (mouse--strip-first-event): New function.
19851 (function-key-map): Use it to map fringe clicks to normal clicks
19854 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19855 (vc-bzr-revision-completion-table): Add support for annotate and date.
19857 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19858 inherit from parent.
19860 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19862 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19863 (dired-show-file-type): Doc fixup (bug#8818).
19865 * dired.el (dired-mode): Fix up the doc string as suggested by
19866 Drew Adams (bug#8817).
19868 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19869 cookie, since the manual says that it should be possible to add
19870 this function to `find-file-hook' (bug#8709).
19872 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19874 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19875 here. Noted Ted Zlatanov as the maintainer.
19876 (cfengine-common-settings, cfengine-common-syntax): New functions
19877 to set up common things between `cfengine-mode' and
19879 (cfengine3-mode): New mode.
19880 (cfengine3-defuns cfengine3-defuns-regex
19881 (cfengine3-class-selector-regex cfengine3-category-regex)
19882 (cfengine3-vartypes cfengine3-font-lock-keywords)
19883 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19884 (cfengine3-indent-line): Add from cfengine3.el.
19886 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19888 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19890 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19892 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19894 * window.el (same-window-buffer-names, same-window-regexps)
19895 (same-window-p, special-display-frame-alist)
19896 (special-display-popup-frame, special-display-function)
19897 (special-display-buffer-names, special-display-regexps)
19898 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19899 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19900 (split-window-preferred-function, split-height-threshold)
19901 (split-width-threshold, even-window-heights)
19902 (display-buffer-mark-dedicated, window-splittable-p)
19903 (split-window-sensibly, window-safely-shrinkable-p):
19905 (display-buffer): Don't spread args with function specifier
19906 because special-display-popup-frame won't like it.
19908 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19910 Time-stamp simplifications and fixes.
19911 These improve accuracy slightly, and future-proof the code
19912 against some potential changes to current-time format.
19914 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19915 by using time-since and float-time.
19917 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19918 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19919 + NNN microseconds".
19921 * type-break.el (type-break-time-sum): Rewrite using time-add.
19923 * play/hanoi.el (hanoi-current-time-float): Remove.
19924 All uses replaced by float-time.
19926 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19927 This yields a more-accurate answer.
19928 (rng-time-to-float): Remove; no longer needed.
19930 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19932 * calendar/timeclock.el (timeclock-seconds-to-time):
19933 Defalias to seconds-to-time, since they're the same thing.
19935 * emacs-lisp/elp.el (elp-elapsed-time):
19936 * emacs-lisp/benchmark.el (benchmark-elapse):
19937 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19939 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19941 * window.el (bury-buffer): Don't iconify the only frame.
19942 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19943 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19945 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19947 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19948 Add mouse-yank-primary.
19950 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19952 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19954 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19956 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19957 (find-library-name): Use it to find relative load names when provided
19958 absolute file name (bug#8803).
19960 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19962 * textmodes/flyspell.el (flyspell-word): Consider words that
19963 differ only in case as potential doublons (bug#5687).
19965 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19966 Remove two rather uninteresting debugging-like messages to make
19967 debbugs.el more silent.
19969 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19970 a password-like phrase.
19972 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19974 * progmodes/cc-guess.el: New file.
19976 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19978 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19979 derived from `c-basic-common-init'.
19981 * progmodes/cc-mode.el (top-level): Require cc-guess.
19982 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19984 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19986 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19988 2011-06-30 Alan Mackenzie <acm@muc.de>
19990 * progmodes/cc-engine.el (c-guess-continued-construct):
19991 Correct the handling of template-args-cont, particularly for when font
19992 lock is disabled. Name this case as "CASE G".
19994 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19996 * allout.el (allout-yank-processing): Fix injection of extra space
19997 between bullet and non-whitespace character in first topic when
19998 pasting, ensuring that the actual spacing in the pasted topic
19999 following the bullet char is preserved. This extra space was
20000 causing pasted encrypted topics to get a decrypted status even
20001 when the content was actually still encrypted. Now the decryption
20002 status from before the paste is preserved.
20004 (allout-flag-region): Set all allout overlays so they evaporate
20005 when reduced to zero length (evanescent), to prevent overlay
20008 2011-06-30 Glenn Morris <rgm@gnu.org>
20010 * w32-fns.el (w32-charset-info-alist): Declare.
20012 * find-dired.el (find-grep-options): Simplify.
20014 * term/ns-win.el (ns-set-resource): Declare.
20016 * ses.el (row, col): Declare dynamic variables honestly.
20018 * textmodes/reftex-parse.el (index-tags): Declare.
20020 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20022 * cus-edit.el (customize-push-and-save): New function.
20024 * files.el (hack-local-variables-confirm): Use it.
20026 * custom.el (load-theme): New arg NO-CONFIRM.
20027 Use customize-push-and-save (Bug#8720).
20028 (custom-enabled-themes): Doc fix.
20030 * cus-theme.el (customize-create-theme)
20031 (custom-theme-merge-theme): Callers to load-theme changed.
20033 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20035 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20036 short URLs have at least one dot in them (bug #7614).
20038 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20039 nil, because using a pty is apparently too slow (bug #895).
20041 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20043 * mail/sendmail.el (sendmail-query-once): New function.
20044 (sendmail-query-once-function): New variable.
20046 2011-06-29 Glenn Morris <rgm@gnu.org>
20048 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20050 * ses.el (top-level): Require cl when compiling.
20051 (ses-set-localvars): Fix error statement.
20052 Call it at compile time to silence a storm of warnings.
20054 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20056 * window.el (normalize-live-buffer): Rename to
20057 window-normalize-buffer.
20058 (normalize-live-frame): Rename to window-normalize-frame.
20059 (normalize-any-window): Rename to window-normalize-any-window.
20060 (normalize-live-window): Rename to window-normalize-live-window.
20061 (make-window-atom): Rename to window-make-atom.
20062 (window-resize-reset): Rename to window--resize-reset.
20063 (window-resize-reset-1): Rename to window--resize-reset-1.
20064 (resize-mini-window): Rename to window--resize-mini-window.
20065 (resize-subwindows-skip-p): Rename to
20066 window--resize-subwindows-skip-p.
20067 (resize-subwindows-normal): Rename to
20068 window--resize-subwindows-normal.
20069 (resize-subwindows): Rename to window--resize-subwindows.
20070 (resize-other-windows): Rename to window--resize-siblings.
20071 (resize-this-window): Rename to window--resize-this-window.
20072 (resize-root-window): Rename to window--resize-root-window.
20073 (resize-root-window-vertically): Rename to
20074 window--resize-root-window-vertically.
20075 (normalize-buffer-to-display): Rename to
20076 window-normalize-buffer-to-display.
20077 (normalize-buffer-to-switch-to): Rename to
20078 window-normalize-buffer-to-switch-to.
20079 Correspondingly update all callers of the functions listed
20081 (display-buffer-alist, display-buffer-normalize-arguments)
20082 (display-buffer-normalize-options, display-buffer)
20083 (display-buffer-alist-set): Use "function" instead of
20086 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20088 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20089 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20090 debbugs.gnu.org. Mention acknowledgment email.
20092 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20094 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20095 buffer multibyteness, since it shouldn't matter.
20097 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20099 * window.el (display-buffer-in-side-window): Handle dedicated
20100 windows as in display-buffer-reuse-window.
20101 (display-buffer-normalize-alist): Use value of override
20103 (display-buffer-normalize-specifiers): Use value of
20104 other-window-means-other-frame specifier.
20105 (display-buffer-alist): Rewrite some texts in widgets.
20106 (display-buffer): Spread arguments when calling function
20107 specified by fun-with-args.
20109 2011-06-28 Deniz Dogan <deniz@dogan.se>
20111 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20114 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20115 selectors (Bug#5732).
20116 (css-proprietary-nmstart-re): Use `regexp-opt'.
20118 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20120 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20121 (eshell-ls-date-format): New defcustom.
20122 (eshell-ls-file): Use it.
20124 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20126 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20128 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20130 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20131 (ange-ftp-make-tmp-name): New arg.
20132 (ange-ftp-file-local-copy): Use it.
20134 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20136 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20137 no-conversion (Bug#8870).
20139 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20141 * window.el (window-right, window-left, window-child)
20142 (window-child-count, window-last-child)
20143 (window-iso-combination-p, walk-window-tree-1)
20144 (window-atom-check-1, window-tree-1, delete-window)
20145 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20146 new naming conventions - window-vchild, window-hchild,
20147 window-next and window-prev are now called window-top-child,
20148 window-left-child, window-next-sibling and window-prev-sibling
20150 (resize-window-reset): Rename to window-resize-reset.
20151 (resize-window-reset-1): Rename to window-resize-reset-1.
20152 (resize-window): Rename to window-resize.
20153 (window-min-height, window-min-width)
20154 (resize-mini-window, resize-this-window, resize-root-window)
20155 (resize-root-window-vertically, adjust-window-trailing-edge)
20156 (enlarge-window, shrink-window, maximize-window)
20157 (minimize-window, delete-window, quit-restore-window)
20158 (split-window, balance-windows, balance-windows-area-adjust)
20159 (balance-windows-area, window-state-put-2)
20160 (display-buffer-even-window-sizes, display-buffer-set-height)
20161 (display-buffer-set-width, set-window-text-height)
20162 (fit-window-to-buffer): Rename all "resize-window" prefixed
20163 calls to use the "window-resize" prefix convention.
20164 (display-buffer-alist): Fix symbol for label specifier.
20165 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20166 corresponding specifier.
20167 Reported by Juanma Barranquero <lekktu@gmail.com>.
20169 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20171 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20173 (ses-call-printer): Does not pass an empty string to formatter when the
20174 cell is empty to keep from barking printer Calc math-format-value.
20176 2011-06-27 Richard Stallman <rms@gnu.org>
20178 * battery.el (battery-mode-line-limit): New variable.
20179 (battery-update): Handle it.
20181 * mail/rmailmm.el (rmail-mime-process-multipart):
20182 Handle truncated messages.
20184 2011-06-27 Glenn Morris <rgm@gnu.org>
20186 * progmodes/flymake.el (flymake-err-line-patterns):
20187 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20189 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20191 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20192 (ses--clean-!, ses--clean-_): New functions.
20193 (ses-range): Add configurability of readout order, and conversion
20196 * ses.el (ses-repair-cell-reference-all): New function.
20197 (ses-cell-symbol): Set macro as safe, so that it can be used in
20200 * ses.el: Update cycle detection algorithm.
20201 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20202 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20203 (ses-set-localvars): New function.
20204 (ses-make-cell): Add property-list as a cell element.
20205 (ses-cell-property-get-fun, ses-cell-property-get)
20206 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20207 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20209 (ses-cell-property-set, ses-cell-property-pop)
20210 (ses-cell-property-get-handle): New macro.
20211 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20212 New aliases, used for code readability.
20213 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20215 (ses-self-reference-early-detection): New defcustom.
20216 (ses-formula-references): Robustify against self-referring cells.
20217 (ses-mode): Use ses-set-localvars.
20218 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20219 before lauching the update processing.
20220 (ses-initialize-Dijkstra-attempt): New function.
20221 (ses-recalculate-cell): Update for cycle detection based on
20222 Dijkstra algorithm.
20224 * ses.el: Fix commenting and indenting convention.
20226 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20228 * bs.el (bs-cycle-next): Complete last change.
20230 2011-06-27 Drew Adams <drew.adams@oracle.com>
20232 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20234 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20236 * net/network-stream.el (network-stream-open-starttls):
20237 Don't re-get capabilities unless we've reestablished connection.
20238 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20240 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20241 to binary to possibly avoid line encoding issues on Windows (among
20244 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20246 * net/network-stream.el (open-network-stream): Return an :error
20247 saying what the problem was, if possible.
20249 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20252 * net/network-stream.el (network-stream-open-starttls): If we
20253 wanted to use STARTTLS, and the server offered it, but we weren't
20254 able to because we had no STARTTLS support, then close the connection.
20255 (open-network-stream): Return an :error element, if present.
20257 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20259 * hl-line.el (hl-line-sticky-flag): Doc fix.
20260 (global-hl-line-sticky-flag): New option (Bug#8323).
20261 (global-hl-line-highlight): Obey it.
20263 * vc/vc.el (vc-revert-show-diff): Default to t.
20265 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20267 * allout-widgets.el (allout-widgets-post-command-business):
20268 Stop decorating intermediate isearch matches. They're not being
20269 undecorated when an isearch is continued past, and isearch
20270 automatically collapses them. This leads to "widget leaks", where
20271 decorated items accumulate in collapsed areas. Lines with lots of
20272 hidden widgets can slow down cursor travel, substantially.
20273 Too much complicated machinery would be needed to ensure undecoration,
20274 so we're doing without this nicety.
20276 (allout-widgets-tally-string): Don't try to do a hash-table-count
20277 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20278 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20279 *Messages* when allout-widgets-maintain-tally is t.
20281 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20283 * window.el (display-buffer-normalize-argument): Rename to
20284 display-buffer-normalize-arguments. Handle special meaning of
20285 LABEL argument. Respect special-display-function when popping up
20286 a new frame. Fix code searching for a window showing the buffer
20288 (display-buffer-normalize-specifiers):
20289 Call display-buffer-normalize-arguments.
20290 (display-buffer-in-window): Don't undedicate the window if its
20291 buffer remains the same.
20292 Reported by Drew Adams <drew.adams@oracle.com>.
20293 (display-buffer-alist): Add choice for same-window macro
20295 (display-buffer): Mention special meaning of LABEL argument in
20296 doc-string. Fix quoting. Don't pop up a new frame even as
20299 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20301 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20302 avoid deleting the current window in some cases (bug#8911).
20304 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20306 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20309 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20311 * net/network-stream.el (network-stream-open-starttls):
20312 Use built-in TLS support if `gnutls-available-p' is true.
20313 (network-stream-open-tls): Ditto.
20315 2011-06-26 Leo Liu <sdl.web@gmail.com>
20317 * register.el (registerv): New struct.
20318 (registerv-make): New function.
20319 (jump-to-register, describe-register-1, insert-register):
20320 Support the jump-func, print-func and insert-func slot of a registerv
20323 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20325 * vc/vc.el (vc-revert-show-diff): New defcustom.
20326 (vc-diff-internal): New arg specifying diff buffer.
20327 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20328 reuse an existing *vc-diff* buffer (Bug#8927).
20330 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20332 2011-06-26 Glenn Morris <rgm@gnu.org>
20334 * progmodes/f90.el (f90-critical-indent): New option.
20335 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20336 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20337 (f90-mode): Doc fix.
20338 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20339 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20340 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20341 (f90-match-end): Handle block, critical.
20343 2011-06-25 Glenn Morris <rgm@gnu.org>
20345 * calendar/diary-lib.el (diary-included-files): Doc fix.
20346 (diary-include-files): New function, extracted from
20347 diary-include-other-diary-files and diary-mark-included-diary-files.
20348 (diary-include-other-diary-files, diary-mark-included-diary-files):
20349 Just call diary-include-files.
20350 (diary-mark-entries): Reset diary-included-files on first call.
20352 * calendar/diary-lib.el (diary-mark-entries)
20353 (diary-mark-included-diary-files):
20354 Visit included diary-files in temp buffers.
20356 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20357 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20358 (f90-start-block-re, f90-imenu-generic-expression)
20359 (f90-looking-at-program-block-start, f90-no-block-limit):
20360 Add support for submodules.
20362 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20363 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20365 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20367 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20368 buffer-file-type before setting its value, to avoid disastrous
20369 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20371 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20373 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20375 * ses.el (ses-unload-function):
20376 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20378 * proced.el (proced-unload-function):
20379 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20381 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20383 * server.el (server-create-window-system-frame): Add parameters arg.
20384 (server-process-filter): Doc fix. Handle frame-parameters.
20386 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20388 Fix bug#8730, bug#8781.
20390 * loadhist.el (unload--set-major-mode): New function.
20391 (unload-feature): Use it.
20393 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20394 (python-unload-function): New function.
20396 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20398 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20400 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20402 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20403 the candidates list.
20405 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20407 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20409 2011-06-23 Richard Stallman <rms@gnu.org>
20411 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20412 (rmail-variables): Set next-error-move-function.
20413 (rmail-what-message): Take argument POS.
20414 (rmail-next-error-move): New function.
20416 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20418 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20419 messages for adjacent non-terminals.
20421 2011-06-23 Richard Stallman <rms@gnu.org>
20423 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20424 (rmail-show-message-1): Preserve buffer modified flag.
20425 (rmail-start-mail): Don't specify use of rmail-mail-return;
20426 that's done by mail-bury now.
20427 (rmail-mail-return): Handle arg NEWBUF.
20429 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20431 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20434 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20436 * window.el (get-lru-window, get-mru-window)
20437 (get-largest-window): Never return a minibuffer window.
20438 (display-buffer-pop-up-window): Fix a bug that could lead to
20439 reusing the minibuffer window.
20440 (display-buffer): Pass original specifier argument to
20441 display-buffer-function instead of the normalized one.
20442 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20444 2011-06-22 Leo Liu <sdl.web@gmail.com>
20446 * minibuffer.el (completing-read-function)
20447 (completing-read-default): Move from minibuf.c.
20449 2011-06-22 Richard Stallman <rms@gnu.org>
20451 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20452 to Rmail even if not started by a special Rmail command.
20454 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20455 Copy the buffer currently showing just one message.
20457 2011-06-22 Roland Winkler <winkler@gnu.org>
20459 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20460 (bibtex-clean-entry): First delete the old key so that a
20461 customized algorithm for generating the new key does not get
20462 confused by the old key.
20463 (bibtex-url): Obey regexp of first step.
20464 (bibtex-search-entries): Do not use add-to-list with local
20467 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20469 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20470 stored a user name, then query for the password first, instead of
20471 waiting for SMTP to give an error message and the trying again.
20473 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20475 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20476 BUFFER in call-process.
20478 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20480 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20482 (smtpmail-try-auth-methods): Require user name and password from
20485 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20487 * window.el (display-buffer-default-specifiers)
20488 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20489 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20490 (split-window): Normalize SIDE argument (Bug#8916).
20492 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20493 (special-display-frame-alist, special-display-popup-frame):
20494 Remove duplicate declarations. These are now in window.el.
20496 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20498 * mail/smtpmail.el (smtpmail-via-smtp):
20499 Set :use-starttls-if-possible so that we always use STARTTLS if the
20500 server supports it. SMTP servers that support STARTTLS commonly
20503 * net/network-stream.el (network-stream-open-starttls): Support
20504 upgrading to STARTTLS always, even if we don't have built-in support.
20505 (open-network-stream): Add the :always-query-capabilities keyword.
20507 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20508 upgrades with `open-network-stream', and rely solely on
20509 auth-source for all credentials. Big changes throughout the file,
20511 (smtpmail-auth-credentials): Remove.
20512 (smtpmail-starttls-credentials): Remove.
20513 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20516 * net/network-stream.el (network-stream-open-starttls):
20517 Provide support for client certificates both for external and built-in
20519 (auth-source): Require.
20520 (open-network-stream): Document the :client-certificate keyword.
20521 (network-stream-certificate): Change cert-cert to cert and
20524 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20526 * net/tramp-cache.el (top): Don't load the persistency file when
20527 "emacs -Q" has been called.
20529 2011-06-21 Tim Harper <timcharper@gmail.com>
20531 * term/ns-win.el (ns-initialize-window-system):
20532 Set application-specific `ApplePressAndHoldEnabled' system
20533 resource to NO as it is not yet supported by the NS port.
20535 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20537 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20538 (list-dynamic-libraries): ...not here.
20540 2011-06-21 Leo Liu <sdl.web@gmail.com>
20542 * subr.el (sha1): Implement sha1 using secure-hash.
20544 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20546 * window.el (display-buffer-alist): In default value do not
20547 enforce searching a window on any but the selected frame.
20548 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20549 (display-buffer-select-window): Remove function.
20550 (display-buffer-in-window): When a window on another frame gets
20551 reused, do not select it any more but just raise its frame if
20552 necessary (Bug#8851) and (Bug#8856).
20553 (display-buffer-normalize-options): Handle pop-up-frames related
20554 options more faithfully.
20555 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20556 window if it is on another frame.
20557 (display-buffer-alist, display-buffer-default-specifiers):
20558 Don't make new frame unsplittable by default.
20559 (display-buffer-normalize-argument): Fix doc-string typo and use
20560 'same-frame-other-window instead of 'other-window when associating
20561 with display-buffer-macro-specifiers.
20563 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20565 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20567 (5x5-mode-map, 5x5-mode-menu): Bind them.
20568 (5x5-draw-grid): Tweak the solver's rendering.
20570 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20572 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20573 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20575 2011-06-21 Drew Adams <drew.adams@oracle.com>
20577 * menu-bar.el: Use function variable instead of switch-to-buffer.
20578 (menu-bar-select-buffer-function): New variable.
20579 (menu-bar-update-buffers): Use it (bug#8876).
20581 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20583 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20586 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20588 * x-dnd.el (x-dnd-version-from-flags)
20589 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20590 and long as number (Bug#8899).
20591 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20593 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20595 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20596 (completion-try-completion, completion-all-completions): Compute the
20597 metadata argument if it's missing; make it optional (bug#8795).
20599 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20600 (widget-complete): Use new :completion-function property.
20601 (widget-completions-at-point): New function.
20602 (default): Use :completion-function instead of :complete.
20603 (widget-default-completions): Rename from widget-default-complete;
20605 (widget-string-complete, widget-file-complete, widget-color-complete):
20607 (file, symbol, function, variable, coding-system, color):
20608 * international/mule-cmds.el (default-input-method, charset)
20609 (language-info-custom-alist):
20610 * cus-edit.el (face): Use new property :completions.
20612 * progmodes/pascal.el (pascal-completions-at-point): New function.
20613 (pascal-mode): Use it.
20614 (pascal-mode-map): Use completion-at-point.
20615 (pascal-toggle-completions): Make obsolete.
20616 (pascal-complete-word, pascal-show-completions):
20617 * progmodes/octave-mod.el (octave-complete-symbol):
20618 Redefine as obsolete alias.
20619 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20620 Signal absence of completion info for old Octave,
20621 (inferior-octave-complete): Redefine as obsolete alias.
20622 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20623 (meta-completions-at-point): Rename from meta-complete-symbol and
20624 adapt it for use on completion-at-point-functions.
20625 (meta-common-mode): Use it.
20626 (meta-looking-at-backward, meta-match-buffer): Remove.
20627 (meta-complete-symbol): Redefine as obsolete alias.
20628 (meta-common-mode-map): Use completion-at-point.
20629 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20630 (makefile-mode-map): Use completion-at-point.
20631 (makefile-completions-at-point): Rename from makefile-complete and
20632 adapt it for use on completion-at-point-functions.
20633 (makefile-mode): Use it.
20634 (makefile-complete): Redefine as obsolete alias.
20636 2011-06-20 Deniz Dogan <deniz@dogan.se>
20638 * net/rcirc.el: Delete trailing whitespaces once and for all.
20640 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20642 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20644 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20646 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20648 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20650 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20652 * window.el (display-buffer-other-window-means-other-frame):
20653 Call display-buffer-normalize-alist.
20654 (display-buffer-normalize-specifiers-1): Rename to
20655 display-buffer-normalize-argument. New argument other-frame.
20657 (display-buffer-normalize-specifiers-2): Rename to
20658 display-buffer-normalize-options.
20659 (display-buffer-normalize-alist-1): New function.
20660 (display-buffer-normalize-specifiers-3): Rename to
20661 display-buffer-normalize-alist.
20662 Call display-buffer-normalize-alist-1.
20663 (display-buffer-normalize-options-inhibit): New variable.
20664 (display-buffer-normalize-specifiers): Rewrite calling
20665 display-buffer-normalize-alist,
20666 display-buffer-normalize-argument, and
20667 display-buffer-normalize-options. Don't call the latter if
20668 display-buffer-normalize-options-inhibit is non-nil.
20669 (frame-auto-delete): New option.
20670 (window-deletable-p): Use frame-auto-delete.
20671 (window-list-no-nils, window-state-ignored-parameters)
20672 (window-state-get-1, window-state-get, window-state-put-list)
20673 (window-state-put-1, window-state-put-2, window-state-put):
20675 (display-buffer-normalize-options): Move special-display-p group
20676 after pop-up-frame group (Bug#8851) and (Bug#8856).
20678 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20680 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20682 (rx-submatch-n): New function.
20685 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20688 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20690 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20692 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20693 anytime existing face settings are present (Bug#8889).
20695 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20696 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20697 Remove unused argument.
20699 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20701 * window.el (display-buffer-default-specifiers):
20702 Remove pop-up-frame. Add pop-up-window-min-height,
20703 pop-up-window-min-width, and another reuse-window specifier
20704 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20705 (display-buffer-normalize-specifiers-2):
20706 Handle split-height-threshold and split-width-threshold also when
20707 pop-up-windows is unset. Add a reuse-window specifier for the
20708 case popping up a new window fails.
20709 (special-display-popup-frame): Remove double quoting.
20710 (display-buffer-normalize-specifiers-1): Fix thinko.
20712 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20714 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20715 according to comint-completion-addsuffix.
20717 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20718 (pcomplete-suffix-list): Mark as obsolete.
20719 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20720 pcomplete-seen in the closure.
20721 (pcomplete-comint-setup): Setup completion-at-point as well.
20722 (pcomplete--entries): New function.
20723 (pcomplete--env-regexp): New var.
20724 (pcomplete-entries): Rewrite to work with partial-completion and
20725 without relying on pcomplete-suffix-list.
20726 (pcomplete-pare-list): Remove, unused.
20728 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20730 * window.el (display-buffer-alist): Set pop-up-window-min-height
20731 and pop-up-window-min-width in default value. Reported by
20732 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20733 other-window-means-other-frame.
20734 (display-buffer-macro-specifiers): Comment out entry for
20735 other-window specifier.
20736 (display-buffer-other-window-means-other-frame): New function.
20737 (display-buffer-normalize-specifiers-1): New arguments
20738 buffer-name and label. Treat other-window case specially.
20739 (display-buffer-normalize-specifiers-2): Treat other-window case
20741 (display-buffer-normalize-specifiers-3): New function.
20742 (display-buffer-normalize-specifiers):
20743 Call display-buffer-normalize-specifiers-3.
20745 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20747 * window.el (same-window-p): Fix two typos introduced when
20748 adding with-no-warnings.
20749 (display-buffer-normalize-specifiers-1): Don't check
20750 pop-up-frames for 'unset initialization.
20751 (display-buffer-normalize-specifiers-2): Major rewrite using
20752 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20753 (pop-up-frames, display-buffer-reuse-frames)
20754 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20755 Suggested by David Engster <deng@randomsample.de>.
20756 (even-window-heights): Initialize to 'unset.
20757 (display-buffer-alist-set): Handle new 'unset initializations.
20758 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20761 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20763 * window.el (display-buffer-normalize-specifiers-1):
20764 Respect current value of pop-up-frames for most reasonable values of
20765 second argument of display-buffer (Bug#8865).
20766 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20767 (switch-to-buffer-other-window-same-frame)
20768 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20770 (display-buffer): Don't check noninteractive when calling
20771 display-buffer-pop-up-frame.
20772 (display-buffer-pop-up-frame): Never pop up a frame in
20773 noninteractive mode (Bug#8857).
20774 (enlarge-window, shrink-window): Don't report an error when the
20775 window can't be resized as requested (Bug#8862).
20777 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20779 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20781 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20783 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20785 2011-06-15 Alan Mackenzie <acm@muc.de>
20787 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20788 for declarators, disable knr checking to speed up for normal files.
20789 2: Refactor, replacing a sequence of nested if forms by a cond form.
20791 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20793 * net/network-stream.el (open-network-stream): Add the keyword
20794 :always-query-capabilities for the case where you want to force a
20795 `plain' network connection, but the protocol still requires the
20796 capabilitiy command (i.e., SMTP and EHLO).
20798 * subr.el (process-live-p): Rename from `process-alive-p' for
20799 consistency with other `-live-p' functions.
20801 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20803 * window.el (same-window-buffer-names, same-window-regexps)
20804 (special-display-frame-alist, special-display-popup-frame)
20805 (special-display-function, special-display-buffer-names)
20806 (special-display-regexps, pop-up-frame-alist)
20807 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20808 (pop-up-windows, split-window-preferred-function)
20809 (split-height-threshold, split-width-threshold, even-window-heights)
20810 (display-buffer-mark-dedicated): Don't encourage the use of
20811 display-buffer-alist from Elisp code.
20813 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20815 * progmodes/python.el (python-mode): Derive from prog-mode.
20816 * progmodes/ps-mode.el (ps-mode):
20817 * progmodes/mixal-mode.el (mixal-mode):
20818 * progmodes/cfengine.el (cfengine-mode):
20819 * progmodes/ld-script.el (ld-script-mode): Likewise.
20821 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20823 * window.el (display-buffer-alist): Trim default value to avoid
20824 popping up a new frame (Bug#8857) or reusing an arbitrary window
20826 (display-buffer): Do not fall back on popping up a new frame in
20827 batch mode (Bug#8857).
20829 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20831 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20832 (custom-theme-summary): New function.
20833 (customize-themes): Use it.
20835 2011-06-13 Glenn Morris <rgm@gnu.org>
20837 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20839 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20841 * help.el (help-window): Remove variable.
20842 (help-window-point-marker, temp-buffer-max-height)
20843 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20844 (help-print-return-message): Don't set help-window.
20845 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20846 (help-window-setup-finish): Remove.
20847 (help-window-display-message, help-window-setup)
20848 (with-help-window): Major rewrite based on new
20849 display-buffer-window variable.
20851 * help-mode.el (help-mode-finish): Remove help-window related
20854 * view.el (view-exits-all-viewing-windows): Remove reference to
20855 view-return-to-alist in doc-string.
20856 (view-return-to-alist): Make obsolete.
20857 (view-buffer): Call pop-to-buffer-same-window and remove
20859 (view-buffer-other-window): Call pop-to-buffer-other-window and
20860 simplify code. Ignore second argument.
20861 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20862 simplify code. Ignore second argument.
20863 (view-return-to-alist-update): Make obsolete.
20864 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20865 Rewrite using quit-restore window parameters.
20866 (view-mode-exit): Rename second argument to EXIT-ONLY.
20867 Rewrite using quit-restore-window.
20868 (View-exit, View-exit-and-edit, View-leave, View-quit)
20869 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20870 appropriate arguments.
20871 (view-end-message): Use quit-restore window parameter.
20873 * window.el (display-buffer-function): Rewrite doc-string.
20874 (display-buffer-window, display-buffer-alist): New variables.
20875 (display-buffer-split-specifiers)
20876 (display-buffer-side-specifiers)
20877 (display-buffer-macro-specifiers): New constants.
20878 (display-buffer-even-window-sizes, display-buffer-set-height)
20879 (display-buffer-set-width, display-buffer-select-window)
20880 (display-buffer-in-window, display-buffer-reuse-window)
20881 (display-buffer-split-window-1, display-buffer-split-window)
20882 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20883 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20884 (display-buffer-in-side-window, normalize-buffer-to-display)
20885 (display-buffer-normalize-specifiers-1)
20886 (display-buffer-normalize-specifiers-2)
20887 (display-buffer-normalize-specifiers, display-buffer-frame):
20889 (display-buffer): Major rewrite.
20890 (display-buffer-other-window, display-buffer-other-frame)
20891 (pop-to-buffer, switch-to-buffer-other-window)
20892 (switch-to-buffer-other-frame): Rewrite.
20893 (display-buffer-same-window, display-buffer-same-frame)
20894 (display-buffer-same-frame-other-window)
20895 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20896 (pop-to-buffer-other-window)
20897 (pop-to-buffer-same-frame-other-window)
20898 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20899 (switch-to-buffer-other-window-same-frame): New functions.
20900 (same-window-p, special-display-p): Rewrite disabling warnings.
20902 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20903 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20905 (same-window-buffer-names, same-window-regexps)
20906 (special-display-frame-alist, special-display-popup-frame)
20907 (special-display-function, special-display-buffer-names)
20908 (special-display-regexps, pop-up-frame-alist)
20909 (pop-up-frame-function, split-window-preferred-function)
20910 (split-height-threshold, split-width-threshold)
20911 (even-window-heights): Make obsolete.
20913 2011-06-12 Glenn Morris <rgm@gnu.org>
20915 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20916 Misc simplifications.
20918 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20920 * window.el (window-safely-shrinkable-p): Restore function which
20921 was inadvertently removed in change from 2011-06-11. Declare as
20924 * calendar/calendar.el (calendar-generate-window):
20925 Use window-iso-combined-p instead of combination of one-window-p and
20926 window-safely-shrinkable-p.
20928 2011-06-12 Glenn Morris <rgm@gnu.org>
20930 * progmodes/fortran.el (fortran-mode-syntax-table):
20931 * progmodes/f90.el (f90-mode-syntax-table):
20932 Set % to punctuation. (Bug#8820)
20933 (f90-find-tag-default): Remove, no longer needed.
20935 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20937 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20939 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20941 * image.el (image-animated-p): Return animation delay in seconds.
20942 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20943 (image-animate-timeout): Remove DELAY argument. Don't assume
20944 every subimage has the same delay; get it from image-animated-p.
20945 (image-animate): Caller changed.
20947 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20949 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20950 to ignored backtrace functions.
20952 2011-06-11 Glenn Morris <rgm@gnu.org>
20954 * calendar/appt.el (appt-disp-window-function): Doc fix.
20955 (appt-check): Handle overlapping appointments. (Bug#8337)
20957 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20959 * window.el (window-tree-1, window-tree): New functions, moving
20960 the latter to window.el.
20961 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20962 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20963 (bw-refresh-edges): Remove.
20964 (balance-windows-1, balance-windows-2): New functions.
20965 (balance-windows): Rewrite in terms of window tree functions,
20966 balance-windows-1 and balance-windows-2.
20967 (bw-adjust-window): Remove.
20968 (balance-windows-area-adjust): New function with functionality of
20969 bw-adjust-window but using resize-window.
20970 (set-window-text-height): Rewrite doc-string.
20971 Use normalize-live-window and resize-window.
20972 (enlarge-window-horizontally, shrink-window-horizontally):
20973 Rename argument to DELTA.
20974 (window-buffer-height): New function.
20975 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20976 Rewrite using new window resize routines.
20977 (kill-buffer-and-window, mouse-autoselect-window-select):
20978 Use ignore-errors instead of condition-case.
20979 (quit-window): Call delete-frame instead of delete-windows-on
20980 for the only buffer on frame.
20982 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20984 * loadup.el (top-level): Load window before files for the sake
20985 of replace-buffer-in-windows.
20987 * files.el (read-buffer-to-switch)
20988 (switch-to-buffer-other-window)
20989 (switch-to-buffer-other-frame, display-buffer-other-frame):
20992 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20993 (previous-buffer): Move to window.el.
20995 * bindings.el (unbury-buffer): Move to window.el.
20997 * window.el (delete-other-windows-vertically): Move after
20998 definition of delete-other-windows.
20999 (other-window, delete-windows-on, replace-buffer-in-windows):
21000 Move here from window.c.
21001 (record-window-buffer, unrecord-window-buffer)
21002 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21003 (switch-to-next-buffer): New functions.
21004 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21005 from simple.el. Call switch-to-next-buffer.
21006 (previous-buffer): Move here from simple.el.
21007 Call switch-to-prev-buffer.
21008 (bury-buffer): Move here from buffer.c. Switch to previous
21009 buffer when window cannot be deleted.
21010 (unbury-buffer): Move here from bindings.el.
21011 (ctl-x-map): Move binding for other-window from window.c to
21013 (read-buffer-to-switch, switch-to-buffer-other-window)
21014 (switch-to-buffer-other-frame): Move here from files.el.
21015 (normalize-buffer-to-switch-to): New functions.
21016 (switch-to-buffer): Move here from buffer.c.
21017 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21019 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21021 * window.el (window-min-height, window-min-width): Move here
21022 from window.c. Add defcustoms and rewrite doc-strings.
21023 (resize-mini-window, resize-window): New functions.
21024 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21025 Move here from window.c.
21026 (maximize-window, minimize-window): New functions.
21027 (delete-window, delete-other-windows, split-window): Move here
21029 (window-split-min-size): New function.
21030 (split-window-keep-point): Mention split-window-above-each-other
21031 instead of split-window-vertically.
21032 (split-window-above-each-other, split-window-vertically):
21033 Rename split-window-vertically to split-window-above-each-other
21034 and provide defalias for old definition.
21035 (split-window-side-by-side, split-window-horizontally):
21036 Rename split-window-horizontally to split-window-side-by-side
21037 and provide defalias for the old definition.
21038 (ctl-x-map): Move bindings for delete-window,
21039 delete-other-windows and enlarge-window here from window.c.
21040 Replace bindings for split-window-vertically and
21041 split-window-horizontally by bindings for
21042 split-window-above-each-other and split-window-side-by-side.
21044 * cus-start.el (all): Remove entries for window-min-height and
21045 window-min-width. Add entries for window-splits and
21048 2011-06-09 Glenn Morris <rgm@gnu.org>
21050 * calendar/appt.el (appt-mode-line): New function.
21051 (appt-check, appt-disp-window): Use it.
21053 * files.el (hack-one-local-variable-eval-safep):
21054 Allow minor-modes with explicit +/-1 arguments.
21056 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21058 * term/xterm.el (xterm): Add defgroup.
21059 (xterm-extra-capabilities): Add defcustom to supply known xterm
21060 capabilities, skip querying them, or query them (default).
21061 (terminal-init-xterm): Use it.
21062 (terminal-init-xterm-modify-other-keys): New function to set up
21063 modifyOtherKeys support to simplify `terminal-init-xterm'.
21065 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21067 * window.el (resize-window-reset, resize-window-reset-1)
21068 (resize-subwindows-skip-p, resize-subwindows-normal)
21069 (resize-subwindows, resize-other-windows, resize-this-window)
21070 (resize-root-window, resize-root-window-vertically)
21071 (window-deletable-p, window-or-subwindow-p)
21072 (frame-root-window-p): New functions.
21074 2011-06-09 Glenn Morris <rgm@gnu.org>
21076 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21077 (ange-ftp-get-files): Use it.
21079 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21081 * mail/sendmail.el (mail-recover-1, mail-recover):
21082 * files.el (recover-file, recover-session):
21083 Handle dired-listing-switches not being just a single short option.
21085 2011-06-09 Glenn Morris <rgm@gnu.org>
21087 * calendar/appt.el (appt-display-message, appt-disp-window):
21088 Handle lists of appointments.
21090 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21092 * window.el (one-window-p): Move down in code.
21093 Rewrite doc-string.
21094 (window-current-scroll-bars): Rewrite doc-string.
21095 Normalize live window argument.
21096 (walk-windows, get-window-with-predicate, count-windows):
21097 Rewrite doc-string. Use window-list-1.
21098 (window-in-direction-2, window-in-direction, get-mru-window):
21101 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21103 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21104 Doc fix (Bug#8713).
21106 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21108 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21110 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21112 * loadhist.el (unload-feature-special-hooks):
21113 Add `comint-output-filter-functions'.
21115 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21117 * calendar/appt.el (appt-check): Move some initializations into the let.
21119 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21121 * window.el (window-height): Defalias to window-total-height.
21122 (window-width): Defalias to window-body-width.
21124 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21126 * image-mode.el (image-toggle-animation): New command.
21127 (image-mode-map): Bind it to RET.
21128 (image-mode): Update message.
21129 (image-toggle-display-image): Avoid a spurious cache flush.
21130 (image-transform-rotation): Doc fix.
21131 (image-transform-properties): Return quickly in the normal case.
21132 (image-animate-loop): Rename from image-animate-max-time.
21134 * image.el (image-animate-max-time): Move to image-mode.el.
21135 (create-animated-image): Remove unnecessary function.
21136 (image-animate): Rename from image-animate-start. New arg.
21137 (image-animate-stop): Remove; just use image-animate-timer.
21138 (image-animate-timer): Use car-safe.
21139 (image-animate-timeout): Rename argument.
21141 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21143 * window.el (get-lru-window, get-largest-window): Move here from
21144 window.c. Rename first argument to ALL-FRAMES.
21145 Rephrase doc-strings.
21146 (get-buffer-window-list): Rewrite using window-list-1.
21147 Rephrase doc-string.
21148 (window-safe-min-height, window-safe-min-width): New constants.
21149 (window-size-ignore, window-min-size, window-min-size-1)
21150 (window-sizable, window-sizable-p, window-size-fixed-1)
21151 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21152 (window-max-delta-1, window-max-delta, window-resizable)
21153 (window-resizable-p, window-total-height, window-total-width)
21154 (window-body-width): New functions.
21155 (window-full-height-p, window-full-width-p): Rewrite using
21157 (window-body-height): Rewrite using window-body-size.
21159 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21161 * window.el (window-right, window-left, window-child)
21162 (window-child-count, window-last-child, window-any-p)
21163 (normalize-live-buffer, normalize-live-frame)
21164 (normalize-any-window, normalize-live-window)
21165 (window-iso-combination-p, window-iso-combined-p)
21166 (window-iso-combinations)
21167 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21168 (windows-with-parameter, window-with-parameter)
21169 (window-atom-root, make-window-atom, window-atom-check-1)
21170 (window-atom-check, window-side-check, window-check):
21172 (ignore-window-parameters, window-sides, window-sides-vertical)
21173 (window-sides-slots): New variables.
21174 (window-size-fixed): Move down in code. Minor doc-string fix.
21176 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21178 * comint.el (comint-dynamic-complete-as-filename)
21179 (comint-dynamic-complete-filename): Correctly call
21180 completion-in-region.
21182 2011-06-05 Deniz Dogan <deniz@dogan.se>
21184 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21187 2011-06-05 Deniz Dogan <deniz@dogan.se>
21189 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21190 (rcirc): Use it to prompt for encryption.
21192 2011-06-05 Roland Winkler <winkler@gnu.org>
21194 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21195 (bibtex-search-entries): New command bound to C-c C-a.
21196 (bibtex-display-entries): New function.
21198 2011-06-05 Roland Winkler <winkler@gnu.org>
21200 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21201 (bibtex-insert-kill): After yanking insert newline if necessary.
21202 (bibtex-initialize): Call bibtex-string-files-init only once.
21203 (bibtex-mode): Do not call easy-menu-add.
21204 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21205 (bibtex-yank): Set arg properly if nil.
21207 2011-06-05 Roland Winkler <winkler@gnu.org>
21209 * textmodes/bibtex.el (bibtex-search-entry-globally):
21211 (bibtex-search-entry): Use it.
21213 2011-06-05 Roland Winkler <winkler@gnu.org>
21215 * textmodes/bibtex.el (bibtex-entry-format): New option
21217 (bibtex-format-entry, bibtex-reformat): Honor this option.
21218 (bibtex-parse-entry): Return fields in proper order.
21220 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21222 * doc-view.el (doc-view-remove-if): Move computation of result out
21223 of `dolist' to silence misleading lexical-binding warning.
21225 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21227 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21228 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21230 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21232 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21235 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21237 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21238 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21239 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21240 (tramp-parse-putty):
21241 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21242 (tramp-completion-function-alist-ssh)
21243 (tramp-completion-function-alist-telnet)
21244 (tramp-completion-function-alist-su)
21245 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21248 * net/tramp-ftp.el:
21250 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21251 load "tramp.el" `tramp-set-completion-function'.
21253 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21255 * shell.el: Require and use pcomplete.
21256 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21257 (shell-completion-vars): Set pcomplete-default-completion-function.
21259 2011-06-04 Deniz Dogan <deniz@dogan.se>
21261 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21264 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21266 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21268 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21270 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21271 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21272 * vc/log-view.el (log-view-beginning-of-defun):
21273 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21274 (smerge-refine-forward, smerge-refine-chopup-region):
21275 Silence warning for unused `dotimes' counter variables.
21277 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21279 * net/tramp.el (tramp-with-progress-reporter): Rename from
21280 with-progress-reporter. Use `declare'.
21281 * net/tramp-smb.el:
21283 * net/tramp-gvfs.el: Update all uses.
21285 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21287 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21288 buffer isn't killed before making it current.
21290 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21292 Silence various byte-compiler warnings.
21293 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21294 `access-type' and new obsolescence format.
21295 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21297 (byte-compile-check-variable): New `access-type' argument.
21298 Only warn if the access-type is obsolete.
21299 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21300 (byte-compile-variable-set): Adjust callers.
21301 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21302 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21303 setting it as obsolete.
21304 * simple.el (minibuffer-completing-symbol):
21305 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21306 access as obsolete.
21307 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21309 * international/quail.el (quail-mouse-choose-completion): Remove unused
21310 code referring to obsolete var.
21311 (quail-choose-completion-string): Remove.
21312 * server.el (server-clients-with, server-kill-buffer-query-function)
21313 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21314 * proced.el (proced-send-signal):
21315 * emacs-lisp/lisp.el (lisp-complete-symbol):
21316 Replace completion-annotate-function with completion-extra-properties.
21318 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21320 * simple.el (goto-line): Use read-number.
21321 (overriding-map-is-bound): Remove.
21322 (saved-overriding-map): Change default.
21323 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21324 Take the map as argument.
21325 (universal-argument, negative-argument, digit-argument): Use it.
21326 (restore-overriding-map): Adjust.
21327 (do-auto-fill): Use fill-forward-paragraph.
21328 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21330 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21331 (minibuffer-inactive-mode): New major mode.
21332 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21333 the *Messages* buffer" hack.
21334 (mouse-popup-menubar): Don't burp if the event is a normal key.
21336 Miscellaneous tweaks.
21337 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21338 lexical scoping as in subr.el's dolist and dotimes.
21339 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21340 Silence compiler warning.
21341 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21342 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21343 * international/ccl.el (ccl-compile): Trivial simplification.
21344 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21345 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21346 `printflag' argument.
21347 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21348 Purecopy the whole obsolescence data.
21350 2011-06-01 Leo Liu <sdl.web@gmail.com>
21352 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21353 improve doc-string as suggested by Marco Pessotto
21354 <melmothx@gmail.com>.
21355 (rcirc-print): Fix last change.
21357 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21359 * minibuffer.el (complete-with-action): Return nil for the metadata and
21360 boundaries of non-functional tables.
21361 (completion-table-dynamic): Return nil for the metadata.
21362 (completion-table-with-terminator): Add default case, using
21363 complete-with-action.
21364 (completion--metadata): New function.
21365 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21366 to try and avoid pathological performance problems.
21367 (completion--embedded-envvar-table): Return `category' metadata.
21369 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21371 * subr.el (process-alive-p): New tiny convenience function.
21373 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21375 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21376 content but also its previous major mode.
21378 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21380 * emacs-lisp/debug.el (debug): Restore the previous content of the
21381 *Backtrace* buffer when we exit with C-M-c.
21383 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21385 * minibuffer.el: Add metadata method to completion tables.
21386 (completion-category-overrides): New defcustom.
21387 (completion-metadata, completion--field-metadata)
21388 (completion-metadata-get, completion--styles)
21389 (completion--cycle-threshold): New functions.
21390 (completion-try-completion, completion-all-completions):
21391 Add `metadata' argument to choose completion-styles.
21392 (completion--do-completion): Use metadata to choose cycling.
21393 (completion-all-sorted-completions): Use metadata for sorting.
21394 Remove :completion-cycle-penalty which is not needed any more.
21395 (completion--try-word-completion): Add `metadata' argument.
21396 (minibuffer-completion-help): Check metadata for annotation function
21398 (completion-file-name-table): Return `category' metadata.
21399 (minibuffer-completing-file-name): Make obsolete.
21400 * simple.el (minibuffer-completing-symbol): Make obsolete.
21401 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21402 completion-try-completion.
21404 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21406 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21408 2011-05-30 Leo Liu <sdl.web@gmail.com>
21410 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21411 (rcirc-print): Decode all incoming messages (bug#8744).
21412 (rcirc-decode-coding-system): Allow value nil for automatic coding
21415 2011-06-01 Glenn Morris <rgm@gnu.org>
21417 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21419 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21421 * image.el (image-animate-max-time): Allow nil and t values.
21423 (create-animated-image): Doc fix.
21424 (image-animate-start): Remove second arg; just use
21425 image-animate-max-time.
21426 (image-animate-timeout): Doc fix. Args changed.
21428 * image-mode.el (image-toggle-display-image): Ensure that the
21429 image spec passed to the animate timer is the same object as in
21430 the buffer's display property (Bug#6981).
21431 (image-transform-properties): Doc fix.
21433 * image.el (image-animate-max-time): Default to nil.
21435 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21437 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21438 entire buffer list (Bug#8184).
21440 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21442 * image.el (imagemagick-types-inhibit)
21443 (imagemagick-register-types): Doc fix.
21445 2011-05-29 Deniz Dogan <deniz@dogan.se>
21447 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21450 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21452 * select.el: Don't perform clipboard-manager saving in hooks;
21453 leave the hooks empty.
21455 2011-05-28 Leo Liu <sdl.web@gmail.com>
21457 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21458 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21459 (occur-edit-mode): New major mode (Bug#8463).
21460 (occur-after-change-function): New function.
21461 (occur-engine): Give Occur tags a read-only property.
21463 2011-05-28 Kevin Ryde <user42@zip.com.au>
21465 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21467 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21469 * bindings.el (help-echo): Make the initial non-indicator dash
21470 empty on graphical terminals (Bug#7295).
21472 * files.el (auto-mode-alist): Move config rule after the
21473 in-stripping one (Bug#8547).
21475 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21477 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21478 setting (Bug#8740).
21480 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21482 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21483 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21486 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21488 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21490 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21492 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21493 (hs-hide-block-at-point, hs-find-block-beginning)
21494 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21497 2011-05-28 Glenn Morris <rgm@gnu.org>
21499 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21501 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21503 * help-fns.el (describe-function-1): If the function is a derived
21504 major mode, print the parent mode.
21506 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21507 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21509 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21511 * minibuffer.el (completion--capf-wrapper): Check applicability before
21512 returning non-nil for non-exclusive completion data.
21513 * progmodes/etags.el (tags-completion-at-point-function):
21514 * info-look.el (info-lookup-completions-at-point): Mark as
21516 (info-complete): Adjust accordingly.
21518 * info-look.el: Convert to lexical-binding and completion-at-point.
21519 (info-lookup-completions-at-point): New function.
21520 (info-complete): Use it and completion-in-region.
21522 2011-05-28 Drew Adams <drew.adams@oracle.com>
21524 * isearch.el: Let M-e start with point at the first mismatched char.
21525 (isearch-fail-pos): New function.
21526 (isearch-edit-string): Use it.
21528 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21530 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21532 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21534 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21535 traversal functions for avl-trees.
21536 (avl-tree--stack): New struct.
21537 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21538 (avl-tree-enter): Add optional `updatefun' arg.
21539 (avl-tree--do-enter): Add optional `updatefun' arg.
21540 Change return value.
21541 (avl-tree-delete): Add optional `test' and `nilflag' args.
21542 (avl-tree--do-delete): Add `test' and `nilflag' args.
21543 Change return value.
21544 (avl-tree-member): Add optional `nilflag'
21545 (avl-tree-member-p): New function.
21546 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21547 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21548 (avl-tree-stack-empty-p): New functions.
21550 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21551 avl-tree--del-balance1 and make it work both ways.
21552 (avl-tree--del-balance2): Remove.
21553 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21554 make it work both ways.
21555 (avl-tree--enter-balance2): Remove.
21556 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21558 (avl-tree--mapc, avl-tree-map): Add direction argument.
21560 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21562 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21564 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21566 * select.el: Support clipboard managers with built-in function
21567 x-clipboard-manager-save, via delete-frame-functions and
21569 (xselect-convert-to-targets): Add MULTIPLE target to list.
21570 (xselect-convert-to-save-targets): New function.
21572 2011-05-27 Kenichi Handa <handa@m17n.org>
21574 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21575 let-binding rfc2047-encode-encoded-words to nil.
21577 2011-05-27 Glenn Morris <rgm@gnu.org>
21579 * mail/emacsbug.el: Don't require url-util.
21581 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21583 * files.el (set-auto-mode):
21584 Also respect mode: entries at the end of the file. (Bug#8586)
21586 2011-05-26 Glenn Morris <rgm@gnu.org>
21588 * files.el (hack-local-variables-prop-line, hack-local-variables):
21589 Downcase mode names, as seems to be traditional.
21590 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21592 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21593 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21595 2011-05-25 Julien Danjou <julien@danjou.info>
21597 * textmodes/rst.el (rst-define-level-faces): Do not define face
21598 symbol if it is already defined.
21600 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21602 * play/5x5.el (5x5-new-game, 5x5-randomize):
21603 Reset 5x5-solver-output to nil when a new grid is cast.
21604 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21605 these debugging traces, as defmacro breaks the compiled code.
21607 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21609 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21611 2011-05-24 Leo Liu <sdl.web@gmail.com>
21613 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21614 (vc-bzr-sha1): Adapt.
21616 * sha1.el: Remove. Function `sha1' is now builtin.
21618 * bindings.el: Provide sha1 feature.
21620 2011-05-24 Kenichi Handa <handa@m17n.org>
21622 * mail/sendmail.el: Require `rfc2047'.
21623 (mail-insert-from-field): Do not perform RFC2047 encoding.
21624 (mail-encode-header): New function.
21625 (sendmail-send-it): Set buffer-file-coding-system of the work
21626 buffer to the return value of select-message-coding-system.
21627 Call mail-encode-header.
21629 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21631 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21633 * mail/supercite.el (sc-default-cite-frame):
21634 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21636 2011-05-24 Glenn Morris <rgm@gnu.org>
21638 * progmodes/python.el (brm-menu): Declare.
21640 * emulation/viper.el (viper-set-hooks): Declare.
21642 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21643 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21644 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21645 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21646 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21647 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21649 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21651 Add an :exit-function for completion-at-point.
21653 * minibuffer.el (completion--done): New fun.
21654 (completion--do-completion): Use it. New arg `expect-exact'.
21655 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21656 since completion--do-completion does it for us now.
21657 (minibuffer-force-complete): Use completion--done and
21658 completion--replace. Handle sole-completion case with more care.
21659 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21660 (completion-extra-properties): New var.
21661 (completion-annotate-function): Make obsolete.
21662 (minibuffer-completion-help): Adjust accordingly.
21663 Use completion-list-insert-choice-function.
21664 (completion-at-point, completion-help-at-point):
21665 Bind completion-extra-properties.
21666 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21667 * simple.el (completion-list-insert-choice-function): New var.
21668 (completion-setup-function): Preserve it.
21669 (choose-completion): Pay attention to it, shuffle the code a bit.
21670 (choose-completion-string): New arg `insert-function'.
21672 * textmodes/bibtex.el: Convert to lexical binding.
21673 (bibtex-mode-map): Use completion-at-point.
21674 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21675 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21676 (bibtex-complete): Define as obsolete alias.
21677 (bibtex-complete-internal): Remove.
21678 (bibtex-format-entry): Remove unused sub-group in regexp.
21679 * shell.el (shell--command-completion-data)
21680 (shell-environment-variable-completion):
21681 * pcomplete.el (pcomplete-completions-at-point):
21682 * comint.el (comint--complete-file-name-data): Use :exit-function
21683 instead of completion-table-with-terminator so it also works for
21686 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21688 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21690 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21693 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21695 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21697 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21698 customization variable and implement: If non-nil, auto-fill will
21699 be inhibited while on topic's header line.
21701 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21703 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21704 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21705 always have a solution in grid size = 5 cases.
21706 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21707 (5x5-solver-output, 5x5-log-buffer): New vars.
21708 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21709 Make these variables buffer local to achieve 5x5 multi-session-ness.
21710 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21711 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21712 (5x5-solve-suggest): New funs.
21713 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21714 randomize a grid so that we ensure that there is always a solution.
21715 (5x5-make-random-grid): Allow other movement than flipping.
21717 2011-05-23 Kevin Ryde <user42@zip.com.au>
21719 * emacs-lisp/advice.el (ad-read-advised-function):
21720 Use `function-called-at-point' as the default, if it has
21721 advice and passes PREDICATE.
21723 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21725 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21726 byte-compile-lambda if it's actually a lambda.
21728 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21729 Fix function quoting. Use backquote better.
21731 2011-05-22 Yuanle Song <sylecn@gmail.com>
21733 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21734 matching (Bug#8516).
21736 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21738 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21739 different face (Bug#8178).
21741 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21743 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21744 defface (Bug#8144).
21746 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21748 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21749 funcall as well (bug#8712). Warn when performing those conversions.
21750 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21752 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21754 2011-05-22 Glenn Morris <rgm@gnu.org>
21756 * files.el (hack-local-variables-prop-line): Small simplifications.
21757 (hack-local-variables, hack-local-variables-prop-line):
21758 If MODE-ONLY, return the mode, rather than just `t'.
21760 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21762 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21764 2011-05-21 Glenn Morris <rgm@gnu.org>
21766 * files.el (hack-local-variables-prop-line, hack-local-variables):
21767 If only interested in the mode, don't bother doing the other stuff.
21769 * image-mode.el (image-after-revert-hook):
21770 Redraw all frames on which the image is visible. (Bug#8567)
21772 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21774 * wid-edit.el (widget-checklist-match-inline):
21775 Fix 2011-04-19 change. (Bug#8649)
21777 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21779 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21780 Also allow singlespace after single-letter capitals followed by a dot.
21782 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21783 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21785 2011-05-20 Nix <nix@esperi.org.uk>
21787 * files.el (basic-save-buffer-2):
21788 Fix handling of break-hardlink-on-save with non-existent files.
21790 2011-05-19 Deniz Dogan <deniz@dogan.se>
21792 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21793 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21795 2011-05-19 Glenn Morris <rgm@gnu.org>
21797 * progmodes/f90.el (f90-type-def-re):
21798 Handle "type, bind(c)". (Bug#8691)
21800 * emacs-lisp/autoload.el (batch-update-autoloads):
21801 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21803 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21805 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21806 property for the correct connection in case of multihops.
21808 2011-05-18 Glenn Morris <rgm@gnu.org>
21810 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21811 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21813 Rationalize calendar handling of day and month abbrev-arrays.
21814 * calendar/calendar.el (calendar-customized-p): New function.
21815 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21816 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21818 (calendar-abbrev-length, calendar-day-abbrev-array)
21819 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21820 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21821 Elements may no longer be nil.
21822 (calendar-day-name, calendar-month-name):
21823 Update for changed nature of abbrev arrays.
21824 * calendar/diary-lib.el (diary-name-pattern):
21825 Update for changed nature of abbrev arrays.
21826 (diary-mark-entries-1): Update calendar-make-alist calls.
21827 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21828 * calendar/cal-html.el (cal-html-day-abbrev-array):
21829 Simply inherit from calendar-day-abbrev-array.
21831 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21833 * progmodes/grep.el (grep-mode): Disable default
21834 compilation-directory-matcher setting (bug#8684).
21836 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21838 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21839 instead of "head" and "tail". There were problems with SunOS 5.9,
21840 and it performs better.
21842 2011-05-17 Glenn Morris <rgm@gnu.org>
21844 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21846 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21847 Replace obsolete function.
21849 * shell.el (pcomplete-parse-arguments-function): Declare.
21851 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21852 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21853 (appt-check): Doc fixes.
21854 (appt-disp-window-function, appt-delete-window-function):
21855 Remove needless special case in custom :type.
21856 (appt-display-count): Default to 0, not nil.
21857 (appt-check): Reset appt-display-count to 0, not nil.
21859 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21861 * progmodes/python.el (python-font-lock-keywords):
21862 Add the Python 3.X keyword "nonlocal" (bug#8639).
21864 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21866 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21868 2011-05-16 Kevin Ryde <user42@zip.com.au>
21870 * info-look.el (makefile-automake-mode): New setups, looking in
21871 automake manual, then makefile-mode.
21872 (makefile-mode): Remove automake manual, have it just in
21873 makefile-automake-mode since there's various things different or
21874 not relevant to plain make.
21875 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21876 believe a hypothetical automake-mode would go to makefile-mode,
21877 not the other way around.
21879 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21881 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21882 hunk-end tags (Bug#8672).
21884 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21885 vc-annotate-show-diff-revision-at-line (Bug#8671).
21887 2011-05-14 Glenn Morris <rgm@gnu.org>
21889 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21890 in the middle of an existing one with multiple authors. (Bug#8645)
21891 (change-log-font-lock-keywords): Also handle multiple author lines
21892 with leading tabs. (Bug#8644)
21894 * calendar/appt.el (appt-check): Rename some local variables.
21895 Some simplification/reordering.
21897 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21898 (feedmail-sendmail-f-doesnt-sell-me-out)
21899 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21900 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21901 (feedmail-queue-runner-message-sender): Set :version.
21902 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21903 (bbdb-dwim-net-address, vm-mail): Declare.
21904 (feedmail-binmail-gnulinuxish-template):
21905 Rename from feedmail-binmail-linuxish-template.
21906 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21907 Use insert-buffer-substring.
21909 2011-05-14 Bill Carpenter <bill@carpenter.org>
21911 * mail/feedmail.el (feedmail-patch-level): Increase.
21912 (feedmail-debug): New custom group.
21913 (feedmail-confirm-outgoing-timeout)
21914 (feedmail-sendmail-f-doesnt-sell-me-out)
21915 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21916 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21917 (feedmail-sender-line, feedmail-from-line)
21918 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21919 (feedmail-spray-this-address)
21920 (feedmail-spray-address-fiddle-plex-list)
21921 (feedmail-queue-use-send-time-for-date)
21922 (feedmail-queue-use-send-time-for-message-id)
21923 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21924 (feedmail-buffer-eating-function):
21926 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21927 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21928 (feedmail-message-action-scroll-down): New functions.
21929 (feedmail-queue-directory, feedmail-queue-draft-directory):
21930 Use expand-file-name.
21931 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21932 Remove C-v help entry.
21933 (feedmail-queue-buffer-file-name): New variable.
21934 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21935 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21936 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21937 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21938 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21939 (feedmail-message-action-toggle-spray)
21940 (feedmail-run-the-queue-no-prompts)
21941 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21942 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21943 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21944 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21945 (feedmail-envelope-deducer, feedmail-fiddle-from)
21946 (feedmail-fiddle-sender, feedmail-default-date-generator)
21947 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21948 (feedmail-fiddle-spray-address)
21949 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21950 (feedmail-fiddle-list-of-fiddle-plexes)
21951 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21952 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21953 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21954 Change default. Doc fix.
21955 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21956 (feedmail-binmail-linuxish-template): New constant.
21957 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21958 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21959 (feedmail-send-it): Add debug call.
21960 Use feedmail-queue-buffer-file-name, and
21961 feedmail-send-it-immediately-wrapper.
21962 (feedmail-message-action-send): Add debug call.
21963 Use feedmail-send-it-immediately-wrapper.
21964 (feedmail-queue-express-to-queue): Add debug call.
21965 Run feedmail-queue-express-hook.
21966 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21967 (feedmail-message-action-help-blat):
21968 Rename from feedmail-queue-send-edit-prompt-help-first.
21969 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21970 Check line-endings. Handle errors better.
21971 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21972 Doc fix. Add debug call.
21973 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21974 Use feedmail-queue-send-edit-prompt-inner.
21975 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21976 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21977 from feedmail-queue-send-edit-prompt.
21978 (feedmail-queue-send-edit-prompt-help)
21979 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21980 (feedmail-tidy-up-slug): Add debug call.
21981 Respect feedmail-queue-slug-suspect-regexp.
21982 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21983 (feedmail-dump-message-to-queue): Add debug call.
21984 Expand queue-directory.
21985 (feedmail-dump-message-to-queue): Change message slightly.
21986 Use feedmail-say-chatter.
21987 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21988 (feedmail-send-it-immediately-wrapper): New function.
21989 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21990 Insert empty string rather than newline. Handle full-frame case.
21991 Use catch/throw. Use feedmail-say-chatter.
21992 (feedmail-fiddle-from): Try mail-host-address.
21993 (feedmail-default-message-id-generator): Doc fix.
21994 Bind system-time-locale. Handle missing end.
21995 (feedmail-fiddle-x-mailer): Add debug call.
21996 Handle feedmail-x-mailer-line being nil.
21997 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21998 Add debug call. Use buffer-substring-no-properties.
21999 (feedmail-say-debug, feedmail-say-chatter): New functions.
22000 (feedmail-find-eoh): Give an explicit error.
22002 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22004 * net/newst-treeview.el (newsticker-treeview-face): Change default
22005 family from helvetica to sans.
22006 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22007 etc/images/newsticker.
22009 * net/newst-reader.el (newsticker-feed-face): Change default
22010 family from helvetica to sans.
22012 * net/newst-plainview.el (newsticker-new-item-face)
22013 (newsticker-old-item-face, newsticker-immortal-item-face)
22014 (newsticker-obsolete-item-face, newsticker-date-face)
22015 (newsticker-statistics-face): Change default family from
22017 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22018 etc/images/newsticker.
22020 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22021 (newsticker--process-auto-mark-filter-match): Tell user about
22024 2011-05-13 Didier Verna <didier@xemacs.org>
22026 Common Lisp indentation improvements on defmethod and lambda-lists.
22027 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22029 (lisp-lambda-list-keyword-parameter-indentation)
22030 (lisp-lambda-list-keyword-parameter-alignment)
22031 (lisp-lambda-list-keyword-alignment): New customizable user options.
22032 (lisp-indent-defun-method): Improve docstring.
22033 (extended-loop-p): Fix comment.
22034 (lisp-indent-lambda-list-keywords-regexp): New variable.
22035 (lisp-indent-lambda-list): New function.
22036 (lisp-indent-259): Use it.
22037 (lisp-indent-defmethod): Support for more than one
22038 method qualifier and properly indent methods lambda-lists.
22039 (defgeneric): Provide a missing common-lisp-indent-function property.
22041 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22043 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22044 bounds for the empty string (bug#8667).
22046 2011-05-13 Glenn Morris <rgm@gnu.org>
22048 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22050 * mail/sendmail.el (sendmail-program): Try executable-find first.
22051 (sendmail-send-it): `sendmail-program' cannot be unbound.
22053 * calendar/appt.el (appt-make-list): Simplify.
22054 (appt-time-msg-list): Doc fix.
22055 (appt-check): Change mode-line message at the time of the appointment.
22057 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22059 * progmodes/ld-script.el (ld-script-keywords)
22060 (ld-script-builtins): Update keywords list.
22062 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22064 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22066 * shell.el (shell-completion-vars): New function.
22068 * simple.el (read-shell-command): Use it.
22069 (blink-matching-open): No need for " [...]" in minibuffer-message.
22071 2011-05-12 Glenn Morris <rgm@gnu.org>
22073 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22074 (appt-check): Simplify.
22076 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22078 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22079 literal "/dev/null".
22081 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22083 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22086 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22088 * progmodes/which-func.el (which-function):
22089 Use add-log-current-defun instead of add-log-current-defun-function,
22090 which might not be defined (Bug#8260).
22092 2011-05-12 Glenn Morris <rgm@gnu.org>
22094 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22095 Let byte-compile-initial-macro-environment always take precedence.
22097 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22099 * net/rcirc.el: Add support for SSL/TLS connections.
22100 (rcirc-server-alist): New field `encryption'.
22101 (rcirc): Check `encryption' settings.
22102 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22103 Merge make-local-variable into `set'.
22104 (rcirc--connection-open-p): New function.
22105 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22106 the process is not a network process (e.g. running gnutls-cli).
22107 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22108 Make rcirc-(en|de)code-coding-system local here.
22109 (rcirc-mode): Merge make-local-variable into `set'.
22110 (rcirc-parent-buffer): Make permanent buffer-local.
22111 (rcirc-multiline-minor-mode): Don't do it here.
22112 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22113 there's no server buffer.
22115 2011-05-11 Glenn Morris <rgm@gnu.org>
22117 * newcomment.el (comment-kill): Prefix "unused" local.
22119 * term/w32console.el (get-screen-color): Declare.
22121 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22122 Handle symbol elements of byte-compile-initial-macro-environment.
22124 2011-05-10 Leo Liu <sdl.web@gmail.com>
22126 * bookmark.el (bookmark-bmenu-mode-map):
22127 Bind bookmark-bmenu-search to `/'.
22129 * mail/footnote.el: Convert to utf-8 encoding.
22130 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22131 (Footnote-unicode): New function.
22132 (footnote-style-alist): Add unicode style to the list.
22133 (footnote-style): Doc fix.
22135 2011-05-10 Jim Meyering <meyering@redhat.com>
22137 Fix doubled-word typos.
22138 * international/quail.el (quail-insert-kbd-layout): and and -> and
22139 * kermit.el: and and -> and
22140 * net/ldap.el (ldap-search-internal): to to -> to
22141 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22142 * progmodes/js.el (js-mode): and and -> and
22143 * textmodes/artist.el (artist-move-to-xy): at at -> at
22144 (artist-draw-region-trim-line-endings): if if -> if
22145 And Safetyc -> Safety.
22146 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22148 2011-05-10 Glenn Morris <rgm@gnu.org>
22149 Stefan Monnier <monnier@iro.umontreal.ca>
22151 * files.el (hack-one-local-variable-eval-safep):
22152 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22154 2011-05-10 Glenn Morris <rgm@gnu.org>
22156 * calendar/diary-lib.el (diary-list-entries-hook)
22157 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22158 (diary-nongregorian-marking-hook, diary-list-entries)
22159 (diary-include-other-diary-files, diary-mark-entries)
22160 (diary-mark-included-diary-files): Doc fixes.
22162 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22164 * misc.el: Require tabulated-list.el during compilation.
22166 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22168 * progmodes/compile.el (compilation-start):
22169 Run compilation-filter-hook for the async case too.
22170 (compilation-filter-hook): Doc fix.
22172 2011-05-09 Deniz Dogan <deniz@dogan.se>
22174 * wdired.el: Remove outdated installation comment. Fix usage
22177 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22179 * misc.el: Implement new command `list-dynamic-libraries'.
22180 (list-dynamic-libraries--loaded-only-p): New variable.
22181 (list-dynamic-libraries--refresh): New function.
22182 (list-dynamic-libraries): New command.
22184 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22186 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22187 Fix the ant regexp to handle end-line and end-column info from jikes.
22188 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22189 higher priority to avoid clobbering by gnu.
22191 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22193 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22194 if the face has existing theme settings (Bug#8454).
22196 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22198 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22199 Only match variables declared via `my' or `our' (Bug#8261).
22201 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22202 special file names `.' and `..' (Bug#8259).
22204 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22206 * progmodes/grep.el (grep-mode-font-lock-keywords):
22207 Remove buffer-changing entries.
22208 (grep-filter): New function.
22209 (grep-mode): Add it to compilation-filter-hook.
22211 * progmodes/compile.el (compilation-filter-hook)
22212 (compilation-filter-start): New defvars.
22213 (compilation-filter): Call compilation-filter-hook prior to
22214 updating the process mark.
22216 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22218 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22220 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22222 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22223 mailclient-send-it even if window-system is nil. (Bug#8595)
22225 * term/w32console.el (terminal-init-w32console):
22226 Call get-screen-color and use its output to set the frame
22227 background-mode. (Bug#8597)
22229 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22231 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22232 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22234 (defgeneric, eieio--defmethod): Use them.
22235 (eieio-defgeneric): Remove.
22236 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22238 2011-05-07 Glenn Morris <rgm@gnu.org>
22240 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22241 Use let rather than let*.
22242 (timeclock-find-discrep): Remove unused local.
22244 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22246 * calendar/appt.el (appt-time-msg-list): Doc fix.
22248 2011-05-06 Noah Friedman <friedman@splode.com>
22250 * apropos.el (apropos-print-doc): Only use
22251 emacs-lisp-docstring-fill-column when it is bound to an integer,
22252 per that variable's documentation.
22254 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22256 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22257 and warnings are not silently discarded (e.g. use -d instead of -P).
22259 2011-05-06 Glenn Morris <rgm@gnu.org>
22261 * calendar/appt.el (appt-message-warning-time): Doc fix.
22262 (appt-warning-time-regexp): New option.
22263 (appt-make-list): Respect appt-message-warning-time.
22265 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22267 (diary-add-to-list): Strip comments from the displayed string.
22268 (diary-mode): Set comment-start and comment-end.
22270 * vc/diff-mode.el (smerge-refine-subst): Declare.
22271 (diff-refine-hunk): Don't require smerge-mode when compiling.
22273 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22275 * simple.el (list-processes): Return nil as the docstring says.
22277 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22279 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22281 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22282 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22283 determining of binary transfer. (Bug#7383)
22285 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22287 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22288 Fix port computation bug. (Bug#8618)
22290 2011-05-05 Glenn Morris <rgm@gnu.org>
22292 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22294 * simple.el (shell-dynamic-complete-functions)
22295 (comint-dynamic-complete-functions): Declare.
22297 * net/network-stream.el (gnutls-negotiate):
22298 * simple.el (tabulated-list-print): Fix declarations.
22300 * progmodes/gud.el (syntax-symbol, syntax-point):
22301 Remove unnecessary and incorrect declarations.
22303 * emacs-lisp/check-declare.el (check-declare-scan):
22304 Handle byte-compile-initial-macro-environment in bytecomp.el.
22306 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22308 Fix earlier half-done eieio-defmethod change (bug#8338).
22309 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22310 Streamline and change calling convention.
22311 (defmethod): Adjust accordingly and simplify.
22312 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22313 new eieio--defmethod.
22314 (slot-boundp): Minor CSE simplification.
22316 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22318 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22319 (glasses-make-readable): Use glasses-separate-capital-groups.
22321 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22323 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22324 (warning-series): Doc fix.
22325 (display-warning): Don't try to create the buffer if we just found it.
22327 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22329 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22330 (autoload-find-generated-file): New function.
22331 (generate-file-autoloads): Bind generated-autoload-file to
22333 (update-file-autoloads, update-directory-autoloads):
22334 Use autoload-find-generated-file. If called interactively, prompt for
22335 output file (Bug#7989).
22336 (batch-update-autoloads): Doc fix.
22338 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22340 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22342 2011-05-04 Glenn Morris <rgm@gnu.org>
22344 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22345 function, so it follows changes in calendar-date-style.
22346 (diary-fancy-date-matcher): New function.
22347 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22348 (diary-fancy-font-lock-fontify-region-function):
22349 Use diary-fancy-date-pattern as a function.
22351 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22352 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22354 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22356 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22357 instead of positional arguments. Allow :keylist and :crlfiles
22359 (open-gnutls-stream): Call it.
22361 * net/network-stream.el (network-stream-open-starttls): Adjust to
22362 call `gnutls-negotiate' with :process and :hostname arguments.
22364 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22366 * minibuffer.el (completion--message): New function.
22367 (completion--do-completion, minibuffer-complete)
22368 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22369 (completion--do-completion): Don't ignore completion-auto-help when in
22372 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22373 internal encoding (e.g. tibetan zero is not whitespace).
22374 (global-whitespace-mode): Prefer save-current-buffer.
22375 (whitespace-trailing-regexp): Remove useless save-match-data.
22376 (whitespace-empty-at-bob-regexp): Minor simplification.
22378 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22380 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22382 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22384 * textmodes/ispell.el (ispell-add-per-file-word-list):
22385 Use `concat' to create string for insertion.
22387 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22389 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22390 Avoid open-line which runs post-self-insert-hook.
22391 (bibtex-fill-entry): Remove unused `end' var.
22393 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22395 * textmodes/ispell.el (ispell-add-per-file-word-list):
22396 Protect against `nil' value of `comment-start' (Bug#8579).
22398 2011-05-03 Leo Liu <sdl.web@gmail.com>
22400 * isearch.el (isearch-yank-pop): New command.
22401 (isearch-mode-map): Bind it to `M-y'.
22402 (isearch-forward): Mention it.
22404 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22406 * simple.el (minibuffer-complete-shell-command): Remove.
22407 (minibuffer-local-shell-command-map): Use completion-at-point.
22408 (read-shell-command): Setup completion vars here instead.
22409 (read-expression-map): Bind TAB to symbol completion.
22411 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22412 error directly rather via storing it into `results'.
22414 2011-05-02 Leo Liu <sdl.web@gmail.com>
22416 * vc/diff.el: Fix description.
22418 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22420 * server.el (server-eval-at): New function.
22422 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22424 * net/network-stream.el (open-network-stream): Take a :nowait
22425 parameter and pass it on to `make-network-process'.
22426 (network-stream-open-plain): Ditto.
22428 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22430 * faces.el (face-spec-set-match-display): Don't match toolkit
22431 options on terminal frames.
22433 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22435 * progmodes/pascal.el: Use lexical binding.
22436 (pascal-mode-map): Remove author preferences.
22438 * pcomplete.el (pcomplete-std-complete): Don't abuse
22439 completion-at-point.
22441 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22443 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22444 removing code that has been dead since 1991 or so.
22446 * startup.el (command-line): When warning about "_emacs", use a
22447 delayed warning to allow the user to filter it out.
22449 2011-04-28 Deniz Dogan <deniz@dogan.se>
22451 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22452 user has not joined.
22454 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22456 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22457 aren't any completions at point.
22459 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22461 * subr.el (display-delayed-warnings): New function.
22462 (delayed-warnings-hook): New variable.
22464 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22466 * minibuffer.el (completion-at-point, completion-help-at-point):
22467 Don't presume that a given completion-at-point-function will always
22468 use the same calling convention.
22470 * pcomplete.el (pcomplete-completions-at-point):
22471 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22472 pcomplete-seen is non-nil.
22473 (pcomplete-comint-setup): Also recognize the new comint/shell
22474 completion functions.
22475 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22476 pcomplete-seen is non-nil.
22478 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22480 * calendar/icalendar.el (diary-lib): Add require statement.
22481 (icalendar--create-uid): Read out a uid from a text-property on
22482 the first character in the entry. This allows for code to add its
22483 own uid to the entry.
22484 (icalendar--convert-float-to-ical): Add export of
22485 `diary-float'-entries save for those with the optional DAY
22488 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22490 * subr.el (shell-quote-argument): Use alternate escaping strategy
22491 when we spot a variable reference in a string.
22493 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22495 * cus-start.el (all): Define customization for debug-on-event.
22497 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22499 * subr.el (shell-quote-argument): Escape correctly under Windows.
22501 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22503 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22505 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22507 * net/tramp.el (tramp-process-actions): Add POS argument.
22508 Delete region between POS and (pos).
22510 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22511 Use `nil' position in `tramp-process-actions' call.
22512 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22514 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22515 position in `tramp-process-actions' call.
22517 * net/trampver.el: Update release number.
22519 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22521 * custom.el (defcustom): Obey lexical-binding.
22523 Fix octave-inf completion problems reported by Alexander Klimov.
22524 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22525 Inherit from octave-mode-syntax-table.
22526 (inferior-octave-mode): Set info-lookup-mode.
22527 (inferior-octave-completion-at-point): New function.
22528 (inferior-octave-complete): Use it and completion-in-region.
22529 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22530 comint-filename-completion.
22531 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22532 symbol elements which shouldn't be word elements.
22533 (octave-font-lock-keywords, octave-beginning-of-defun)
22534 (octave-function-header-regexp): Adjust regexps accordingly.
22535 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22537 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22539 * net/gnutls.el (gnutls-errorp): Declare before first use.
22541 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22543 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22544 verify-error, and verify-hostname-error parameters. Check whether
22545 default trustfile exists before going to use it. Add missing
22546 argument to gnutls-message-maybe call. Return value.
22547 Reported by Claudio Bley <claudio.bley@gmail.com>.
22548 (open-gnutls-stream): Add usage example.
22550 * net/network-stream.el (network-stream-open-starttls): Give host
22551 parameter to `gnutls-negotiate'.
22552 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22553 * subr.el (shell-quote-argument): Escape correctly under Windows.
22555 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22557 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22558 Use correct match group (bug#8438).
22560 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22562 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22563 (package-menu--generate): New arg specifying packages to show.
22564 (package-menu-refresh, package-menu-execute, list-packages):
22566 (package-show-package-list): New function, replacing deleted
22567 package--list-packages (renamed because it is non-internal).
22569 * finder.el (finder-list-matches): Use package-show-package-list
22570 instead of deleted package--list-packages.
22572 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22573 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22574 (vc-annotate-mode-map): Bind it to RET.
22576 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22578 * progmodes/etags.el (next-file): Don't use set-buffer to change
22579 buffers (Bug#8478).
22581 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22583 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22585 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22586 (apropos-accumulator): Doc fix.
22587 (apropos-function, apropos-macro, apropos-command)
22588 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22589 (apropos-plist): Add face property.
22590 (apropos-symbols-internal): Fix indentation.
22591 (apropos-print): Simplify help, and recognize apropos-multi-type.
22592 (apropos-print-doc): Use button-type-get to extract the button's
22593 face property. Fill docstring (Bug#8352).
22595 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22597 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22599 * play/mpuz.el (mpuz-silent): Doc fix.
22600 (mpuz-mode-map): Use mapc.
22601 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22602 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22603 Fix typos in docstrings.
22605 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22606 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22608 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22610 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22612 * minibuffer.el (completion--do-completion): Avoid the "Next char
22613 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22615 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22616 mouse-2 into unread-command-events, it is interpreted correctly.
22618 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22619 (image-toggle-display): Doc fix.
22621 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22623 * textmodes/page.el (what-page): Use line-number-at-pos to
22624 calculate line number (Bug#6825).
22626 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22628 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22629 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22630 Pass argument NO-DEFAULT to `find-tag-interactive'.
22632 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22634 Lexical-binding cleanup.
22636 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22637 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22638 * progmodes/ada-prj.el (ada-prj-initialize-values)
22639 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22640 (ada-prj-show-value):
22641 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22642 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22643 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22644 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22645 * progmodes/bug-reference.el (bug-reference-push-button):
22646 * progmodes/fortran.el (fortran-line-length):
22647 * progmodes/glasses.el (glasses-change):
22648 * progmodes/octave-mod.el (octave-fill-paragraph):
22649 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22650 (python-pdbtrack-grub-for-buffer, python-sentinel):
22651 * progmodes/sql.el (sql-save-connection):
22652 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22653 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22654 Mark unused parameters.
22656 * progmodes/compile.el (compilation--flush-directory-cache)
22657 (compilation--flush-parse, compile-internal): Mark unused parameters.
22658 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22659 (compilation-next-error-function): Remove unused variable `timestamp'.
22661 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22662 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22664 * progmodes/dcl-mode.el (dcl-end-of-command):
22665 Remove unused variable `start'.
22666 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22667 (dcl-option-value-basic, dcl-option-value-offset)
22668 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22669 Mark unused parameters.
22670 (dcl-save-local-variable): Remove unused variable `val'.
22673 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22674 Mark unused parameters.
22675 (delphi-ignore-changes): Move before first use.
22676 (delphi-charset-token-at): Remove unused variable `start'.
22677 (delphi-else-start): Remove unused variable `if-count'.
22678 (delphi-comment-block-start, delphi-comment-block-end):
22679 Remove unused variable `kind'.
22680 (delphi-indent-line): Remove unused variable `new-point'.
22682 * progmodes/ebrowse.el (ebrowse-files-list)
22683 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22684 Mark unused parameters. Don't quote `lambda'.
22685 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22686 Don't quote `lambda'.
22687 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22688 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22689 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22690 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22691 Use `ignore-errors'.
22692 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22693 (ebrowse-view/find-file-and-search-pattern)
22694 (ebrowse-view/find-member-declaration/definition):
22695 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22696 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22697 Rename parameter PREFIX-ARG to PREFIX.
22698 (ebrowse-tags-read-name): Remove unused variables `start' and
22700 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22703 * progmodes/etags.el (local-find-tag-hook): Declare.
22704 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22705 Mark unused parameters.
22707 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22708 (executable-interpret): Mark unused parameter.
22710 * progmodes/flymake.el (flymake-process-sentinel)
22711 (flymake-after-change-function)
22712 (flymake-create-temp-with-folder-structure)
22713 (flymake-get-include-dirs-dot): Mark unused parameters.
22714 (flymake-safe-delete-directory): Remove unused variable `err'.
22716 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22717 (speedbar-timer-fn, speedbar-line-text)
22718 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22719 (speedbar-center-buffer-smartly): Declare functions.
22720 (gdb-find-watch-expression): Remove unused variable `array'.
22721 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22722 (gdb-starting): Mark unused parameters.
22723 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22724 (gdb-table-string): Remove unused variable `res'.
22725 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22726 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22727 (gdb-display-buffer): Remove unused variable `cur-size'.
22729 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22730 allow lexical-binding compilation.
22731 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22732 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22733 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22734 Mark unused parameters.
22735 (gud-gdb-marker-filter): Remove unused variable `match'.
22736 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22737 lambda expressions and funcall them, instead of using `fset'.
22739 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22740 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22742 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22743 variable `header-beg'; use `let'.
22745 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22746 `restart', `last-sexp' and `at-do'.
22748 * progmodes/js.el (js--debug): Mark unused parameter.
22749 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22750 (js--splice-into-items): Remove unused variable `item'.
22751 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22753 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22754 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22755 (makefile-complete): Remove unused variable `try'.
22756 (makefile-fill-paragraph, makefile-match-function-end):
22757 Mark unused parameters.
22759 * progmodes/octave-inf.el (inferior-octave-complete):
22760 Remove unused variable `proc'.
22761 (inferior-octave-output-digest): Mark unused parameter.
22763 * progmodes/perl-mode.el (perl-calculate-indent):
22764 Remove unused variable `err'.
22766 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22767 (prolog-indent-line): Mark unused parameters.
22768 (prolog-indent-line): Remove unused variable `beg'.
22770 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22771 (reporter-dont-compact-list): Declare.
22773 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22774 Remove unused variable `char'.
22775 (sh-debug): Mark unused parameter.
22776 (sh-get-indent-info): Remove unused variable `start'.
22777 (sh-calculate-indent): Remove unused variable `var'.
22779 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22780 (simula-electric-keyword): Remove unused variable `null'.
22781 (simula-search-backward, simula-search-forward): Remove unused
22782 variables `begin' and `end'.
22784 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22785 Remove unused variable `pos'.
22786 (vera-electric-tab, vera-comment-uncomment-region):
22787 Mark unused parameters.
22788 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22790 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22792 * emacs-lisp/package.el (package--builtins, package-alist)
22793 (package-load-descriptor, package-built-in-p, package-activate)
22794 (define-package, package-installed-p)
22795 (package-compute-transaction, package-buffer-info)
22796 (package--push): Doc fix. Distinguish more clearly between
22797 version strings and version lists.
22799 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22801 Lexical-binding cleanup.
22803 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22804 (5x5-make-mutate-best):
22805 * play/fortune.el (fortune-in-buffer):
22806 * play/gomoku.el (gomoku-init-display):
22807 * play/solitaire.el (solitaire, solitaire-do-check):
22808 * play/tetris.el (tetris-default-update-speed-function):
22809 Mark unused parameters.
22811 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22812 (bubbles--shift): Remove unused variable `char-org'.
22813 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22814 (bubbles--show-images): Remove unused variable `char'.
22816 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22817 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22818 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22819 (decipher-analyze-buffer): Use ?\s.
22820 (decipher-make-checkpoint): Remove unused variable `mapping'.
22822 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22824 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22825 Remove unused variable `result'; use `let'.
22827 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22828 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22829 (gametree-children-shown-p, gametree-compute-reduced-score):
22830 Use `ignore-errors'.
22832 * play/handwrite.el (ps-lpr-switches): Declare.
22833 (handwrite): Remove unused variables `pmin' and `lastp'.
22835 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22837 * play/landmark.el (landmark-init-display)
22838 (landmark-update-naught-weights): Mark unused parameters.
22839 (landmark-y): Remove unused variable `noise'. Simplify.
22840 (landmark-human-plays): Remove unused variable `score'.
22842 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22843 (mpuz-try-proposal): Remove unused variable `game'.
22845 * play/zone.el (life-patterns): Declare.
22847 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22849 * vc/vc.el (ediff-vc-internal): Declare function.
22851 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22853 * shell.el: Use lexical-binding and std completion UI.
22854 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22855 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22856 comint-preoutput-filter-functions rather than on
22857 comint-output-filter-functions.
22858 (shell-command-completion, shell--command-completion-data)
22859 (shell-filename-completion, shell-environment-variable-completion)
22860 (shell-c-a-p-replace-by-expanded-directory): New functions.
22861 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22862 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22863 (shell-dynamic-complete-environment-variable): Use them.
22864 (shell-dynamic-complete-as-environment-variable)
22865 (shell-dynamic-complete-as-command): Remove.
22866 (shell-match-partial-variable): Match past point.
22867 * comint.el: Clean up use of completion-at-point-functions.
22868 (comint-completion-at-point): New function.
22869 (comint-mode): Use it completion-at-point-functions.
22870 (comint-dynamic-complete): Make it obsolete.
22871 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22872 (comint-c-a-p-replace-by-expanded-history): New function.
22873 (comint-dynamic-complete-functions)
22874 (comint-replace-by-expanded-history): Use it.
22875 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22876 termination strings. Try harder to avoid second try-completion.
22877 (completion-in-region-mode-map): Disable bindings that don't work yet.
22879 * comint.el: Use lexical-binding. Require CL.
22880 (comint-dynamic-complete-functions): Use comint-filename-completion.
22881 (comint-completion-addsuffix): Tweak custom type.
22882 (comint-filename-completion, comint--common-suffix)
22883 (comint--common-quoted-suffix, comint--table-subvert)
22884 (comint--complete-file-name-data): New functions.
22885 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22886 (comint-dynamic-list-filename-completions): Use them.
22887 (comint-dynamic-simple-complete): Make obsolete.
22889 * minibuffer.el (completion-in-region-mode):
22890 Keep completion-in-region-mode--predicate global.
22891 (completion-in-region--postch):
22892 Assume completion-in-region-mode--predicate is not null.
22894 * progmodes/flymake.el (flymake-start-syntax-check-process):
22895 Obey `dir'. Simplify.
22897 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22898 we're in VC after all.
22900 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22902 * vc/vc.el (vc-diff-build-argument-list-internal)
22903 (vc-version-ediff, vc-ediff): New commands.
22904 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22906 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22908 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22911 * obsolete/erc-hecomplete.el: Make obsolete.
22912 * obsolete/: Standardize obsolescence info in the header.
22914 2011-04-20 Glenn Morris <rgm@gnu.org>
22916 * calendar/solar.el (solar-horizontal-coordinates):
22917 Use the longitude argument rather than `calendar-longitude'.
22918 (solar-date-next-longitude): Remove unused locals.
22920 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22922 * whitespace.el: New version 13.2.1.
22924 2011-04-20 felix <EmacsWiki> (tiny change)
22926 * whitespace.el (global-whitespace-mode): Keep highlight when
22927 switching between major modes on a file.
22929 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22931 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22932 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22933 multi-line comments as well.
22935 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22937 Lexical-binding cleanup.
22939 * arc-mode.el (archive-mode-revert):
22940 * cmuscheme.el (scheme-interactively-start-process):
22941 * custom.el (custom-initialize-delay):
22942 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22943 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22944 * emacs-lock.el (emacs-lock-clear-sentinel):
22945 * ezimage.el (defezimage):
22946 * follow.el (follow-avoid-tail-recenter):
22947 * fringe.el (set-fringe-mode-1):
22948 * generic-x.el (bat-generic-mode-compile):
22949 * help-mode.el (help-info-variable, help-do-xref)
22950 (help-mode-revert-buffer):
22951 * help.el (view-emacs-todo):
22952 * iswitchb.el (iswitchb-completion-help):
22953 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22954 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22955 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22956 * locate.el (locate-update):
22957 * longlines.el (longlines-encode-region)
22958 (longlines-after-change-function):
22959 * outline.el (outline-isearch-open-invisible):
22960 * ps-def.el (declare-function, charset-dimension, char-width)
22962 * ps-mule.el (ps-mule-plot-string):
22963 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22964 (recentf-edit-list-select, recentf-edit-list-validate)
22965 (recentf-open-files-action):
22966 * rect.el (delete-whitespace-rectangle-line)
22967 (rectangle-number-line-callback):
22968 * register.el (window-configuration-to-register)
22969 (frame-configuration-to-register):
22970 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22971 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22972 (xselect-convert-to-targets, xselect-convert-to-delete)
22973 (xselect-convert-to-filename, xselect-convert-to-charpos)
22974 (xselect-convert-to-lineno, xselect-convert-to-colno)
22975 (xselect-convert-to-os, xselect-convert-to-host)
22976 (xselect-convert-to-user, xselect-convert-to-class)
22977 (xselect-convert-to-name, xselect-convert-to-integer)
22978 (xselect-convert-to-atom, xselect-convert-to-identity):
22979 * subr.el (declare, ignore, process-kill-without-query)
22980 (text-clone-maintain):
22981 * terminal.el (te-get-char, te-tic-sentinel):
22982 * tool-bar.el (tool-bar-make-keymap):
22983 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22984 * type-break.el (type-break-mode, type-break-noninteractive-query):
22985 * view.el (View-back-to-mark):
22986 * wid-browse.el (widget-browse-action, widget-browse-widget)
22987 (widget-browse-widgets, widget-browse-sexp):
22988 * widget.el (define-widget-keywords):
22989 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22990 Mark unused parameters.
22992 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22993 (align-areas): Remove unused variable `look'.
22994 (align-region): Remove unused variables `real-end' and `pos-list'.
22996 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22998 * bindings.el (mode-line-modified, mode-line-remote):
22999 Mark unused parameters.
23000 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23002 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23003 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23005 * comint.el (comint-history-isearch-pop-state)
23006 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23007 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23008 (comint-substitute-in-file-name): Doc fix.
23010 * completion.el (cmpl-statistics-block): Mark unused parameter.
23011 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23012 (save-completions-to-file, load-completions-from-file):
23013 Remove unused local variable `e'.
23015 * composite.el (compose-chars): Remove unused variable `len'.
23016 (lgstring-insert-glyph): Remove unused variable `g'.
23017 (compose-glyph-string): Remove unused variables `ascent',
23018 `descent', `lbearing' and `rbearing'.
23019 (compose-glyph-string-relative): Remove unused variables
23020 `lbearing', `rbearing' and `wadjust'.
23021 (compose-gstring-for-graphic): Remove unused variables `header',
23022 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23023 (compose-gstring-for-terminal): Remove unused variables `header'
23024 and `nchars'. Use `let', not `let*'.
23026 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23027 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23028 (Custom-buffer-done, custom-buffer-create-internal)
23029 (custom-browse-visibility-action, custom-browse-group-tag-action)
23030 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23031 (widget-magic-mouse-down-action, custom-toggle-parent)
23032 (custom-add-parent-links, custom-toggle-hide-variable)
23033 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23034 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23035 (custom-face-menu-create, custom-variable-menu-create, get)
23036 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23037 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23038 (customize-apropos): Remove unused variable `tests'.
23039 (custom-group-value-create): Remove unused variable `hidden-p'.
23040 (sort-fold-case): Declare.
23042 * cus-theme.el (custom-reset-standard-faces-list)
23043 (custom-reset-standard-variables-list): Declare.
23044 (customize-create-theme, custom-theme-revert, custom-theme-write)
23045 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23046 Mark unused parameters.
23048 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23050 * delim-col.el (delimit-columns-max): Move defvar before first use.
23052 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23053 (describe-char): Don't quote `lambda'. Mark unused parameter.
23055 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23056 (auto-insert): Declare.
23057 (desktop-restore-file-buffer): Rename desktop-* parameters;
23059 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23060 (desktop-buffer): Rename desktop-* parameters.
23062 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23063 (dframe-reposition-frame-xemacs, dframe-help-echo)
23064 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23065 Mark unused parameters.
23067 * dired-aux.el (backup-extract-version-start, overwrite-query)
23068 (overwrite-backup-query, rename-regexp-query)
23069 (rename-non-directory-query): Declare.
23070 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23071 (dired-add-entry): Remove unused variable `orig-file-name'.
23072 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23073 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23074 `dired-copy-preserve-time' directly.
23075 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23076 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23078 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23079 (dired-virtual-revert, dired-make-relative-symlink):
23080 Mark unused parameters.
23081 (manual-program): Declare.
23082 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23083 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23084 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23086 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23088 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23090 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23093 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23095 * electric.el (Electric-command-loop): Rename parameter
23096 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23098 * expand.el (expand-in-literal): Remove unused variable `here'.
23100 * facemenu.el (facemenu-add-new-color):
23101 Remove unused variable `docstring'.
23103 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23104 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23105 (face-attr-construct): Mark unused parameter. Doc fix.
23106 (read-color): Remove unused variable `hex-string'.
23108 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23109 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23110 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23111 (display-buffer-other-frame): Remove unused variable `old-window'.
23112 (kill-buffer-hook): Declare.
23113 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23114 Mark unused parameters.
23115 (after-find-file): Pass 1 to `auto-save-mode', not t.
23117 * files-x.el (auto-insert): Declare.
23118 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23120 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23121 variable `buf'. Mark unused parameter.
23122 (find-lisp-insert-directory): Mark unused parameter.
23124 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23125 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23126 (format-common-tail): Remove, unused.
23127 (format-deannotate-region): Remove unused variable `loc'.
23128 (format-annotate-region): Remove unused variable `p'.
23129 (format-annotate-single-property-change): Remove unused variables
23130 `default' and `tail'.
23132 * forms.el (read-file-filter): Declare.
23133 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23135 * frame.el (frame-creation-function-alist): Mark unused parameter.
23136 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23138 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23139 Remove unused parameters.
23140 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23141 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23143 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23144 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23145 (hfy-prepare-tag-map): Mark unused parameters.
23146 (htmlfontify-buffer): Use `called-interactively-p'.
23148 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23149 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23150 (ibuffer-do-occur): Mark unused parameters.
23151 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23152 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23154 * ibuffer.el: Don't quote `lambda'.
23155 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23156 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23157 Mark unused parameters.
23159 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23160 (ido-completing-read): Mark unused parameters.
23161 (ido-copy-current-word): Mark unused parameters;
23162 remove unused variable `name'.
23163 (ido-sort-merged-list): Remove unused parameter `dirs'.
23165 * ielm.el (ielm-input-sender): Mark unused parameter.
23166 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23167 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23168 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23169 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23170 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23172 * image-dired.el (image-dired-display-thumbs): Remove unused
23173 variables `curr-file' and `count'.
23174 (image-dired-remove-tag): Remove unused variable `start'.
23175 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23176 variable `curr-file'
23177 (image-dired-rotate-original): Remove unused variable `temp-file'.
23178 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23179 Remove unused variable `file'.
23180 (image-dired-gallery-generate): Remove unused variable `curr'.
23181 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23183 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23185 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23187 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23189 * isearch.el (minibuffer-history-symbol): Declare.
23190 (isearch-edit-string): Remove unused variable `err'.
23191 (isearch-message-prefix, isearch-message-suffix):
23192 Mark unused parameters.
23194 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23196 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23198 * makesum.el (double-column): Remove unused variable `cnt'.
23200 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23201 (ido-ignore-item-temp-list): Declare.
23203 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23204 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23205 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23206 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23209 * mouse-sel.el (mouse-extend-internal):
23210 Remove unused variable `orig-window-frame'.
23212 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23213 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23214 Move declarations before first use.
23215 (pcomplete-opt): Mark unused parameters; doc fix.
23217 * proced.el (proced-revert): Mark unused parameter.
23218 (proced-send-signal): Remove unused variable `err'.
23220 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23221 Rename parameter PREFIX-ARG to ARG.
23222 (ps-basic-plot-string, ps-basic-plot-whitespace):
23223 Mark unused parameters.
23225 * replace.el (replace-count): Define.
23226 (occur-revert-function): Mark unused parameters.
23227 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23228 (isearch-case-fold-search, isearch-string): Declare.
23229 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23230 bind `case-fold-search'. Remove unused variables `beg' and `end',
23232 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23233 COUNT and bind `replace-count'.
23234 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23237 * savehist.el (print-readably, print-string-length): Declare.
23239 * shadowfile.el (shadow-expand-cluster-in-file-name):
23240 Remove unused variable `cluster'.
23241 (shadow-copy-file): Remove unused variable `i'.
23242 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23243 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23244 (shadow-define-literal-group, shadow-define-regexp-group)
23245 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23247 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23248 (shell): Use `called-interactively-p'.
23249 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23251 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23252 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23253 (delete-backward-char): Remove unused variable `ocol'.
23254 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23255 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23256 (event-apply-hyper-modifier, event-apply-shift-modifier)
23257 (event-apply-control-modifier, event-apply-meta-modifier):
23258 Mark unused parameters.
23259 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23260 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23262 * speedbar.el (speedbar-ignored-directory-expressions)
23263 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23264 (speedbar-find-file, speedbar-dir-follow)
23265 (speedbar-directory-buttons-follow, speedbar-tag-find)
23266 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23267 (speedbar-buffers-line-directory, speedbar-buffer-click):
23268 Mark unused parameters.
23269 (speedbar-tag-file): Remove unused variable `mode'.
23270 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23272 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23274 * talk.el (talk): Remove unused variable `display'.
23276 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23277 (tar-write-region-annotate): Mark unused parameter.
23279 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23280 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23281 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23282 warning by another.
23284 * time-stamp.el (time-stamp-string-preprocess):
23285 Remove unused variable `require-padding'.
23287 * tree-widget.el (widget-glyph-enable): Declare.
23288 (tree-widget-action): Mark unused parameter.
23290 * w32-fns.el (x-get-selection): Mark unused parameter.
23291 (autoload-make-program, generated-autoload-file): Declare.
23293 * wdired.el (wdired-revert): Mark unused parameters.
23294 (wdired-xcase-word): Remove unused variable `err'.
23296 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23297 (whitespace-help-scroll): Remove unused variable `data-help'.
23299 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23300 (widget-image-insert, widget-after-change, default)
23301 (widget-default-format-handler, widget-default-notify)
23302 (widget-default-prompt-value, widget-info-link-action)
23303 (widget-url-link-action, widget-function-link-action)
23304 (widget-variable-link-action, widget-file-link-action)
23305 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23306 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23307 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23308 (widget-insert-button-action, widget-delete-button-action, visibility)
23309 (widget-documentation-link-action, widget-documentation-string-action)
23310 (widget-const-prompt-value, widget-regexp-match, symbol)
23311 (widget-coding-system-prompt-value)
23312 (widget-key-sequence-value-to-external, sexp)
23313 (widget-sexp-value-to-internal, character, vector, cons)
23314 (widget-choice-prompt-value, widget-boolean-prompt-value)
23315 (widget-color--choose-action): Mark unused parameters.
23316 (widget-item-match-inline, widget-choice-match-inline)
23317 (widget-checklist-match, widget-checklist-match-inline)
23318 (widget-group-match): Rename parameter VALUES to VALS.
23319 (widget-field-value-set): Remove unused variable `size'.
23320 (widget-color-action): Remove unused variables `value' and `start'.
23322 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23323 variable `dir'. Doc fix.
23324 (windmove-find-other-window): Don't pass it.
23326 * window.el (count-windows): Mark unused parameter.
23327 (bw-adjust-window): Remove unused variable `err'.
23329 * woman.el (woman-file-name): Remove unused variable `default'.
23330 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23331 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23332 (global-font-lock-mode): Declare.
23333 (woman-decode-region): Mark unused parameter.
23334 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23336 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23337 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23338 (x-dnd-handle-moz-url): Remove unused variable `title'.
23339 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23341 * xml.el (xml-parse-tag, xml-parse-attlist):
23342 Remove unused variable `pos'.
23344 2011-04-19 Glenn Morris <rgm@gnu.org>
23346 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23347 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23348 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23349 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23350 * calendar/cal-html.el (cal-html-insert-minical):
23351 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23352 (calendar-mark-date-pattern):
23353 Prefix "unused" locals.
23355 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23356 optional argument `style'.
23358 * calendar/appt.el (appt-make-list):
23359 * calendar/cal-china.el (calendar-chinese-date-string):
23360 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23361 (diary-hebrew-yahrzeit):
23362 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23363 * calendar/calendar.el (calendar-generate-window):
23364 * calendar/time-date.el (time-to-days):
23365 Remove unused local variables.
23367 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23369 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23370 glyphless-char-display table.
23371 (tabulated-list-glyphless-char-display): New var.
23373 2011-04-18 Sam Steingold <sds@gnu.org>
23375 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23376 to acknowledgments.
23378 2011-04-17 Glenn Morris <rgm@gnu.org>
23380 * calendar/diary-lib.el (diary-sexp-entry):
23381 * calendar/holidays.el (holiday-sexp):
23382 Set debug-on-error rather than the removed stack-trace-on-error.
23384 2011-04-16 Glenn Morris <rgm@gnu.org>
23386 * progmodes/f90.el: Use lexical-binding.
23387 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23389 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23391 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23392 (mail-mode): Setup mailalias completion here instead.
23393 * mail/mailalias.el: Use lexical-binding.
23394 (pattern, mailalias-done): Declare dynamic.
23395 (mail-completion-at-point-function): New function, from mail-complete.
23396 (mail-complete): Use it.
23397 (mail-completion-expand): New function.
23398 (mail-get-names): Use it.
23399 (mail-directory, mail-directory-process, mail-directory-stream):
23400 Don't use `pattern' for lexically bound arg.
23402 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23404 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23405 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23406 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23408 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23409 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23410 (byte-interactive-p): Define them again, for use when inlining
23413 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23415 * loadup.el: Use `string-to-number', not `string-to-int'.
23417 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23419 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23420 gud-gdb-complete-command.
23421 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23422 (gud-gdb-completion-at-point): New function.
23423 (gud-gdb-completions): Remove.
23425 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23427 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23428 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23429 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23430 whether `executable-find' is bound.
23432 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23434 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23436 * minibuffer.el (completion-in-region-mode-predicate)
23437 (completion-in-region-mode--predicate): New vars.
23438 (completion-in-region, completion-in-region--postch)
23439 (completion-in-region-mode): Use them.
23440 (completion--capf-wrapper): Also return the hook function.
23441 (completion-at-point, completion-help-at-point):
23442 Adjust and provide a predicate.
23444 Preserve arg names for advice of subr and lexical functions (bug#8457).
23445 * help-fns.el (help-function-arglist): Consolidate the subr and
23446 new-byte-code cases. Add argument `preserve-names' to extract names
23447 from the docstring when needed.
23448 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23449 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23450 (ad-arglist): Use help-function-arglist's new arg.
23451 (ad-definition-type): Use cond.
23453 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23455 * autorevert.el (auto-revert-handler):
23456 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23457 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23458 Don't quote lambda.
23460 * image-mode.el (image-transform-set-scale):
23461 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23463 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23465 * net/network-stream.el (network-stream-open-starttls): Only do
23466 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23467 Upgrades via gnutls-cli are too slow to be done opportunistically.
23469 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23471 * dframe.el (dframe-current-frame): Remove spurious quote.
23473 2011-04-12 Glenn Morris <rgm@gnu.org>
23475 * calendar/cal-tex.el (cal-tex-end-document):
23476 Try to automatically use latin1 input if needed.
23478 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23479 Don't try to cons a mark onto an empty element.
23481 2011-04-11 Leo Liu <sdl.web@gmail.com>
23483 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23485 (ido-kill-buffer-at-head): Support killing virtual buffers.
23487 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23489 * minibuffer.el (completion-show-inline-help): New var.
23490 (completion--do-completion, minibuffer-complete)
23491 (minibuffer-force-complete, minibuffer-complete-word):
23492 Inhibit minibuffer messages if completion-show-inline-help is nil.
23494 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23495 to avoid interference from inline help (Bug#5849).
23497 2011-04-10 Leo Liu <sdl.web@gmail.com>
23499 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23502 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23504 * image-mode.el (image-toggle-display-image): Signal an error if
23506 (image-transform-mode, image-transform-resize)
23507 (image-transform-set-rotation): Doc fix.
23508 (image-transform-set-resize): Delete.
23509 (image-transform-set-scale, image-transform-fit-to-height)
23510 (image-transform-fit-to-width): Handle image-toggle-display-image
23511 and image-transform-resize directly.
23513 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23515 * doc-view.el (doc-view-fit-width-to-window)
23516 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23517 New functions for fitting the shown image to the Emacs window size.
23518 (doc-view-mode-map): Add bindings for the new functions.
23520 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23522 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23523 Fix typo in docstring.
23525 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23527 * files.el (file-size-human-readable): Produce one digit after
23528 decimal, like "ls -lh" does.
23530 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23531 the file size representation.
23533 * simple.el (list-processes): If async subprocesses are not
23534 available, error out with a clear error message.
23536 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23538 * help.el (help-form-show): New function, to be called from C.
23539 Put help-form output in a buffer named differently than *Help*.
23541 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23543 * files.el (file-size-human-readable): New function.
23545 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23546 computing the representation inline. Don't require `cl'.
23548 2011-04-08 Glenn Morris <rgm@gnu.org>
23550 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23552 * net/browse-url.el (browse-url-firefox):
23553 Test system-type, not system-configuration.
23555 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23556 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23557 Use log-edit-empty-buffer-p. (Bug#7598)
23559 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23560 (rlogin-mode-map): Initialize in the defvar.
23561 (rlogin): Use ignore-errors.
23563 * replace.el (occur-mode-map): Some fixes for menu items.
23565 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23567 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23569 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23571 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23572 issuing unused warnings.
23574 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23577 * simple.el: Lisp reimplement of list-processes. Based on an
23578 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23579 (process-menu-mode): New major mode.
23580 (list-processes--refresh, list-processes):
23581 (process-menu-visit-buffer): New functions.
23583 * files.el (save-buffers-kill-emacs): Don't assume any return
23584 value of list-processes, which is undocumented anyway.
23586 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23588 * emacs-lisp/tabulated-list.el: New file.
23590 * emacs-lisp/package.el: Use Tabulated List mode.
23591 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23592 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23593 table format using Tabulated List mode variables.
23594 (package--push): New macro, replacing package-list-maybe-add.
23595 (package-menu--generate): Use package--push. Renamed from
23596 package--generate-package-list.
23597 (package-menu-refresh, list-packages): Use it.
23598 (package-menu--print-info): Rename from package-print-package.
23599 Return insertion data instead of inserting it directly.
23600 (package-menu-describe-package, package-menu-execute):
23601 Use tabulated-list-get-id.
23602 (package-menu-mark-delete, package-menu-mark-install)
23603 (package-menu-mark-unmark, package-menu-backup-unmark)
23604 (package-menu-mark-obsolete-for-deletion):
23605 Use tabulated-list-put-tag.
23606 (package--list-packages, package-menu-revert)
23607 (package-menu-get-package, package-menu-get-version)
23608 (package-menu-sort-by-column): Functions deleted.
23609 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23610 (package-menu--status-predicate, package-menu--version-predicate)
23611 (package-menu--name-predicate)
23612 (package-menu--description-predicate): Handle arguments in the
23613 Tabulated List format.
23614 (package-list-packages-no-fetch): Call list-packages.
23616 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23618 * files.el (after-find-file-from-revert-buffer): Remove variable.
23619 (after-find-file): Don't bind it.
23620 (revert-buffer-in-progress-p): New variable.
23621 (revert-buffer): Bind it.
23622 Pass nil for `after-find-file-from-revert-buffer'.
23624 * saveplace.el (save-place-find-file-hook): Use new variable
23625 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23627 2011-04-06 Glenn Morris <rgm@gnu.org>
23629 * Makefile.in (AUTOGEN_VCS): New variable.
23630 (autoloads): Use $AUTOGEN_VCS.
23632 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23633 * calendar/calendar.el (calendar-mode-map):
23634 Check for toolkit scroll bars. (Bug#8305)
23636 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23638 * minibuffer.el (completion-in-region--postch)
23639 (completion-in-region-mode): Remove unnecessary messages.
23641 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23643 * font-lock.el (font-lock-refresh-defaults):
23644 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23645 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23647 * info.el (Info-directory-list, Info-read-node-name-2)
23648 (Info-split-parameter-string): Doc fixes.
23649 (Info-virtual-nodes): Reflow docstring.
23650 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23651 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23652 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23653 Fix typos in docstrings.
23654 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23655 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23656 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23657 (Info-restore-desktop-buffer): Mark unused parameters.
23658 (Info-directory-find-file, Info-directory-find-node)
23659 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23660 (Info-virtual-index-find-node, Info-apropos-find-file)
23661 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23662 Mark unused parameters; fix typos in docstrings.
23663 (Info-virtual-index): Remove unused local variable `nodename'.
23665 2011-04-05 Deniz Dogan <deniz@dogan.se>
23667 * net/rcirc.el: Update my e-mail address.
23668 (rcirc-mode-map): Remove M-o binding.
23670 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23672 * startup.el (command-line): Save the cursor's theme-face
23673 directly, instead of using face-override-spec.
23675 * custom.el (load-theme): Minor optimization in assigning faces.
23677 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23679 * help-fns.el (describe-variable): Complete all variables having
23680 documentation, including keywords.
23681 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23683 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23685 Convert to lexical-binding.
23687 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23688 (bs--get-marked-string, bs--get-modified-string)
23689 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23690 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23691 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23693 * ehelp.el (electric-help-execute-extended)
23694 (electric-help-ctrl-x-prefix):
23695 * hexl.el (hexl-revert-buffer-function):
23696 * linum.el (linum-after-change, linum-after-scroll):
23697 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23699 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23701 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23708 * epg.el: Use lexical binding.
23710 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23712 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23714 * textmodes/flyspell.el (flyspell-word): Recognize default
23715 dictionary case for flyspell-mark-duplications-exceptions.
23716 Use regexp matching for languages.
23717 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23718 default dictionary (Bug#7926).
23720 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23722 * emacs-lisp/package.el (package--with-work-buffer):
23723 Recognize https URLs.
23725 * net/network-stream.el: Move from gnus/proto-stream.el.
23726 Change prefix to network-stream throughout.
23727 (open-protocol-stream): Merge into open-network-stream, leaving
23728 open-protocol-stream as an alias. Handle nil BUFFER args.
23730 * subr.el (open-network-stream): Move to net/network-stream.el.
23732 2011-04-02 Glenn Morris <rgm@gnu.org>
23734 * find-dired.el (find-exec-terminator): New option.
23735 (find-ls-option): Test for -ls support.
23736 (find-ls-subdir-switches): Test for -b in find-ls-option.
23737 (find-dired, find-grep-dired): Doc fixes.
23738 (find-dired): Use find-exec-terminator.
23740 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23741 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23742 (find-name-arg): Remove purecopy.
23744 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23745 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23746 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23747 accordingly. Don't add the null-device if not needed.
23749 * files.el (save-some-buffers): Doc fix.
23751 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23753 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23755 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23757 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23758 Use `dolist' rather than `mapcar'.
23760 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23762 Add lexical binding.
23764 * subr.el (apply-partially): Use new closures rather than CL.
23765 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23766 (dolist, dotimes): Use slightly different expansion for lexical code.
23767 (functionp): Move to C.
23768 (letrec): New macro.
23769 (with-wrapper-hook): Use it and apply-partially instead of CL.
23770 (eval-after-load): Preserve lexical-binding.
23771 (save-window-excursion, with-output-to-temp-buffer): Turn them
23774 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23776 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23778 (help-add-fundoc-usage): Don't add `Not documented'.
23779 (help-function-arglist): Handle closures, subroutines, and new
23780 byte-code-functions.
23781 (help-make-usage): Remove leading underscores.
23782 (describe-function-1): Handle closures.
23783 (describe-variable): Use special-variable-p for completion.
23785 * files.el (lexical-binding): Declare safe.
23787 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23788 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23789 (pcase): Add `let' pattern.
23790 Change memoization so it actually works.
23791 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23792 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23795 * emacs-lisp/macroexp.el: Use lexical binding.
23796 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23797 Don't convert ' to #' without checking that it's indeed quoting
23800 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23801 Use eval-sexp-add-defvars.
23802 (eval-sexp-add-defvars): New fun.
23804 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23806 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23808 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23809 than the internal `byte-compile-lambda'.
23810 (defmethod): Don't hide code under quotes.
23811 (eieio-defmethod): New `code' argument.
23813 * emacs-lisp/eieio-comp.el: Remove.
23815 * emacs-lisp/edebug.el (edebug-eval-defun)
23816 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23817 (edebug-toggle): Avoid `eval'.
23819 * emacs-lisp/disass.el (disassemble-internal): Handle new
23821 (disassemble-1): Handle new byte codes.
23823 * emacs-lisp/cl.el (pushnew): Silence warning.
23825 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23826 (cl-byte-compile-throw): Remove.
23827 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23829 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23832 * emacs-lisp/cconv.el: New file.
23834 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23835 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23836 (byte-compile-initial-macro-environment):
23837 Handle declare-function here.
23838 (byte-compile--lexical-environment): New var.
23839 (byte-stack-ref, byte-stack-set, byte-discardN)
23840 (byte-discardN-preserve-tos): New lap codes.
23841 (byte-interactive-p): Don't use any more.
23842 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23844 (byte-compile-lapcode): Use them and handle new lap codes.
23845 (byte-compile-obsolete): Remove.
23846 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23847 (byte-compile-arglist-warn): Check late def of inlinable funs.
23848 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23849 since they should have been expanded by now.
23850 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23851 (byte-compile-from-buffer): Remove unused second arg.
23852 (byte-compile-preprocess): New function.
23853 (byte-compile-toplevel-file-form): New function to distinguish
23854 file-form calls from outside from file-form calls from hunk-handlers.
23855 (byte-compile-file-form): Simplify.
23856 (byte-compile-file-form-defsubst): Remove.
23857 (byte-compile-file-form-defmumble): Simplify now that
23858 byte-compile-lambda always returns a byte-code-function.
23859 (byte-compile): Preprocess.
23860 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23861 Remove, not used any more.
23862 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23863 (byte-compile-make-args-desc): New funs.
23864 (byte-compile-lambda): Handle lexical functions. Always return
23865 a byte-code-function.
23866 (byte-compile-reserved-constants): New var, to make up room for
23867 closed-over variables.
23868 (byte-compile-constants-vector): Obey it.
23869 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23870 (byte-compile-macroexpand-declare-function): New function.
23871 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23872 byte-code-functions.
23873 (byte-compile-form): Check obsolescence here.
23874 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23875 (byte-compile-variable-ref): Remove.
23876 (byte-compile-dynamic-variable-op): New fun.
23877 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23878 (byte-compile-variable-set): New funs.
23879 (byte-compile-discard): Add 2 args.
23880 (byte-compile-stack-ref, byte-compile-stack-set)
23881 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23882 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23883 macroexpand-all instead.
23884 (byte-compile-quote-form): Remove.
23885 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23886 (byte-compile-bind, byte-compile-unbind): New funs.
23887 (byte-compile-let): Handle let* and lexical binding.
23888 (byte-compile-let*): Remove.
23889 (byte-compile-catch, byte-compile-unwind-protect)
23890 (byte-compile-track-mouse, byte-compile-condition-case):
23891 Handle a new :fun-body form, used for lexical scoping.
23892 (byte-compile-save-window-excursion)
23893 (byte-compile-with-output-to-temp-buffer): Remove.
23894 (byte-compile-defun): Simplify.
23895 (byte-compile-stack-adjustment): New fun.
23896 (byte-compile-out): Use it.
23897 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23899 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23902 * emacs-lisp/byte-opt.el: Use lexical binding.
23903 (byte-inline-lapcode): Remove (to bytecomp).
23904 (byte-compile-inline-expand): Pay attention to inlining to/from
23905 lexically bound code.
23906 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23908 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23909 any more and don't call compiler-macros.
23910 (byte-compile-splice-in-already-compiled-code): Remove.
23911 (byte-code): Don't inline any more.
23912 (disassemble-offset): Receive `bytes' as argument rather than via
23914 (byte-compile-tag-number): Declare before first use.
23915 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23916 `return' even if make-spliceable.
23917 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23918 obsolete interactive-p.
23919 (byte-optimize-lapcode): Optimize new lap-codes.
23920 Don't trip up on new form of `byte-constant' lap code.
23922 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23924 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23926 * custom.el (custom-initialize-default, custom-declare-variable):
23929 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23931 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23932 (COMPILE_FIRST): Add macroexp and cconv.
23933 * makefile.w32-in: Mirror changes in Makefile.in.
23935 * vc/cvs-status.el:
23939 * vc/smerge-mode.el:
23940 * textmodes/bibtex-style.el:
23941 * textmodes/css-mode.el:
23949 * emacs-lisp/smie.el:
23952 * abbrev.el: Use lexical binding.
23954 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23956 * info.el (info-display-manual): New function.
23958 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23960 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23962 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23964 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23965 an entry for that server in rcirc-authinfo. (Bug#8385)
23967 2011-03-31 Glenn Morris <rgm@gnu.org>
23969 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23971 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23973 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23975 * progmodes/python.el (python-default-interpreter)
23976 (python-python-command-args, python-jython-command-args)
23977 (python-which-shell, python-which-args, python-which-bufname)
23978 (python-file-queue, python-comint-output-filter-function)
23979 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23980 variables and functions.
23982 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23984 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23985 (completion-in-region-mode): New minor mode.
23986 (completion-in-region): Use it.
23987 (completion-in-region--data, completion-in-region-mode-map): New vars.
23988 (completion-in-region--postch): New function.
23989 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23991 (completion--capf-wrapper): New function.
23992 (completion-at-point): Use it to track well-behavedness of
23994 (completion-help-at-point): New command.
23996 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23998 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23999 syntax class to search for whitespace on a single line
24000 (Message-ID: <4D938140.4030905@redhat.com>).
24002 2011-03-30 Leo Liu <sdl.web@gmail.com>
24004 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24006 (edit-abbrevs-map): Bind them here.
24007 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24009 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24011 * allout.el (allout-hide-by-annotation, allout-flag-region):
24012 Reduce possibility of overlay leakage by making them volatile.
24014 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24015 hash is not shared between buffers. Mode initialization is
24016 responsible for giving it a useful starting value.
24017 (allout-item-span): Reduce possibility of overlay leakage by
24018 making them volatile.
24019 (allout-widgets-count-buttons-in-region): Add diagnostic function
24020 for tracking down button overlay leaks.
24022 2011-03-29 Leo Liu <sdl.web@gmail.com>
24024 * ido.el (ido-read-internal): Use the default history var
24025 minibuffer-history if no HISTORY is specified.
24027 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24029 * net/imap.el (imap-shell-open, imap-process-connection-type):
24030 Use imap-process-connection-type for 'shell' streams as well as
24031 Kerberos, SSL, other subprocesses.
24033 2011-03-28 Leo Liu <sdl.web@gmail.com>
24035 * abbrev.el (abbrev-table-empty-p): New function.
24036 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24037 nonempty ones. (Bug#5937)
24039 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24041 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24043 2011-03-27 Leo Liu <sdl.web@gmail.com>
24045 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24046 for foreground and background colors.
24047 (ansi-color-make-color-map): Adapt.
24049 2011-03-25 Leo Liu <sdl.web@gmail.com>
24051 * midnight.el (midnight-time-float): Remove. Note it calculates
24052 the microsecond component incorrectly and seconds-to-time does the
24054 Remove redundant (require 'timer).
24056 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24057 (ido-completions): Remove unused arguments. (Bug#8329)
24059 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24061 * minibuffer.el (completion--flush-all-sorted-completions):
24062 Remove itself from hook.
24063 (completion-at-point): Let the functions perform the completion
24064 immediately and return nil or t.
24065 * comint.el (comint-dynamic-complete-functions): Now identical to
24066 completion-at-point-functions.
24067 (comint-dynamic-list-input-ring): Remove unused var `index'.
24068 (comint--match-partial-filename, comint--unquote&expand-filename):
24069 New funs, split from comint-match-partial-filename.
24070 (comint-dynamic-complete): Use completion-at-point.
24071 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24073 2011-03-24 Drew Adams <drew.adams@oracle.com>
24075 * thingatpt.el: Support `defun'.
24077 2011-03-23 Leo Liu <sdl.web@gmail.com>
24079 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24081 * help-mode.el (help-mode-finish): Tweak regexp.
24083 2011-03-23 Glenn Morris <rgm@gnu.org>
24085 * eshell/esh-opt.el (eshell-eval-using-options):
24086 Do not bind unused local variable `eshell-option-stub'.
24088 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24090 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24092 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24093 keymap variable in `with-no-warnings' to avoid a warning when the
24094 keymap has been already `defconst'ed.
24096 2011-03-22 Leo Liu <sdl.web@gmail.com>
24098 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24099 encode all chars in abbrevs; otherwise use emacs-mule or
24100 utf-8-emacs. (Bug#8308)
24102 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24104 * simple.el (backward-delete-char-untabify):
24105 Avoid warning about using `delete-backward-char'.
24107 * image.el (image-type-file-name-regexps): Make it variable.
24108 `imagemagick-register-types' modifies it, and the user may want
24109 to add new extensions for known image types.
24110 (imagemagick-register-types): Throw error if not using ImageMagick.
24112 2011-03-22 Leo Liu <sdl.web@gmail.com>
24114 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24115 located before rcirc-prompt-end-marker.
24116 (rcirc-complete): Error if point is not after rcirc prompt.
24117 Handle the case when table is nil.
24118 (rcirc-user-authenticated): Define to fix compiler warning.
24120 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24122 * custom.el (custom--inhibit-theme-enable): Make it affect only
24123 custom-theme-set-variables and custom-theme-set-faces.
24124 (provide-theme): Ignore custom--inhibit-theme-enable.
24125 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24126 (custom-enabling-themes): Delete variable.
24127 (enable-theme): Accept only loaded themes as arguments.
24128 Ignore the special custom-enabled-themes variable.
24129 (custom-enabled-themes): Forbid themes from setting this.
24130 Eliminate use of custom-enabling-themes.
24131 (custom-push-theme): Quote "changed" custom var entry.
24133 2011-03-21 Leo Liu <sdl.web@gmail.com>
24135 * ido.el (ido-read-internal): Add ido-selected to history instead
24138 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24140 * subr.el (deferred-action-list, deferred-action-function):
24143 2011-03-21 Leo Liu <sdl.web@gmail.com>
24145 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24146 change on 2011-02-13 (bug#8309).
24148 * minibuffer.el (read-file-name-function): Change default value.
24149 (read-file-name--defaults): Rename from read-file-name-defaults.
24150 (read-file-name-default): Rename from read-file-name.
24151 (read-file-name): Call read-file-name-function.
24153 2011-03-21 Glenn Morris <rgm@gnu.org>
24155 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24158 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24160 * cus-theme.el: Add missing provide statement.
24161 (customize-create-theme): Extract theme value correctly.
24162 (custom-theme-visit-theme): Autoload.
24163 (customize-create-theme): Prompt before inserting default faces.
24165 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24167 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24168 units and musical notes.
24170 2011-03-20 Leo Liu <sdl.web@gmail.com>
24172 * ido.el (ido-read-internal): Use completing-read-default.
24173 (ido-completing-read): Fix compatibility with completing-read.
24175 2011-03-20 Christian Ohler <ohler@gnu.org>
24177 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24178 (ert-delete-all-tests): Use `called-interactively-p' rather than
24180 (ert--make-xrefs-region): Respect END.
24182 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24184 * dired-aux.el (dired-create-directory): Signal an error if the
24185 directory already exists (Bug#8246).
24187 * facemenu.el (list-colors-display): Call list-faces-display
24188 inside with-help-window.
24189 (list-colors-print): Use display property to align the final
24190 column, instead of checking window-width.
24192 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24194 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24195 windows-nt systems.
24196 (emerge-protect-metachars): Quote correctly for ms-dos and
24197 windows-nt systems.
24199 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24201 * info.el (info-initialize): Replace all uses of `:' with
24202 path-separator for compatibility with non-Unix systems.
24203 Cache quoting of path-separator. (Bug#8258)
24205 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24207 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24208 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24209 (mouse-avoidance-mode): Fix typos in docstrings.
24211 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24213 * startup.el (package-subdirectory-regexp): Move from package.el.
24214 Omit \\` and \\', and let callers add them.
24216 * emacs-lisp/package.el (package-strip-version)
24217 (package-load-all-descriptors): Add \\` and \\' to
24218 package-subdirectory-regexp before using it.
24219 (package-untar-buffer): New arg DIR; ensure that file untars only
24220 into this expected directory. Remove superfluous delete-region.
24221 (package-unpack): Caller changed.
24222 (package-tar-file-info): Use package-subdirectory-regexp.
24224 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24226 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24227 diff-mode-shared-map (bug#8284).
24228 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24230 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24232 * calendar/time-date.el (format-seconds): Use assoc instead of
24233 assoc-string, since assoc-string doesn't exist in XEmacs.
24235 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24237 * custom.el (custom-known-themes): Reflow docstring.
24238 (custom-theme-load-path): Fix typo in docstring.
24239 (load-theme): Fix typo in error message.
24240 (custom-available-themes, custom-variable-theme-value):
24241 Use `let', not `let*'.
24243 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24245 * calc/README: Mention inclusion of musical notes.
24247 * calc/calc-units.el (calc-lu-quant): Rename from
24248 `calc-logunits-quantity'.
24249 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24250 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24251 (calc-db): Rename from `calc-dblevel'.
24252 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24253 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24254 (calc-np): Rename from `calc-nplevel'.
24255 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24256 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24257 (calc-lu-plus): Rename from `calc-logunits-add'.
24258 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24259 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24260 (calc-lu-minus): Rename from `calc-logunits-sub'.
24261 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24262 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24263 (calc-lu-times): Rename from `calc-logunits-mul'.
24264 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24265 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24266 (calc-lu-divide): Rename from `calc-logunits-div'.
24267 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24268 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24270 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24271 functions being autoloaded.
24273 * calc/calc.el (calc-lu-power-reference): Rename from
24274 `calc-logunits-power-reference'.
24275 (calc-lu-field-reference): Rename from
24276 `calc-logunits-field-reference'.
24278 * calc/calc-help.el (calc-l-prefix-help):
24279 Mention musical note functions.
24281 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24283 * minibuffer.el (completion-all-sorted-completions):
24284 Use :completion-cycle-penalty text property if present.
24286 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24288 * allout.el (allout-yank-processing): Adjust for new rebulleting
24289 regime so bullet being yanked is used without prompting the user
24292 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24294 * startup.el (command-line): Warn the user that _emacs is deprecated.
24296 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24298 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24299 (delphi-verbose, delphi-comment-face, delphi-string-face)
24300 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24301 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24302 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24303 (delphi-new-comment-line, delphi-font-lock-defaults)
24304 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24305 Fix typos in docstrings.
24307 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24309 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24310 Invert the roles of character and string values for INSTEAD, so a
24311 string is used for the more common case of a defaulting prompt.
24313 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24315 * progmodes/ruby-mode.el (ruby-backward-sexp):
24316 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24317 * play/gamegrid.el (gamegrid-make-face):
24318 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24319 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24320 * notifications.el (notifications-notify):
24321 * net/xesam.el (xesam-search-engines):
24322 * net/quickurl.el (quickurl-list-insert):
24323 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24325 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24327 * startup.el (command-line): Update package subdirectory regexp.
24329 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24331 * allout.el (allout-abbreviate-flattened-numbering)
24332 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24334 * subr.el (read-char-choice): Only show the cursor after the prompt,
24335 not after the answer.
24337 2011-03-15 Kevin Ryde <user42@zip.com.au>
24339 * help-fns.el (variable-at-point): Skip leading quotes, if any
24342 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24344 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24347 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24349 * shell.el (shell): When called interactively, offer to change the
24350 shell file name on remote hosts.
24352 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24354 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24355 integration for LDAP parameters. The host, base, user or binddn,
24356 and secret tokens can be specified in a netrc file, for instance.
24357 This is optional because an `auth-source' parameter must be
24358 specified in the search attributes.
24360 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24362 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24364 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24366 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24367 into declaration. Remove redundant and harmful binding.
24369 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24371 * files.el (file-ownership-preserved-p): Pass `integer' as an
24372 explicit 2nd argument to `file-attributes'. If the file's owner
24373 is the Administrators group on Windows, and the current user is
24374 Administrator, consider that a match.
24376 * server.el (server-ensure-safe-dir): Consider server directory
24377 safe on MS-Windows if its owner is the Administrators group while
24378 the current Emacs user is Administrator. Use `=' to compare
24379 numerical UIDs, since they could be integers or floats.
24381 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24383 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24385 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24387 Sync with Tramp 2.2.1.
24389 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24391 * net/trampver.el: Update release number.
24393 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24395 * progmodes/compile.el (compilation--previous-directory): Fix up
24396 various nil/dead-marker mismatches (bug#8014).
24397 (compilation-directory-properties, compilation-error-properties):
24398 Don't call it at a position past the one we're about to change.
24400 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24401 Disable obsolescence warnings in the file that declares it.
24403 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24405 * allout-widgets.el (allout-widgets-tally):
24406 Initialize allout-widgets-tally as a hash table rather than nil to
24407 prevent mode-line redisplay warnings. Also, clarify the module
24408 description and fix a comment typo.
24410 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24412 * help-fns.el (describe-variable): Don't complete keywords.
24413 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24415 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24417 * emacs-lisp/package.el (package-version-join): Impose a standard
24418 string representation for pre/alpha/beta version lists.
24419 (package-unpack-single): Standardize the directory name by passing
24420 it through package-version-join.
24421 (package-strip-rcs-id): Accept any version string that does not
24422 signal an error in version-to-list.
24424 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24426 * simple.el (delete-trailing-whitespace): Return nil for the
24427 benefit of `write-file-functions'.
24429 2011-03-10 Glenn Morris <rgm@gnu.org>
24431 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24433 * vc/vc-git.el (vc-git-program): New option.
24434 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24435 (vc-git--call): Use it.
24437 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24439 * cus-edit.el (Custom-newline): If no button at point, look
24440 for a subgroup button at start-of-line. (Bug#2298)
24442 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24444 2011-03-10 Julien Danjou <julien@danjou.info>
24446 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24447 `cursor-type' is nil.
24449 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24451 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24453 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24455 * allout.el: Change so yank of distinctive-bullet items
24456 preserves the existing header prefix, rebulleting it if necessary,
24457 rather than replacing it. This is necessary for proper operation
24458 of cooperative addons like allout-widgets.
24459 (allout-make-topic-prefix, allout-rebullet-heading):
24460 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24461 value as alternate bullet to be used, instead of prompting the user
24462 for a bullet character.
24464 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24466 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24467 Do not use `tramp-file-name-port', because this returns also
24468 `tramp-default-port'.
24470 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24472 * net/rcirc.el (rcirc-handler-001): Remove useless
24473 with-rcirc-process-buffer.
24474 (rcirc-check-auth-status): Swap arguments to string-match.
24476 2011-03-09 Glenn Morris <rgm@gnu.org>
24478 * shell.el (shell-mode):
24479 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24481 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24482 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24484 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24486 * emacs-lisp/package.el (package-refresh-contents)
24487 (package-menu-execute): Use condition-case-no-debug.
24489 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24491 * simple.el (shell-command-to-string): Use `process-file'.
24493 * emacs-lisp/package.el (package-tar-file-info): Handle also
24496 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24497 Use `equal' for upload base check.
24499 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24501 * textmodes/texinfo.el (texinfo-environments):
24502 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24504 2011-03-08 Glenn Morris <rgm@gnu.org>
24506 * cus-start.el (cursor-in-non-selected-windows):
24507 Fix :set quoting oddness. (Bug#8192)
24509 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24510 in some setf expressions. (Bug#2159)
24512 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24514 * custom.el (custom-available-themes): Return themes in
24515 alphabetical order.
24517 See ChangeLog.15 for earlier changes.
24519 ;; Local Variables:
24523 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24525 This file is part of GNU Emacs.
24527 GNU Emacs is free software: you can redistribute it and/or modify
24528 it under the terms of the GNU General Public License as published by
24529 the Free Software Foundation, either version 3 of the License, or
24530 (at your option) any later version.
24532 GNU Emacs is distributed in the hope that it will be useful,
24533 but WITHOUT ANY WARRANTY; without even the implied warranty of
24534 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24535 GNU General Public License for more details.
24537 You should have received a copy of the GNU General Public License
24538 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.