1 2013-02-16 Glenn Morris <rgm@gnu.org>
3 * image.el (image-animated-types): Remove.
4 (image-multi-frame-p): Rename from image-animated-p, and generalize.
5 (image-animated-p): Make obsolete alias.
6 (image-animate, image-nth-frame, image-animate-timeout):
7 Use image-multi-frame-p.
8 (image-animate-timeout): If no delay, use image-default-frame-delay.
9 * image-mode.el (image-mode, image-toggle-animation):
10 Use image-multi-frame-p. (Bug#763, bug#10739)
11 (image-mode): Adjust startup message for a multi-frame image.
13 * image-mode.el (image-mode-map): Give it a menu.
15 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
17 * net/tramp-cache.el (tramp-connection-properties): New customer
19 (tramp-get-connection-property): Use it.
21 * net/tramp-compat.el (top): Require 'trampver.
23 * net/tramp-sh.el (tramp-remote-process-environment): Set
24 tramp-autoload cookie.
26 2013-02-16 Kevin Ryde <user42@zip.com.au>
28 * info-look.el (info-lookup-select-mode): If major-mode has no
29 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
31 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
33 * replace.el (read-regexp): Tighten the regexp that matches tag.
34 When tag is retrieved with `find-tag-default', use regexp that
35 matches tag at point. Also update docstring (Bug#13687).
37 2013-02-16 Eli Zaretskii <eliz@gnu.org>
39 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
40 add watch for the file, not its parent directory, since w32notify
41 sets up the watch for the directory internally. (Bug#13725)
43 2013-02-16 Glenn Morris <rgm@gnu.org>
45 * image.el (image-default-frame-delay): New variable.
46 (image-animated-p): Use image-default-frame-delay.
47 (image-minimum-frame-delay): New constant.
48 (image-animate-timeout): Use image-minimum-frame-delay.
50 * image.el (image-nth-frame): New, split from image-animate-timeout.
51 (image-animate-timeout): Use image-nth-frame.
52 * image-mode.el (image-goto-frame, image-next-frame)
53 (image-previous-frame): New commands.
54 (image-mode-map): Add new frame commands.
56 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
58 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
59 If col-desc already has help-echo, use it. (Bug#13563)
61 2013-02-16 Glenn Morris <rgm@gnu.org>
63 * image.el (image-current-frame): New variable.
64 (image-animate-timeout): Set image-current-frame.
65 * image-mode.el (image-mode): For animated images,
66 display a frame counter via mode-line-process.
68 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
70 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
72 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
74 2013-02-15 Alan Mackenzie <acm@muc.de>
76 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
77 global minor mode has been enabled, call the minor mode function
78 for a new buffer once only, after the major mode hook, whilst
79 allowing that hook explicitly to disable the minor mode.
80 (MODE-disable-in-buffer): New (generated) function.
81 (disable-MODE): New (generated) buffer local variable.
83 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
85 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
86 `iswitchb-next-match' and `iswitchb-prev-match' resply.
87 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
88 `ido-next-match' and `ido-prev-match' resply.
89 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
90 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
91 `icomplete-backward-completions' (Bug#13708).
93 2013-02-15 Glenn Morris <rgm@gnu.org>
95 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
97 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
99 * net/goto-addr.el (goto-address-fontify): Add start and end args.
100 (goto-address-fontify-region): Use them instead of narrowing, so
101 syntax-ppss has access to the whole buffer.
103 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
105 * progmodes/python.el: Explain how to restore "cc-mode"-like
106 forward-sexp movement in header documentation (Bug#13642).
107 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
108 comments and strings (GH bug 114).
110 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
112 * progmodes/python.el (python-info-current-defun): Fix current
113 defun detection (Bug#13618).
115 2013-02-15 Chong Yidong <cyd@gnu.org>
117 * xml.el (xml-parse-string): Fix typo in handling of bad character
120 2013-02-15 Glenn Morris <rgm@gnu.org>
122 * play/fortune.el (fortune-compile): Simplify and fix previous change.
124 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
126 * net/tramp.el (tramp-debug-message):
127 Add `tramp-condition-case-unless-debug'.
128 (tramp-debug-on-error): New defvar.
129 (tramp-condition-case-unless-debug): New defun.
130 (tramp-file-name-handler): Use it.
132 2013-02-14 Juri Linkov <juri@jurta.org>
134 * info.el (Info-isearch-filter): Treat non-nil values of
135 `search-invisible' including its default value `open'
136 like the value `t' to match hidden text. (Bug#13402)
138 2013-02-14 Glenn Morris <rgm@gnu.org>
140 * help-fns.el (find-lisp-object-file-name): Give special treatment
141 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
143 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
145 * net/quickurl.el (quickurl-save-urls):
146 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
148 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
150 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
151 depth for unfinished percent literal. Not using it in the caller.
152 (ruby-move-to-block): Jump over multiline literals of all types,
153 ignoring code-looking contents inside them.
154 (ruby-add-log-current-method): Improve performance at the expense
155 of accuracy. `ruby-block-contains-point' is relatively slow, so
156 only use it for method and singleton class blocks.
158 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
160 Use ControlMaster where applicable. (Bug#13677)
162 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
163 replacing `tramp-detect-ssh-controlmaster'.
164 (tramp-default-method): Use it.
166 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
167 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
169 [scpc, rsyncc]: Remove methods.
170 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
172 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
173 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
175 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
177 * emacs-lisp/package.el (package--initialized): Move before first use.
179 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
181 * icomplete.el (icomplete-hide-common-prefix): New user option.
182 (icomplete-first-match): New face.
183 (icomplete-completions): Correct handling of "complete but not
186 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
188 * descr-text.el (describe-char): Display the script (bug#13698).
190 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
192 * tmm.el: Use lexical-binding and current-active-maps.
193 (tmm-menubar): Use map-keymap and pcase.
194 (tmm--completion-table): New function.
195 (tmm-prompt): Use it to fix the menu order.
196 (tmm-get-keybind): Use current-active-maps.
198 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
200 Add dired-hide-details-mode. (Bug#6799)
202 * locate.el (locate-mode): Set parent mode property to dired-mode.
204 * find-dired.el (find-dired): Call dired-insert-set-properties on
205 initial information line. Set process mark on end of buffer.
206 (find-dired-sentinel):
207 Call dired-insert-set-properties on summary.
209 * dired.el (dired-hide-details-hide-symlink-targets)
210 (dired-hide-details-hide-information-lines): New options.
211 (dired-insert-directory):
212 Set properties after final treatment of output.
213 (dired-insert-set-properties):
214 Set dired-hide-details-* properties.
215 (dired-mode-map): Bind dired-hide-details-mode.
216 (dired-mode): Set buffer-invisibility-spec to a list.
217 (dired-next-line): Skip hidden lines.
218 (dired-previous-line): Use dired-next-line.
219 (dired-hide-details-mode): New minor mode.
220 (dired-hide-details-update-invisibility-spec): New function.
222 2013-02-13 Glenn Morris <rgm@gnu.org>
224 * play/yow.el: Move to obsolete/. (Bug#9384)
226 2013-02-13 Juri Linkov <juri@jurta.org>
228 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
229 to select `ediff-control-frame' and set input focus correctly on Xfce.
232 2013-02-13 Juri Linkov <juri@jurta.org>
234 * image-mode.el (image-mode-map):
235 * doc-view.el (doc-view-mode-map):
236 * vc/ediff-util.el (ediff-setup-keymap):
237 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
239 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
241 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
242 performance. Instead of recalculating indentation fully for each
243 line, sum up indentation depth based only on visited lines.
244 (ruby-parse-partial): Increase the depth after "do" even when END
246 (ruby-parse-partial): When END is in the middle of a percent
247 literal, increase the depth if the delimiter chars belong to the
250 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
252 * play/fortune.el (fortune-compile): Also make the compiled file
253 if it does not exist at all, not just if it is old. (Bug#5338)
255 2013-02-13 Glenn Morris <rgm@gnu.org>
257 * emacs-lisp/package.el (package-menu-execute): Doc fix.
259 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
261 * lisp/emacs-lisp/package.el (package-menu-execute):
262 Add optional noquery argument. (Bug#13625)
264 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
266 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
267 if DIR exists and PARENTS is non-nil.
269 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
271 * progmodes/js.el (js--multi-line-declaration-indentation):
272 Silence byte-compiler warning.
274 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
276 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
278 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
279 only if it doesn't exist.
281 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
284 2013-02-12 Tassilo Horn <tsdh@gnu.org>
286 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
287 UserInstallation when calling soffice to work around LibreOffice
290 2013-02-12 Glenn Morris <rgm@gnu.org>
292 * files.el (basic-save-buffer):
293 Offer to create a non-existing directory. (Bug#3016)
295 * calc/calc-graph.el (calc-graph-show-dumb):
296 * calendar/calendar.el (calendar-mode-map):
297 * cus-edit.el (custom-mode-map):
298 * ehelp.el (electric-help-map):
299 * emulation/vip.el (vip-mode-map):
300 * epa.el (epa-key-list-mode-map):
301 * info.el (Info-mode-map):
302 * mail/rmail.el (rmail-mode-map):
303 * mail/rmailsum.el (rmail-summary-mode-map):
304 * man.el (Man-mode-map):
305 * net/newst-plainview.el (newsticker-mode-map):
306 * progmodes/cpp.el (cpp-edit-mode-map):
307 * progmodes/grep.el (grep-mode-map):
308 * progmodes/idlw-help.el (idlwave-help-mode-map):
309 * simple.el (special-mode-map):
310 * startup.el (splash-screen-keymap):
311 * view.el (view-mode-map):
312 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
314 2013-02-11 Elias Pipping <pipping@lavabit.com>
316 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
319 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
321 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
323 2013-02-11 Glenn Morris <rgm@gnu.org>
325 * vc/diff.el (diff-use-labels): New variable.
326 (diff-no-select): Use --label rather than -L, and first
327 check that it is supported. (Bug#11067)
329 * files.el (enable-dir-local-variables): New variable.
330 (hack-dir-local-variables): Respect enable-dir-local-variables.
331 * tutorial.el (help-with-tutorial):
332 Ignore directory-local variables. (Bug#11127)
334 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
335 (vc-svn-global-switches): ... to here. (Bug#13513)
337 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
339 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
340 Handle "foo (bar, default: xxx): " prompts.
342 2013-02-10 Chong Yidong <cyd@gnu.org>
344 * files.el (basic-save-buffer-1): Do not set
345 buffer-file-coding-system-explicit (Bug#4533).
347 * mail/emacsbug.el (report-emacs-bug): Change binding of
348 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
350 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
352 * calc/calc.el (calc-allow-units-as-numbers): New variable.
353 * calc/calc-units.el (calc-convert-units): Use new variable.
355 2013-02-09 Eli Zaretskii <eliz@gnu.org>
357 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
359 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
362 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
363 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
364 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
365 coding-system-for-write instead.
367 * jka-compr.el (jka-compr-write-region): Don't bind
370 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
373 * files.el (file-name-buffer-file-type-alist): Remove defvar.
374 (insert-file-contents-literally): Remove reference to
375 file-name-buffer-file-type-alist.
377 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
379 (find-buffer-file-type-match, find-buffer-file-type): Remove.
380 (find-buffer-file-type-coding-system): Remove references to
381 find-buffer-file-type-match, find-buffer-file-type, and
383 Don't put find-buffer-file-type-coding-system into
384 file-coding-system-alist.
385 (find-file-binary, find-file-text): Bind coding-system-for-read
386 instead of file-name-buffer-file-type-alist.
388 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
390 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
391 converter (Bug#13622).
392 (doc-view-unoconv-program): Make obsolete alias.
393 (doc-view-odf->pdf-converter-program): New variable.
394 (doc-view-odf->pdf-converter-function): New variable.
395 (doc-view-mode-p): Use it.
396 (doc-view-odf->pdf-converter-unoconv):
397 Rename from `doc-view-odf->pdf-converter-unoconv'.
398 (doc-view-odf->pdf-converter-soffice): New function.
399 (doc-view-convert-current-doc):
400 Use `doc-view-odf->pdf-converter-function'.
402 2013-02-09 Chong Yidong <cyd@gnu.org>
404 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
405 view-echo-area-messages (Bug#13340).
407 * help.el (view-echo-area-messages): Use display-buffer.
409 * dired-x.el (dired-do-run-mail): Prompt for confirmation
412 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
414 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
415 Eval body right away, now that we do eager macroexpansion (bug#13605).
417 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
418 (fundamental-mode): Use run-mode-hooks.
420 * eshell/esh-proc.el (eshell/kill): Fix last change.
421 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
423 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
425 * eshell/esh-proc.el (eshell/kill): Rewrite.
427 * eshell/em-ls.el (show-almost-all): Declare.
428 (eshell-do-ls): Add support for -A argument.
430 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
432 * icomplete.el (icomplete-forward-completions)
433 (icomplete-backward-completions): Handle corner case (bug#13602).
435 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
437 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
438 be nil. Handle this. (Bug#13636)
440 2013-02-07 Richard Stallman <rms@gnu.org>
442 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
443 `save-buffer-coding-system'.
445 2013-02-07 Alan Mackenzie <acm@muc.de>
447 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
448 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
449 (c-parse-state-get-strategy): Don't return 'BOD any more.
450 (c-append-lower-brace-pair-to-state-cache):
451 Extra parameter HERE instead of narrowing.
452 Widen to top of buffer before searching backwards for a brace pair.
453 (c-state-push-any-brace-pair): Add HERE parameter to function call.
454 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
455 Narrow to parameter HERE, in place of being called narrowed.
456 (c-remove-stale-state-cache): Extra parameter HERE in place of
457 narrowing. Check there's an open brace in the cache before
458 searching for its match.
459 (c-invalidate-state-cache-1): Add HERE parameter to function call.
460 (c-parse-state-1): Don't narrow here for 'forward strategy,
461 instead passing extra parameter HERE to several functions.
462 Remove 'BOD strategy.
464 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
466 * emacs-lisp/package.el (describe-package-1): Tell what archive is
467 used to install the package.
469 2013-02-06 Glenn Morris <rgm@gnu.org>
471 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
472 if we can't get user input. (Bug#6567)
474 * startup.el (command-line): If simple.el is missing,
475 test and warn about for some possible causes.
477 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
479 * cus-start.el (all): Add ns-use-native-fullscreen.
481 2013-02-05 Glenn Morris <rgm@gnu.org>
483 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
485 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
486 Fix directory creation in fallback case.
488 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
490 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
491 (vc-update-change-log): Use dolist.
493 2013-02-04 Chong Yidong <cyd@gnu.org>
495 * thingatpt.el: Rewrite the URL detection routines, absorbing some
497 (thing-at-point-beginning-of-url-regexp): New var.
498 (thing-at-point-uri-schemes): Update list of URI schemes.
499 (thing-at-point-url-regexp): Variable deleted.
500 (thing-at-point-markedup-url-regexp): Disallow newlines.
501 (thing-at-point-newsgroup-regexp)
502 (thing-at-point-newsgroup-heads)
503 (thing-at-point-default-mail-uri-scheme): New variables.
504 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
505 method to find the possible bounds of the URI at point.
506 New optional argument to find ill-formed URIs.
507 (thing-at-point-url-at-point): Rewrite. New arguments for finding
508 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
509 the scheme-adding heuristics from ffap-url-at-point.
510 (thing-at-point--bounds-of-well-formed-url): New function.
511 Do parens matching to decide whether to include parens in the URI
514 * ffap.el: Require thingatpt.
515 (ffap-url-at-point): Delegate URI detection to thing-at-point.
516 All URI-valid characters are now recognized (Bug#5673).
517 (ffap-string-at-point): Use use-region-p.
518 (ffap-url-regexp): Extra character is handled by thing-at-point.
519 (ffap-string-at-point-mode-alist): Allow parentheses.
520 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
521 Convert to aliases; code moved to thingatpt.el.
522 (ffap-gnus-hook): Use setq-local.
524 2013-02-04 Glenn Morris <rgm@gnu.org>
526 * emacs-lisp/ert.el (ert--explain-format-atom):
527 Don't try to print non-characters as characters. (Bug#13543)
529 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
531 * net/tramp.el (tramp-debug-message): Extend function exclude list.
532 (tramp-backtrace): New defun.
533 (tramp-handle-insert-file-contents): Use `visit' when inserting
536 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
537 Use `remote-file-name-inhibit-cache'.
539 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
541 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
544 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
545 current-load-list (bug#13366).
547 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
549 * progmodes/compile.el (compilation-error-regexp-alist-alist):
550 Identify g++ template instantiation trace. (Bug#12287)
551 (compilation-mode-hook, compilation-start-hook)
552 (compilation-window-height): Simplify docstrings. (Bug#13379)
554 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
556 * mouse.el (mouse-drag-track): Always deactivate the mark before
557 running the final event's command since that command is in charge of
558 activating the mark if needed (bug#13523).
560 2013-02-02 Juri Linkov <juri@jurta.org>
562 * replace.el (perform-replace): Move let-bindings of isearch-*
563 variables deeper to the loop that searches for the next match.
564 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
565 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
568 * isearch.el (isearch-search-fun-default): Check for null
569 first element of isearch-cmds as a precaution when it's used
570 with inactive isearch.
572 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
574 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
575 error when buffer in question is narrowed so position 1 is out of
578 2013-02-02 Glenn Morris <rgm@gnu.org>
580 * textmodes/remember.el (remember-clipboard): Doc fix.
582 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
584 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
585 properties (bug#13179).
587 2013-02-02 Juri Linkov <juri@jurta.org>
589 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
590 instead of hard-coded default face `match'. (Bug#9438)
592 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
594 * vc/vc-arch.el (vc-arch-registered):
595 * vc/vc-bzr.el (vc-bzr-registered):
596 * vc/vc-cvs.el (vc-cvs-registered):
597 * vc/vc-git.el (vc-git-registered):
598 * vc/vc-hg.el (vc-hg-registered):
599 * vc/vc-mtn.el (vc-mtn-registered):
600 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
603 * info.el (Info-next-reference, Info-prev-reference): Add numeric
604 prefix argument. (Bug#11656)
606 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
608 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
610 2013-02-01 Glenn Morris <rgm@gnu.org>
612 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
613 if the backend is known not to support it.
615 * imenu.el (imenu-default-create-index-function):
616 Tweak infinite loop test to check for forward motion as well as none.
618 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
620 * net/soap-client.el (soap-invoke): Encode the string for
621 `url-request-data' as UTF-8.
622 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
624 2013-02-01 Glenn Morris <rgm@gnu.org>
626 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
628 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
630 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
632 * net/tramp.el (tramp-tramp-file-p): Comment check for
633 `string-as-unibyte'. The function does not exist on XEmacs, and
634 likely we need another approach.
636 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
637 `tramp-gw-*' variables are bound.
639 2013-01-31 Glenn Morris <rgm@gnu.org>
641 * files.el (basic-save-buffer-2): Choose coding system for
642 writing the file before backing it up, to reduce delay between
643 backing up and writing the new version. (Bug#13522)
645 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
647 * simple.el (cycle-spacing): New command.
648 (just-one-space): Use it.
650 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
652 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
653 (opascal-newline-always-indents): Remove custom.
654 (opascal-tab, opascal-newline): Remove commands.
655 (opascal-new-comment-line): Insert "\n" instead of calling newline.
656 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
657 (opascal-save-match-data): Remove, use save-match-data instead.
658 (opascal-save-state): Use with-silent-modifications.
660 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
663 2013-01-30 Juri Linkov <juri@jurta.org>
665 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
666 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
667 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
669 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
671 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
672 column if we're just deleting the backslashes.
673 (makefile-fill-paragraph): Use eolp.
675 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
677 * autorevert.el (auto-revert-use-notify): Fix docstring.
679 2013-01-30 Leo Liu <sdl.web@gmail.com>
681 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
683 2013-01-30 Glenn Morris <rgm@gnu.org>
685 * mouse.el (mouse-drag-line): Avoid pushing same event onto
686 unread-command-events twice in some cases. This tries to implement
687 the 2012-07-26 changes in a different way. (Bug#13560)
689 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
691 * progmodes/python.el
692 (python-pdbtrack-comint-output-filter-function): Enhancements on
693 stacktrace detection. (thanks @gnovak)
695 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
697 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
698 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
700 (jit-lock-register): Use setq-local.
702 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
704 * calc-units.el (math-default-units-table): Remove initial value.
705 (calc-convert-units): Treat expressions where all the units cancel as
706 if they didn't have units.
708 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
710 * net/tramp.el (tramp-process-connection-type): Fix docstring.
711 (tramp-completion-reread-directory-timeout): Fix type.
712 (tramp-connection-min-time-diff): New defcustom.
714 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
716 2013-01-30 Glenn Morris <rgm@gnu.org>
718 * imenu.el (imenu-default-create-index-function):
719 Put back a version of the infinite loop test removed 2013-01-23.
721 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
723 * progmodes/python.el (python-shell-parse-command):
724 Find python-shell-interpreter with modified environment.
726 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
728 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
730 2013-01-29 Alan Mackenzie <acm@muc.de>
732 Amend to fontify /regexp/s in actions correctly.
733 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
734 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
735 are no longer included.
736 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
737 What used to be these variables without "-line" in the name.
738 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
739 (c-awk-non-arith-op-bra-re): Now also matches {.
740 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
741 "return", and "case".
742 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
744 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
745 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
747 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
749 * autorevert.el (auto-revert-use-notify):
750 Use `custom-initialize-default' for initialization. (Bug#13583)
752 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
754 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
755 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
756 in `tramp-file-name-handler'.
757 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
759 (tramp-compute-multi-hops): Check, whether
760 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
762 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
764 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
767 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
769 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
770 checks made superfluous by the \_< operator.
771 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
772 temporarily) broken indentation.
773 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
774 Highlight nested constants, too. \_< broke that.
776 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
778 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
781 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
783 * autorevert.el (auto-revert-handler): Notifications which result
784 from a saved file shall not be taken into account. (Bug#13557)
786 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
788 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
789 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
790 (lisp-mode): Pass t for it. (Bug#13556)
792 2013-01-25 Alan Mackenzie <acm@muc.de>
794 AWK Mode: Fix indentation bug at top level. Bug #12274.
796 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
799 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
801 * net/socks.el (socks-nslookup-host): Use string-to-number.
803 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
805 * autorevert.el (auto-revert-remote-files)
806 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
807 (auto-revert-notify-enabled, auto-revert-use-notify)
808 (auto-revert-notify-watch-descriptor-hash-list)
809 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
810 (auto-revert-notify-event-descriptor)
811 (auto-revert-notify-event-action)
812 (auto-revert-notify-event-file-name): Doc fix.
813 (global-auto-revert-mode): Reorder checks.
814 (auto-revert-notify-rm-watch): Respect changed values of
815 `auto-revert-notify-watch-descriptor-hash-list'.
816 (auto-revert-notify-add-watch): Check for
817 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
818 `inotify-add-watch'. Watch `default-directory' instead of
819 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
820 has a changed meaning now. (Bug#13540)
821 (auto-revert-notify-handler): Change implementation wrt events
822 returning from a directory.
823 (auto-revert-handler): Reorder implementation for checks of remote
825 (auto-revert-buffers): Fix parentheses error.
827 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
829 * progmodes/python.el: Enhancements to header documentation about
830 skeletons. (Bug#5716)
832 * imenu.el (imenu-default-create-index-function): Remove useless
833 infinite loop check. (Bug#13438)
835 2013-01-25 Alan Mackenzie <acm@muc.de>
837 Fix a bug in the state cache mechanism. Refactor this a bit.
839 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
840 `cache-pos' element from the return value.
841 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
842 buffer to enable proper searching from beyond HERE. Amend the
843 test for detecting the sought brace pair. Amend the value written
844 to the "brace desert cache" when the brace isn't found.
845 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
846 and several other variables analogously.
847 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
848 parameter to a locally calculated variable.
849 (c-parse-state-1): Change the calling conventions to the two
850 defuns involving `cache-pos'.
852 2013-01-25 Chong Yidong <cyd@gnu.org>
854 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
856 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
858 * paren.el (show-paren-function): Make sure to set 'priority and
859 'face only if the overlay does exist.
861 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
863 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
865 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
867 (tramp-sh-handle-set-file-acl): Improve error checking.
869 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
871 * doc-view.el (doc-view-display): Force mode line update until all
872 document is converted. Suggested by Stefan Monnier (Bug#13164).
874 2013-01-23 Bastien Guerry <bzg@gnu.org>
876 * paren.el (show-paren-function): Make sure an overlay exists
877 before trying to delete it. Also use `pos' as a position only
878 when it is an integer.
880 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
882 * play/gametree.el (gametree-break-line-here): Use point-marker.
884 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
886 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
887 Mark descriptive parts with `display' property.
889 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
891 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
892 New variable to map standard dict names to hunspell ones.
893 (ispell-set-spellchecker-params): Make sure specific dict names
894 are used for standard dicts with hunspell.
896 2013-01-21 Tassilo Horn <tsdh@gnu.org>
898 * textmodes/reftex-cite.el (reftex-format-citation): Add format
899 chars for note (%N) and url (%U).
900 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
902 2013-01-21 Juri Linkov <juri@jurta.org>
904 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
905 in addition to existing separate binding `meta f10' in `global-map'.
908 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
910 Improve XEmacs compatibility.
912 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
914 * net/tramp-adb.el (top): Require `time-date'.
915 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
916 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
917 Use `tramp-file-name-handler'.
918 (tramp-adb-maybe-open-connection):
919 Use `tramp-compat-set-process-query-on-exit-flag'.
921 * net/tramp-sh.el (tramp-sh-handle-file-acl):
922 Use `tramp-compat-funcall'.
924 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
925 `tramp-compat-funcall'.
927 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
929 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
930 reimplementation using "adb shell command ..." instead of running
931 remote shell interactively.
933 2013-01-20 Glenn Morris <rgm@gnu.org>
935 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
936 Add native profiler menu entries.
938 * profiler.el (profiler-running-p): New function.
939 (profiler-cpu-profile): Use profiler-running-p.
940 (profiler-report-mode-map): Add some more menu entries.
942 2013-01-19 Glenn Morris <rgm@gnu.org>
944 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
945 fixes 2012-12-07 change. (Bug#13499)
947 2013-01-19 Leo Liu <sdl.web@gmail.com>
949 * dired.el (dired-get-marked-files): Prune erroneous values due to
950 last change. (Bug#13152)
952 2013-01-19 Glenn Morris <rgm@gnu.org>
954 * progmodes/etags.el (tags-table-check-computed-list):
955 Preserve point in tags buffer. (Bug#13412)
957 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
959 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
960 Chong Yidong <cyd@gnu.org>
962 * image-mode.el (image-next-file, image-previous-file):
963 New commands (Bug#8453).
964 (image-mode-map): Bind them to n and p.
965 (image-mode--images-in-directory): New helper function.
967 2013-01-19 Chong Yidong <cyd@gnu.org>
969 * image-mode.el (image-mode-fit-frame): Add a frame argument.
970 Suggested by Drew Adams (Bug#7730). Handle window decorations;
971 save and restore the old window configuration.
973 2013-01-18 Leo Liu <sdl.web@gmail.com>
975 * progmodes/js.el: Tweak autoload cookie for alias.
977 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
979 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
980 buffer local, again. This was lost with the fix on 2013-01-12.
982 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
984 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
985 order to support several eshell buffers in parallel.
987 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
989 * autorevert.el (auto-revert-use-notify): In the :set function, do
990 not modify `kill-buffer-hook'.
991 (auto-revert-notify-rm-watch):
992 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
993 (auto-revert-notify-add-watch): Do not call
994 `auto-revert-notify-rm-watch', but add it to a buffer local
997 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
999 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1000 call to `eval' rather than a backquoted lambda.
1002 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1004 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1005 to return an explicit nil.
1006 (advice--remove-function): Change accordingly.
1008 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1009 the use of nadvice.el.
1011 * progmodes/which-func.el (which-function): Silence imenu errors
1014 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1016 * progmodes/sql.el: (sql-imenu-generic-expression):
1017 (sql-mode-font-lock-object-name): Match schema qualified names.
1018 (sql-connect): Use string keys.
1019 (sql-product-interactive): Wait for interpreter prompt.
1020 (sql-comint-oracle): Set process coding based on NLS_LANG.
1022 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1024 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1025 (sql-interactive-remove-continuation-prompt):
1026 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1028 2013-01-14 Leo Liu <sdl.web@gmail.com>
1030 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1033 2013-01-14 Glenn Morris <rgm@gnu.org>
1035 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1036 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1038 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1040 * progmodes/python.el (python-nav-end-of-statement):
1041 Fix cornercase when handling multiline strings.
1043 2013-01-13 Richard Stallman <rms@gnu.org>
1045 * mail/sendmail.el (mail-position-on-field): Add doc string.
1047 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1048 Get current message boundaries and pass them to
1049 message-forward-make-body-mime. Minor style changes.
1051 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1053 * cus-start.el (all): Avoid warnings about
1054 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1056 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1058 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1060 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1062 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1063 (jit-lock--debug-fontifying): New var.
1064 (jit-lock--debug-fontify): New function.
1065 * subr.el (condition-case-unless-debug): Don't prevent catching the
1066 error, just let the debbugger run.
1067 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1068 timer code and don't drop errors silently.
1070 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1072 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1073 `permanent-local' property.
1074 (auto-revert-notify-handler): Use `file-equal-p'.
1076 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1078 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1079 file notification by ACTION. For filtering by file name, compare
1080 only the non-directory part of the file name.
1082 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1084 * autorevert.el: Use cl-lib instead of cl.
1086 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1087 (vc-bzr-checkin): Use it.
1088 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1089 will preserve match-data.
1091 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1093 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1094 (js--declaration-keyword-re): New var.
1095 (js--multi-line-declaration-indentation): New function.
1096 (js--proper-indentation): Use it.
1098 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1100 * calc/calc.el (calc-highlight-selections-with-faces)
1102 * comint.el (comint-history-isearch-message):
1103 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1104 * ffap.el (ffap-string-at-point-region, ffap-next)
1105 (ffap-string-at-point, ffap-string-around)
1106 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1108 * font-lock.el (font-lock-keywords-alist)
1109 (font-lock-removed-keywords-alist):
1110 * help-mode.el (help-xref-symbol-regexp):
1111 * info.el (Info-find-emacs-command-nodes):
1112 * international/mule.el (add-to-coding-system-list):
1113 * isearch.el (isearch-message-function, isearch-fail-pos):
1114 * misearch.el (multi-isearch-next-buffer-function):
1115 * newcomment.el (comment-box):
1116 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1117 (pr-setting-database):
1118 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1119 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1120 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1121 (pike-font-lock-keywords-3):
1122 * progmodes/compile.el (compile):
1123 * progmodes/etags.el (tags-table-files)
1124 (tags-table-files-function, tags-included-tables-function):
1125 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1126 (gdb-restore-windows):
1127 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1128 (ps-n-up-filling-database):
1129 * server.el (server-buffer, server-log):
1130 * simple.el (newline, delete-backward-char, delete-forward-char)
1131 (minibuffer-history-isearch-message, kill-line, track-eol)
1132 (temporary-goal-column):
1133 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1134 (flyspell-default-deplacement-commands):
1135 * textmodes/ispell.el (ispell-accept-output):
1136 * textmodes/sgml-mode.el (html-tag-help):
1137 * vc/compare-w.el (compare-ignore-whitespace)
1138 (compare-ignore-case, compare-windows-dehighlight):
1139 * vc/diff.el (diff):
1140 * whitespace.el (whitespace-point)
1141 (whitespace-font-lock-refontify, whitespace-bob-marker)
1142 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1144 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1146 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1147 (auto-revert-notify-rm-watch): Ignore errors.
1148 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1149 inotify, and '(size last-write-time) for w32notify.
1150 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1151 watch fails - this is a fallback to the file modification check.
1152 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1153 (auto-revert-notify-event-action)
1154 (auto-revert-notify-event-file-name): New defuns.
1155 (auto-revert-notify-handler): Use them. Implement first
1156 plausibility checks.
1157 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1159 2013-01-11 Julien Danjou <julien@danjou.info>
1161 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1162 max are almost equal. Also return the correct value for V which is
1163 already between 0 and 1.
1165 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1167 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1169 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1171 * autorevert.el (auto-revert-notify-rm-watch)
1172 (auto-revert-notify-add-watch): Fix typos in w32notify function
1175 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1177 * autorevert.el (auto-revert-notify-enabled): Move up.
1178 (auto-revert-use-notify): New defcustom.
1179 (auto-revert-mode, global-auto-revert-mode)
1180 (auto-revert-notify-add-watch, auto-revert-handler)
1181 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1182 `auto-revert-notify-enabled'.
1184 2013-01-10 Elias Pipping <pipping@exherbo.org>
1186 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1187 * doc-view.el (doc-view-document->bitmap):
1188 Use doc-view-single-page-converter-function instead of
1189 single-page-converter arg; adjust callers.
1191 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1193 * progmodes/which-func.el (which-function): Understand Semantic's use
1194 of overlays in imenu--index-alist.
1196 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1198 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1199 (Man-man-k-use-anchor): New var.
1200 (Man-parse-man-k): New function.
1201 (Man-completion-table): Use it.
1202 (man): Flush the completion cache between uses.
1204 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1206 * autorevert.el: Add file watch support.
1207 (auto-revert-notify-enabled): New defconst.
1208 (auto-revert-notify-watch-descriptor-hash-list)
1209 (auto-revert-notify-watch-descriptor)
1210 (auto-revert-notify-modified-p): New defvars.
1211 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1212 (auto-revert-notify-handler): New defuns.
1213 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1214 when mode is disabled.
1215 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1216 (auto-revert-buffers): Add file watches for active buffers.
1218 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1220 * cus-start.el (toplevel): Only allow float values for
1221 scroll-up-aggressively and scroll-down-aggressively.
1222 Allow any number for line-spacing.
1224 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1226 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1227 (doc-view-pdf->png-converter-function): Use mupdf if available.
1228 (doc-view-djvu->png-converter-function)
1229 (doc-view-ps->png-converter-function): Remove.
1230 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1231 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1232 (doc-view-already-converted-p): Adjust accordingly.
1233 (doc-view-mode-p): Simplify.
1234 (doc-view-enlarge): Use setq-local.
1235 (doc-view-pdf->png-converter-ghostscript)
1236 (doc-view-djvu->png-converter-ddjvu)
1237 (doc-view-pdf->png-converter-mupdf): Rework to call
1238 doc-view-start-process directly.
1239 (doc-view-pdf/ps->png): Simplify accordingly.
1240 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1241 (doc-view-document->bitmap): Rename from doc-view-document->png.
1242 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1243 (doc-view-set-slice-from-bounding-box): Fix completion table.
1244 (doc-view-mode): Use add-hook for after-revert-hook.
1246 2013-01-10 Glenn Morris <rgm@gnu.org>
1248 * emacs-lisp/authors.el (authors-ignored-files)
1249 (authors-valid-file-names, authors-renamed-files-alist):
1250 Add some more entries.
1252 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1254 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1255 `t' pseudo-window entry.
1257 2013-01-10 Alan Mackenzie <acm@muc.de>
1259 Fix bugs in the c-parse-state mechanism. Reuse some markers
1260 instead of continually generating new ones.
1262 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1263 (c-state-old-cpp-end-marker): New variables.
1264 (c-append-lower-brace-pair-to-state-cache): Start a backward
1265 search for "}" definitively outside CPP constructs.
1266 (c-remove-stale-state-cache): Inform the caller of a need to
1267 search back for a brace pair in certain circumstances.
1268 (c-state-maybe-marker): New macro.
1269 (c-parse-state): Reuse markers when appropriate.
1271 2013-01-10 Glenn Morris <rgm@gnu.org>
1273 * simple.el (execute-extended-command): Doc fix.
1274 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1276 2013-01-10 Chong Yidong <cyd@gnu.org>
1278 * faces.el (read-face-name): Doc fix.
1280 2013-01-10 Roland Winkler <winkler@gnu.org>
1282 * emacs-lisp/crm.el: Allow any regexp for separators.
1283 (crm-default-separator): All spaces around the default comma separator.
1284 (crm--completion-command): New macro.
1285 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1286 (crm-complete-and-exit): Handle non-single-char separators.
1288 2013-01-09 Elias Pipping <pipping@lavabit.com>
1290 * doc-view.el: Add support for DjVu (bug#13164).
1291 (doc-view-djvu->png-converter-function): New config var.
1292 (doc-view-single-page-converter-function, doc-view--image-type)
1293 (doc-view--image-file-extension): New vars.
1294 (doc-view-mode): Initialize them.
1295 (doc-view-goto-page): Use them.
1296 (doc-view-mode-p): Add support for ddjvu.
1297 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1298 (doc-view-set-up-single-converter): New funs.
1299 (doc-view-pdf/ps->png): Extend for djvu.
1300 (doc-view-document->png): Rename from doc-view-pdf->png.
1301 (doc-view-convert-current-doc): Handle djvu.
1302 (doc-view-insert-image, doc-view-display)
1303 (doc-view-already-converted-p): Don't hardcode png.
1304 (doc-view-set-doc-type): Recognize djvu docs.
1306 2013-01-09 Elias Pipping <pipping@lavabit.com>
1308 * doc-view.el: Add support for mupdf converter (bug#13164).
1309 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1310 (doc-view-ps->png-converter-function): New config vars.
1311 (doc-view-pdf->png-converter-ghostscript)
1312 (doc-view-ps->png-converter-ghostscript)
1313 (doc-view-pdf->png-converter-mupdf): New functions.
1314 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1316 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1318 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1319 first in session cache: When `tramp-own-remote-path' is in
1320 `tramp-remote-path', the remote path is only set in the session
1323 2013-01-09 Glenn Morris <rgm@gnu.org>
1325 * emacs-lisp/trace.el (trace-function-foreground)
1326 (trace-function-background): Doc fix.
1328 2013-01-09 Juri Linkov <juri@jurta.org>
1330 * international/mule-cmds.el (read-char-by-name): Move let-binding
1331 of completion-ignore-case around completing-read to fix regression
1332 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1333 `string-match-p' using the nil value of `case-fold-search' and
1334 `completion-ignore-case' in `completion-pcm--all-completions'.
1337 2013-01-09 Glenn Morris <rgm@gnu.org>
1339 * progmodes/compile.el (compilation-parse-errors):
1340 Fix typo. (Bug#13369)
1342 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1344 * comint.el (comint-send-input): Check size of buffer before
1345 waiting for process output, in case already accepted. (Bug#13290)
1347 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1350 * net/tramp-adb.el (tramp-adb-get-toolbox):
1351 Fix misspelling of 'unknown'.
1353 2013-01-08 Juri Linkov <juri@jurta.org>
1355 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1356 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1357 Use underline style wave on terminals that support it. (Bug#13000)
1359 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1361 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1362 the predicate returns nil.
1364 * simple.el: Use lexical-binding.
1365 (primitive-undo): Use pcase.
1366 (minibuffer-history-isearch-push-state): Use a closure.
1368 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1370 * simple.el (primitive-undo): Move from undo.c.
1372 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1374 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1375 (cvs-mode-remove-handled): Use it (bug#13380).
1377 * emacs-lisp/nadvice.el (advice--tweak): New function.
1378 (advice--remove-function, advice--subst-main): Use it.
1380 * emacs-lisp/advice.el: Update commentary.
1382 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1384 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1385 Remove spurious entry.
1387 2013-01-08 Glenn Morris <rgm@gnu.org>
1389 * net/tramp.el (tramp-default-host-alist): Add :version.
1391 2013-01-08 Juri Linkov <juri@jurta.org>
1393 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1394 single completion. (Bug#12456)
1395 (info--manual-names): Expand node completions into an explicit list
1396 before appending it to another list. Filter out internal buffers
1397 with the leading space in the buffer name. (Bug#10771)
1399 2013-01-08 Juri Linkov <juri@jurta.org>
1401 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1402 that defaults to the Top node.
1403 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1404 the short format (FILENAME) goes to the Top node.
1405 (Info-build-node-completions): Rename arg `file' to `filename'.
1408 2013-01-07 Bastien Guerry <bzg@gnu.org>
1410 * menu-bar.el (menu-bar-search-documentation-menu):
1411 Use `apropos-user-option' and fix the help message.
1413 2013-01-07 Bastien Guerry <bzg@gnu.org>
1415 * apropos.el (apropos-do-all): Update docstring.
1416 (apropos-user-option-button): New face.
1417 (apropos-user-option): Rename from `apropos-variable' and update
1419 (apropos-variable): Rewrite, now show all variables by default.
1420 (apropos-print): Mention "User option" instead of "Variable" when
1421 printing doc for user options. (Bug#13276)
1423 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1425 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1426 Handle filename correctly, when parsing "source -> target" symlink
1428 (tramp-adb-handle-set-file-times): New defun.
1430 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1432 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1433 advice list when the interactive-spec of ad-Advice-* changes.
1435 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1437 * wid-edit.el (widget-default-get): Work for inlined elements.
1440 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1442 * net/tramp.el (tramp-default-host-alist): New defcustom.
1443 (tramp-find-host): Use it.
1444 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1445 `eshell-directory-change-hook'.
1447 * net/tramp-adb.el (top): Add adb specific entry in
1448 `tramp-default-host-alist'.
1449 (tramp-adb-file-name-host): Remove function.
1450 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1451 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1453 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1455 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1457 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1459 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1461 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1462 consist of more than one digit.
1463 (tramp-adb-file-name-handler-alist):
1464 Use `tramp-handle-file-exists-p' consistently.
1465 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1466 (tramp-adb-handle-file-exists-p): Remove function.
1467 (tramp-adb-file-name-host): New defun.
1468 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1470 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1472 2013-01-06 Chong Yidong <cyd@gnu.org>
1474 * vc/vc.el (vc-next-action): Detect buffer modifications
1475 conflicting with locking VCS operation (Bug#11490).
1477 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1479 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1481 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1482 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1484 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1486 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1487 parsing of ls output using regular expression (handle filenames
1488 with spaces). Use virtual device number.
1489 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1492 2013-01-04 Daiki Ueno <ueno@gnu.org>
1494 * epg.el: Silence byte-compiler warnings.
1495 (epg--start): Use delete-char instead of delete-backward-char.
1496 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1498 2013-01-04 Daiki Ueno <ueno@gnu.org>
1500 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1501 Suggested by Eli Zaretskii <eliz@gnu.org>.
1503 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1505 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1506 non-negative integers. Otherwise, the default values are used.
1507 (tramp-convert-file-attributes): Convert uid and gid to integers.
1509 2013-01-04 Glenn Morris <rgm@gnu.org>
1511 * term.el (term-handle-colors-array): Ensure face attributes
1512 are fully specified, not nil. (Bug#13337)
1514 * term.el (term-default-fg-color, term-default-bg-color):
1517 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1518 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1519 rather than 'jka-compr being loaded. (Bug#13338)
1521 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1523 * icomplete.el (icomplete-completions):
1524 Honor icomplete-prospects-height once more following
1525 2012-11-29 changes. (Bug#13224)
1527 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1529 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1530 of called-interactively-p as well (bug#13237).
1532 * view.el (view--enable, view--disable): Rename from view-mode-enable
1533 and view-mode-disable and assume it's called from view-mode.
1534 (view-mode-enable, view-mode-disable): Redefine as obsolete
1535 compatibility layer above view-mode.
1536 (view-mode-enter): Call `view-mode'.
1538 * files.el (after-find-file): Call `view-mode'.
1540 * doc-view.el (doc-view-scale-internally): New var.
1541 (doc-view-enlarge, doc-view-insert-image): Obey it.
1543 2013-01-03 Daiki Ueno <ueno@gnu.org>
1545 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1548 2013-01-03 Glenn Morris <rgm@gnu.org>
1550 * mail/rmail.el (rmail-set-header-1): Ignore case.
1551 Handle multi-line headers. (Bug#13330)
1553 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1554 Handle paragraph starting at beginning of buffer.
1556 * subr.el (eval-after-load): Don't purecopy the form, so that it
1557 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1559 * emacs-lisp/byte-run.el (defun): Place cl declarations
1560 after any interactive spec. (Bug#13265)
1562 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1564 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1565 defun. Don't check for DECL if DOCSTRING isn't a string.
1568 2013-01-02 Glenn Morris <rgm@gnu.org>
1570 * eshell/em-cmpl.el (eshell-pcomplete):
1571 More thoroughly imitate pcomplete. (Bug#13293)
1573 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1574 Return nil for empty path elements. (Bug#13296)
1576 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1578 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1579 order to improve efficiency (Based on Daniel Colascione's
1580 <dancol@dancol.org> patch). (Bug#13182)
1582 2013-01-02 Glenn Morris <rgm@gnu.org>
1584 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1586 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1588 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1589 neither DOCSTRING nor DECL was given. (Bug#13316)
1591 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1593 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1595 (tramp-do-copy-or-rename-file): Ignore errors when calling
1596 `set-file-extended-attributes'.
1598 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1599 Add handler for `file-acl'.
1600 (tramp-smb-handle-file-acl): New defun.
1602 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1604 * calc/README: Mention ISO 8601 week-numbering dates.
1606 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1608 * view.el (view-mode-enable): New argument run-view-mode-hook.
1609 Run view-mode-hook only when it's non-nil (Bug#13315).
1610 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1613 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1615 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1616 (No device connected, invalid device name). (Bug #13299)
1618 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1620 * window.el (window-resizable--p): Rename to window-resizable-p.
1621 (window-resize-no-error): New function.
1623 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1624 broken in fix from 2012-12-28.
1626 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1628 * subr.el (special-form-p): Don't signal errors on undef aliases.
1630 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1632 * calc/calc-forms.el (math-parse-date): Try using
1633 `math-parse-iso-date' when it looks like it might be needed.
1634 Allow times of 24:00.
1635 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1638 2012-12-30 Glenn Morris <rgm@gnu.org>
1640 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1641 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1642 (rmail-summary-displayed, rmail-summary): Declare.
1643 (mairix-rmail-display): Just require rmail.
1645 2012-12-30 Chong Yidong <cyd@gnu.org>
1647 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1648 check for the tarball contents.
1650 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1652 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1653 tarfile content listings (Bug#13136).
1655 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1657 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1658 Insert the undecoded text of the message being forwarded. (Bug#9521)
1660 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1662 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1663 integers, if they are real numbers. (Bug#13282)
1665 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1666 Return `t' on success.
1668 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1669 Add handler for `set-file-selinux-context'.
1671 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1673 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1674 (tramp-sh-handle-set-file-acl): Return `t' on success.
1676 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1678 * files.el (backup-buffer-copy, basic-save-buffer-2):
1679 If set-file-extended-attributes fails, fall back on set-file-modes
1680 instead of signaling an error. (Bug#13298)
1681 (basic-save-buffer): Likewise.
1683 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1685 * progmodes/python.el: Support other commands triggering
1686 python-indent-line so indentation cycling continues to work.
1687 (python-indent-trigger-commands): New defcustom.
1688 (python-indent-line): Use it.
1690 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1692 * progmodes/python.el (python-shell-send-region): Add blank lines
1693 for non sent code so backtraces remain correct.
1695 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1697 * progmodes/python.el: Remove cl dependency.
1698 (python-syntax-count-quotes): Replace incf call.
1699 (python-fill-string): Replace setf call.
1701 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1703 * info.el (info-other-window): New arg, for consistency with info.
1705 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1707 * mail/rmail.el (rmail-maybe-display-summary):
1708 Rewrite (Bug#13066).
1710 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1712 * epg.el (epg--start): Modify process-environment locally.
1714 2012-12-28 Daiki Ueno <ueno@gnu.org>
1716 * epg.el: Support pinentry-curses.
1717 Suggested by Werner Koch in
1718 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1719 (epg-agent-file, epg-agent-mtime): New variable.
1720 (epg--start): Record the modified time of gpg-agent socket file,
1721 to restore Emacs frame after pinentry-curses termination.
1722 (epg-wait-for-completion): Restore Emacs frame here.
1724 2012-12-27 Juri Linkov <juri@jurta.org>
1726 * info.el (Info-file-completions): New variable.
1727 (Info-read-node-name-1): Complete node names in the Info file
1728 when a file name is given. Call `Info-build-node-completions'
1730 (Info-build-node-completions): Add new arg `file'. When it is
1731 non-nil, visit it in a temporary buffer and cache its completions in
1732 `Info-current-file-completions'. Move most of the function body to
1733 `Info-build-node-completions-1'.
1734 (Info-build-node-completions-1): New function with the body from
1735 `Info-build-node-completions'. (Bug#12456)
1737 2012-12-27 Juri Linkov <juri@jurta.org>
1739 * frame.el (frame-maximization-style): Remove user option.
1740 (cycle-frame-maximized): Remove function.
1741 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1742 (toggle-frame-fullscreen): New command bound to <f11> instead of
1743 `toggle-frame-maximized'.
1744 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1746 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1748 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1750 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1751 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1752 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1753 for `file-accessible-directory-p'. (Bug#13275)
1755 2012-12-27 Sam Steingold <sds@gnu.org>
1757 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1758 continuations, see <http://stackoverflow.com/questions/3582436>.
1760 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1762 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1763 "module" and "def" to have indentation before them.
1764 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1766 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1768 2012-12-27 Alan Mackenzie <acm@muc.de>
1770 Speed up fontification where there's large brace blocks.
1771 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1772 to a call of c-beginning-of-decl-1.
1774 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1776 * comint.el (comint-adjust-window-point): New function.
1777 (comint-postoutput-scroll-to-bottom):
1778 Call comint-adjust-window-point (Bug#13248).
1780 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1782 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1784 (auto-mode-alist): Associate .gemspec files with ruby-mode
1785 (https://bugs.ruby-lang.org/issues/5453).
1787 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1789 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1790 Suppress coloring, if possible (required for BusyBox based systems like
1792 (tramp-adb-handle-file-attributes)
1793 (tramp-adb-handle-insert-directory)
1794 (tramp-adb-handle-file-name-all-completions): Use it.
1795 (tramp-adb-get-toolbox): New defun. Check for remote shell
1796 implementation (BusyBox or Toolbox).
1798 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1800 * startup.el (initial-buffer-choice): Allow function as value
1802 (command-line-1): Handle case where initial-buffer-choice
1803 specifies a function.
1804 * server.el (server-execute): Handle case where
1805 initial-buffer-choice specifies a function.
1807 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1809 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1811 (smtpmail-try-auth-methods): Forget the user name/password if the
1812 login is unsuccessful (bug#12424).
1814 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1816 * notifications.el (notifications-notify): Protect body with
1817 `with-demoted-errors'.
1819 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1820 Check properties of remote device. Restart connection, if there is a
1823 2012-12-21 Chong Yidong <cyd@gnu.org>
1825 * sort.el (sort-subr): Doc fix (Bug#13056).
1827 2012-12-21 Bastien Guerry <bzg@gnu.org>
1829 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1831 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1833 * simple.el (process-file): Overwrite stderr file, if exists.
1835 2012-12-21 Daiki Ueno <ueno@gnu.org>
1837 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1838 (epg-error): Set `error-message' property.
1840 2012-12-21 Chong Yidong <cyd@gnu.org>
1842 * international/mule-cmds.el (read-char-by-name): Signal an error
1843 if the user does not supply a valid character (Bug#13177).
1845 * simple.el (transpose-subr-1): Preserve marker positions by
1846 changing the insertion sequence (Bug#13122).
1848 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1850 * simple.el (kill-region): Deactivate mark even for empty regions
1853 2012-12-21 Chong Yidong <cyd@gnu.org>
1855 * help-fns.el (describe-variable): Make sure we get the right
1856 buffer name (Bug#13105). Suggested by Kelly Dean.
1858 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1860 * comint.el (comint-redirect-previous-input-string): New variable.
1861 (comint-redirect-setup, comint-redirect-cleanup)
1862 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1863 (comint-redirect-preoutput-filter): Fix verbose message.
1865 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1867 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1868 is too long for Tramp. See discussion in
1869 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1871 * progmodes/compile.el (compilation-start): Remove line escape
1874 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1876 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1879 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1881 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1882 following non-comment text (bug#13207).
1883 (lm-header-multiline): Continuation lines need to be indented more than
1885 (lm-homepage): New function.
1886 (lm-with-file): Don't be confused if narrowing is in effect.
1888 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1890 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1891 very beginning of a hunk (e.g. killing the first line).
1893 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1895 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1896 and text properties from returned ACL string.
1897 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1898 for "setfacl" command.
1900 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1902 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1903 `tramp-cleanup-this-connection', when the process has died.
1906 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1908 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1910 2012-12-17 Kevin Ryde <user42@zip.com.au>
1912 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1914 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1916 Add support for preserving ACL entries of files.
1918 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1919 `set-file-acl' handlers.
1921 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1922 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1924 * net/tramp-compat.el (tramp-compat-copy-file):
1925 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1927 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1928 Add `file-acl' and `set-file-acl' handlers.
1929 (tramp-gvfs-handle-copy-file):
1930 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1931 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1934 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1935 Add `file-acl' and `set-file-acl' handlers.
1936 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1937 (tramp-sh-handle-set-file-acl): New defuns.
1938 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1939 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1941 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1942 Add `file-acl' and `set-file-acl' handlers.
1943 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1945 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1947 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1948 use pop-to-buffer with NORECORD argument t. As buffer name, use
1949 *Metahelp* with a leading space (Bug#13190).
1951 2012-12-16 Romain Francoise <romain@orebokech.com>
1953 * files.el (file-extended-attributes)
1954 (set-file-extended-attributes): New functions.
1955 (backup-buffer): Use them to handle both SELinux context and ACL
1957 (backup-buffer-copy): Work with an alist of extended attributes,
1958 rather than an SELinux context.
1959 (basic-save-buffer-2): Ditto.
1961 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1963 * battery.el (battery-bsd-apm): New function.
1965 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1967 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1968 standard date formats.
1970 2012-12-15 Juri Linkov <juri@jurta.org>
1972 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1973 `isearch-insert-char-by-name'.
1974 (with-isearch-suspended): New defmacro with body mostly from
1975 `isearch-edit-string' except the part that sets
1976 `isearch-new-string' and `isearch-new-message'.
1977 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1978 body that sets `isearch-new-string' and `isearch-new-message'.
1979 (isearch-insert-char-by-name): New command.
1980 * international/mule-cmds.el (read-char-by-name): Let-bind
1981 `enable-recursive-minibuffers' to t.
1982 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1984 2012-12-15 Juri Linkov <juri@jurta.org>
1986 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1989 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1991 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1992 the prompt. (Bug#13045)
1994 2012-12-14 Glenn Morris <rgm@gnu.org>
1996 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1997 Try to include filename in non-bytecomp warning. (Bug#13132)
1999 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2001 Fix permissions bugs with setgid directories etc. (Bug#13125)
2002 * files.el (backup-buffer): Don't rely on 9th output of
2003 file-attributes, as it's now a placeholder. Instead, use the new
2004 optional arg of file-ownership-preserved-p.
2005 (file-ownership-preserved-p): New optional arg GROUP.
2006 Fix mishandling of setuid directories that would cause this
2007 function to return t when it should have returned nil.
2008 Document what happens if the file does not exist, and when
2009 it's not known whether the ownership will be preserved.
2010 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2012 (tramp-get-local-gid): Use group-gid for integer, as that's
2013 faster and more reliable.
2015 2012-12-14 Julien Danjou <julien@danjou.info>
2017 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2018 Update keywords list, data type and PL/pgSQL.
2020 2012-12-14 Dave Abrahams <dave@boostpro.com>
2022 * vc/ediff-util.el (ediff-buffer-type): New function.
2023 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2024 rather than taking it as as argument.
2025 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2027 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2029 * json.el: Add pretty-print option (bug#12634).
2030 (json-encoding-separator, json-encoding-default-indentation)
2031 (json--encoding-current-indentation, json-encoding-pretty-print)
2032 (json-encoding-lisp-style-closings): New vars.
2033 (json--with-indentation): New macro.
2034 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2035 (json-encode-array): Use it to obey json-encoding-pretty-print.
2036 (json-pretty-print-buffer, json-pretty-print): New commands.
2038 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2040 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2041 Extract `ruby-syntax-propertize-expansions'.
2042 (ruby-syntax-propertize-expansions): Only change syntax on
2043 certain string delimiters, to punctuation. This way the common
2044 functions like forward-word and thing-at-point still work.
2045 (ruby-match-expression-expansion): Improve readability.
2046 (ruby-block-contains-point): New function.
2047 (ruby-add-log-current-method): Handle several edge cases.
2049 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2051 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2052 unload-feature finishes even when aborting an ongoing edebug session.
2053 Also, do not worry about edebug-mode, unload-feature takes care of it.
2055 2012-12-13 Andreas Schwab <schwab@suse.de>
2057 * net/tls.el (tls-program): Update customize type.
2059 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2061 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2062 (edebug-setup-hook, cl-read-load-hooks): Use it.
2063 (edebug-unload-function): New function. (Bug#13163)
2065 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2067 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2068 Otherwise, there could be errors in autoloading. (Bug#13151)
2070 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2072 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2075 2012-12-13 Alan Mackenzie <acm@muc.de>
2077 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2078 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2079 around `forward-comment' not recognizing ^M as whitespace.
2081 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2083 * progmodes/python.el (python-skeleton-class)
2084 (python-skeleton-def): Do not add space after defun name.
2086 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2088 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2089 (cl--symbol-function): Remove (now that funbound is like nil).
2091 2012-12-12 Glenn Morris <rgm@gnu.org>
2093 * button.el (button--area-button-p): Fix typo.
2095 2012-12-12 Sam Steingold <sds@gnu.org>
2097 * frame.el (frame-maximization-style): New user option.
2098 (toggle-frame-maximized): Toggle frame maximization according to
2099 `frame-maximization-style', bound to <f11>.
2100 (cycle-frame-maximized): Cycle between all maximization styles and
2101 non-maximized frame, bound to shift-<f11>.
2103 2012-12-12 David Cadé <codename68@gmail.com>
2105 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2107 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2109 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2110 (eieio-override-prin1): Don't quote kewords and booleans.
2111 (object-write) <eieio-default-superclass>: Don't put closing parens
2112 on new line, avoid needless empty lines, align values that are objects
2113 with the slot keyword (instead of beginning on the same line).
2114 (eieio-list-prin1): Align value with slot keyword; increase
2115 eieio-print-depth before printing members of the list.
2117 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2119 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2120 a display text-property.
2121 (report-emacs-bug-hook): Don't bother deleting it any more.
2123 * hilit-chg.el (highlight-save-buffer-state): Delete.
2124 Use with-silent-modifications instead.
2125 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2127 * button.el: Handle buttons in display text-properties.
2128 (button--area-button-p, button--area-button-string):
2129 Use (STRING . STRING-POS) representation instead of just STRING.
2131 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2133 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2134 subdirectory be skipped.
2136 2012-12-11 Glenn Morris <rgm@gnu.org>
2138 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2140 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2141 Treat preprocessor lines embedded in continuations like comments.
2142 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2144 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2146 * calc/calc.el (calc-standard-date-formats): Add more date
2148 * calc/calc-forms.el (math-parse-iso-date): New function.
2149 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2150 (math-parse-iso-date-validate): Add extra error checking.
2151 (calc-date-notation): Add ability to access new date formats.
2153 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2155 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2156 font-lock as well as when there's no text-property.
2158 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2160 * hi-lock.el: Refine the choice of default face.
2161 (hi-lock-keyword->face): New function. Use it wherever we used
2163 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2164 (hi-lock--last-face): Remove var.
2165 (hi-lock--unused-faces): New var to replace it.
2166 (hi-lock-read-face-name): Use/maintain it.
2167 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2168 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2169 if it has another face.
2171 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2173 * subr.el (w32notify-handle-event): New function.
2174 (inotify-handle-event): Doc fix.
2176 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2178 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2180 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2182 * simple.el (just-one-space): Doc fix.
2184 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2186 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2188 2012-12-10 Le Wang <l26wang@gmail.com>
2190 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2191 narrowed buffer (bug#12361).
2193 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2195 * vc/vc-hooks.el (vc-state): Doc fix.
2197 2012-12-10 Glenn Morris <rgm@gnu.org>
2199 * mail/rmail.el (rmail-maybe-display-summary):
2200 Preserve buffer, in case select-window changes it. (Bug#13066)
2202 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2204 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2205 cl-load-hook where they belong.
2207 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2209 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2211 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2213 Parallelize byte compilation on MS-Windows.
2214 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2215 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2216 (WINS_BASIC): Define as concatenation of the above.
2217 (compile): Subdivide into 4 separate and independent jobs that can
2219 (compile0-CMD, compile0-SH): New targets for compiling
2220 COMPILE_FIRST files, which are prerequisites for the rest of the
2222 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2223 New targets for parallel compilation with cmd.exe.
2224 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2225 compiling under a Unixy shell.
2227 2012-12-09 Chong Yidong <cyd@gnu.org>
2229 * simple.el (set-mark-default-inactive): Delete this
2230 accidentally-introduced option.
2231 (set-mark-command, exchange-point-and-mark): Remove calls.
2233 2012-12-09 Glenn Morris <rgm@gnu.org>
2235 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2236 Respect a defcustom's :set function, if appropriate. (Bug#109)
2237 (eval-defun): Doc fix.
2239 2012-12-08 Juri Linkov <juri@jurta.org>
2241 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2242 (Info-fontify-node, Info-bookmark-make-record): Remove the
2243 file extension from Info-current-file (Bug#13016).
2245 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2247 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2248 point, still provide some default.
2249 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2250 names, since we don't use it right now. Actually return the list.
2251 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2253 2012-12-07 Chong Yidong <cyd@gnu.org>
2255 * novice.el (disabled-command-function): Remove a spurious help
2256 xref (Bug#13043). Suggested by Kelly Dean.
2258 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2259 syntax is specified (Bug#13025).
2261 * info.el (Info-set-mode-line): Remove the file extension from
2262 Info-current-file if there is one (Bug#13016).
2264 2012-12-07 Glenn Morris <rgm@gnu.org>
2266 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2267 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2268 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2269 and rmail-mime-decoded. (Bug#9841)
2271 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2272 (batch-unrmail, unrmail): Doc fixes.
2273 (unrmail): Respect unrmail-mbox-format.
2274 * mail/rmail.el (rmail-mbox-format): New option.
2275 (rmail-show-message-1): Respect rmail-mbox-format.
2277 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2279 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2281 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2283 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2284 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2285 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2286 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2287 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2288 (cl-progv): Don't rely on dynamic scoping to find the body.
2289 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2290 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2291 (cl-declaim): Use backquotes.
2292 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2293 Use "cl--" prefix for the object's tag.
2295 * ses.el: Use advice-add/remove.
2296 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2297 (copy-region-as-kill, yank): Use advice-add.
2298 (ses-unload-function): Use advice-remove.
2300 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2302 * button.el: Make them work in header-lines (bug#12817).
2303 (button-map): Add bindings for header-line and mode-line use.
2304 (button-get, button-put, button-label): `button' may now be a string.
2305 (button-activate): Don't make it a defsubst.
2306 (button--area-button-p, button--area-button-string): New functions.
2307 (make-text-button): Fix the return value when `beg' was a string.
2308 (push-button): Handle the mode-line case.
2310 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2312 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2313 (sql-signum): Remove. Use `cl-signum' instead.
2314 (sql-read-passwd): Remove; use read-passwd instread.
2315 (sql-get-login-ext): Use read-string.
2316 (sql-get-login): Use dolist and pcase.
2317 (sql--completion-table): Rename from sql-try-completion.
2318 Use complete-with-action.
2319 (sql-mode): Don't change abbrev-all-caps globally.
2320 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2321 (sql-postgres-completion-object): Initialize vars in their `let'.
2322 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2323 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2324 (sql-comint-interbase): Use a single append, without setq.
2325 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2327 * hi-lock.el: Rework the default face and the serialize regexp code.
2328 (hi-lock--auto-select-face-defaults): Remove.
2329 (hi-lock-string-serialize-serial): Remove.
2330 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2332 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2334 (hi-lock-set-pattern): Adjust accordingly.
2335 (hi-lock--regexps-at-point): Simplify accordingly.
2336 (hi-lock--auto-select-face-defaults): Remove.
2337 (hi-lock--last-face): New var to replace it.
2338 (hi-lock-read-face-name): Rewrite (bug#11095).
2339 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2341 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2343 * net/tramp.el (tramp-replace-environment-variables):
2344 Hide compiler warning.
2345 (tramp-file-name-for-operation): Remove `executable-find',
2346 `start-process', `call-process' and `call-process-region'.
2348 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2350 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2353 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2355 2012-12-06 Chong Yidong <cyd@gnu.org>
2357 * ffap.el (ffap-replace-file-component): Fix typo.
2359 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2361 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2362 fix open-paren-like token test (bug#12785).
2364 2012-12-06 Glenn Morris <rgm@gnu.org>
2366 * mail/rmailsum.el (rmail-new-summary): Tweak for
2367 rmail-maybe-display-summary changing buffer. (Bug#13066)
2369 2012-12-06 Juri Linkov <juri@jurta.org>
2371 * info.el (Info-fontify-node): Don't hide the last newline.
2374 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2376 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2377 so as to enable message-read-from-minibuffer to expand mail aliases.
2379 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2381 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2382 the `intangible' property.
2383 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2385 2012-12-05 Deniz Dogan <deniz@dogan.se>
2387 * net/rcirc.el (rcirc-urls): Update documentation.
2388 (rcirc-condition-filter): New function.
2389 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2390 and exclude consecutive duplicate URLs (Bug#6082).
2392 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2394 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2395 Check return code of copy command.
2397 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2398 Use group `tramp'. Add version.
2400 2012-12-05 Chong Yidong <cyd@gnu.org>
2402 * ffap.el (ffap-url-regexp): Don't require matching at front of
2404 (ffap-url-p): If only a substring matches, return that.
2405 (ffap-url-at-point): Use the return value of ffap-url-p.
2406 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2407 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2408 (ffap-guess-file-name-at-point): Likewise.
2409 (ffap-replace-file-component): Fix typo.
2411 * info.el (info-display-manual): Add existing Info buffers, whose
2412 files may not be in Info-directory-list, to the completion.
2413 (info--manual-names): New helper function.
2415 2012-12-05 Glenn Morris <rgm@gnu.org>
2417 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2418 New functions, for detecting and resolving conflicts. (Bug#10709)
2420 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2422 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2423 (hi-lock-auto-select-face-defaults): New buffer local variable.
2424 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2425 (hi-lock-unface-buffer): Prompt user with useful defaults.
2426 With prefix arg, unhighlight all hi-lock patterns in buffer.
2428 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2430 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2432 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2434 * Makefile.in (TRAMP_SRC):
2435 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2437 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2439 * net/tramp-adb.el: New package.
2441 2012-12-04 Chong Yidong <cyd@gnu.org>
2443 * terminal.el: Move to obsolete/.
2445 * longlines.el: Move to obsolete/.
2447 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2448 Remove code referring to longlines mode.
2450 2012-12-03 Juri Linkov <juri@jurta.org>
2452 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2454 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2456 * textmodes/ispell.el (ispell-init-process)
2457 (ispell-start-process, ispell-internal-change-dictionary):
2458 Make sure personal dictionary name is expanded after initial
2459 `default-directory' value. Use expanded strings for
2460 keep/restart checks and for value (Bug#13019).
2462 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2464 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2466 2012-12-03 Leo Liu <sdl.web@gmail.com>
2468 * files.el (dir-locals-read-from-file): Check file non-empty
2469 before reading. (Bug#13038)
2471 2012-12-03 Glenn Morris <rgm@gnu.org>
2473 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2474 Remove any version extension before checking filename. (Bug#13006)
2475 (jka-compr-compression-info-list): Belated :version bump.
2477 2012-12-03 Chong Yidong <cyd@gnu.org>
2479 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2481 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2482 (buffer-menu): Doc fix (Bug#12294).
2484 2012-12-03 Roland Winkler <winkler@gnu.org>
2486 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2487 of diary-show-all-entries in the diary buffer (Bug#12994).
2489 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2491 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2492 "<STDIN>". This is binary safe.
2494 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2496 * calc/calc-forms.el (math-absolute-from-iso-dt)
2497 (math-date-to-iso-dt, math-parse-iso-date-validate)
2498 (math-iso-dt-to-date): New functions.
2499 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2500 (math-fd-isoweekday): New variables.
2501 (calc-date-notation, math-parse-standard-date, math-format-date)
2502 (math-format-date-part): Add support for more formatting codes.
2504 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2506 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2507 current buffer's file name when called interactively (Bug#12488).
2509 2012-12-02 Juri Linkov <juri@jurta.org>
2511 * info.el (info-display-manual): Don't clobber an existing Info
2512 buffer (Bug#10770). Add completion (Bug#10771).
2514 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2516 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2517 before using it for comparison (Bug#5297).
2519 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2521 * textmodes/css-mode.el (css-current-defun-name): New function.
2524 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2525 (html-mode): Use it.
2527 2012-12-01 Chong Yidong <cyd@gnu.org>
2529 Modularize add-log-current-defun (Bug#2224).
2530 Suggested by Jari Aalto.
2532 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2533 (add-log-current-defun): Move mode-specific code to other files.
2534 (add-log-lisp-like-modes, add-log-c-like-modes)
2535 (add-log-tex-like-modes): Variables deleted.
2537 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2538 (lisp-mode-variables): Use it.
2540 * progmodes/cc-mode.el (c-common-init):
2541 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2542 add-log-current-defun-function.
2544 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2547 * progmodes/perl-mode.el (perl-current-defun-name): New.
2548 (perl-mode): Use it.
2550 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2551 Use lisp-current-defun-name.
2553 * textmodes/tex-mode.el (tex-current-defun-name): New.
2554 (tex-common-initialization): Use it.
2556 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2557 (texinfo-mode): Use it.
2559 2012-12-01 Chong Yidong <cyd@gnu.org>
2561 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2562 * progmodes/autoconf.el (autoconf-mode):
2563 * progmodes/js.el (js-mode):
2564 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2565 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2566 * progmodes/perl-mode.el (perl-mode):
2567 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2568 * textmodes/css-mode.el (css-mode):
2569 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2570 (sgml-tags-invisible, sgml-guess-indent):
2571 * textmodes/tex-mode.el (tex-common-initialization)
2572 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2573 (doctex-mode, plain-tex-mode, latex-mode):
2574 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2576 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2578 * vc/vc-hg.el (vc-hg-next-revision):
2579 Ensure use of default "tip" output format. (Bug#6968)
2581 2012-12-01 Kim F. Storm <storm@cua.dk>
2583 * startup.el (fancy-startup-tail): Add a clickable link
2586 2012-12-01 Chong Yidong <cyd@gnu.org>
2588 * startup.el (fancy-startup-tail): Improve the message about
2589 auto-save files (Bug#2176).
2591 * files.el (recover-session): Improve the descriptive message, and
2592 use substitute-command-keys.
2594 2012-12-01 Glenn Morris <rgm@gnu.org>
2596 * ido.el (ido-file-internal):
2597 Handle other-window, other-frame for dired. (Bug#13036)
2599 2012-11-30 Glenn Morris <rgm@gnu.org>
2601 * icomplete.el (icomplete-separator): Fix :version.
2603 2012-11-30 Chong Yidong <cyd@gnu.org>
2605 * shell.el (shell): For C-u M-x shell, use an inactive shell
2606 buffer as the default (Bug#1975).
2607 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2608 (shell-mode): Use them to reapply ansi colorization if Shell mode
2611 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2613 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2615 2012-11-30 Samuel Bronson <naesten@gmail.com>
2617 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2618 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2620 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2622 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2623 by move-to-column (Bug#3234).
2625 2012-11-30 Chong Yidong <cyd@gnu.org>
2627 * longlines.el (longlines-wrap-line, longlines-encode-region):
2628 Preserve text properties (Bug#1425).
2630 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2632 * vc/vc.el (vc-register): Allow registering a file which is
2633 already registered with a different backend (Bug#10589).
2635 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2636 Stefan Monnier <monnier@iro.umontreal.ca>
2638 * icomplete.el: Change separator; add ido-style commands.
2639 (icomplete-show-key-bindings): Remove custom var.
2640 (icomplete-get-keys): Remove function.
2641 (icomplete-forward-completions, icomplete-backward-completions):
2643 (icomplete-minibuffer-map): New var.
2644 (icomplete-minibuffer-setup): Use it.
2645 (icomplete-exhibit): Don't delay if the list of completions is known.
2646 (icomplete-separator): New custom.
2647 (icomplete-completions): Use it.
2648 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2649 (minibuffer-force-complete-and-exit): New command.
2650 (minibuffer--complete-and-exit): New function extracted from
2651 minibuffer-complete-and-exit.
2652 (minibuffer-complete-and-exit): Use it.
2654 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2655 error message when the file doesn't exist (bug#12974).
2657 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2659 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2661 2012-11-29 Glenn Morris <rgm@gnu.org>
2663 * files.el (hack-dir-local-variables): Warn if try to set
2664 coding via dir-locals, since it doesn't work. (Bug#7169)
2666 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2667 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2668 Set buffer-local value of desktop-save-buffer.
2669 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2671 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2672 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2674 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2675 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2677 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2680 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2682 * calc/calc-forms.el (calc-date-notation): Fix regexp
2683 used to find time codes. Fix symbol for seconds.
2685 2012-11-27 Glenn Morris <rgm@gnu.org>
2687 * emacs-lisp/derived.el (derived-mode-make-docstring):
2688 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2690 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2692 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2693 lexically scoped variables (bug#13005).
2695 2012-11-27 Glenn Morris <rgm@gnu.org>
2697 * vc/vc-hooks.el (vc-mistrust-permissions):
2698 Default to t, to avoid data-loss. (Bug#11490)
2700 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2702 * progmodes/python.el (python-indent-guess-indent-offset):
2703 If indentation is guessed make python-indent-offset buffer-local.
2705 Fix Imenu regression.
2706 * progmodes/python.el (python-nav-beginning-of-defun):
2707 Fix forward movement when statement(s) separates point from defun.
2708 (python-imenu-prev-index-position): New function.
2710 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2712 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2714 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2715 Don't set buffer-file-type. Return nil. (Bug#12989)
2717 2012-11-27 Glenn Morris <rgm@gnu.org>
2719 * hippie-exp.el (hippie-expand-try-functions-list):
2720 Re-autoload it. (Bug#12982)
2722 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2724 * descr-text.el (describe-char-padded-string):
2725 Call internal-char-font only on GUI frames. (Bug#11964)
2727 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2729 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2730 and obsoletion message.
2732 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2734 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2735 the constructs to keep outside of the `cl-block' (bug#12977).
2737 2012-11-27 Chong Yidong <cyd@gnu.org>
2739 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2740 keep reading until we get the up-event anyway, in order to process
2741 the up-event for mouse-1-click-follows-link (Bug#12971).
2743 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2745 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2746 base function is not yet defined (bug#12965).
2747 (ad-activate-advised-definition): Use ad-compile-function.
2748 (ad-activate): Use cond.
2750 2012-11-25 Leo Liu <sdl.web@gmail.com>
2752 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2755 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2757 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2758 reftex-section-info-function in order to be compatible with
2759 Texinfo integration.
2761 * textmodes/reftex.el (reftex-section-pre-regexp)
2762 (reftex-section-post-regexp, reftex-section-info-function):
2764 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2765 reftex-section-post-regexp, and reftex-section-info-function in order
2766 to be compatible with Texinfo integration.
2768 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2769 use reftex-section-pre-regexp variable in order to be compatible with
2770 Texinfo integration.
2772 2012-11-25 Chong Yidong <cyd@gnu.org>
2774 * faces.el: Make face-spec-set more analogous to setq.
2775 (face-spec-set): Change the third arg to specify whether this
2776 function is being called via defface, customize, or a third party.
2777 Set the appropriate symbol properties. Clear the override spec if
2778 setting via Custom. Initialize face if necessary. (Bug#4988)
2779 (face-spec-recalc): Allow theme faces to completely replace the
2780 defface spec, in the same way as custom faces (Bug#8454).
2782 * cus-face.el (custom-declare-face): Move face initialization to
2784 (custom-theme-set-faces): Don't initialize the face name here, as
2785 that is now done in face-spec-set.
2787 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2788 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2789 Simplify by using the new arg to face-spec-set.
2791 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2792 reset face-override-spec too, and use custom-declare-face.
2794 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2796 * term/ns-win.el (ns-initialize-window-system): Move creation of
2797 fontsets here (Bug#11964).
2799 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2801 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2804 2012-11-24 Chong Yidong <cyd@gnu.org>
2806 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2809 * custom.el (custom-theme-set-variables): Use a topological sort
2810 for ordering by custom dependencies (Bug#12952).
2811 (custom--sort-vars, custom--sort-vars-1): New functions.
2813 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2815 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2816 lexical-binding (bug#12938).
2818 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2820 * image-mode.el (image-transform-check-size): Use assertions only
2821 for images of type imagemagick.
2823 Otherwise no error, image-transform-fit-to-{width,height} is
2824 silently ignored, as before. Doc fix.
2826 2012-11-24 Chong Yidong <cyd@gnu.org>
2828 * faces.el (color-defined-p): Doc fix (Bug#12853).
2830 2012-11-24 Juri Linkov <juri@jurta.org>
2832 * dired.el (dired-mark): Add optional arg `interactive'.
2833 Check for `use-region-p' if `interactive' is non-nil.
2834 (dired-unmark, dired-flag-file-deletion): Add optional arg
2835 `interactive'. Call `dired-mark' with the arg `interactive'.
2838 * wdired.el: Revert 2012-10-17 change partly and replace it with
2839 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2840 (wdired-finish-edit): Add marks for new file names to
2841 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2842 after `revert-buffer'.
2843 (wdired-do-renames): Remove calls to `dired-remove-file',
2844 `dired-add-file', `dired-add-entry'. (Bug#11795)
2846 2012-11-24 Alan Mackenzie <acm@muc.de>
2848 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2850 Fix bugs in the state cache. Enhance a debugging mechanism.
2851 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2852 "brace at column zero" strategy for C++.
2853 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2854 (c-parse-state-point): New variable.
2855 (c-record-parse-state-state): Record old parse state with
2856 `copy-tree'. Record previous value of point.
2857 (c-debug-parse-state-double-cons): New debugging function.
2858 (c-debug-parse-state): Call the above new function.
2859 (c-toggle-parse-state-debug): Output a confirmatory message.
2861 * progmodes/cc-mode.el (c-before-change, c-after-change):
2862 Call c-invalidate-state-cache from `c-before-change' instead of
2865 2012-11-23 Chong Yidong <cyd@gnu.org>
2867 * find-cmd.el (find-constituents): Add executable, ipath,
2868 readable, samefile, writable, daystart, regextype (Bug#12856).
2870 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2872 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2874 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2876 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2877 definition. This fixes a bootstrap failure.
2878 (calc-gregorian-switch): In menu, put dates before regions.
2879 This is easier to follow, lines up better in the menu, and lets us
2880 coalesce regions that switch at the same time. Give country
2881 names, not "Vatican", as that's better for non-expert users.
2882 Use names that are stable between the date of switch and now, e.g.,
2883 Bohemia and Moravia (which existed then and now) and not
2884 Czechoslovakia (which didn't exist then and doesn't exist now).
2885 What is now the U.S. mostly did not switch at the same time as
2886 Britain, so omit the U.S. Correct spelling of "Britain".
2887 Catholic Switzerland was too much of a mess, so omit it.
2889 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2891 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2892 after the variable is changed.
2894 2012-11-21 Daniel Colascione <dancol@dancol.org>
2896 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2897 in SQL declarations for font-lock.
2898 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2900 2012-11-21 Glenn Morris <rgm@gnu.org>
2902 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2903 (face-italic-p): Add optional argument "inherit".
2905 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2906 Remove -p suffix from names, for consistency with other set-face-*.
2907 (set-face-inverse-video): Fix interactive spec.
2908 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2909 * textmodes/table.el (table--update-cell-face):
2910 Use set-face-inverse-video rather than now obsolete alias.
2912 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2914 * simple.el (line-move): Don't call line-move-partial if
2915 scroll-conservatively is in effect. (Bug#12927)
2917 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2919 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2920 Fallback on completion-at-point rather than
2921 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2922 (eshell-cmpl-initialize): Setup completion-at-point.
2924 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2926 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2928 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2930 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2931 are remote, check out-of-band property for both.
2933 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2935 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2938 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2940 More minor time fixes.
2941 * calendar/time-date.el: Commentary fix.
2942 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2943 too much other code depends on (0 0) time stamps.
2944 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2945 Add a couple of FIXME comments.
2947 Minor cleanup for times as lists of four integers.
2948 * files.el (dir-locals-directory-cache):
2949 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2951 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2952 * ps-bdf.el (bdf-file-newer-than-time):
2953 Process four-integers time stamps, not two. Doc fixes.
2955 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2957 * uniquify.el (uniquify-managed): Use defvar-local.
2958 (rename-buffer, create-file-buffer): Advise with advice-add.
2959 (uniquify-unload-function): Unadvise accordingly.
2961 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2962 (trace-buffer): Don't purecopy.
2963 (trace-entry-message, trace-exit-message): Add `context' arg.
2964 (trace--timer): New var.
2965 (trace-make-advice): Adjust for use in nadvice.
2966 Add `context' argument. Delay `display-buffer' via a timer.
2967 (trace-function-internal): Use advice-add.
2968 (trace--read-args): New function.
2969 (trace-function-foreground, trace-function-background): Use it.
2970 (trace-function): Rename to trace-function-foreground and redefine as
2971 an alias to that new name.
2972 (untrace-function, untrace-all): Adjust to the use of nadvice.
2974 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2976 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2978 * subr.el (called-interactively-p-functions): New var.
2979 (internal--called-interactively-p--get-frame): New macro.
2980 (called-interactively-p, interactive-p): Rewrite in Lisp.
2981 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2982 (called-interactively-p-functions): Use it.
2983 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2984 (called-interactively-p-functions): Use it.
2985 * allout.el (allout-called-interactively-p): Don't assume
2986 called-interactively-p is a subr.
2988 2012-11-20 Glenn Morris <rgm@gnu.org>
2990 * profiler.el (profiler-report-mode-map): Add a menu.
2991 No need to bind `q' because we derive from special-mode.
2992 (profiler-report-find-entry): Handle calls from the menu-bar.
2994 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2996 * emacs-lisp/byte-run.el (defun-declarations-alist):
2997 Allow a compiler-macro to be a lambda expression.
2999 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3001 (python-syntax-context): Add compiler-macro.
3002 (python-font-lock-keywords): Simplify with De Morgan.
3004 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3006 * files.el (load-file): Require match in minibuffer selection, as was
3007 the case in Emacs-20 before we changed the spec to allow .elc files
3010 * json.el: Don't require cl since we don't use it.
3011 * color.el: Don't require cl.
3012 (color-complement): `caddr' -> `nth 2'.
3014 * calendar/time-date.el (time-to-seconds): De-obsolete.
3016 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3018 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3020 (math-date-to-julian-dt): Adjust the initial approximation for the
3021 year to deal with the new definition of the DATE.
3023 2012-11-19 Daniel Colascione <dancol@dancol.org>
3025 * term/w32-win.el (cygwin-convert-path-from-windows):
3026 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3028 2012-11-18 Chong Yidong <cyd@gnu.org>
3030 * filecache.el (file-cache--read-list): New function.
3031 (file-cache-add-directory-list, file-cache-add-file-list)
3032 (file-cache-delete-file-list, file-cache-delete-directory-list):
3033 Use it to read a list of files or directories (Bug#12846).
3034 (file-cache-add-file, file-cache-add-directory)
3035 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3036 (file-cache-delete-directory): Print an message.
3038 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3040 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3041 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3043 2012-11-18 Glenn Morris <rgm@gnu.org>
3045 * image.el (insert-image, insert-sliced-image): Doc fix.
3047 2012-11-18 Chong Yidong <cyd@gnu.org>
3049 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3052 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3054 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3055 response when the target file is in a subdirectory (Bug#12757).
3057 2012-11-18 Chong Yidong <cyd@gnu.org>
3059 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3061 2012-11-18 Glenn Morris <rgm@gnu.org>
3063 * emacs-lisp/cl-lib.el (face-underline-p):
3064 Use set-face-underline rather than the alias set-face-underline-p.
3066 * window.el (with-temp-buffer-window): Doc fix.
3067 * subr.el (with-output-to-temp-buffer):
3068 Add doc xref to with-temp-buffer-window.
3070 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3072 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3073 * calc/calc.el (math-format-date-cache): Declare.
3075 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3077 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3078 It also uses January 1, 1 AD as its day number 1.
3079 * calc/calc-forms.el (math-julian-date-beginning)
3080 (math-julian-date-beginning-int): Implement this.
3082 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3084 * descr-text.el (quail-find-key):
3085 * dired.el (desktop-file-name):
3086 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3087 * generic-x.el (comint-mode, comint-exec):
3088 * image-dired.el (widget-forward):
3089 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3090 (speedbar-change-expand-button-char)
3091 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3092 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3093 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3094 (widget-field-action, widget-value-set):
3095 * speedbar.el (imenu--make-index-alist):
3096 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3097 (ring-length, ring-insert):
3098 * vcursor.el (compare-windows-skip-whitespace):
3099 * woman.el (dired-get-filename):
3102 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3104 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3106 * calc/calc.el (calc-gregorian-switch): New variable.
3108 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3109 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3110 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3111 (math-leap-year-p): Add option to distinguish between Julian
3112 and Gregorian calendars.
3113 (math-day-number): Use `math-day-in-year' to do the computations.
3114 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3115 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3116 to do the computations.
3117 (math-date-to-dt): Use `math-date-to-julian-dt' and
3118 `math-date-to-gregorian-dt' to do the computations.
3119 (calcFunc-weekday, math-format-date-part): Use the new version of
3120 the DATE to determine the weekday.
3121 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3124 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3126 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3127 Cygwin; otherwise use 'file:'. (Bug#12914)
3128 (cygwin-convert-path-from-windows): Declare, to avoid
3129 byte-compiler warnings.
3131 2012-11-17 Andreas Politz <politza@fh-trier.de>
3133 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3134 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3135 prefix and negative numeric prefix args (Bug#12795).
3137 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3139 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3140 Don't signal an error with a score that is too low to add to the
3141 list of top scores. (Bug#12779)
3143 2012-11-17 Chong Yidong <cyd@gnu.org>
3145 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3147 * filecache.el (file-cache-add-file): Handle relative file name in
3148 the argument (Bug#12694).
3150 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3152 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3154 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3156 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3158 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3160 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3162 * window.el (enlarge-window, shrink-window): Don't mention return
3163 value in doc-string (Bug#12896).
3164 (window--display-buffer): Don't resize frames - it won't work
3165 with all window managers and defeat pop-up-frame-alist.
3166 (display-buffer-alist): In doc-string explain that CONDITION can
3167 be a function and which arguments are passed to it (Bug#12854).
3168 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3169 expressions (Bug#12854).
3170 (display-buffer): Pass ACTION argument to
3171 display-buffer-assq-regexp.
3173 2012-11-16 Glenn Morris <rgm@gnu.org>
3175 * window.el (fit-frame-to-buffer-bottom-margin)
3176 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3178 * faces.el (face-underline-p): Use face-attribute-specified-or.
3180 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3182 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3184 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3186 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3188 2012-11-16 Glenn Morris <rgm@gnu.org>
3190 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3191 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3193 * faces.el (face-underline-p): Doc fix. Handle :underline being
3194 things other than `t' (a string, a list).
3195 (face-inverse-video-p): Doc fix.
3196 (set-face-underline): Rename it back from set-face-underline-p.
3197 Doc fix. Allow interactive input of values other than t.
3198 (read-face-attribute): Apply formatting to :underline,
3199 since like :box and :stipple it can take list values.
3201 * term.el (ansi-term): Don't let C-x escape-char binding
3202 clobber the more standard C-c binding. (Bug#12842)
3204 * subr.el (set-temporary-overlay-map): Doc fix.
3206 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3208 * window.el (record-window-buffer)
3209 (display-buffer-record-window): When copying the markers to
3210 window-point preserve window-point-insertion-type. (Bug#12588)
3212 2012-11-16 Glenn Morris <rgm@gnu.org>
3214 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3215 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3216 Use new names for hooks rather than obsolete aliases.
3218 2012-11-15 Daniel Colascione <dancol@dancol.org>
3220 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3221 prefix instead of "file:" so that when FILE-NAME begins with "//",
3222 as it does when the target file is on a network share, url-handler
3225 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3227 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3228 a preactivated advice from an old advice.el; they're not compatible!
3230 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3232 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3233 Fix string-spec case.
3235 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3237 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3239 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3240 (advice--buffer-local-function-sample): New var.
3241 (advice--set-buffer-local, advice--buffer-local): New functions.
3242 (add-function, remove-function): Use them.
3244 2012-11-15 Drew Adams <drew.adams@oracle.com>
3246 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3248 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3251 potential binding of print-gensym to t, and prettify (back)quotes in
3252 case they appear in args's default values (bug#12884).
3254 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3257 (advice-eval-interactive-spec): New function.
3258 (advice--make-interactive-form): Support around advice (bug#12844).
3260 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3262 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3263 more strict. Add docstring.
3264 (ruby-expression-expansion-re): Extract from
3265 `ruby-match-expression-expansion'.
3266 (ruby-syntax-propertize-function): After everything else, search
3267 for expansions in string literals, mark their insides as
3268 whitespace syntax and save match data for font-lock.
3269 (ruby-font-lock-keywords): Use the 2nd group from expression
3271 (ruby-match-expression-expansion): Use the match data saved to the
3272 text property in ruby-syntax-propertize-function.
3274 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3276 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3279 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3281 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3282 start/end keyword a bit harder. Works with different values of N.
3284 (ruby-end-of-block): Update accordingly.
3286 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3288 * woman.el (woman-file-name): Don't mess with unread-command-events
3291 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3292 Remove out of date self-require hack.
3293 (ad-do-advised-functions): Use simple `dolist'.
3294 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3295 (ad-advice-definition): Redefine as functions.
3296 (ad-advice-classes): Move before first use.
3297 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3298 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3299 (ad--defalias-fset): Remove functions.
3300 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3301 (ad-get-orig-definition): Rewrite.
3302 (ad-make-advised-definition-docstring): Change base docstring.
3303 (ad-real-orig-definition): Rewrite.
3304 (ad-map-arglists): Change name of called function.
3305 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3306 (ad-make-advised-definition): Simplify.
3307 (ad-assemble-advised-definition): Tweak for new calling context.
3308 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3309 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3310 function and call ad-activate if needed.
3311 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3312 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3313 (ad-compile-function): Compile ad-Advice-*.
3314 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3315 (ad-start-advice, ad-stop-advice): Remove.
3317 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3319 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3320 period before class method names, not after. Remove handling of
3321 one impossible case. Add comments.
3323 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3325 * emacs-lisp/advice.el: Remove support for freezing.
3326 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3327 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3328 Remove support for `freeze'.
3330 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3331 override the default.
3332 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3334 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3337 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3339 (advice--strip-macro): New function.
3340 (advice--defalias-fset): Use them to handle macros.
3341 (advice-add): Use them.
3342 (advice-member-p): Correctly handle macros.
3344 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3346 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3347 Never font-lock the beginning of singleton class as heredoc.
3349 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3351 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3353 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3355 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3356 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3357 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3359 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3361 Fix end-of-defun misbehavior.
3362 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3363 python-beginning-of-defun-function. Handle nested defuns
3365 (python-nav-end-of-defun): Rename from
3366 python-end-of-defun-function. Ensure forward movement.
3367 (python-info-current-defun): Reimplement to work as intended
3368 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3369 parent defuns as soon as possible.
3371 2012-11-13 Glenn Morris <rgm@gnu.org>
3373 * progmodes/flymake.el (flymake-error-bitmap)
3374 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3375 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3377 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3379 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3380 backward, always stop at indentation. Reverts the change from
3381 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3383 2012-11-13 Glenn Morris <rgm@gnu.org>
3385 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3386 Add ibuffer-filter-by-derived-mode.
3388 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3389 the same name shadowing each other.
3391 * window.el (with-temp-buffer-window): Doc tweak.
3393 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3395 * help.el (temp-buffer-max-height):
3396 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3397 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3399 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3401 * emacs-lisp/nadvice.el: New package.
3402 * subr.el (special-form-p): New function.
3403 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3404 (elp-all-instrumented-list): Remove var.
3405 (elp-not-profilable): Remove elp-wrapper.
3406 (elp-profilable-p): Use autoloadp and special-form-p.
3407 (elp--advice-name): New const.
3408 (elp-instrument-function): Use advice-add.
3409 (elp--instrumented-p): New predicate.
3410 (elp-restore-function): Use advice-remove.
3411 (elp-restore-all, elp-reset-all): Use mapatoms.
3412 (elp-set-master): Use elp--instrumented-p.
3413 (elp--make-wrapper): Rename from elp-wrapper, return a function
3414 suitable for advice-add. Use cl-inf.
3415 (elp-results): Use mapatoms+elp--instrumented-p.
3416 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3417 (debug-function-list): Remove var.
3418 (debug): Rename arg, and then let-bind it explicitly inside.
3419 (debugger-setup-buffer): Rename arg.
3420 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3421 (debugger-frame-number): Adjust to new debug-on-entry setup.
3422 (debug--implement-debug-on-entry): Rename from
3423 implement-debug-on-entry, add argument.
3424 (debugger-special-form-p): Remove, use special-form-p instead.
3425 (debug-on-entry): Use advice-add.
3426 (debug--function-list): New function.
3427 (cancel-debug-on-entry): Use it, along with advice-remove.
3428 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3429 (debugger-list-functions): Use debug--function-list instead of
3430 debug-function-list.
3431 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3432 (ad-special-form-p): Remove, use special-form-p instead.
3433 (ad-set-advice-info): Use add-function and remove-function.
3434 (ad--defalias-fset): Adjust accordingly.
3436 2012-11-10 Glenn Morris <rgm@gnu.org>
3438 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3439 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3440 (report-emacs-bug-create-existing-bugs-buffer)
3441 (report-emacs-bug-parse-query-results)
3442 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3444 * term.el (term-default-fg-color, term-default-bg-color):
3445 Make obsolete, rather than just saying "deprecated" in the doc.
3447 * term.el (term): Rename from `term-face'.
3448 (term-current-face, ansi-term-color-vector)
3449 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3452 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3454 * server.el (server-create-window-system-frame): Handle Nextstep
3455 specially (Bug#12780).
3457 2012-11-10 Glenn Morris <rgm@gnu.org>
3459 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3460 Unautoload, and make obsolete. (Bug#7449)
3462 2012-11-10 Chong Yidong <cyd@gnu.org>
3464 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3465 rename from diff-remove-trailing-whitespace (Bug#12831).
3467 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3469 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3470 miscompilation of trace.el.
3472 2012-11-10 Glenn Morris <rgm@gnu.org>
3474 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3476 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3478 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3481 2012-11-10 Chong Yidong <cyd@gnu.org>
3483 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3484 a defcustom with an appropriate :set function.
3485 (minibuffer-default--in-prompt-regexps): New function.
3487 2012-11-10 Glenn Morris <rgm@gnu.org>
3489 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3490 (define-modify-macro): Doc fixes.
3492 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3493 (gv-define-simple-setter): Update doc of `fix-return'.
3495 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3497 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3498 twice when `fix-return' is set (bug#12813).
3500 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3501 gv-define-simple-setter (bug#12812).
3503 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3506 2012-11-10 Glenn Morris <rgm@gnu.org>
3508 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3510 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3511 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3512 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3513 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3515 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3517 2012-11-10 Leo Liu <sdl.web@gmail.com>
3519 * ido.el (ido-set-matches-1): Improve flex matching performance by
3520 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3522 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3524 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3525 (ad--defalias-fset): New function.
3526 (ad-safe-fset): Remove.
3527 (ad-make-freeze-definition): Use cl-letf*.
3529 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3531 * subr.el (dolist): Don't bind VAR in RESULT.
3533 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3534 (fset, documentation): Don't save real def since we don't advise.
3535 (ad-do-advised-functions): Remove problematic `result-form'.
3536 (ad-safe-fset): `ad-real-fset' => `fset'.
3537 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3538 uses CL's dolist internally.
3539 (ad-arglist): Remove unused arg `name'.
3540 (ad-docstring, ad-make-advised-docstring):
3541 `ad-real-documentation' => `documentation'.
3542 (warning-suppress-types): Declare.
3543 (ad-set-arguments): Simple CSE.
3544 (ad-recover-normality): Sanity check.
3546 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3547 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3549 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3551 * ses.el: symbol to coordinate mapping is made by symbol property
3552 `ses-cell'. This means that the same mapping is done for all SES
3553 sheets. That is good enough for cells with standard A1 names, but
3554 not for named cell. So a hash map is added for the latter.
3555 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3556 (ses-sym-rowcol): Use hashmap for named cell.
3557 (ses-is-cell-sym-p): New defun.
3558 (ses-decode-cell-symbol): New defun.
3559 (ses-create-cell-variable): Add cell to hashmap when name is not
3561 (ses-rename-cell): Check that cell new name is not already in
3562 spreadsheet with the use of ses-is-cell-sym-p
3563 (ses-rename-cell): Use hash map for named cells, but accept also
3564 renaming back to A1-like.
3566 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3568 * emacs-lisp/advice.el: Use new dynamic docstrings.
3569 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3570 Use dynamic-docstring-function instead of ad-advice-info.
3571 (ad--make-advised-docstring): New function extracted from
3572 ad-make-advised-docstring.
3573 (ad-make-advised-docstring): Use it.
3574 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3576 (sql-help): Use it with dynamic-docstring-function.
3578 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3580 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3582 * files.el (hack-one-local-variable--obsolete): New function.
3583 (hack-one-local-variable): Use it for obsolete settings.
3585 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3588 * progmodes/js.el (js--filling-paragraph): New var.
3589 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3590 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3593 2012-11-08 Julien Danjou <julien@danjou.info>
3595 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3596 `auto-mode-alist' (Bug#12835).
3598 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3600 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3601 (perl--prettify-symbols-alist): New const.
3602 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3604 (perl-font-lock-keywords-2): Use them.
3605 (perl-electric-noindent-p): New function.
3606 (perl-mode): Use it to set up electric-indent-mode.
3607 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3608 (perl-mode-map): Remove bindings for them.
3609 (perl-imenu-generic-expression, perl-outline-level):
3610 Match functions&packages in column>0.
3612 * env.el (env--substitute-vars-regexp): New const.
3613 (substitute-env-vars): Use it. Add `only-defined' arg.
3614 * net/tramp.el (tramp-replace-environment-variables): Use it.
3616 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3617 Byte-compile *before* eval in eval-and-compile.
3618 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3619 (byte-compile-file-form-autoload): Don't hide actual definition.
3620 (byte-compile-maybe-guarded): Accept `functionp' as well.
3622 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3624 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3626 * notifications.el (notifications-get-server-information-method):
3628 (notifications-get-capabilities): Fix docstring.
3629 (notifications-get-server-information): New defun.
3631 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3633 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3636 * textmodes/ispell.el: Experimental support for support debugging.
3637 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3639 (ispell-print-if-debug): New function to print stuff to
3640 `ispell-debug-buffer' if debugging is enabled.
3641 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3642 show some debugging info.
3643 (ispell-buffer-with-debug): New function that creates a debugging
3644 buffer and calls `ispell-buffer' with debugging enabled.
3646 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3647 comment in autoconf mode. (Bug#12768)
3649 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3651 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3652 frame-first-window, frame-root-window, frame-selected-window,
3653 minibuffer-selected-window, minibuffer-window,
3654 window-absolute-pixel-edges, window-at, window-body-height,
3655 window-body-width, window-display-table, window-combination-limit,
3656 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3657 window-inside-edges, window-inside-pixel-edges, window-left-child,
3658 window-left-column, window-margins, window-next-buffers,
3659 window-next-sibling, window-new-normal, window-new-total,
3660 window-normal-size, window-parameter, window-parameters, window-parent,
3661 window-pixel-edges, window-point, window-prev-buffers,
3662 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3663 window-start, window-text-height, window-top-child, window-top-line,
3664 window-total-height, window-total-width and window-use-time to the list
3665 of functions without side-effects.
3666 (toplevel): Add window-valid-p to the list of error-free functions
3667 without side-effects.
3669 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3671 * textmodes/ispell.el (ispell-program-name):
3672 Update spellchecker parameters when customized.
3674 2012-11-04 Glenn Morris <rgm@gnu.org>
3676 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3678 2012-11-04 Chong Yidong <cyd@gnu.org>
3680 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3681 same-window-* variables.
3683 2012-11-04 Juri Linkov <juri@jurta.org>
3685 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3686 (isearch-describe-key, isearch-describe-mode): Use a display
3687 action instead of binding same-window-* variables (Bug#10040).
3689 2012-11-03 Glenn Morris <rgm@gnu.org>
3691 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3692 Rename handler properties back from cl-- to cl-. (Bug#12788)
3694 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3696 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3698 * term/pc-win.el: Don't load term/internal from here.
3700 * loadup.el: Load term/internal from here.
3702 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3704 * progmodes/python.el (inferior-python-mode): Fix hang in
3705 jit-lock (Bug#12645).
3707 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3709 * window.el (switch-to-visible-buffer)
3710 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3712 2012-11-03 Glenn Morris <rgm@gnu.org>
3714 * emacs-lisp/cl-lib.el (cl--random-time):
3715 Rename from cl-random-time. (Bug#12773)
3716 (cl--gensym-counter, cl--random-state): Update callers.
3717 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3719 2012-11-03 Chong Yidong <cyd@gnu.org>
3721 * cus-start.el: Make cursor-type customizable (Bug#11633).
3723 2012-11-02 Glenn Morris <rgm@gnu.org>
3725 * filecache.el: No need to load find-lisp when compiling.
3726 (find-lisp-find-files): Autoload it.
3727 (file-cache-add-directory-recursively): Don't require find-lisp.
3729 * image.el (image-type-from-file-name): Trivial simplification.
3731 * emacs-lisp/bytecomp.el (byte-compile-eval):
3732 Decouple "noruntime" and "cl-functions" warnings.
3734 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3736 * play/gomoku.el (gomoku-display-statistics): Update mode line
3737 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3739 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3741 * window.el (quit-restore-window): If the window has been
3742 created on an existing frame and ended up as the sole window on
3743 that frame, do not delete it (Bug#12764).
3745 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3747 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3748 Rename from sh--inside-arithmetic-expression, handle more cases
3751 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3752 (sh-font-lock-open-heredoc): Use it (bug#12770).
3754 2012-10-30 Glenn Morris <rgm@gnu.org>
3756 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3758 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3760 2012-10-29 Chong Yidong <cyd@gnu.org>
3762 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3763 function key is stored in a keyboard macro (Bug#4894).
3765 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3767 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3769 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3771 (diff-unified->context, diff-context->unified)
3772 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3774 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3776 * files.el (find-alternate-file): Only ask one question (bug#12487).
3778 2012-10-29 Chong Yidong <cyd@gnu.org>
3780 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3781 Suggested by Dan Nicolaescu (Bug#6326).
3783 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3785 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3787 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3789 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3791 * face-remap.el (face-remap-add-relative): Handle the case where a
3792 face-remapping-alist entry is a cons cell (Bug#12762).
3794 2012-10-29 Kevin Ryde <user42@zip.com.au>
3796 * woman.el (woman-parse-numeric-value): Handle picas correctly
3799 2012-10-29 Glenn Morris <rgm@gnu.org>
3801 * emacs-lisp/cl.el (defsetf): Doc fix.
3803 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3805 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3806 syntax to the matching opener, if any (bug#12547).
3807 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3808 matching open as a "case-(".
3809 (sh-smie-rc-grammar): Add a corresponding rule for it.
3811 2012-10-28 Daniel Hackney <dan@haxney.org>
3813 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3814 "PKGNAME-autoloads.el" in case we created it.
3816 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3818 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3819 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3820 (completion--twq-all): Disable too-strict assertions.
3822 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3824 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3826 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3827 text to match the real keybindings.
3829 2012-10-27 Juri Linkov <juri@jurta.org>
3831 * wdired.el (wdired-keep-marker-rename): New defcustom.
3832 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3835 * dired.el (dired-keep-marker-rename): Add reference to
3836 `wdired-keep-marker-rename' in the docstring.
3837 Add default character value ?R to display initially in
3838 Customization UI instead of ?@.
3840 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3842 * window.el (display-buffer): In doc-string describe
3843 window-height and window-width alist entries.
3845 * time.el (display-time-world): Restore fit-window-to-buffer
3848 2012-10-27 Chong Yidong <cyd@gnu.org>
3850 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3852 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3854 * minibuffer.el (completion-category-overrides): New completion
3855 category `bookmark' (bug#11131).
3857 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3859 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3860 Silence bogus compiler warnings for ad-do-it.
3862 * bookmark.el (bookmark-completing-read): Set the completion category
3863 to `bookmark' (bug#11131).
3865 2012-10-26 Bastien <bzg@altern.org>
3866 Stefan Monnier <monnier@iro.umontreal.ca>
3868 * face-remap.el: Use lexical-binding.
3869 (text-scale-adjust): Improve docstring. Use itself for the temporary
3870 overlay-map bindings, so as to repeat the "Use..." message each time.
3872 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3874 * emacs-lisp/macroexp.el (macroexp--expand-all):
3875 Obey byte-compile-warning-enabled-p (bug#12486).
3877 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3878 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3880 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3882 * mouse.el (mouse-drag-line): Move last form into preceding when
3885 * help.el (resize-temp-buffer-window): Fix doc-string.
3887 2012-10-25 David Engster <deng@randomsample.de>
3889 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3890 Remove. This feature is already integrated in imenu.
3892 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3893 always loaded. Require `speedbar' unconditionally.
3895 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3897 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3899 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3901 * net/ldap.el (ldap-search-internal): The official ldif format starts
3902 with a "version: 1" header (bug#12724).
3904 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3907 2012-10-25 Glenn Morris <rgm@gnu.org>
3909 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3911 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3913 * minibuffer.el (minibuffer-force-complete): Use one more marker
3914 for the temporary-overlay-map command (bug#12619).
3916 2012-10-24 Chong Yidong <cyd@gnu.org>
3918 * time.el (display-time-world-mode): Derive from special-mode.
3919 (display-time-world): Use display-buffer (Bug#12708).
3920 (display-time-world-mode-map): Variable deleted.
3921 (display-time-world-display): Wrap the final delete-char inside
3924 2012-10-24 Chong Yidong <cyd@gnu.org>
3926 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3929 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3931 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3933 * minibuffer.el (completion--all-sorted-completions-location): New var.
3934 (completion--cache-all-sorted-completions)
3935 (completion--flush-all-sorted-completions): Use it.
3936 (completion-in-region, completion-in-region--postch)
3937 (completion-at-point, completion-help-at-point): Use markers in
3938 completion-in-region--data (bug#12619).
3940 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3942 * progmodes/compile.el (compilation-start): Try to handle common
3943 quoting of `cd' argument (bug#12640).
3945 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3948 2012-10-23 Glenn Morris <rgm@gnu.org>
3950 * progmodes/gud.el (gud-menu-map):
3951 Check gdb-active-process is bound. (Bug#12358)
3953 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3955 * repeat.el (repeat): Set real-this-command (bug#12232).
3957 * htmlfontify.el (hfy-post-html-hook):
3958 * filesets.el (filesets-cache-fill-content-hook):
3959 * arc-mode.el (archive-extract-hook):
3960 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3961 * net/rcirc.el (rcirc-sentinel-functions)
3962 (rcirc-receive-message-functions, rcirc-activity-functions)
3963 (rcirc-print-functions):
3964 * net/dbus.el (dbus-event-error-functions):
3965 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3966 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3967 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3968 * term/sun.el (sun-raw-prefix-hooks):
3969 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3971 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3973 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3974 Set `tramp-chunksize' to 1. This improves the performance.
3975 (tramp-smb-wait-for-output): Add timeout to
3976 `tramp-accept-process-output' calls.
3978 2012-10-23 Chong Yidong <cyd@gnu.org>
3980 * faces.el (font-list-limit): Define as an obsolete variable.
3982 * startup.el (command-line):
3983 * cus-start.el: Don't refer to font-list-limit.
3985 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3987 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3989 * subr.el (internal-temp-output-buffer-show): Rename from
3990 temp-output-buffer-show, since previously compiled files expect this name.
3992 2012-10-23 Glenn Morris <rgm@gnu.org>
3994 * image.el (image-type-from-file-name): If multiple types match,
3995 return the first one that is supported. (Bug#9045)
3997 2012-10-22 Glenn Morris <rgm@gnu.org>
3999 * image.el (imagemagick-enabled-types): Doc fix.
4001 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4003 * progmodes/which-func.el (which-func-current): The hash-table may have
4004 an explicit nil (bug#12338).
4006 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4008 * electric.el (electric-pair-delete-selection-self-insert-function):
4009 Rename to electric-pair-will-use-region, return a boolean.
4010 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4012 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4013 (delete-selection-pre-hook): Use use-region-p.
4014 (delete-selection-self-insert-function): Remove.
4015 (self-insert-command): Obey self-insert-uses-region-functions.
4016 (self-insert-iso): Revert to previous setting, since we don't actually
4017 know what that command does.
4018 (delete-selection-self-insert-hooks): Remove.
4020 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4022 * delsel.el (delete-selection-helper): New function, extracted from
4023 delete-selection-pre-hook.
4024 (delete-selection-pre-hook): Use it.
4025 (delete-selection-self-insert-function): New function.
4026 (delete-selection-self-insert-hooks): New hook.
4027 (self-insert-command, self-insert-iso): Use it.
4028 * electric.el (electric-pair-syntax): New function, extracted from
4029 electric-pair-post-self-insert-function.
4030 (electric-pair-post-self-insert-function): Use it.
4031 (electric-pair-delete-selection-self-insert-function): New function.
4032 (electric-pair-mode): Require delsel and setup
4033 delete-selection-self-insert-hooks (bug#11520).
4035 2012-10-20 Chong Yidong <cyd@gnu.org>
4037 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4038 no changes to show (Bug#12586).
4040 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4041 list explicitly (Bug#12571).
4043 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4045 * progmodes/flymake.el (flymake-create-temp-inplace):
4048 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4050 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4052 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4054 * calc/calc-units.el (math-extract-units): Properly extract powers
4057 2012-10-20 Daniel Colascione <dancol@dancol.org>
4059 * frame.el (make-frame): Set x-display-name as we used to in order
4060 to unbreak creating an X11 frame from an Emacs daemon started
4063 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4065 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4066 the same completion-field (bug#12221).
4068 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4070 * emacs-lisp/debug.el (debug): Record height of debugger window
4071 also when debugger will be back (Bug#8789).
4073 2012-10-18 Chong Yidong <cyd@gnu.org>
4075 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4076 Convert to defcustom.
4077 (gdb-get-source-file): Don't bind pop-up-windows.
4079 * progmodes/gud.el (gud-display-line): Don't specially re-use
4080 other frames for the gdb-mi case (Bug#12648).
4082 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4084 * emacs-lisp/advice.el: Clean up commentary a bit.
4085 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4086 (byte-code-function-p): Never redefine.
4088 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4090 2012-10-18 Glenn Morris <rgm@gnu.org>
4092 * dired.el (dired-sort-toggle): Some ls implementations only allow
4093 a single option string. (Bug#12666)
4095 * minibuffer.el (completion-cycle-threshold): Doc fix.
4097 2012-10-17 Kenichi Handa <handa@gnu.org>
4099 * international/mule.el (set-keyboard-coding-system):
4100 Recover input meta mode when the new coding system doesn not use 8-bit.
4101 Supply TERMINAL arg to set-input-meta-mode.
4103 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4105 * wdired.el (wdired-old-marks): New variable.
4106 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4107 (wdired-do-renames): Move point with renamed file and don't lose
4108 mark status (Bug#11795).
4110 2012-10-16 Juri Linkov <juri@jurta.org>
4112 * replace.el (query-replace-help): Mention multi-buffer replacement
4113 keys in the Help message. (Bug#12655)
4115 2012-10-15 Chong Yidong <cyd@gnu.org>
4117 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4119 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4121 * window.el (display-buffer): Doc fix.
4123 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4124 Adjust the msft regexp to the output of Studio 2010, and move msft
4125 before edg-1. See the discussion on emacs-devel,
4126 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4129 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4131 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4132 (oset): Move uses of object-class-fast macro after its definition.
4134 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4136 2012-10-13 Chong Yidong <cyd@gnu.org>
4138 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4139 enabled, re-enable it (Bug#11963).
4141 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4143 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4144 non-nil, restore window configuration (Bug#12623).
4146 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4148 * help-fns.el (describe-variable, describe-function-1):
4149 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4151 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4153 2012-10-12 Glenn Morris <rgm@gnu.org>
4155 * mail/rmailsum.el (rmail-header-summary):
4156 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4158 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4160 * progmodes/python.el (python-mode-map):
4161 Replace subtitute-key-definition with proper command remapping.
4162 (python-nav--up-list): Fix behavior for blocks on the same level.
4164 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4166 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4168 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4169 changes to the format of load-history.
4171 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4172 completion-ignore-case in case that var is buffer-local (bug#12615).
4174 2012-10-11 Kenichi Handa <handa@gnu.org>
4176 * international/eucjp-ms.el: Re-generated.
4178 2012-10-10 Kenichi Handa <handa@gnu.org>
4180 * select.el (xselect--encode-string): If a coding is specified for
4181 selection, and that is compatible with COMPOUND_TEXT, use it.
4183 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4185 * window.el (switch-to-buffer-preserve-window-point): New option.
4187 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4189 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4191 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4192 Don't document nil as a useful value (bug#12583).
4194 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4196 * net/tramp.el (tramp-debug-message):
4197 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4198 (with-tramp-progress-reporter): Rename from
4199 `tramp-with-progress-reporter'.
4200 (with-tramp-file-property, with-tramp-connection-property):
4201 Move from tramp-cache.el, rename from `with-file-property' and
4202 `with-connection-property', respectively.
4204 * net/tramp-cache.el: Remove `with-file-property' and
4205 `with-connection-property'.
4208 * net/tramp-gvfs.el:
4210 * net/tramp-smb.el: Adapt callees.
4212 * net/trampver.el: Update release number.
4214 2012-10-09 Glenn Morris <rgm@gnu.org>
4216 * w32-fns.el (set-message-beep):
4217 * term/w32-win.el (set-message-beep): Update declarations.
4219 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4221 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4222 (mode-line-widen, mode-line-input-method-map)
4223 (mode-line-coding-system-map, mode-line-remote)
4224 (mode-line-unbury-buffer, mode-line-bury-buffer)
4225 (mode-line-next-buffer, mode-line-previous-buffer):
4226 Replace save-selected-window+select-window => with-selected-window.
4228 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4229 * progmodes/cc-vars.el (bq-process): Remove, unused.
4231 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4233 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4235 Implemented `backward-up-list'-like navigation.
4236 * progmodes/python.el (python-nav-up-list)
4237 (python-nav-backward-up-list): New functions.
4238 (python-mode-map): Define substitute key for backward-up-list to
4239 python-nav-backward-up-list.
4241 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4243 * progmodes/python.el (python-fill-paragraph): Rename from
4244 python-fill-paragraph-function. Fixed fill-paragraph for
4245 decorators (Bug#12605).
4247 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4249 * progmodes/python.el (python-shell-output-filter): Handle extra
4250 carriage return in OSX (Bug#12409).
4252 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4254 Fix shell handling of unbalanced quotes and parens in output.
4255 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4256 (python-syntax-propertize-function): Use it.
4257 (python-shell-output-syntax-table): New var.
4258 (inferior-python-mode): Prevent unbalanced parens/quotes from
4259 previous output mess with current input context.
4261 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4263 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4264 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4266 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4268 * ffap.el (ffap-replace-file-component): Support Tramp file name
4269 syntax, not only ange-ftp's one.
4271 2012-10-08 Glenn Morris <rgm@gnu.org>
4273 * cus-start.el (message-log-max): Set :version.
4275 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4277 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4279 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4280 the minibuffer window (Bug#10851).
4282 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4284 Enhancements on forward-sexp movement.
4285 * progmodes/python.el (python-nav-beginning-of-statement)
4286 (python-nav-end-of-statement): Return point-marker.
4287 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4288 (python-info-current-symbol)
4289 (python-info-statement-starts-block-p): Rename from
4290 python-info-beginning-of-block-p.
4291 (python-info-statement-ends-block-p): Rename from
4292 python-info-end-of-block-p.
4293 (python-info-beginning-of-statement-p)
4294 (python-info-end-of-statement-p)
4295 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4298 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4300 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4301 frame-selected-windows.
4303 2012-10-08 Daniel Colascione <dancol@dancol.org>
4305 * battery.el (battery-status-function): Check for
4306 w32-battery-status itself, not system-time windows-nt.
4308 * frame.el: Require cl-lib.
4309 (display-format-alist): New variable mapping frame types to
4310 functions that initialize them.
4311 (window-system-for-display): New function: interprets
4312 display-format-alist.
4313 (make-frame-on-display): Remove existing display-selection logic
4314 and just forward to make-frame, which will now DTRT.
4315 (make-frame): Restructure to use window-system-for-display to
4316 figure out how to create a frame on a given display.
4317 (display-mouse-p): Look for frame-type w32, not a particular
4320 * loadup.el: Load w32 lisp code when we have the w32 feature.
4322 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4323 system-type windows-nt.
4325 * server.el (server-create-window-system-frame): Look for window
4327 (server-proces-filter): Only force a window system when windows-nt
4328 _and_ w32. Explain why.
4330 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4331 of window systems we configure for the mode.
4333 * startup.el (command-line): Mark window system is initialized
4334 after we've done it.
4336 * common-win.el (x-select-text): Look for w32, not windows-nt.
4338 * ns-win.el: Require cl-lib. Add ourselves to
4339 display-format-alist.
4340 (ns-initialize-window-system): Assert we're not initialized twice.
4342 * w32-win.el: Enable lexical binding; require cl-lib; add
4343 ourselves to display-format-alist.
4344 (w32-handle-dropped-file): Convert incoming dropped files from
4345 Windows paths to Cygwin ones before passing them on to the rest of
4347 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4348 (w32-initialize-window-system): Assert we're not initialized twice.
4350 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4351 (x-initialize-window-system): Assert we're not initialized twice.
4353 * w32-common-fns.el: New File.
4354 (w32-version, w32-using-nt, w32-get-clipboard-data)
4355 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4356 (w32-charset-info-alist, x-last-selected, text)
4357 (x-get-selection-value, x-selection-value): Move here.
4359 * w32-fns.el: Require w32-common-fns.
4360 (w32-version, w32-using-nt, w32-get-clipboard-data)
4361 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4362 (w32-charset-info-alist, x-last-selected, text)
4363 (x-get-selection-value, x-selection-value): Move to
4367 (w32-allow-system-shell, w32-system-shells): Define only in
4370 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4372 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4373 (read-passwd): Remove a few more potential sources of leaks.
4375 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4377 * progmodes/python.el (inferior-python-mode)
4378 (python-shell-make-comint): Fix initialization of local
4379 variables copied from parent buffer.
4381 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4383 * term/ns-win.el (ns-read-file-name): Update declaration to match
4385 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4386 it is set when font is acted upon.
4388 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4390 Enhancements to indentation.
4391 * progmodes/python.el (python-indent-context): Give priority to
4392 inside-string context. Make comments indentation markers.
4393 (python-indent-region): Do not mess with strings, unless it's the
4394 enclosing set of quotes.
4396 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4398 * window.el (internal--before-save-selected-window)
4399 (internal--after-save-selected-window): New functions extracted from
4400 save-selected-window. Make sure we return the `alist' we construct.
4401 (save-selected-window): Use them.
4403 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4404 Use with-selected-window.
4406 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4407 forms that define macros (bug#12593).
4409 2012-10-07 Kenichi Handa <handa@gnu.org>
4411 * international/mule-conf.el (compound-text-with-extensions):
4412 Add :mime-charset property as x-ctext.
4414 2012-10-07 Stefan Merten <smerten@oekonux.de>
4416 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4417 (rst-indent-literal-normal, rst-indent-literal-minimized)
4418 (rst-indent-comment): Correct :version tag.
4419 (rst-official-cvs-rev): Correct version string.
4421 2012-10-07 Glenn Morris <rgm@gnu.org>
4423 * mail/rmailmm.el (rmail-mime-process-multipart):
4424 Do not confuse a multipart message with an epilogue
4425 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4427 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4429 Fix shell output retrieval and comint-prompt-regexp init.
4430 * progmodes/python.el (inferior-python-mode):
4431 (python-shell-make-comint): Fix initialization of
4432 comint-prompt-regexp from copied file local variables.
4433 (python-shell-fetched-lines): Remove var.
4434 (python-shell-output-filter-in-progress): Rename from
4435 python-shell-fetch-lines-in-progress.
4436 (python-shell-output-filter-buffer): Rename from
4437 python-shell-fetch-lines-string.
4438 (python-shell-fetch-lines-filter): Delete function.
4439 (python-shell-output-filter): New function.
4440 (python-shell-send-string-no-output): Use them.
4442 2012-10-07 Glenn Morris <rgm@gnu.org>
4444 * hi-lock.el (hi-lock-process-phrase):
4445 Try to make it less fragile. (Bug#7161)
4447 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4449 2012-10-06 Glenn Morris <rgm@gnu.org>
4451 * ehelp.el (electric-help-mode): Use help-mode rather than
4452 non-existent mode `help'.
4453 (electric-help-map): Use button-buffer-map. (Bug#10917)
4455 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4456 (reftex-create-bibtex-footer): Fix custom types.
4458 * progmodes/sh-script.el (sh-indent-after-continuation):
4459 Add explicit :group.
4461 * textmodes/rst.el (rst-preferred-decorations)
4462 (rst-shift-basic-offset): Clarify obsolescence versions.
4464 * profiler.el (profiler): Add missing group :version tag.
4465 * avoid.el (mouse-avoidance-banish-position):
4466 * proced.el (proced-renice-command):
4467 * calc/calc.el (calc-ensure-consistent-units):
4468 * calendar/icalendar.el (icalendar-import-format-uid):
4469 * net/tramp.el (tramp-save-ad-hoc-proxies):
4470 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4471 * progmodes/flymake.el (flymake-error-bitmap)
4472 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4473 * progmodes/sh-script.el (sh-indent-after-continuation):
4474 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4475 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4476 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4477 (vhdl-array-index-record-field-in-sensitivity-list)
4478 (vhdl-indent-comment-like-next-code-line):
4479 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4480 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4481 (reftex-cite-key-separator, reftex-create-bibtex-header)
4482 (reftex-create-bibtex-footer):
4483 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4484 (rst-indent-literal-normal, rst-indent-literal-minimized)
4485 (rst-indent-comment): Add missing custom :version tags.
4487 * calendar/timeclock.el (timeclock-modeline-display):
4488 Add missing obsolete alias for renamed user option.
4490 * strokes.el (strokes-modeline-string):
4491 * emulation/crisp.el (crisp-mode-modeline-string):
4492 * eshell/esh-mode.el (eshell-status-in-modeline):
4493 Aliases to defcustoms must come before the defcustom.
4495 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4496 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4497 (cal-tex-cursor-week-monday): Doc fixes.
4498 (cal-tex-cursor-week2-summary): Doc fix.
4499 Rename from cal-tex-cursor-week-at-a-glance.
4501 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4502 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4504 * calendar/calendar.el (calendar-mode-map):
4505 Add cal-tex-cursor-week2-summary.
4507 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4509 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4511 * subr.el (read-passwd-map): New var.
4512 (read-passwd): Use `read-string' again.
4513 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4515 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4517 * register.el (append-to-register, prepend-to-register):
4518 Deactivate mark, as does `copy-to-register' (bug#12389).
4520 2012-10-06 Chong Yidong <cyd@gnu.org>
4522 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4524 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4526 * international/characters.el: Fix simple mistake ((car chars) ->
4527 elt), delete duplicated code.
4529 2012-10-06 Glenn Morris <rgm@gnu.org>
4531 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4533 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4535 * color.el (color-hsl-to-rgb): Fix incorrect results for
4536 small and large hue values. (Bug#12559)
4538 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4540 Enhancements to docstring formatting when filling paragraphs.
4541 * progmodes/python.el (python-fill-docstring-style): Rename from
4542 python-fill-string-style. Added new style.
4543 (python-fill-string): Use new style. Better checks for
4546 2012-10-05 Glenn Morris <rgm@gnu.org>
4548 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4550 * color.el (color-name-to-rgb, color-rgb-to-hex)
4551 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4552 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4553 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4554 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4556 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4558 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4560 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4561 to get the correct size across symlinks.
4563 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4565 2012-10-04 Juri Linkov <juri@jurta.org>
4567 * replace.el (query-replace-interactive): Declare obsolete.
4568 (query-replace-read-from): Add the last incremental search string
4569 to the list of default values accessible via M-n.
4570 (map-query-replace-regexp): Use `read-regexp'.
4571 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4572 (map-query-replace-regexp, replace-string, replace-regexp):
4573 Fix docstrings to replace mentions of `query-replace-interactive'
4574 with alternatives. (Bug#12526)
4576 2012-10-04 Juri Linkov <juri@jurta.org>
4578 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4579 (dired-pop-to-buffer): Declare obsolete.
4580 (dired-mark-pop-up): Doc fix.
4582 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4584 Allow user to set docstring style for fill-paragraph.
4585 * progmodes/python.el
4586 (python-fill-comment-function, python-fill-string-function)
4587 (python-fill-decorator-function, python-fill-paren-function):
4588 Remove :safe for defcustoms.
4589 (python-fill-string-style): New defcustom
4590 (python-fill-paragraph-function): Enhance context detection.
4591 (python-fill-string): Honor python-fill-string-style settings.
4593 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4595 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4596 after setting its buffer (Bug#10805).
4598 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4600 Fix cornercase for string syntax.
4601 * progmodes/python.el (python-syntax-propertize-function):
4602 Simplify and enhance the regexp for unescaped quotes. Now it also
4603 matches quotes in weird situations like the single quote in
4605 (python-syntax-stringify): Simplify num-quotes detecting code.
4607 2012-10-03 Glenn Morris <rgm@gnu.org>
4609 * help-macro.el (three-step-help):
4610 Revert 2012-09-29 change. (Bug#12567)
4612 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4614 * menu-bar.el (kill-this-buffer): Don't do anything when
4615 `menu-frame' is not alive or visible (Bug#8184).
4617 * emacs-lisp/debug.el (debug): When quitting the debugger window
4618 restore current buffer (Bug#12502).
4620 2012-10-02 Chong Yidong <cyd@gnu.org>
4622 * progmodes/hideif.el (hif-lookup, hif-defined):
4623 Handle semantic-c-takeover-hideif.
4625 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4627 Change sampling interval units from ms to ns.
4628 * profiler.el (profiler-sampling-interval): Change units
4629 from ms to ns, multiplying the default by 1000000 so that
4631 (profiler-report-cpu-line-format): Give enough room for
4632 the maximum counters on 64-bit hosts.
4633 (profiler-report-render-calltree-1): Call them "CPU samples",
4634 not "Time (ms)", since they are not milliseconds now (and
4637 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4639 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4640 Fix querying BBDB for entries without a last name (Bug#11580).
4642 2012-10-02 Chong Yidong <cyd@gnu.org>
4644 * emacs-lisp/eieio.el: Restore Version header.
4646 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4648 * vc/diff-mode.el (diff--auto-refine-data): New var.
4649 (diff-hunk): Use it to delay refinement.
4650 (diff-mode): Remove overlays when we turn off font-lock.
4652 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4653 (table-initialize-table-fixed-width-mode)
4654 (table-set-table-fixed-width-mode): Remove functions.
4655 (table-command-list): Move initialization into declaration.
4656 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4657 (table-with-cache-buffer): Use `declare'.
4658 (table-span-cell): Simplify via CSE.
4659 (table-fixed-width-mode): Use define-minor-mode.
4660 (table-call-interactively, table-funcall, table-apply): Remove.
4661 (table-function): New function, to replace them.
4663 * bookmark.el (bookmark-search-pattern): Remove var.
4664 (bookmark-read-search-input): Remove function.
4665 (bookmark-bmenu-search): Reimplement using a minibuffer.
4667 * faces.el (modeline): Remove obsolete face name.
4669 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4670 and give a non-nil default value.
4671 (add-change-log-entry): Simplify accordingly.
4673 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4675 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4676 (vc-git-log-edit-toggle-amend): New function.
4677 (vc-git-log-edit-toggle-signoff): New function.
4678 (vc-git-log-edit-mode): New major mode.
4679 (vc-git-log-edit-mode-map): Keymap for it.
4680 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4682 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4684 (log-edit-toggle-header): New function.
4685 (log-edit-extract-headers): Accept function values in HEADERS alist.
4687 2012-10-01 David Engster <deng@randomsample.de>
4689 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4690 from symbol property and change message to be more consistent with
4692 (eieio-describe-generic): Add filename for each implementation.
4693 Fix indices for generic and normal methods.
4694 (eieio-method-def, eieio-class-def): New buttons.
4695 (eieio-help-find-method-definition)
4696 (eieio-help-find-class-definition): New functions.
4697 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4698 class, constructor and method definitions.
4700 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4701 information in symbol property.
4702 (scoped-class): Remove.
4703 (eieio-slot-name-index, call-next-method): Check if it is bound.
4705 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4707 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4708 (eieio-custom-mode): New major mode.
4709 (eieio-customize-object): Use it.
4711 2012-10-01 Eric Ludlam <zappo@gnu.org>
4713 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4714 specifying the expected class, and whether subclassing is allowed.
4715 (eieio-persistent-convert-list-to-object):
4716 (eieio-persistent-validate/fix-slot-value)
4717 (eieio-persistent-slot-type-is-class-p): New functions.
4718 (eieio-named::slot-missing): Doc fix.
4720 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4721 Stop using unused publd variable.
4723 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4724 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4725 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4726 (eieio-speedbar-handle-click): Do not specify a class for the
4727 method. Fixes method invocation order problems with EDE.
4729 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4731 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4732 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4734 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4736 * bookmark.el (bookmark-version-control): Give tags in the
4737 :type choices (Bug#12309), and improve doc string.
4738 (bookmark-write-file): Bind `print-circle' to `t' to allow
4739 circular custom bookmark types. (Bug#12503)
4741 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4743 Revert the FOLLOW-SYMLINKS change for file-attributes.
4744 * files.el (remote-file-name-inhibit-cache, after-find-file):
4745 * time.el (display-time-file-nonempty-p): Undo last change.
4747 * profiler.el (profiler-sampling-interval): Change default back to 1.
4748 See Stefan Monnier in
4749 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4751 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4753 Shell output catching a la gud-gdb.
4754 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4755 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4757 (python-shell-fetch-lines-filter): New function.
4758 (python-shell-send-string-no-output): Use them.
4760 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4762 * profiler.el (profiler-sampling-interval): Rename from
4763 profiler-sample-interval.
4764 (profiler-sampling-interval): Default to 10.
4765 (profiler-find-profile): New command (was profiler-find-log).
4766 (profiler-find-profile-other-window): New command.
4767 (profiler-find-profile-other-frame): New command.
4768 (profiler-profile): Introduce API-level data structure.
4770 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4772 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4773 * files.el (remote-file-name-inhibit-cache):
4774 * time.el (display-time-file-nonempty-p): Use it.
4775 * files.el (after-find-file): Don't chase links before calling
4776 file-exists-p, as file-exists-p already does the right thing.
4778 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4780 Merge from standalone RefTeX repository.
4782 The following ChangeLog entries are shortened versions of the
4783 original ones with file paths adapted. A not so strongly edited
4784 version of the original ChangeLog can be found in the commit log.
4786 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4787 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4788 Correctly handle new value type returned by `reftex-citation'.
4790 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4791 that entries with whitespace at various places are found.
4792 Doc fix. Include entries that are cross-referenced from cited entries.
4793 Include @String definitions in the resulting bib file. Add header
4794 and footer defined in `reftex-create-bibtex-header' and
4795 `reftex-create-bibtex-footer'.
4796 (reftex-do-citation): Make it possible again to insert
4797 non-existent entries. Save match data when asking for optional
4798 arguments. Return all keys, not just the first one.
4799 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4800 all citations in the same line.
4801 (reftex-parse-bibtex-entry): Accept additional optional argument
4802 `raw' and keep quotes or braces if it is non-nil. Match fields
4803 containing hyphens besides word constituents.
4804 (reftex-get-string-refs): New function.
4805 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4806 and ask if it should be reread in case it did.
4807 (reftex-pop-to-bibtex-entry)
4808 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4809 entries with spaces or tabs in front of arguments.
4810 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4811 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4812 Match entries containing numbers and symbol constituents.
4813 (reftex-do-citation, reftex-figure-out-cite-format):
4814 Use `reftex-cite-key-separator'.
4816 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4817 (reftex-mouse-view-crossref): Explain why point is set.
4819 * textmodes/reftex-global.el: Whitespace changes.
4821 * textmodes/reftex-index.el: Move provide statement to end of
4823 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4824 (reftex-index-visit-phrases-buffer): Set marker when visiting
4825 buffer. This allows for returning from the phrases file to the
4826 file one was just editing instead of the file where the last
4827 phrases was added from.
4828 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4829 punctuation syntax as it usually is not used as string quote in
4830 TeX-related modes and may occur unmatched. The change also
4831 prevents fontification of quoted content.
4832 (reftex-index-phrases-mode): Use it.
4834 * textmodes/reftex-parse.el (reftex-parse-from-file):
4835 Move backward one char if a `\' was matched after a section macro.
4836 (reftex-parse-from-file): Use beginning of match instead of end as
4839 * textmodes/reftex-ref.el: Adapt creation of
4840 `reftex-<package>-<macro>' functions to new structure of
4841 `reftex-ref-style-alist'.
4842 (reftex-reference): Use `reftex-ref-style-list' function.
4843 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4844 reference macro if `reftex-ref-macro-prompt' is non-nil.
4845 (reftex-reference): Pass refstyle to `reftex-format-special'.
4846 Determine reference macro by looking at
4847 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4848 Use only one special format function.
4849 (reftex-varioref-vref, reftex-fancyref-fref)
4850 (reftex-fancyref-Fref): Remove definitions. The functions are now
4851 generated from `reftex-ref-style-alist'.
4852 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4854 (reftex-format-special): New function.
4856 * textmodes/reftex-sel.el
4857 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4858 of `reftex-ref-style-alist'. Remove code for testing macro type.
4859 (reftex-select-toggle-varioref)
4860 (reftex-select-toggle-fancyref): Remove.
4861 (reftex-select-cycle-ref-style-internal)
4862 (reftex-select-cycle-ref-style-forward)
4863 (reftex-select-cycle-ref-style-backward): New functions.
4864 (reftex-select-label-map): Use `v' and `V' for general cycling
4865 through reference styles. Add `p' for switching between number
4866 and page reference types.
4868 * textmodes/reftex-toc.el (reftex-re-enlarge):
4869 Call `enlarge-window' only if there is something to do because in Emacs
4870 the horizontal version throws an error even if the parameter is 0.
4872 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4873 (reftex-plug-into-AUCTeX): Doc fix.
4874 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4875 string. Adapt to new name.
4876 (reftex-ref-style-alist): Change structure so that it is not
4877 possible to use multiple different package names within a style.
4878 Remove the symbols for symbols for macro type distinction.
4879 Add characters for macro selection.
4880 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4881 (reftex-create-bibtex-footer): New variables.
4882 (reftex-format-ref-function): Mention third argument of special
4884 (reftex-ref-style-alist, reftex-ref-style-default-list):
4886 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4887 to new implementation. Mark as obsolete. Add compatibility code
4888 for honoring the variable values in case they are set.
4889 (reftex-cite-format-builtin, reftex-bibliography-commands):
4890 Add support for ConTeXt.
4891 (reftex-format-ref-function, reftex-format-cite-function):
4893 (reftex-cite-key-separator): New variable.
4895 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4896 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4897 `reftex-syntax-table' because parens have to retain their paren
4898 syntax in order for parsing of BibTeX entries like @book(...) to
4900 (reftex-in-comment): Do not error out if `comment-start-skip' is
4901 not set. Deal correctly with escaped comment characters.
4902 (reftex-tie-multifile-symbols): Add doc string.
4903 Initialize `reftex-ref-style-list'.
4904 (reftex-untie-multifile-symbols): Add doc string.
4905 (reftex-add-index-macros): Doc fix.
4906 (reftex-ref-style-activate, reftex-ref-style-toggle)
4907 (reftex-ref-style-list): New functions.
4908 (reftex-mode-menu): Use them. Adapt to new structure of
4909 `reftex-ref-style-alist'.
4910 (reftex-select-with-char): Kill the RefTeX Select buffer when
4912 (reftex-remove-if): New function.
4913 (reftex-erase-all-selection-and-index-buffers)
4914 (reftex-mode-menu): Reference styles are now computed from
4915 `reftex-ref-style-alist'. Fix typo.
4916 (reftex-report-bug): New function.
4917 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4918 algorithms with O(n log n). Introduce optional argument SORT (not
4921 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4923 Enhancements for triple-quote string syntax.
4924 * progmodes/python.el (python-syntax-propertize-function):
4925 Match both quote cases in one regexp.
4926 (python-syntax-stringify): Handle matches properly.
4928 2012-09-30 Juri Linkov <juri@jurta.org>
4930 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4931 to nil around the call to `insert' to prevent
4932 directory time modification by lock_file. (Bug#2295)
4933 * tar-mode.el (tar-summarize-buffer): Idem.
4935 2012-09-30 Juri Linkov <juri@jurta.org>
4937 * facemenu.el (list-colors-sort): Add option "Luminance".
4938 (list-colors-sort-key): Implement it.
4940 * vc/diff-mode.el (diff-refine-removed):
4941 * vc/ediff-init.el (ediff-fine-diff-A):
4942 * vc/smerge-mode.el (smerge-refined-removed):
4943 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4945 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4947 * term/ns-win.el (x-file-dialog): New function.
4949 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4951 * ido.el (ido-max-directory-size): Default to nil; the current
4952 default is small for POSIX systems, and impractical on Windows 7
4953 now that lstat returns directory sizes for NTFS.
4955 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4957 In buffer display functions handle window-height/window-width
4958 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4959 * window.el (window--display-buffer): New argument ALIST.
4960 Obey window-height and window-width alist entries.
4961 (window--try-to-split-window): New argument ALIST.
4962 Bind window-combination-limit to t when the window's size shall be
4963 changed and window-combination-limit equals `window-size'.
4964 (display-buffer-in-atom-window)
4965 (display-buffer-in-major-side-window)
4966 (display-buffer-in-side-window, display-buffer-same-window)
4967 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4968 (display-buffer-pop-up-window, display-buffer-below-selected)
4969 (display-buffer-at-bottom, display-buffer-in-previous-window)
4970 (display-buffer-use-some-window): Adjust all callers of
4971 window--display-buffer and window--try-to-split-window.
4972 (fit-frame-to-buffer): New option.
4973 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4975 (display-buffer-in-major-side-window): Evaluate window-height /
4976 window-width alist entries.
4978 * help.el (temp-buffer-resize-frames)
4979 (temp-buffer-resize-regexps): Remove options.
4980 (temp-buffer-resize-mode): Adjust doc-string.
4981 (resize-temp-buffer-window): Don't consult
4982 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4983 temp-buffer-resize-frames.
4985 * dired.el (dired-mark-pop-up):
4986 Call display-buffer-below-selected with a fit-window-to-buffer alist
4989 2012-09-30 Chong Yidong <cyd@gnu.org>
4991 * server.el (server-host): Document the security implications.
4992 (server-auth-key): Doc fix.
4994 * startup.el (initial-buffer-choice): Doc fix.
4996 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4998 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5001 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5003 * help-fns.el (help-fns--obsolete): Fix last change.
5005 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5007 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5008 (minor-mode-map-alist): Remove redundant code.
5010 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5011 visited in a buffer.
5012 (cvs-insert-visited-file): New function.
5013 (find-file-hook): Use it.
5015 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5017 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5019 (log-edit-empty-buffer-p): Don't require a space after a header.
5021 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5023 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5025 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5026 a proper minor-mode.
5028 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5030 2012-09-29 Glenn Morris <rgm@gnu.org>
5032 * winner.el (winner-mode): Remove variable (let define-minor-mode
5034 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5036 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5037 (winner-mode): Use define-minor-mode.
5039 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5040 the full definition in loaddefs, rather than duplicating it.
5042 * help-macro.el (three-step-help): No need to autoload defcustom.
5044 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5045 (inferior-lisp-program, inferior-lisp-load-command)
5046 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5047 No need to autoload defcustoms.
5049 * hippie-exp.el (hippie-expand-try-functions-list)
5050 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5051 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5052 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5053 (hippie-expand-only-buffers): No need to autoload defcustoms.
5054 * progmodes/vhdl-mode.el (vhdl-line-expand):
5055 Explicitly load hippie-exp, so it does not get autoloaded
5056 while hippie-expand-try-functions-list is let-bound.
5058 2012-09-28 Glenn Morris <rgm@gnu.org>
5060 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5062 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5063 Only "cl.el" counts as cl these days.
5065 2012-09-28 Juri Linkov <juri@jurta.org>
5067 Display archive errors in the echo area instead of inserting
5070 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5071 to STDERR-TEST that can be a regexp matching a successful output.
5072 Create a temporary file and redirect stderr to it. Search for
5073 STDERR-TEST in the stderr output and display it in the echo area
5074 if no match is found.
5075 (archive-extract-by-file): New function like
5076 `archive-extract-by-stdout' but extracting archives to files
5077 and looking for successful matches in stdout. Function body is
5078 mostly copied from `archive-rar-extract'.
5079 (archive-rar-extract): Use `archive-extract-by-file'.
5080 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5082 2012-09-28 Leo Liu <sdl.web@gmail.com>
5084 * pcomplete.el (pcomplete-show-completions):
5085 Use minibuffer-message to make pcomplete usable in minibuffer.
5087 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5089 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5091 * type-break.el: Use lexical-binding.
5092 (type-break-mode): Use define-minor-mode.
5094 * emacs-lisp/pcase.el (pcase--mark-used): New.
5095 (pcase--u1): Use it (bug#12512).
5097 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5098 in load-history with the right file name.
5100 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5102 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5103 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5104 (doc-view-get-bounding-box): Make bounding box slicing work for
5105 ODF and DVI documents.
5107 2012-09-28 Glenn Morris <rgm@gnu.org>
5109 * type-break.el (type-break-mode, type-break-interval)
5110 (type-break-good-rest-interval, type-break-keystroke-threshold):
5111 No need to autoload.
5112 (type-break-good-rest-interval, type-break-keystroke-threshold):
5115 2012-09-28 Chong Yidong <cyd@gnu.org>
5117 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5120 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5122 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5124 2012-09-27 Glenn Morris <rgm@gnu.org>
5126 * faces.el (x-display-name): Declare (for without-x builds).
5128 * linum.el (linum-format): Don't autoload it. Improve :type.
5130 * progmodes/tcl.el: Don't require outline when compiling.
5131 (outline-regexp, outline-level): Declare.
5132 * textmodes/sgml-mode.el: Don't require outline when compiling.
5133 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5135 * term.el (term-ansi-reset):
5136 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5138 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5139 files for RCS and SCCS. (Bug#9781)
5141 2012-09-27 Chong Yidong <cyd@gnu.org>
5143 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5144 change; value should be t.
5146 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5148 * image-mode.el: Use lexical-binding.
5149 (image-mode-winprops): Use t to stand for the window of
5150 a buffer that's not displayed.
5151 * doc-view.el (doc-view-new-window-function): Handle the new
5153 (doc-view-enlarge): Make it a real nop if the size is not changed.
5154 (doc-view-display): Handle the case where the buffer is not (yet?)
5155 displayed in any window.
5156 (doc-view-saved-settings): New var.
5157 (doc-view-mode): Use it.
5158 (doc-view-fallback-mode): Set it.
5160 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5161 Set lexical-binding.
5162 (minibuffer-eldef-shorten-default): New var.
5163 (minibuffer-default-in-prompt-regexps): Use it for new default.
5164 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5166 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5168 * international/uni-bidi.el:
5169 * international/uni-category.el:
5170 * international/uni-name.el:
5171 * international/uni-numeric.el: Regenerate.
5173 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5174 Stefan Monnier <monnier@iro.umontreal.ca>
5176 * profiler.el: New file.
5178 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5180 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5181 (testcover-reinstrument): Simplify with CSE.
5183 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5185 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5187 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5189 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5190 (verilog-auto-input, verilog-auto-insert-lisp)
5191 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5192 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5193 (verilog-auto-unused, verilog-auto-wire)
5194 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5195 newline. Reported by Andrew Jones.
5196 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5197 Reported by Brad Dobbie.
5198 (verilog-batch-delete-trailing-whitespace):
5199 Create verilog-batch-delete-trailing-whitespace.
5200 Reported by Brad Dobbie.
5201 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5202 parameters from another module. Reported by Dan Katz.
5203 (verilog-auto, verilog-auto-assign-modport)
5204 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5205 AUTOINOUTMODPORT for UVM interface module shell generation.
5206 Reported by Brad Dobbie.
5207 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5209 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5210 Reported by Matt Martin.
5212 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5214 * window.el (window--resize-child-windows): When resizing child
5215 windows proportionally, process them in reverse order to
5216 preserve the "when splitting a window the new one gets the odd
5218 (window--resize-root-window-vertically): When resizing the
5219 minibuffer window try to affect only windows at the bottom of the
5222 2012-09-25 Chong Yidong <cyd@gnu.org>
5224 * subr.el (declare): Doc fix.
5226 * help-fns.el (help-fns--obsolete): Handle macros properly.
5228 2012-09-25 Chong Yidong <cyd@gnu.org>
5230 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5231 this function obsolete.
5233 * calendar/cal-x.el (calendar-two-frame-setup)
5234 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5235 * calendar/calendar.el (american-calendar, european-calendar)
5236 (calendar-for-loop):
5237 * comint.el (comint-dynamic-simple-complete)
5238 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5239 * desktop.el (desktop-load-default):
5240 * dired-x.el (dired-omit-here-always)
5241 (dired-hack-local-variables, dired-default-directory):
5242 * emacs-lisp/derived.el (derived-mode-class):
5243 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5244 * emacs-lock.el (toggle-emacs-lock):
5245 * epa.el (epa-display-verify-result):
5246 * epg.el (epg-sign-keys, epg-start-sign-keys)
5247 (epg-passphrase-callback-function):
5248 * eshell/esh-util.el (eshell-for):
5249 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5250 (eshell-add-to-window-buffer-names):
5251 * files.el (locate-file-completion):
5252 * imenu.el (imenu-example--create-c-index)
5253 (imenu-example--create-lisp-index)
5254 (imenu-example--lisp-extract-index-name)
5255 (imenu-example--name-and-position):
5256 * international/mule-cmds.el (princ-list):
5257 * international/mule-diag.el (decode-codepage-char):
5258 * international/mule-util.el (detect-coding-with-priority):
5259 * iswitchb.el (iswitchb-read-buffer):
5260 * mail/mailalias.el (mail-complete):
5261 * mail/sendmail.el (mail-sent-via):
5262 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5263 (mouse-major-mode-menu):
5264 * password-cache.el (password-read-and-add):
5265 * pcomplete.el (pcomplete-parse-comint-arguments):
5266 * progmodes/sh-script.el (sh-maybe-here-document):
5267 * replace.el (query-replace-regexp-eval):
5268 * savehist.el (savehist-load):
5269 * simple.el (choose-completion-delete-max-match):
5270 * term.el (term-dynamic-simple-complete):
5271 * vc/ediff-init.el (ediff-check-version):
5272 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5273 * vc/vc.el (vc-diff-switches-list):
5274 * view.el (view-return-to-alist-update): Likewise.
5276 * subr.el (eval-next-after-load, makehash, insert-string)
5277 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5279 (mode-line-inverse-video): Variable deleted.
5281 * international/mule-util.el (string-to-sequence): Remove.
5283 * calendar/calendar.el (calendar-version):
5284 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5285 (icalendar-convert-diary-to-ical):
5286 * cus-edit.el (custom-mode):
5287 * ansi-color.el (ansi-color-unfontify-region):
5288 * international/latin1-disp.el (latin1-char-displayable-p):
5289 * progmodes/cwarn.el (turn-on-cwarn-mode):
5290 * progmodes/which-func.el (which-func-update-1):
5291 Use define-obsolete-function-alias.
5293 * net/newst-backend.el (newsticker-cache-filename):
5294 * net/newst-treeview.el (newsticker-groups-filename):
5295 Fix incorrect obsolescence declaration.
5297 * allout.el (allout-passphrase-hint-string): Likewise.
5298 (allout-init): Use a declare form to mark obsolete.
5300 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5301 this applies to functions.
5303 * iswitchb.el (iswitchb-read-buffer): Move code of
5304 iswitchb-define-mode-map here, and delete that obsolete function.
5306 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5307 font-lock-reference-face.
5309 2012-09-25 Glenn Morris <rgm@gnu.org>
5311 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5314 * eshell/em-term.el (eshell-term-name):
5315 Default to term-term-name. (Bug#12485)
5317 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5319 * progmodes/python.el (python-shell-send-buffer): Better handling
5320 of "if __name__ == '__main__':" conditionals when sending the buffer.
5322 2012-09-24 Glenn Morris <rgm@gnu.org>
5324 * eshell/esh-cmd.el (eshell-find-alias-function):
5325 Tighten up file-name regexp. (Bug#12499)
5327 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5329 Enhancements for triple-quote string syntax.
5330 * progmodes/python.el (python-quote-syntax): Remove.
5331 (python-syntax-propertize-function): New value.
5332 (python-syntax-count-quotes, python-syntax-stringify):
5335 2012-09-24 Chong Yidong <cyd@gnu.org>
5337 * mail/supercite.el (sc-version): Remove obsolete function.
5338 (sc-describe): Don't mark as obsolete, since it is bound.
5339 (sc-submit-bug-report): Remove.
5341 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5342 (cvs-commit-buffer-require-final-newline): Remove.
5343 (log-edit-require-final-newline)
5344 (log-edit-changelog-full-paragraphs): Default to t.
5346 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5347 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5348 * vc/vc.el (vc-checkout-carefully): Likewise.
5350 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5351 (emerge-version): Remove.
5353 * progmodes/compile.el (compile-internal): Remove.
5354 (compilation-parse-errors-function): Fix typo.
5356 * international/mule.el (set-char-table-default): Remove.
5357 (set-coding-priority, make-coding-system, generic-char-p)
5358 (charset-list, charset-bytes, charset-id): Use declare to mark
5359 functions as obsolete.
5361 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5362 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5363 * vc/vc-hooks.el (vc-default-registered): Don't use
5364 vc-master-templates.
5366 * font-lock.el (font-lock-reference-face):
5367 Use define-obsolete-variable-alias.
5369 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5370 * calendar/calendar.el (calendar-font-lock-keywords):
5371 * calendar/diary-lib.el (diary-font-lock-keywords)
5372 (diary-fancy-font-lock-keywords):
5373 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5374 * textmodes/reftex-index.el (reftex-insert-index):
5375 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5376 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5377 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5378 * progmodes/prolog.el (prolog-font-lock-keywords):
5379 * progmodes/idlwave.el (idlwave-idl-keywords):
5380 * progmodes/ada-mode.el (ada-font-lock-keywords):
5381 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5383 2012-09-24 Glenn Morris <rgm@gnu.org>
5385 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5387 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5389 * progmodes/python.el (python-indent-line): More consistent cursor
5392 2012-09-23 Stefan Merten <smerten@oekonux.de>
5394 * textmodes/rst.el: Fix compiler warning.
5396 2012-09-23 Roland Winkler <winkler@gnu.org>
5398 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5399 Transcribe also LaTeX hyphenation.
5400 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5401 bibtex-reformat-previous-options.
5403 2012-09-23 Roland Winkler <winkler@gnu.org>
5405 * proced.el (proced-renice-command): New variable.
5406 (proced-marked-processes): New function.
5407 (proced-with-processes-buffer): New macro.
5408 (proced-send-signal): Use them.
5409 (proced-renice): New command bound to r.
5411 2012-09-23 Roland Winkler <winkler@gnu.org>
5413 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5414 ibuffer-saved-filter-groups has one element, shortcut the call of
5415 completing-read. (Bug#12331)
5417 2012-09-23 Chong Yidong <cyd@gnu.org>
5419 * bindings.el (mode-line-toggle-read-only):
5420 * bs.el (bs-toggle-readonly):
5421 * buff-menu.el (Buffer-menu-toggle-read-only):
5422 * dired.el (dired-toggle-read-only):
5423 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5425 2012-09-23 Chong Yidong <cyd@gnu.org>
5427 * image.el (image-type-available-p): Adapt to init-image-library
5430 2012-09-22 Juri Linkov <juri@jurta.org>
5432 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5433 `dired-toggle-read-only'. (Bug#12462)
5435 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5437 * subr.el (temp-output-buffer-show): New function.
5438 (with-output-to-temp-buffer): Call temp-output-buffer-show
5439 instead of internal-temp-output-buffer-show.
5441 2012-09-22 Chong Yidong <cyd@gnu.org>
5443 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5446 * repeat.el (repeat): Doc fix (Bug#12348).
5448 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5451 * simple.el (shell-command-on-region): Doc fix.
5452 (read-only-mode): Doc fix.
5454 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5456 * emacs-lisp/timer.el (run-with-idle-timer)
5457 (timer-activate-when-idle): Warn against reinvoking an idle timer
5458 from within its own timer action. (Bug#12447)
5460 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5462 * cus-start.el (window-combination-limit): Add new optional
5464 * window.el (temp-buffer-window-show)
5465 (window--try-to-split-window): Handle new values of
5466 window-combination-limit (Bug#1806).
5467 (split-window): Test window-combination-limit for t instead of
5469 (display-buffer-at-bottom): New buffer display action function.
5470 * help.el (temp-buffer-resize-regexps): New option.
5471 (temp-buffer-resize-mode): Rewrite doc-string.
5472 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5473 Don't resize reused window. Suggested by Glenn Morris.
5475 2012-09-22 Stefan Merten <smerten@oekonux.de>
5477 * textmodes/rst.el: Revamp section title faces.
5478 (rst-official-version)
5479 (rst-package-emacs-version-alist): Sync with official version
5481 (rst-faces-defaults, rst-set-level-default)
5482 (rst-level-face-max, rst-level-face-base-color)
5483 (rst-level-face-base-light, rst-level-face-format-light)
5484 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5485 (rst-adornment-faces-alist): Match new setup.
5486 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5487 (rst-level-5, rst-level-6): New faces.
5489 2012-09-22 Chong Yidong <cyd@gnu.org>
5491 * simple.el (undo): Handle indirect buffers (Bug#8207).
5493 2012-09-21 Leo Liu <sdl.web@gmail.com>
5495 IDO: Disable match re-ordering for buffer switching.
5496 * ido.el (ido-buffer-disable-smart-matches): New variable.
5497 (ido-set-matches-1): Use it. (Bug#2042)
5499 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5501 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5502 Fix 2011-05-17 change. (Bug#12418)
5504 2012-09-21 Leo Liu <sdl.web@gmail.com>
5506 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5508 2012-09-21 Glenn Morris <rgm@gnu.org>
5510 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5511 Be more robust about locating simple.el.
5513 2012-09-21 Glenn Morris <rgm@gnu.org>
5515 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5517 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5519 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5521 2012-09-20 Juri Linkov <juri@jurta.org>
5523 * replace.el (query-replace-read-from): Use `read-regexp' instead
5524 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5525 (occur-read-primary-args): Use `read-regexp' instead of
5527 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5528 `read-from-minibuffer'.
5529 * isearch.el (isearch-occur): Use `read-regexp' instead of
5531 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5532 `read-from-minibuffer'.
5533 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5534 of `read-string'. (Bug#7567)
5536 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5537 and allow accepting a list of strings prepended to a list of
5538 standard default values. Doc fix. (Bug#12321)
5540 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5542 * replace.el (read-regexp): Don't add ": " when PROMPT already
5543 ends with a colon and space. (Bug#12321)
5545 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5547 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5550 2012-09-20 Stefan Merten <smerten@oekonux.de>
5552 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5553 Fixes feature request bug#11711.
5554 (rst-mode): Create `imenu-create-index-function'.
5555 (rst-get-stripped-line): Delete after refactoring.
5556 (rst-section-tree, rst-section-tree-rec)
5557 (rst-section-tree-point): Refactor and document properly.
5558 (rst-imenu-find-adornments-for-position)
5559 (rst-imenu-convert-cell, rst-imenu-create-index):
5562 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5564 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5565 (macroexp--expand-all): Use it.
5566 (macroexp--funcall-and-return): Remove by folding it into its sole
5567 caller (macroexp--warn-and-return).
5568 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5569 Use macroexp--obsolete-warning.
5571 * calc/calc.el: Fix last change by removing the whole chunk, since it
5572 was only needed back when Calc was not bundled.
5574 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5576 * emacs-lisp/debug.el (debug): Restore assignment to
5577 debugger-old-buffer removed on 2012-09-08.
5579 2012-09-20 Juri Linkov <juri@jurta.org>
5581 * dired-aux.el (dired-diff): Remove (require 'diff) since
5582 `diff-latest-backup-file' is now autoloaded.
5584 2012-09-20 Chong Yidong <cyd@gnu.org>
5586 * vc/diff.el (diff-latest-backup-file): Autoload.
5588 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5590 * calc/calc.el: Remove redundant autoload shape check.
5591 (sel-mode): Don't defvar.
5592 (calc-get-stack-element): Add `sel-mode' arg instead.
5593 (calc-top, calc-top-list): Pass it this additional argument.
5594 * calc/calc-store.el (calc-store-map):
5595 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5596 (calc-map-equation, calc-outer-product, calc-inner-product):
5597 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5599 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5601 2012-09-19 Juri Linkov <juri@jurta.org>
5603 * dired-aux.el (dired-diff): Add (require 'diff) because
5604 `diff-latest-backup-file' is not autoloaded.
5605 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5606 of `dired-get-filename' to t to not report error when there is
5607 no default file on the current line.
5609 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5611 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5612 macroexp--eval-if-compile.
5613 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5614 (macroexp--expand-all): Use them (bug#12371).
5616 * doc-view.el (doc-view-guess-paper-size)
5617 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5619 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5621 New feature: set optimal slice from BoundingBox information.
5622 * doc-view.el (doc-view-mode-map): Add keybinding.
5623 (doc-view-menu): Add menu entry.
5624 (doc-view-set-slice): Adapt docstring.
5625 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5626 (doc-view-scale-bounding-box)
5627 (doc-view-set-slice-from-bounding-box): New functions.
5628 (doc-view-paper-sizes): New defvar.
5630 2012-09-19 Glenn Morris <rgm@gnu.org>
5632 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5633 (byte-compile-log-warning): Autoload. (Bug#12371)
5635 * calendar/calendar.el (calendar-american-month-header)
5636 (calendar-european-month-header, calendar-iso-month-header)
5637 (calendar-month-header): New options.
5638 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5639 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5641 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5643 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5645 2012-09-18 Juri Linkov <juri@jurta.org>
5647 * dired-aux.el (dired-diff): Restore original functionality of
5648 getting the default value, but keep new feature of using the
5649 latest existing backup file (`diff-latest-backup-file').
5651 2012-09-18 Juri Linkov <juri@jurta.org>
5653 * dired.el (dired-mark): If the region is active in Transient Mark
5654 mode, mark all files in the active region. Doc fix.
5655 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5656 Doc fix. (Bug#10624)
5658 2012-09-18 Juri Linkov <juri@jurta.org>
5660 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5661 attributes for M-n are pulled from the file at point.
5662 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5663 Suggested by Drew Adams. (Bug#10624)
5665 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5667 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5668 whitespace after "end".
5669 (ruby-do-end-to-brace): Collapse block to one line if it fits
5672 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5674 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5676 (debug): Don't remove debugger window when debugger is expected
5679 2012-09-18 Chong Yidong <cyd@gnu.org>
5681 * custom.el (defface): Doc fix.
5683 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5685 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5687 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5688 to initialize query-on-exit; then test that instead (bug#12288).
5690 2012-09-17 Stefan Merten <smerten@oekonux.de>
5692 * textmodes/rst.el: Add support for `testcover'.
5693 (rst-defcustom-testcover, rst-testcover-add-compose)
5694 (rst-testcover-add-1value): New functions.
5695 (rst-portable-mark-active-p): Replace by `use-region-p'.
5696 (rst-update-section, rst-classify-adornment)
5697 (rst-find-title-line): Mark `1value' forms.
5698 (rst-classify-adornment): Remove superfluous form.
5699 (rst-update-section, rst-get-adornments-around)
5700 (rst-adornment-complete-p, rst-get-next-adornment)
5701 (rst-adjust, rst-promote-region)
5702 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5703 (rst-find-pfx-in-region, rst-section-tree-rec)
5704 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5705 (rst-toc-node, rst-toc, rst-forward-section)
5706 (rst-iterate-leftmost-paragraphs)
5707 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5708 (rst-bullet-list-region)
5709 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5710 (rst-compile-find-conf, rst-compile)
5711 (rst-repeat-last-character): Fix style.
5713 2012-09-17 Chong Yidong <cyd@gnu.org>
5715 * comint.el (comint--complete-file-name-data): Don't add a space
5716 if the status is `sole'; that adds a gratuitous space in the
5717 completion-cycling case (Bug#12092).
5719 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5721 2012-09-17 Richard Stallman <rms@gnu.org>
5723 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5724 only in the mime-shown mode, not in raw mode.
5725 (rmail-mime): Toggle off mime by displaying the message without
5726 mime processing. (Bug#12305)
5728 * mail/rmail.el (rmail-retry-failure):
5729 Turn off mime processing first. (Bug#12037)
5731 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5733 2012-09-17 Chong Yidong <cyd@gnu.org>
5735 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5736 (shell-dynamic-complete-functions): Convert to defcustom.
5737 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5739 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5740 * comint.el (comint-prompt-read-only):
5741 * custom.el (defcustom):
5742 * hi-lock.el (hi-lock-mode):
5743 * ibuffer.el (ibuffer-formats):
5744 * ielm.el (ielm-prompt-read-only):
5745 * novice.el (disable-command):
5746 * saveplace.el (toggle-save-place):
5747 * speedbar.el (speedbar-supported-extension-expressions):
5748 * startup.el (auto-save-list-file-prefix, init-file-user)
5749 (after-init-hook, inhibit-startup-echo-area-message):
5750 * strokes.el (strokes-help):
5751 * time-stamp.el (time-stamp):
5752 * calendar/calendar.el (calendar, diary-file):
5753 * calendar/diary-lib.el (diary-mail-entries, diary)
5754 (diary-list-entries-hook):
5755 * calendar/holidays.el (holidays, calendar-holidays):
5756 * calendar/lunar.el (lunar-phases):
5757 * calendar/solar.el (sunrise-sunset):
5758 * emulation/edt.el (edt-load-keys):
5759 * emulation/viper.el (viper-mode):
5760 * eshell/em-alias.el (eshell-command-aliases-list):
5761 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5762 * international/ogonek.el (ogonek-information):
5763 * net/tramp-cmds.el (tramp-bug):
5764 * net/quickurl.el (quickurl-reread-hook-postfix):
5765 * play/decipher.el (decipher-font-lock-keywords):
5766 * progmodes/cc-styles.el (c-set-style):
5767 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5768 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5769 * progmodes/octave-mod.el (octave-mode):
5770 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5771 * progmodes/verilog-mode.el (verilog-read-defines):
5772 * textmodes/two-column.el (2C-mode): Likewise.
5774 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5776 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5777 that holds many addresses.
5779 2012-09-16 Chong Yidong <cyd@gnu.org>
5781 * align.el (align-areas): Call the indication function with
5782 positions instead of markers for arguments (Bug#12343).
5784 * files.el (parse-colon-path): Use split-string (Bug#12351).
5786 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5787 (display-buffer-function): Mark as obsolete.
5789 * progmodes/compile.el (compilation-parse-errors): Accept list
5790 values similar to font-lock-keywords (Bug#12136).
5791 Suggested by Oleksandr Manzyuk.
5792 (compilation-error-regexp-alist): Doc fix.
5794 2012-09-15 Glenn Morris <rgm@gnu.org>
5796 * version.el (emacs-bzr-version-bzr): New function.
5797 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5799 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5800 checkouts, check the parent dirstate matches the branch.
5801 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5804 * version.el (emacs-bzr-version): Doc fix.
5805 (emacs-bzr-version-dirstate): New function.
5806 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5807 is local try and check that it matches the branch. If not, just
5808 use dirstate information. (Bug#12441)
5810 2012-09-14 Juri Linkov <juri@jurta.org>
5812 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5815 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5817 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5819 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5820 Remove obsolete byte-compiler hack that tried to silence some warnings.
5821 (edebug-submit-bug-report): Remove.
5822 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5823 Remove aliases, use the un-prefixed name instead.
5824 (edebug-pop-to-buffer): Consider other frames.
5825 (edebug-original-read):: Make it more obvious that it's always defined.
5826 (edebug--make-form-data-entry, edebug--form-data-name)
5827 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5828 single-dashed name, and implement with cl-defstruct.
5829 (edebug-set-form-data-entry): Use the standard accessors.
5830 (edebug-make-top-form-data-entry): Use push.
5831 (edebug-no-match): Drop useless `funcall'.
5832 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5834 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5835 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5836 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5837 (easy-menu-define, with-custom-print): Remove redundant specs.
5838 (edebug-outside-overriding-local-map)
5839 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5840 (edebug--display): Bind unread-command-events directly to nil rather
5841 than binding it to unread-command-events and later setting it to nil.
5842 (edebug--display): Kill edebug-eval-buffer here...
5843 (edebug--recursive-edit): ...rather than here.
5844 Bind standard-output and standard-input.
5845 (edebug-eval): Check cl-macroexpand-all is fboundp.
5846 (edebug-temp-display-freq-count): Fix last change.
5848 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5849 * subr.el (noreturn, 1value): Add `debug' spec.
5850 * emacs-lisp/advice.el: Require cl-lib.
5851 (ad-copy-tree): Remove, use copy-tree instead.
5852 (ad-dolist): Remove use dolist or cl-dolist instead.
5853 (ad-do-return): Remove, use cl-return instead.
5854 (defadvice): Add `debug' spec.
5856 2012-09-13 Juri Linkov <juri@jurta.org>
5858 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5861 2012-09-13 Glenn Morris <rgm@gnu.org>
5863 * calc/calc.el (math-compose-expr):
5864 * calc/calc-ext.el (math-compose-expr):
5865 * progmodes/cc-defs.el (cl-macroexpand-all):
5866 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5867 (cl-macroexpand-all): Update declarations.
5869 * vc/vc.el: No need to require ediff.
5870 (ediff-load-version-control): Declare.
5871 (ediff-vc-internal): Fix declaration.
5872 (vc-version-ediff): Require ediff.
5874 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5876 Use a more backwards-compatible timer format (Bug#12430).
5877 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5878 being right after USECS, as that better supports old code that
5879 inadvisedly looked directly at the timer vector.
5881 2012-09-13 Kenichi Handa <handa@gnu.org>
5883 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5884 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5885 `coding-priority' property of these language environment.
5887 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5889 Fix glitches caused by addition of psec to timers (Bug#12430).
5890 * image.el (image-animate-timer):
5891 * time.el (display-time-world-timer):
5892 Use timer--function and timer--args rather than raw access to
5895 2012-09-13 Glenn Morris <rgm@gnu.org>
5897 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5898 If not compiling a file, try using load-file-name.
5900 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5902 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5904 (edebug-update-eval-list): Use `push'.
5906 * emacs-lisp/edebug.el: Use lexical-binding.
5907 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5908 Mark unused args with underscore.
5909 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5910 (edebug-form-data): Use defvar-local.
5911 (edebug-make-before-and-after-form, edebug-make-after-form):
5913 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5914 Not dynamically scoped any more.
5915 (edebug--enter-trace): Add arguments `function' and `args'.
5916 Rename from edebug-enter-trace.
5917 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5918 (edebug--update-coverage): Add `after-index' and `value' args.
5919 Rename from edebug-update-coverage.
5920 (edebug-slow-after): Call it accordingly.
5921 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5922 edebug-recursive-edit.
5923 (edebug--display): Call it accordingly. Add args `value',
5924 `offset-index', and `arg-mode'. Rename from edebug-display.
5925 (edebug-debugger, edebug): Call it accordingly.
5926 (edebug-eval-display-list): Use dolist.
5928 2012-09-12 Juri Linkov <juri@jurta.org>
5930 * info.el (Info-search): Don't check for isearch-mode and
5931 isearch-regexp before let-binding search-spaces-regexp to
5932 Info-search-whitespace-regexp.
5933 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5934 search-whitespace-regexp if isearch-lax-whitespace or
5935 isearch-regexp-lax-whitespace is non-nil.
5936 (Info-mode): Don't set local variable search-whitespace-regexp.
5937 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5939 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5941 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5942 (debugger-env-macro): Remove support for unread-command-char.
5944 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5945 the temporary map re-appearing on emulation-mode-map-alists.
5947 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5950 * ehelp.el (with-electric-help): Accept functions in
5951 electric-help-form-to-execute.
5952 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5953 And replace unread-command-char -> unread-command-events.
5955 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5957 Sync with Tramp 2.2.6.
5959 * net/tramp.el (tramp-accept-process-output): Don't use
5960 JUST-THIS-ONE in the XEmacs case.
5962 * net/trampver.el: Update release number.
5964 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5966 * emacs-lisp/debug.el (debugger-previous-window-height):
5968 (debug): When debugger-jumping-flag is non-nil try to restore
5969 height of debugger window. (Bug#8789)
5971 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5973 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5974 overriding-local-map and pre/post-command-hook here.
5975 (edebug-recursive-edit): Do it here instead (bug#12345).
5976 (edebug-outside-unread-command-char): Remove all uses of
5977 unread-command-char.
5979 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5980 inhibit-debugger is bound instead.
5982 2012-09-11 Bastien Guerry <bzg@gnu.org>
5984 * subr.el (set-temporary-overlay-map): Add a docstring.
5987 2012-09-11 Bastien Guerry <bzg@gnu.org>
5989 * minibuffer.el (completion-table-subvert): Fix docstring.
5992 2012-09-11 Bastien Guerry <bzg@gnu.org>
5994 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
5996 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5998 * progmodes/sql.el: Version 3.1
5999 (sql-db2-escape-newlines): New variable.
6000 (sql-escape-newlines-filter): Use it.
6002 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6004 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6006 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6008 * vc/diff-mode.el (diff-mode-menu):
6009 Bind diff-remove-trailing-whitespace.
6011 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6013 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6014 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6015 (emacs-lisp-byte-code-mode): New functions.
6016 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6017 (eval-defun-2): Remove bogus interactive spec.
6018 (lisp-indent-line): Remove redundant whole-exp code, now done in
6019 indent-according-to-mode.
6020 (save-match-data): Remove redundant indent data.
6022 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6025 2012-09-09 Juri Linkov <juri@jurta.org>
6027 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6028 (replace-lax-whitespace, query-replace-regexp)
6029 (query-replace-regexp-eval, replace-regexp): Doc fix.
6030 (perform-replace, replace-highlight): Let-bind
6031 isearch-lax-whitespace to replace-lax-whitespace and
6032 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6034 * isearch.el (isearch-query-replace): Let-bind
6035 replace-lax-whitespace to isearch-lax-whitespace and
6036 replace-regexp-lax-whitespace to
6037 isearch-regexp-lax-whitespace. (Bug#10885)
6039 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6041 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6043 2012-09-09 Alan Mackenzie <acm@muc.de>
6045 * progmodes/cc-engine.el (c-state-cache-init):
6046 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6047 (c-record-parse-state-state):
6048 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6050 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6052 * register.el (register-separator): Rename from
6053 separator-register. All uses changed. Doc fix.
6054 (register): Fix version.
6056 2012-09-09 Chong Yidong <cyd@gnu.org>
6058 * replace.el (query-replace-map): Bind four new symbols for
6059 requesting window scrolling.
6061 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6062 query-replace-map (Bug#8948).
6064 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6066 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6067 since they are now in query-replace-map.
6069 * window.el (scroll-other-window-down): Make the arg optional.
6071 2012-09-09 Chong Yidong <cyd@gnu.org>
6073 * files.el (hack-local-variables-confirm): Use quit-window to kill
6074 the *Local Variables* buffer.
6076 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6078 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6079 not just expect to be at its beginning. Adjust callees.
6080 Succeed when do-end block has no space before the pipe character.
6081 (ruby-brace-to-do-end): When the original block is one-liner,
6082 convert to multiline. Reindent the result.
6084 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6086 * register.el (register): New group.
6087 (separator-register): New user option.
6088 (increment-register): Route it to `append-to-register', if
6089 register contains text. Implication is that `C-x r +' can now be
6090 used for appending to a text register (bug#12217).
6091 (append-to-register, prepend-to-register): Add separator based on
6092 `separator-register'.
6094 2012-09-08 Alan Mackenzie <acm@muc.de>
6096 AWK Mode: make auto-newline work when there's "==" in the pattern.
6097 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6099 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6100 Test more rigorously for "=" token.
6102 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6104 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6105 Only fail when reached LIMIT.
6107 2012-09-08 Chong Yidong <cyd@gnu.org>
6109 * dired.el (dired-mode-map): Don't bind M-=.
6111 * dired-aux.el (dired-diff): Use backup file as default.
6113 2012-09-08 Drew Adams <drew.adams@oracle.com>
6115 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6117 2012-09-08 Chong Yidong <cyd@gnu.org>
6119 * subr.el (syntax-after, syntax-class): Doc fix.
6121 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6123 * window.el (display-buffer-in-previous-window): New buffer
6124 display action function.
6126 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6127 (debugger-previous-window): New variable.
6128 (debug): Rewrite using display-buffer-in-previous-window,
6129 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6131 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6133 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6135 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6137 * progmodes/python.el (python-shell-send-string):
6138 When default-directory is remote, create temp file on remote
6140 (python-shell-send-file): When file is remote, pass local view of
6141 file paths to remote Python interpreter. (Bug#12340)
6143 2012-09-07 Chong Yidong <cyd@gnu.org>
6145 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6147 * files.el (after-find-file): Don't fail on a read-only buffer if
6148 require-final-newline is `visit' or `visit-save' (Bug#11156).
6150 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6152 * userlock.el (ask-user-about-supersession-threat):
6153 Use read-char-choice (Bug#12093).
6155 2012-09-07 Chong Yidong <cyd@gnu.org>
6157 * subr.el (buffer-narrowed-p): New function.
6159 * ses.el (ses-widen):
6160 * simple.el (count-words--buffer-message):
6161 * net/browse-url.el (browse-url-of-buffer): Use it.
6163 * simple.el (count-words-region): Don't signal an error if there
6164 is a non-nil prefix arg and the mark is not set.
6166 * help.el (describe-key-briefly): Allow the message to be seen
6167 when invoked from the minibuffer (Bug#7014).
6169 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6171 * progmodes/ruby-mode.el (ruby-end-of-defun)
6172 (ruby-beginning-of-defun): Simplify, allow indentation before
6173 block beginning and end keywords.
6174 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6175 (ruby-end-of-defun): Expect that the point is at the beginning of
6178 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6180 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6182 (cl--make-usage-args): Strip _ from argument names.
6184 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6186 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6187 obsolete alias speedbar-key-map.
6188 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6189 (vhdl-index-menu-init): Don't use obsolete variable
6190 font-lock-maximum-size.
6192 2012-09-06 Chong Yidong <cyd@gnu.org>
6194 * frame.el (window-system-version): Mark as obsolete.
6196 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6197 of obsolete variable speedbar-key-map.
6199 2012-09-06 Juri Linkov <juri@jurta.org>
6201 * replace.el (replace-lax-whitespace): New defcustom.
6202 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6203 (replace-string, replace-regexp): Mention it in docstrings.
6204 (perform-replace, replace-highlight): Let-bind
6205 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6206 to the values of replace-lax-whitespace and regexp-flag.
6207 Don't let-bind search-whitespace-regexp. (Bug#10885)
6209 * isearch.el (isearch-query-replace): Let-bind
6210 replace-lax-whitespace instead of let-binding
6211 replace-search-function and replace-re-search-function.
6212 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6213 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6214 (isearch-toggle-symbol): Set isearch-regexp to nil
6215 in isearch-word mode (like in isearch-toggle-word).
6217 2012-09-06 Juri Linkov <juri@jurta.org>
6219 * replace.el (replace-search-function)
6220 (replace-re-search-function): Set default values to nil.
6221 (perform-replace): Let-bind isearch-related variables based on
6222 replace-related values, call `isearch-search-fun' and let-bind
6223 the result to `search-function'. Remove code that sets
6224 `search-function' and `search-string' separately for
6226 (replace-highlight): Add new argument `delimited-flag' and
6227 rename other arguments to the names used in `perform-replace'.
6228 Let-bind `isearch-word' to the argument `delimited-flag'.
6229 (Bug#10885, bug#10887)
6231 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6233 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6234 ruby-beginning-of-indent, simplify, allow all keywords to have
6235 indentation before them.
6236 (ruby-beginning-of-indent): Adjust for above. Search until the
6237 found point is not inside a string or comment.
6238 (ruby-font-lock-keywords): Allow symbols to start with "@"
6239 character, give them higher priority than variables.
6240 (ruby-syntax-propertize-function)
6241 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6242 matchers. Expression expansions are not comments when inside a
6243 string, and there comment syntax status is irrelevant.
6244 (ruby-match-expression-expansion): New function. Check that
6245 expression expansion is inside a string, and it's not escaped.
6246 (ruby-font-lock-keywords): Use it.
6248 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6250 * help.el (temp-buffer-max-height): New default value.
6251 (temp-buffer-resize-frames): New option.
6252 (resize-temp-buffer-window): Optionally resize frame.
6254 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6255 (fit-frame-to-buffer): New function.
6257 2012-09-05 Glenn Morris <rgm@gnu.org>
6259 * emulation/cua-rect.el (cua--init-rectangles):
6260 * textmodes/picture.el (picture-mode-map):
6261 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6262 like forward-char and backward-char. (Bug#12317)
6264 2012-09-05 Leo Liu <sdl.web@gmail.com>
6266 * progmodes/flymake.el (flymake-warning-re): New variable.
6267 (flymake-parse-line): Use it.
6269 2012-09-05 Glenn Morris <rgm@gnu.org>
6271 * calendar/holidays.el (holiday-christian-holidays):
6272 Rename an entry. (Bug#12289)
6274 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6276 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6279 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6281 * loadup.el: Load macroexp. Remove hack.
6282 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6283 (macroexp--expand-all): Use it to get better warnings.
6284 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6285 (internal-macroexpand-for-load): New functions.
6286 (macroexp--pending-eager-loads): New var.
6287 (emacs-startup-hook): New hack to replace one in loadup.el.
6288 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6289 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6290 (cl-psetf): Simplify.
6291 (cl-defstruct): Add indent rule.
6293 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6295 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6296 over `user-mail-address' for the SMTP MAIL FROM envelope.
6297 (smtpmail-via-smtp): Ditto.
6299 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6301 * progmodes/ruby-mode.el: Clean up keybindings.
6302 (ruby-mode-map): Don't bind ruby-electric-brace,
6303 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6304 backward-kill-word, reindent-then-newline-and-indent.
6305 (ruby-mark-defun): Remove.
6306 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6307 (ruby-mode): Set local beginning-of-defun-function and
6308 end-of-defun-function values.
6310 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6312 * window.el (temp-buffer-window-setup-hook)
6313 (temp-buffer-window-show-hook): New hooks.
6314 (temp-buffer-window-setup, temp-buffer-window-show)
6315 (with-temp-buffer-window): New functions.
6316 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6317 (special-display-popup-frame): Make sure the window used shows BUFFER.
6319 * help.el (temp-buffer-resize-mode): Fix doc-string.
6320 (resize-temp-buffer-window): New optional argument WINDOW.
6322 * files.el (recover-file, save-buffers-kill-emacs):
6323 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6325 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6327 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6328 remote definition of `default-directory', ensure we can connect.
6330 2012-09-02 Juri Linkov <juri@jurta.org>
6332 Toggle whitespace matching mode with M-s SPC.
6333 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6335 * isearch.el (search-whitespace-regexp): Doc fix.
6336 Remove cons cell customization.
6337 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6338 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6340 (isearch-forward, isearch-forward-regexp): Doc fix.
6341 (isearch-toggle-lax-whitespace): New command.
6342 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6343 (re-search-forward-lax-whitespace)
6344 (re-search-backward-lax-whitespace): New functions.
6345 (isearch-whitespace-regexp): Remove function.
6346 (isearch-query-replace): Let-bind replace-search-function and
6347 replace-re-search-function.
6348 (isearch-occur): Let-bind search-spaces-regexp according to the
6349 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6350 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6351 condition for C-q SPC.
6352 (isearch-search-fun-default): Use new functions mentioned above.
6353 (isearch-search-forward, isearch-search-backward): Remove functions.
6354 (isearch-search): Don't let-bind search-spaces-regexp.
6355 (isearch-lazy-highlight-space-regexp): Remove variable.
6356 (isearch-lazy-highlight-lax-whitespace)
6357 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6358 (isearch-lazy-highlight-new-loop): Use them.
6359 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6361 2012-09-02 Chong Yidong <cyd@gnu.org>
6363 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6365 2012-09-02 Glenn Morris <rgm@gnu.org>
6367 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6369 2012-09-01 Glenn Morris <rgm@gnu.org>
6371 * term.el: Tidy up menu definitions.
6372 (term-mode-map): Use easymenu for In/Out, Complete menus.
6373 (term-pager-break-map): Initialize in the defvar.
6374 (term-terminal-menu, term-signals-menu): Define with easymenu.
6375 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6376 (term-pager-menu): New, extracted from term-process-pager.
6377 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6378 (term-update-mode-line): Propertize line/char and page items.
6379 (term-process-pager): Move keymap initialization elsewhere.
6381 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6383 * window.el (switch-to-prev-buffer): Handle additional values of
6384 BURY-OR-KILL argument. Don't switch in minibuffer window.
6385 (switch-to-next-buffer): Don't switch in minibuffer window.
6386 (quit-restore-window): New function based on quit-window.
6387 Handle additional values of former KILL argument.
6388 (quit-window): Call quit-restore-window with appropriate
6389 interpretation of KILL argument.
6390 (display-buffer-below-selected): New buffer display action
6393 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6395 * minibuffer.el (completion-at-point-functions): Complete docstring
6398 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6400 Better seed support for (random).
6401 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6402 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6403 * play/mpuz.el, play/tetris.el, play/zone.el:
6404 * calc/calc-comb.el (math-init-random-base):
6405 * play/blackbox.el (bb-init-board):
6406 * play/life.el (life):
6407 * server.el (server-use-tcp):
6408 * type-break.el (type-break):
6409 Remove unnecessary call to (random t).
6410 * net/sasl.el (sasl-unique-id-function):
6411 Change (random t) to (random), now that the latter is more random.
6412 * play/life.el (life-initialized): Remove no-longer-needed var.
6414 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6416 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6417 Consider frame's buffer predicate when choosing the buffer.
6420 2012-08-30 Richard Stallman <rms@gnu.org>
6422 * simple.el (special-mode-map): Delete binding for `z'.
6424 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6426 * progmodes/compile.el (compilation-always-kill): Doc fix.
6428 2012-08-30 Chong Yidong <cyd@gnu.org>
6430 * window.el (display-buffer-reuse-frames): Make the obsolescence
6431 message more informative.
6433 2012-08-30 Glenn Morris <rgm@gnu.org>
6435 * paren.el (show-paren-delay):
6436 Add a :set function. Doc fix. (Bug#12297)
6438 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6440 * progmodes/compile.el (compilation-always-kill): New var.
6441 (compilation-start): Use it.
6443 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6445 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6446 * files.el (read-only-mode): Move to simple.el.
6448 * files.el (read-only-mode): New minor mode.
6449 (toggle-read-only): Use it and mark obsolete.
6450 (find-file--read-only):
6451 * vc/vc.el (vc-next-action, vc-checkout):
6452 * vc/vc-cvs.el (vc-cvs-checkout):
6453 * obsolete/vc-mcvs.el (vc-mcvs-update):
6454 * ffap.el (ffap--toggle-read-only): Update callers.
6456 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6458 * eshell/esh-ext.el (eshell-external-command): Do not examine
6459 remote shell scripts.
6460 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6462 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6465 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6467 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6469 2012-08-28 Leo Liu <sdl.web@gmail.com>
6471 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6472 completion-at-point. (Bug#12220)
6474 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6476 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6478 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6480 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6481 be buffer-local; add delete-trailing-whitespace (bug#12259).
6483 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6485 * progmodes/hideif.el (hif-compress-define-list):
6486 Fix typo. (Bug#11951)
6488 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6490 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6491 buffer local setting.
6493 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6494 rcirc-encode-coding-system.
6496 2012-08-28 Leo Liu <sdl.web@gmail.com>
6498 * net/rcirc.el (rcirc-split-message): New function.
6499 (rcirc-send-message): Use it. (Bug#12051)
6501 2012-08-28 Juri Linkov <juri@jurta.org>
6503 * info.el (Info-fontify-node): Hide empty lines at the end of
6504 the node. (Bug#12272)
6506 2012-08-27 Drew Adams <drew.adams@oracle.com>
6508 * dired.el (dired-pop-to-buffer): Make window start at beginning
6509 of buffer (Bug#12281).
6511 2012-08-26 Chong Yidong <cyd@gnu.org>
6513 * window.el (special-display-regexps, special-display-frame-alist)
6514 (special-display-buffer-names, special-display-function)
6515 (display-buffer-reuse-frames): Mark as obsolete.
6517 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6519 * help.el (help-print-return-message): Don't treat
6520 display-buffer-reuse-frames specially.
6522 2012-08-26 Chong Yidong <cyd@gnu.org>
6524 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6525 New variable, replacing gdb-frame-parameters.
6526 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6527 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6528 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6529 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6530 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6531 the functions directly with gdb-display-buffer-other-frame-action.
6532 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6533 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6534 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6535 (gdb-display-registers-buffer): Define directly.
6536 (def-gdb-display-buffer): Macro deleted.
6537 (gdb-display-buffer): Remove second and third args, callers don't
6538 use them. Defer to the default display-buffer behavior, apart
6539 from making windows dedicated.
6540 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6542 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6544 * window.el (display-buffer-pop-up-frame): Handle a
6545 pop-up-frame-parameters alist entry.
6546 (display-buffer): Document it.
6548 2012-08-26 Chong Yidong <cyd@gnu.org>
6550 * isearch.el (search-whitespace-regexp): Make string and nil
6551 values apply to both ordinary and regexp search. Allow a cons
6552 cell value to distinguish between the two.
6553 (isearch-whitespace-regexp, isearch-search-forward)
6554 (isearch-search-backward): New functions.
6555 (isearch-occur, isearch-search-fun-default, isearch-search)
6556 (isearch-lazy-highlight-new-loop): Use them.
6557 (isearch-forward, isearch-forward-regexp): Doc fix.
6559 2012-08-26 Chong Yidong <cyd@gnu.org>
6561 * faces.el (help-argument-name): Always inherit from italic
6564 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6566 * window.el (window--even-window-heights): Even heights when
6567 WINDOW and the selected window form a vertical combination.
6568 (display-buffer-use-some-window): Provide that window used gets
6569 sized back by quit-window. (Bug#11880) and (Bug#12091)
6571 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6573 Fix file time stamp problem with bzr and CVS (Bug#12001).
6574 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6575 in the file's time stamp, since the version control system loses
6578 2012-08-22 Juri Linkov <juri@jurta.org>
6580 * info.el (Info-fontify-node): Hide the suffix of the
6581 Info file name in the header line. (Bug#12187)
6583 2012-08-22 Glenn Morris <rgm@gnu.org>
6585 * calendar/cal-tex.el (cal-tex-weekly-common):
6586 Restore leading blank page.
6588 2012-08-22 Le Wang <l26wang@gmail.com>
6590 * misc.el (forward-to-word, backward-to-word): Activate or extend
6591 the region under `shift-select-mode'. (Bug#12231)
6593 2012-08-22 Bastien Guerry <bzg@gnu.org>
6595 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6596 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6597 gives details on why the space is never needed.
6599 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6601 * window.el (walk-window-tree, window-with-parameter):
6602 New optional argument MINIBUF to control whether these functions
6603 should run on the minibuffer window.
6604 (window-at-side-list): Don't operate on minibuffer window.
6605 (window-in-direction): Simplify and rewrite doc-string.
6606 (window--size-ignore): Rename to window--size-ignore-p.
6608 (display-buffer-in-atom-window, window--major-non-side-window)
6609 (window--major-side-window, display-buffer-in-major-side-window)
6610 (delete-side-window, display-buffer-in-side-window):
6612 (window--side-check, window-deletable-p, delete-window)
6613 (delete-other-windows, split-window): Handle side windows and
6614 atomic windows appropriately.
6615 (window--display-buffer): Call display-buffer-record-window also
6616 when the window buffer did not change.
6618 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6620 * help-fns.el (help-fns--key-bindings):
6621 Abbreviate non-symbol remap targets. (Bug#12174)
6623 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6625 * dired.el (dired-mark-remembered): Don't clobber point.
6628 2012-08-22 Glenn Morris <rgm@gnu.org>
6630 * progmodes/bug-reference.el (bug-reference): New custom group.
6631 (bug-reference-bug-regexp): Make it a defcustom.
6633 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6635 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6636 (js-paren-indent-offset, js-square-indent-offset)
6637 (js-curly-indent-offset): Add :safe (Bug#12257).
6639 2012-08-22 Edward O'Connor <hober0@gmail.com>
6641 * json.el (json-key-format): Add error properties.
6642 (json-encode-key): New function.
6643 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6644 Use json-encode-key.
6646 2012-08-22 Glenn Morris <rgm@gnu.org>
6648 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6649 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6650 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6651 Update for above change.
6653 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6655 * cus-face.el (custom-face-attributes): Fix customize type for the
6656 :underline attribute. (Bug#11805)
6658 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6660 * window.el (window-point-1, set-window-point-1): Remove.
6661 (window-in-direction, record-window-buffer)
6662 (set-window-buffer-start-and-point, split-window-below)
6663 (window--state-get-1, display-buffer-record-window):
6664 Replace calls to window-point-1 and set-window-point-1 by calls to
6665 window-point and set-window-point respectively.
6667 2012-08-21 Glenn Morris <rgm@gnu.org>
6669 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6670 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6673 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6674 (cal-tex-shortday): New function.
6675 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6676 (cal-tex-cursor-filofax-daily): Use the above.
6678 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6680 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6681 (cal-tex-cursor-filofax-week): Use them.
6683 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6685 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6686 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6688 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6689 (cal-tex-end-document): Don't rely on buffer name.
6691 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6693 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6694 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6695 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6698 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6699 (cal-tex-cursor-week, cal-tex-cursor-week2)
6700 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6701 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6702 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6703 (cal-tex-insert-preamble, cal-tex-b-document)
6704 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6705 Improve cal-tex-cmd usage.
6707 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6708 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6709 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6710 (cal-tex-weekly-paper): New function.
6711 (cal-tex-cursor-week, cal-tex-cursor-week2)
6712 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6713 (cal-tex-cursor-day): Use it.
6715 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6716 (cal-tex-cursor-filofax-week): Remove leading blank page.
6718 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6719 Add autoload cookie. For now at least, don't use color, since
6720 no other cal-tex function does.
6722 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6723 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6724 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6726 2012-08-21 Juri Linkov <juri@jurta.org>
6728 * info.el (Info-file-attributes): New variable.
6729 (info-insert-file-contents): Add file attributes to
6730 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6731 `Info-toc-nodes' when previous modtime of the Info file is less
6733 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6734 of info.el. (Bug#12230)
6736 2012-08-20 Glenn Morris <rgm@gnu.org>
6738 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6739 * calendar/holidays.el (calendar-holiday-list):
6740 Report errors with display-warning rather than beep'n'sleep.
6742 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6744 * net/tramp.el (tramp-accept-process-output): Accept only output
6745 from PROC. Otherwise, process filters and sentinels might be
6746 confused. (Bug#12145)
6748 2012-08-20 Chong Yidong <cyd@gnu.org>
6750 * descr-text.el (describe-text-properties-1): Use overlays-in to
6751 report on empty overlays (Bug#3322).
6753 2012-08-20 Glenn Morris <rgm@gnu.org>
6755 * mail/rmailout.el (rmail-output-read-file-name):
6756 Trap and report errors in rmail-output-file-alist elements.
6758 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6759 since most non-font-lock faces are not also variables).
6761 2012-08-20 Edward Reingold <reingold@iit.edu>
6763 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6764 New function. (Bug12160)
6766 2012-08-19 Glenn Morris <rgm@gnu.org>
6768 * mail/rmailout.el (rmail-output-read-file-name):
6769 Fix previous change (when the alist is nil or does not match).
6771 2012-08-19 Chong Yidong <cyd@gnu.org>
6773 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6776 2012-08-18 Chong Yidong <cyd@gnu.org>
6778 * simple.el (yank-handled-properties): New defcustom.
6779 (yank-excluded-properties): Add font-lock-face and category.
6782 * subr.el (remove-yank-excluded-properties):
6783 Obey yank-handled-properties. The special handling of font-lock-face
6784 and category is now done this way, instead of being hard-coded.
6785 (insert-for-yank-1): Remove font-lock-face handling.
6786 (yank-handle-font-lock-face-property)
6787 (yank-handle-category-property): New function.
6789 2012-08-17 Glenn Morris <rgm@gnu.org>
6791 * mail/rmailout.el (rmail-output-read-file-name):
6792 Check rmail-output-file-alist against the full message body
6793 in the correct rmail buffer. (Bug#12214)
6795 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6797 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6798 Eliminate superfluous prompt. (Bug#12203)
6800 2012-08-17 Chong Yidong <cyd@gnu.org>
6802 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6803 font spec, set the font directly (Bug#3228).
6805 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6807 * window.el (delete-window): Fix last fix.
6809 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6811 * window.el (window-valid-p): Move to window.c.
6812 (window-child, window-child-count, window-last-child)
6813 (window-normalize-window, window-combined-p)
6814 (window-combinations, window-atom-root, window-min-size)
6815 (window-sizable, window-sizable-p, window-size-fixed-p)
6816 (window-min-delta, window-max-delta, window--resizable)
6817 (window--resizable-p, window-resizable, window-total-size)
6818 (window-full-height-p, window-full-width-p, window-body-size)
6819 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6820 (minimize-window, window-deletable-p, delete-window)
6821 (delete-other-windows, set-window-buffer-start-and-point)
6822 (next-buffer, previous-buffer, split-window, balance-windows-2)
6823 (set-window-text-height, window-buffer-height)
6824 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6825 (truncated-partial-width-window-p): Minor code adjustments.
6826 In doc-strings state whether the argument window has to denote a
6827 live, valid or any window.
6829 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6831 * progmodes/subword.el (subword-forward-function)
6832 (subword-backward-function, subword-forward-regexp)
6833 (subword-backward-regexp): New variables.
6834 (subword-forward, subword-forward-internal, subword-backward-internal):
6835 Use new variables, eg so that different "word" definitions
6836 can be easily used. (Bug#11411)
6838 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6840 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6841 for composite selectors.
6842 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6843 operation just because we can't find a previous revision.
6845 2012-08-15 Chong Yidong <cyd@gnu.org>
6847 * frame.el (set-frame-font): Accept font objects.
6849 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6851 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6853 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6855 * man.el (Man-overstrike-face, Man-underline-face)
6856 (Man-reverse-face): Remove variables.
6857 (Man-overstrike, Man-underline, Man-reverse): New faces.
6858 (Man-fontify-manpage): Use them instead of the variables.
6859 (Man-cleanup-manpage): Comment change.
6860 (Man-ansi-color-map): New variable.
6861 (Man-fontify-manpage): Use it.
6862 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6864 Implement ANSI SGR parameters 22-27 (bug#12146).
6865 * ansi-color.el (ansi-colors): Doc fix.
6866 (ansi-color-context, ansi-color-context-region): Doc fix.
6867 (ansi-color--find-face): New function.
6868 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6869 Rename the local variable `face' to `codes' since it is now a list of
6870 ansi codes. Doc fix.
6871 (ansi-color-get-face): Remove.
6872 (ansi-color-parse-sequence): New function, derived from
6873 ansi-color-get-face.
6874 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6877 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6879 * subr.el (read-passwd): Allow use from a minibuffer.
6881 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6883 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6884 inside comments and strings as identifiers.
6886 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6887 expression to evaluate. This allows to evaluate expressions with
6888 embedded whitespace.
6889 (gud-tooltip-tips): Add a blank before the newline in the
6890 message-box text, for the benefit of message-box emulation on
6893 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6894 messages from GDB, pop them up in a tooltip to give feedback to
6896 (gdb-tooltip-print-1): Quote the expression to evaluate.
6897 This allows to evaluate expressions with embedded whitespace.
6898 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6899 if the TTY name is nil or empty (which happens when communicating
6900 with the inferior via pipes, e.g. on MS-Windows).
6901 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6902 don't send that to the GUD buffer.
6904 2012-08-14 Glenn Morris <rgm@gnu.org>
6906 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6907 Optimize away setq-default with no args, as for setq. (Bug#12195)
6909 2012-08-14 Chong Yidong <cyd@gnu.org>
6911 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6913 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6916 2012-08-14 Glenn Morris <rgm@gnu.org>
6918 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6920 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6922 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6923 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6924 Use cached shell name.
6926 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6928 * progmodes/python.el (python-shell-send-string):
6929 (python-shell-send-setup-code): Do not use `format' with `message'.
6931 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6933 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6934 (ruby-percent-literal-beg-re): New constant.
6935 (ruby-syntax-general-delimiters-goto-beg): Rename to
6936 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6937 (ruby-syntax-propertize-general-delimiters): Rename to
6938 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6939 popular term. Adjust comments everywhere.
6940 (ruby-syntax-propertize-percent-literal): Only propertize when not
6941 inside a simple string or comment. When the literal is unclosed,
6942 leave the text after it unpropertized.
6943 (ruby-syntax-methods-before-regexp): New constant.
6944 (ruby-syntax-propertize-function): Use it to recognize regexps.
6945 Don't look at the text after regexp, just use the whitelist.
6947 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6949 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6950 non-nil always load the compiled file if it exists. (Bug#12197)
6952 2012-08-14 Chong Yidong <cyd@gnu.org>
6954 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6955 (hi-lock-set-pattern): When deciding whether to use font lock or
6956 overlays, look at font-lock-mode instead of font-lock-fontified
6958 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6959 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6961 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6963 * subr.el (internal--after-with-selected-window): Fix typo
6966 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6968 Use `completion-table-dynamic' for completion functions.
6969 * progmodes/python.el
6970 (python-shell-completion--do-completion-at-point)
6971 (python-shell-completion--get-completions):
6973 (python-shell-completion-complete-at-point): New function.
6974 (python-completion-complete-at-point): Use it.
6976 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6978 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6979 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6981 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6983 * subr.el (function-get): Refine `autoload' arg so it can also
6984 autoload functions for gv.el (bug#12191).
6985 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6988 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6989 Prefer pcase-let over destructuring-bind.
6990 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6991 Also, remove whitespace as we go, rather than after accumulating the
6994 * subr.el (internal--before-with-selected-window)
6995 (internal--after-with-selected-window): Fix typo seleted->selected.
6996 (with-selected-window): Adjust callers.
6997 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6999 2012-08-13 Bastien Guerry <bzg@gnu.org>
7001 * window.el (special-display-popup-frame): Minor docstring
7002 enhancement. (Bug#12172)
7004 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7006 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7008 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7011 * files.el (hack-local-variables-filter): Remove useless eval.
7013 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7015 * subr.el (with-selected-window): Fix last change.
7017 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7019 * subr.el (internal--before-with-seleted-window)
7020 (internal--after-with-seleted-window): New functions.
7021 (with-selected-window): Use them, to replace dependency on
7024 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7026 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7027 binding for `newline'.
7028 (ruby-move-to-block): When moving backward, stop at block opening,
7030 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7031 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7032 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7033 `ruby-toggle-block'.
7035 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7037 * ibuffer.el (ibuffer-do-toggle-read-only):
7038 * dired.el (dired-toggle-read-only):
7039 * buff-menu.el (Buffer-menu-toggle-read-only):
7040 * bindings.el (mode-line-toggle-read-only):
7041 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7043 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7045 * descr-text.el (describe-char): Put the overlays over the
7046 "displayed as" character.
7048 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7050 * calc/calc-units.el (math-default-units-table): Give an
7052 (math-put-default-units): Add options to put composite units and
7053 unit systems in the default units table.
7054 (calc-convert-units): Send composite units to
7055 `math-put-default-units' when appropriate.
7057 2012-08-11 Glenn Morris <rgm@gnu.org>
7059 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7061 * tutorial.el (help-with-tutorial):
7062 * emacs-lisp/copyright.el (copyright-update-directory):
7063 * emacs-lisp/autoload.el (autoload-find-generated-file)
7064 (autoload-find-file): Disable local eval: (for insurance).
7066 * files.el (hack-local-variables-filter): If an eval: form is not
7067 known to be safe, and enable-local-variables is :safe, then ignore
7068 the form totally, as is done for non-eval forms. (Bug#12155)
7069 This is CVE-2012-3479.
7071 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7073 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7074 (rx-form): Simplify.
7076 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7078 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7079 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7080 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7081 (ruby-syntax-propertize-function): Adjust for changes in
7082 `ruby-syntax-propertize-heredoc'.
7084 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7086 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7087 binding (use `M-;' instead).
7088 (ruby-singleton-class-p): New function.
7089 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7091 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7093 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7095 2012-08-10 Chong Yidong <cyd@gnu.org>
7097 * progmodes/python.el (python-shell-get-process-name): Don't mess
7098 with same-window-buffer-names.
7100 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7101 (eshell-remove-from-window-buffer-names): Make obsolete.
7102 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7103 (eshell): Just use pop-to-buffer-same-window instead.
7105 2012-08-10 Chong Yidong <cyd@gnu.org>
7107 * bindings.el: Bind M-= back to count-words-region.
7109 * simple.el (count-words-region): Accept a prefix arg for acting
7110 on the entire buffer.
7111 (count-words--buffer-message): New helper function.
7113 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7115 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7116 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7117 (event-start, event-end): Use posn-at-point to return a more
7119 (posnp): New function.
7120 * mouse.el (popup-menu-normalize-position): Use it.
7122 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7124 * mouse.el (popup-menu-normalize-position): New function.
7125 (popup-menu): Use `popup-menu-normalize-position' to normalize
7126 the form for POSITION argument.
7128 * term/x-win.el (x-menu-bar-open):
7129 Use the value returend from (posn-at-point) as position
7130 passed to `popup-menu'.
7132 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7134 * calc/calccomp.el (math-compose-expr): Add extra argument
7135 indicating that parentheses should be put around products in
7136 denominators. Give multiplication precedence over division during
7139 2012-08-09 Chong Yidong <cyd@gnu.org>
7141 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7142 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7143 (Man-untabify-command, manual-program): Convert to defcustom
7146 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7148 * descr-text.el (describe-char): Don't insert extra newlines
7151 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7152 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7154 * align.el (align-region): Delete temporary markers (Bug#10047).
7155 Plus some code cleanups.
7157 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7159 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7160 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7161 (python-shell-internal-last-output): Use make-local-variable
7162 instead of make-variable-buffer-local.
7164 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7166 * progmodes/python.el: Enhancements to forward-sexp.
7167 (python-nav-forward-sexp): Rename from
7168 python-nav-forward-sexp-function.
7169 (python-nav--forward-sexp, python-nav--backward-sexp):
7172 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7174 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7175 modes and simplification modes.
7177 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7179 * delsel.el (delete-selection-pre-hook): Don't propagate the
7180 file-supersession signals (bug#12161).
7182 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7184 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7185 (cl-map-extents): Add compatibility aliases (bug#12135).
7187 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7189 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7190 tests by `ignore-error'.
7191 (tramp-find-shell): Open also a new shell, when cache is already
7192 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7194 2012-08-08 Juri Linkov <juri@jurta.org>
7196 * bookmark.el: Add `defaults' property to the bookmark record.
7197 (bookmark-current-buffer): Doc fix.
7198 (bookmark-make-record): Add `defaults' property with default values
7199 to the bookmark record.
7200 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7201 with `bookmark-insert-current-bookmark'.
7202 (bookmark-set): Get `defaults' property from the bookmark record
7203 and use it in `read-from-minibuffer'.
7204 (bookmark-insert-current-bookmark): Remove function.
7206 * info.el (Info-bookmark-make-record): Add `defaults' property
7207 with values of canonical Info node name, the current Info file
7208 name and the current Info node name. (Bug#12107)
7210 2012-08-08 Juri Linkov <juri@jurta.org>
7212 * files.el (basic-save-buffer): Use `buffer-name' as the default
7213 of `read-file-name' when buffer is not visiting a file (bug#12128).
7215 2012-08-08 Juri Linkov <juri@jurta.org>
7217 * info.el (Info-isearch-search): Doc fix.
7218 (Info-search): Change search-failed message from "initial node" to
7219 "end of node" (bug#12078).
7220 (Info-isearch-search): Change `isearch-string-state' to
7221 `isearch--state-string'.
7223 2012-08-08 Glenn Morris <rgm@gnu.org>
7225 * language/persian.el: Remove file.
7226 * language/misc-lang.el: Move unique part of persian.el here.
7227 * loadup.el: Remove language/persian.
7229 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7231 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7233 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7235 * progmodes/python.el: Fix defsubst warning.
7236 (python-syntax-context) Rename from python-info-ppss-context.
7237 (python-syntax-context-type): Rename from
7238 python-info-ppss-context-type.
7239 (python-syntax-comment-or-string-p): Rename from
7240 python-info-ppss-comment-or-string-p.
7242 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7244 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7246 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7248 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7249 a defcustom that is quoted with backquote.
7251 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7252 Fix handling of interactive spec when the body uses return.
7253 (math-do-arg-check, math-define-function-body): Use backquote forms.
7254 * calc/calc-ext.el (math-defcache): Likewise.
7255 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7256 * allout.el (allout-new-exposure): Likewise.
7257 * calc/calcalg2.el (math-tracing-integral): Likewise.
7258 * info.el (Info-last-menu-item): Likewise.
7259 * emulation/vip.el (vip-loop): Likewise.
7260 * textmodes/artist.el (artist-funcall): Likewise.
7261 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7262 Construct menu-item directly.
7264 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7267 2012-08-07 Chong Yidong <cyd@gnu.org>
7269 * simple.el (deactivate-mark): Preserve text properties when
7270 saving the primary selection (Bug#8384).
7272 2012-08-07 Kevin Ryde <user42@zip.com.au>
7274 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7275 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7276 and continue processing (Bug#12110).
7278 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7280 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7281 syntax-propertize-function (bug#10095).
7283 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7285 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7286 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7287 describe-function-1.
7288 (describe-function-1): Use them. Move compiler macro after sig.
7289 (help-fns--compiler-macro): Use function-get. Assume we're already in
7290 standard-output. Adjust layout to new call order.
7292 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7293 re-binding a symbol that has a symbol-macro (bug#12119).
7295 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7297 * language/persian.el: New file. (Bug#11812)
7298 * loadup.el: Add language/persian.el.
7300 2012-08-06 Chong Yidong <cyd@gnu.org>
7302 * window.el (window--maybe-raise-frame): New function.
7303 (window--display-buffer): Split off from here.
7304 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7305 (display-buffer-pop-up-window, display-buffer-use-some-window):
7306 Obey an inhibit-switch-frame action alist entry.
7307 (display-buffer): Update doc.
7309 * replace.el (occur-after-change-function): Avoid losing focus by
7310 using the inhibit-switch-frame display parameter (Bug#12139).
7312 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7314 Make internal shell process buffer names start with space.
7315 * progmodes/python.el (python-shell-make-comint): Add optional
7317 (run-python-internal): Use it.
7318 (python-shell-internal-get-or-create-process): Check for new
7319 internal buffer names.
7321 2012-08-06 Glenn Morris <rgm@gnu.org>
7323 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7324 Do less getting and setting of environment variables.
7326 2012-08-05 Chong Yidong <cyd@gnu.org>
7328 * proced.el (proced): Add substitution string to docstring to
7329 trigger autoloading of the proced library on C-h f (Bug#1768).
7331 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7332 Don't show defvars which have no second argument (Bug#8638).
7334 * imenu.el (imenu-generic-expression): Move documentation here
7335 from imenu--generic-function.
7336 (imenu--generic-function): Refer to imenu-generic-expression.
7338 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7340 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7341 indentation declaration.
7342 (viper-loop): Add indentation declaration (Bug#7025).
7344 2012-08-05 Chong Yidong <cyd@gnu.org>
7346 * help-fns.el (describe-variable): Add hyperlink for
7347 directory-local variables files. Improve buffer-local and
7348 permanent-local reporting; suggested by MON KEY (Bug#6644).
7350 * help-mode.el (help-dir-local-var-def): New button type.
7352 * files.el (kill-buffer-hook): Provide a defvar.
7354 2012-08-05 Glenn Morris <rgm@gnu.org>
7356 * eshell/esh-ext.el (eshell/addpath):
7357 Also update eshell-path-env. (Bug#12013)
7359 2012-08-05 Chong Yidong <cyd@gnu.org>
7361 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7363 * fringe.el (fringe-styles): Add docstring.
7364 (fringe--check-mode): New function.
7365 (set-fringe-mode, set-fringe-style): Use it.
7366 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7368 * files.el (set-auto-mode): Fix invalid setq call.
7370 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7372 * isearch.el: Misc simplification; use defstruct.
7373 (isearch-mode-map): Dense maps now work like sparse ones.
7374 (isearch--state): New defstruct.
7375 (isearch-string-state, isearch-message-state, isearch-point-state)
7376 (isearch-success-state, isearch-forward-state)
7377 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7378 (isearch-wrapped-state, isearch-barrier-state)
7379 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7380 replaced by defstruct's accessors.
7381 (isearch--set-state): Rename from isearch-top-state and change
7383 (isearch-push-state): Use new isearch--get-state.
7384 (isearch-toggle-word): Disable regexp when enabling word.
7385 (isearch-message-prefix): Remove unused arg _c-q-hack.
7386 (isearch-message-suffix): Remove unused arg _ellipsis.
7388 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7390 * simple.el (list-processes--refresh): For a server use :host or
7391 :local as the address.
7392 (list-processes): Doc fix.
7394 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7396 * lisp/mpc.el: Support password in host argument.
7397 (mpc--proc-connect): Parse and use new password element.
7398 Set mpc-proc variable instead of returning process.
7399 (mpc-proc): Adjust accordingly.
7401 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7403 * whitespace.el (whitespace-display-mappings): Use Unicode
7404 codepoints, instead of emacs-mule codepoints. See
7405 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7408 * files.el (file-truename): Don't skip symlink-chasing part on
7409 windows-nt. Incorporate the resolution of 8+3 short aliases on
7410 Windows into the loop that recursively chases symlinks.
7411 Compare directory and its parent case-insensitively on MS-Windows and
7414 2012-08-03 Chong Yidong <cyd@gnu.org>
7416 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7418 * sort.el (sort-regexp-fields): Doc fix.
7420 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7422 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7423 labels regex position point at the expected place.
7425 2012-08-03 MON KEY <monkey@sandpframing.com>
7427 * net/imap.el (imap-interactive-login, imap-authenticate)
7428 (imap-mailbox-lsub, imap-mailbox-list)
7429 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7430 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7431 (imap-parse-response): Doc fix.
7433 2012-08-03 João Távora <joaotavora@gmail.com>
7435 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7436 if sexp scanning does not move point (Bug#5734).
7438 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7440 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7441 Add listings, minted, and ctable packages.
7442 (reftex-label-alist-builtin): Move listings, minted, and ctable
7443 entries before LaTeX.
7444 (reftex-label-alist): Docfix.
7446 2012-08-02 Bastien Guerry <bzg@gnu.org>
7448 * replace.el (occur): Fix docstring (bug#12122).
7450 2012-08-02 Glenn Morris <rgm@gnu.org>
7452 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7454 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7456 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7457 * international/mule-cmds.el: Create
7458 inactivate-current-input-method-function as an obsolete alias for
7459 deactivate-current-input-method-function. See Katsumi Yamaoka in
7460 <http://bugs.gnu.org/10150#46>.
7462 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7464 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7467 2012-08-01 Glenn Morris <rgm@gnu.org>
7469 * progmodes/autoconf.el (autoconf-definition-regexp):
7470 Add AH_TEMPLATE, adjust submatch numbering.
7471 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7472 (autoconf-current-defun-function): Update for above change.
7473 (autoconf-current-defun-function): First skip to end of current word.
7475 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7477 * calendar/cal-html.el (cal-html-insert-agenda-days):
7478 Fix typo. (Bug#12018)
7480 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7482 Shell processes: enhancements to startup and CEDET compatibility.
7483 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7484 (python-shell-make-comint): accept-process-output at startup.
7485 (run-python-internal): Set inferior-python-mode-hook to nil.
7486 (python-shell-internal-get-or-create-process): call sit-for.
7487 (python-preoutput-result): Add obsolete alias.
7488 (python-shell-internal-send-string): Use it.
7489 (python-shell-send-setup-code): Remove call to
7490 accept-process-output.
7492 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7494 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7497 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7499 * calc-mode.el (calc-basic-simplification-mode): Rename from
7500 `calc-limited-simplification-mode'.
7501 (calc-alg-simplification-mode): New function.
7502 (calc-set-simplify-mode): Adjust message.
7504 * calc.el (calc-set-mode-line): Adjust mode line display for
7505 basic simplification mode.
7507 * calc-help.el (calc-m-prefix-help): Update help message.
7509 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7510 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7512 2012-07-31 Bastien Guerry <bzg@gnu.org>
7514 * man.el (man): Fix comment. (bug#12101)
7516 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7518 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7519 Don't return a non-nil value when no suitable buffer was found.
7521 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7523 * progmodes/python.el (run-python-internal): Disable font lock for
7526 2012-07-30 Stefan Merten <smerten@oekonux.de>
7528 * textmodes/rst.el: Silence `checkdoc-ispell'.
7529 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7530 (rst-official-version, rst-official-cvs-rev)
7531 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7532 (rst-mode-map): New key binding.
7534 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7536 Update .PHONY listings in makefiles.
7537 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7538 autoloads, update-subdirs, updates, bzr-update, update-authors,
7539 compile-onefile, compile-calc, backup-compiled-files,
7540 compile-after-backup, compile-one-process, mh-autoloads,
7541 bootstrap-clean, distclean, maintainer-clean.
7543 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7545 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7546 (calc-set-mode-line): Don't display "AlgSimp ".
7548 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7549 (calc-lim-simplify-mode): New function.
7550 (calc-set-simplify-mode): Default to 'alg.
7551 (calc-default-simplify-mode): Make algebraic simplifications
7554 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7555 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7557 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7558 indicate new simplification modes.
7560 * calc/README: Mention new default simplification mode.
7562 * calc/calc.el (math-normalize-error): New variable.
7563 (math-normalize): Set `math-normalize-error' to t
7564 when there's an error.
7566 * calc/calc-alg.el (math-simplify): Don't simplify when
7567 `math-normalize' returns an error.
7569 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7571 * international/mule-cmds.el (set-locale-environment): Revert last
7572 change, since display-graphic-p returns nil when this function is
7573 called during startup. Instead...
7575 * term/w32console.el (terminal-init-w32console): ...setup the
7576 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7578 2012-07-29 Juri Linkov <juri@jurta.org>
7580 * simple.el (goto-line): Don't display default line number in the
7581 prompt because it should be displayed by `read-number' (bug#9952).
7582 Add the current line number to the defaults of `goto-line' to
7583 allow its easier modification by users with `M-n' (bug#9201).
7585 * subr.el (read-number): Support multiple default values like in
7586 other minibuffer reading functions. Replace `read' with
7587 `string-to-number' for consistency with `number-to-string'.
7589 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7591 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7592 * emulation/viper-init.el (viper-deactivate-input-method-action):
7593 Rename from viper-inactivate-input-method-action.
7594 (viper-deactivate-input-method):
7595 Rename from viper-inactivate-input-method.
7596 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7597 * international/mule-cmds.el (deactivate-input-method):
7598 Rename from inactivate-input-method.
7599 Also run input-method-deactivate-hook.
7600 (deactivate-current-input-method-function):
7601 Rename from inactivate-current-input-method-function.
7602 (input-method-deactivate-hook): New hook.
7603 (input-method-inactivate-hook): Mark obsolete.
7604 (inactivate-input-method): Mark obsolete.
7606 * international/quail.el (quail-activate):
7607 Also run quail-deactivate-hook.
7608 (quail-deactivate): Rename from quail-inactivate.
7609 * international/robin.el (robin-activate):
7610 Also run robin-deactivate-hook.
7611 (robin-deactivate): Rename from robin-inactivate.
7613 2012-07-29 Chong Yidong <cyd@gnu.org>
7615 * simple.el (indicate-copied-region): New function.
7616 (kill-ring-save): Split off from here.
7618 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7619 (kill-rectangle): Set deactivate-mark to t on read-only error.
7621 * register.el (copy-to-register, copy-rectangle-to-register):
7622 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7623 (append-to-register, prepend-to-register): Call indicate-copied-region.
7625 2012-07-29 Juri Linkov <juri@jurta.org>
7627 * simple.el (async-shell-command-buffer): New defcustom.
7628 (shell-command): Use it. (Bug#4719)
7630 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7632 * international/mule-cmds.el (set-locale-environment): In a
7633 console session on MS-Windows, set up keyboard and terminal
7634 encoding from the OEM codepage, not the ANSI codepage.
7637 2012-07-28 Chong Yidong <cyd@gnu.org>
7639 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7642 2012-07-28 Leo Liu <sdl.web@gmail.com>
7644 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7645 the alist (bug#12029).
7647 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7649 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7650 (compile-always, compile-first)
7651 ($(lisp)/calendar/cal-loaddefs.el)
7652 ($(lisp)/calendar/diary-loaddefs.el)
7653 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7654 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7655 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7656 instead of on update-subdirs.
7657 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7659 2012-07-28 Chong Yidong <cyd@gnu.org>
7661 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7662 directory if vc-deduce-backend returns nil (Bug#7350).
7664 * simple.el (delete-trailing-lines): New option.
7665 (delete-trailing-whitespace): Obey it (Bug#11879).
7667 2012-07-28 David Engster <deng@randomsample.de>
7669 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7670 Explanation of new 'symbol-qnames feature in doc-strings.
7671 (xml-maybe-do-ns): Return expanded names as plain symbols if
7672 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7673 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7675 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7677 Consistent completion in inferior python with emacs -nw.
7678 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7679 binding in inferior-python-mode-map with "\t".
7680 (python-shell-completion-complete-at-point)
7681 (python-completion-complete-at-point): Remove interactive spec.
7683 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7685 * calc/calccomp.el (math-compose-expr): Undo previous change.
7687 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7689 * progmodes/python.el (python-mode-map): Add keybinding for
7691 (python-shell-make-comint): Fix pop-to-buffer call.
7692 (run-python): Autoload. New arg SHOW.
7693 (python-shell-get-or-create-process): Do not pop python process
7696 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7698 * notifications.el (notifications-on-action-signal)
7699 (notifications-on-closed-signal): Use also the bus address for the map.
7700 (notifications-notify, notifications-close-notification)
7701 (notifications-get-capabilities): Add optional argument BUS.
7703 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7705 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7706 Add support for the lstlisting and minted environments, and for the
7708 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7709 labels written in keyvals syntax.
7711 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7713 * calc/calccomp.el (math-compose-expr): Use parentheses when
7714 there is a product in the denominator of a fraction.
7716 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7718 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7719 ($(lisp)/calendar/diary-loaddefs.el)
7720 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7721 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7722 Fixes failures in parallel bootstrap because subdirs.el is being
7723 rewritten while the autoload files are built at the same time,
7724 which needs to load subdirs.el.
7726 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7728 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7729 (mouse-drag-line): Don't exit tracking when a switch-frame or
7730 switch-window event occurs (Bug#12006).
7732 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7734 * mouse.el (popup-menu): Fix last change.
7736 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7738 Autoload from Lisp with more care. Follow aliases when looking for
7739 function properties.
7740 * subr.el (autoloadp): New function.
7741 (symbol-file): Use it.
7742 (function-get): New function.
7743 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7745 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7746 (lisp-indent-function):
7747 * emacs-lisp/gv.el (gv-get):
7748 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7749 * emacs-lisp/byte-opt.el (byte-optimize-form):
7750 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7751 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7753 * emacs-lisp/cl.el: Don't propagate function properties any more.
7755 * speedbar.el (speedbar-add-localized-speedbar-support):
7756 * emacs-lisp/disass.el (disassemble-internal):
7757 * desktop.el (desktop-load-file):
7758 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7759 (describe-function-1):
7760 * emacs-lisp/find-func.el (find-function-noselect):
7761 * emacs-lisp/elp.el (elp-instrument-function):
7762 * emacs-lisp/advice.el (ad-has-proper-definition):
7763 * apropos.el (apropos-safe-documentation, apropos-macrop):
7764 * emacs-lisp/debug.el (debug-on-entry):
7765 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7766 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7767 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7769 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7771 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7772 function, not an obsolete variable (Bug#12046).
7774 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7776 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7778 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7780 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7781 window only if it is still live (Bug#12034).
7783 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7785 * subr.el (redirect-frame-focus): Add advertised calling
7786 convention (Bug#12030).
7788 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7790 Prefer typical American spelling for "acknowledgment".
7791 * vc/add-log.el (change-log-acknowledgment): Rename from
7792 change-log-acknowledgement, with an alias for the old name.
7794 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7796 * calc-alg.el (math-simplify-divide): Don't cross multiply
7797 in an equation when the lhs is a variable.
7799 2012-07-24 Julien Danjou <julien@danjou.info>
7801 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7804 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7806 * startup.el (command-line): Don't display an empty user name in
7807 the error message about non-existent home directory, when
7808 init-file-user was set to an empty string. See
7809 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7810 for the details and context.
7812 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7814 * ses.el (ses-cell-formula-aset): New macro.
7815 (ses-cell-references-aset): New macro.
7816 (ses-cell-p): New function.
7817 (ses-rename-cell): Do no longer rely on complex operations like
7818 ses-cell-set-formula or ses-set-cell to change the cell and handle
7819 the undo at the same time, but rather use lower level new macros
7820 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7821 the undo directly. Refresh the mode line.
7823 2012-07-21 Leo Liu <sdl.web@gmail.com>
7825 * progmodes/cc-cmds.el (c-defun-name):
7826 Use match-string-no-properties instead for consistency.
7828 2012-07-20 Leo Liu <sdl.web@gmail.com>
7830 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7833 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7835 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7837 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7838 * progmodes/bug-reference.el, misearch.el: Provide themselves
7841 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7842 of narrowed buffer (bug#11966).
7844 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7846 * ses.el (ses-rename-cell): Set new name also in reference list of
7847 cells of which the renamed cell depends.
7849 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7851 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7852 to check whether menu-bar is shown or not. If not shown,
7853 show the menu-bar as a popup menu instead of using tmm.
7854 * mouse.el (popup-menu): Accept `point' as `position' argument.
7856 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7858 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7859 up inside string symbol literal (bug#11923).
7861 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7863 * startup.el (fancy-startup-text): Read the whole tutorial, not
7864 just its first 256 bytes. Prevents gibberish in display of the
7867 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7869 Drop idle buffer compaction due to an absence of the
7871 * compact.el: Remove.
7873 2012-07-19 Sam Steingold <sds@gnu.org>
7875 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7876 vc-bzr-pull & vc-bzr-merge-branch.
7877 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7878 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7879 for consistency with compilation-error-regexp-alist.
7880 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7881 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7882 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7883 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7885 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7887 * emacs-lisp/chart.el: Use lexical-binding.
7888 (chart-emacs-storage): Don't hardcode the list of entries.
7890 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7892 Next round of tweaks caused by Fgarbage_collect changes.
7893 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7895 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7897 Compact buffers when idle.
7898 * compact.el: New file.
7900 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7902 * subr.el (eventp): Presume that if it looks vaguely like an event,
7903 it's an event (bug#10190).
7905 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7907 Enhancements to ppss related code (thanks Stefan).
7908 * progmodes/python.el (python-indent-context)
7909 (python-indent-calculate-indentation, python-indent-dedent-line)
7910 (python-indent-electric-colon, python-nav-forward-block)
7911 (python-mode-abbrev-table)
7912 (python-info-assignment-continuation-line-p): Simplify checks
7914 (python-info-continuation-line-p): Cleanup.
7915 (python-info-ppss-context): Do not catch 'quote.
7916 (python-info-ppss-context-type)
7917 (python-info-ppss-comment-or-string-p): Simplify.
7919 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7921 * progmodes/python.el: Enhancements to eldoc support.
7922 (python-info-current-symbol): New function.
7923 (python-eldoc-at-point): Use python-info-current-symbol.
7924 (python-info-current-defun): Fix cornercase on first defun scan.
7925 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7926 and signal error when no inferior python process is available.
7928 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7930 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7931 assume it's always t.
7932 (vc-git-registered): Remove caching, the function is only called
7934 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7936 2012-07-18 Chong Yidong <cyd@gnu.org>
7938 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7940 * simple.el (count-words): Report on narrowing (Bug#9959).
7942 * bindings.el: Bind M-= to count-words.
7944 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7946 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7948 * progmodes/sh-script.el (sh-imenu-generic-expression):
7949 Capture a function with `function' keyword and without parentheses
7950 like "function FOO" (bug#11856).
7952 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7954 * window.el (split-window-sensibly): Make WINDOW argument
7957 2012-07-18 Chong Yidong <cyd@gnu.org>
7959 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7961 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7962 and make C-x 8 RET exit isearch (Bug#11439).
7964 * international/iso-transl.el: Move isearch-mode-map key
7965 definitions to isearch.el.
7967 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7969 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7970 (eieio-defclass): Use gv-define-setter when possible.
7972 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7974 Reflect recent changes in Fgarbage_collect.
7975 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7976 reflect new format of data returned by Fgarbage_collect.
7978 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7980 New utility functions + python-info-ppss-context fix (Bug#11910).
7981 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7982 (python-info-ppss-comment-or-string-p): New functions.
7983 (python-info-ppss-context): Small fix for string check.
7985 2012-07-17 Juri Linkov <juri@jurta.org>
7987 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7988 (dired-do-async-shell-command): Don't add `*' at the end of the
7989 command (Bug#11815).
7990 (dired-do-shell-command): Doc fix.
7991 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7992 Join the individual commands using either "&" or ";" as the
7993 separator depending on the values of these trailing characters.
7994 At the end re-add the trailing "&". (Bug#10598)
7996 * simple.el (async-shell-command): Sync the interactive spec with
7997 `shell-command'. Doc fix.
7998 (shell-command): Doc fix.
8000 2012-07-17 Juri Linkov <juri@jurta.org>
8002 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8004 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8006 Final renames and doc fixes for movement commands (bug#11899).
8007 * progmodes/python.el (python-nav-beginning-of-statement):
8008 Rename from python-nav-statement-start.
8009 (python-nav-end-of-statement): Rename from
8010 python-nav-statement-end.
8011 (python-nav-beginning-of-block): Rename from
8012 python-nav-block-start.
8013 (python-nav-end-of-block): Rename from python-nav-block-end.
8015 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8017 * progmodes/python.el (python-shell-send-string-no-output):
8018 Allow accept-process-output to quit, keeping shell process ready for
8019 future interactions (Bug#11868).
8021 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8023 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8025 * emacs-lisp/elint.el (elint-find-args-in-code):
8026 Use help-function-arglist, so as to handle lexical byte-code.
8028 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8031 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8033 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8034 Avoid spuriously marking the buffer as modified because of c-is-sws.
8036 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8037 as not-a-comment (bug#11946).
8039 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8040 for uninterned vars.
8042 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8043 Use read-event since we don't really want to read chars but bytes.
8045 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8046 $$..$$ but also $..$ using regexps (bug#11953).
8047 Use tex-verbatim for \url and \path.
8048 (tex-font-lock-keywords): Define as defconst like the others.
8049 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8051 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8053 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8054 alias for insert-char.
8056 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8058 * progmodes/python.el: Simplified imenu implementation.
8059 (python-nav-jump-to-defun): Remove command.
8060 (python-mode-map): Use `imenu' instead.
8061 (python-nav-list-defun-positions-cache)
8062 (python-imenu-include-defun-type, python-imenu-make-tree)
8063 (python-imenu-subtree-root-label, python-imenu-index-alist):
8065 (python-nav-list-defun-positions, python-nav-read-defun)
8066 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8067 (python-imenu-make-tree, python-imenu-create-index):
8069 (python-mode): Update to interact with imenu by setting
8070 `imenu-extract-index-name-function' only.
8072 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8074 * progmodes/python.el: Enhancements to navigation commands.
8075 (python-nav-backward-sentence)
8076 (python-nav-forward-sentence): Remove.
8077 (python-nav-backward-statement, python-nav-forward-statement)
8078 (python-nav-statement-start, python-nav-statement-end)
8079 (python-nav-backward-block, python-nav-forward-block)
8080 (python-nav-block-start, python-nav-block-end)
8081 (python-nav-forward-sexp-function)
8082 (python-info-current-line-comment-p)
8083 (python-info-current-line-empty-p): New functions.
8084 (python-indent-context): Use `python-nav-statement-start'.
8086 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8088 * eshell/em-ls.el (eshell/ls): Use `apply'.
8090 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8091 multi-hops, instead of Tramp internals.
8093 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8095 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8096 when F1 and F2 are located on different hosts.
8098 2012-07-14 Chong Yidong <cyd@gnu.org>
8100 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8101 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8102 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8103 (xterm-mouse--read-event-sequence-1000)
8104 (xterm-mouse--read-event-sequence-1006): New functions. For old
8105 mouse protocol, handle M-mouse-X events correctly.
8106 (xterm-mouse-event): New arg specifying mouse protocol.
8107 (turn-on-xterm-mouse-tracking-on-terminal)
8108 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8109 sequence to toggle extended coordinates on newer XTerms.
8110 This appears to be harmless on terminals which do not support this.
8112 2012-07-14 Leo Liu <sdl.web@gmail.com>
8114 Add fringe bitmap indicators for flymake. (Bug#11253)
8115 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8116 (flymake-make-overlay): New arg BITMAP.
8117 (flymake-error-bitmap, flymake-warning-bitmap)
8118 (flymake-fringe-indicator-position): New user variables.
8120 * fringe.el: New bitmap exclamation-mark.
8122 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8124 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8127 2012-07-14 Chong Yidong <cyd@gnu.org>
8129 * electric.el (electric-pair-post-self-insert-function): Fix pair
8130 insertion in empty-region case (Bug#11520).
8132 2012-07-14 Chong Yidong <cyd@gnu.org>
8134 * bindings.el: Consolidate ctl-x-r-map bindings.
8135 Bind copy-rectangle-as-kill to C-x r w.
8137 * rect.el, register.el: Move bindings to bindings.el.
8139 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8141 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8143 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8145 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8147 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8149 * bindings.el (top): Use `mapc' instead of `mapcar'.
8151 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8153 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8155 * progmodes/sql.el (sql-comint): Suppress the check for program on
8156 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8159 2012-07-13 Chong Yidong <cyd@gnu.org>
8161 * bindings.el: Assign a non-nil permanent-local property to
8162 per-buffer variables which lack a default value (Bug#11930).
8164 * help-fns.el (describe-variable): In the "automatically becomes
8165 local" notice, take note of permanent-local variables.
8167 2012-07-13 Chong Yidong <cyd@gnu.org>
8169 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8170 to allow printing the message when called from Lisp.
8172 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8173 Remove toggle-read-only.
8175 * bs.el (bs-toggle-readonly):
8176 * buff-menu.el (Buffer-menu-toggle-read-only):
8177 Remove with-no-warnings around toggle-read-only.
8179 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8180 Remove with-no-warnings around toggle-read-only.
8181 (ffap-read-only, ffap-read-only-other-window)
8182 (ffap-read-only-other-frame): Callers changed.
8184 * help-mode.el: Don't require view package.
8185 (help-mode-finish): Set buffer-read-only instead of calling
8188 * bindings.el (mode-line-toggle-read-only):
8189 * dired.el (dired-toggle-read-only):
8190 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8191 with non-nil second arg.
8193 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8194 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8197 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8199 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8202 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8204 More CL cleanups and reduction of use of cl.el.
8205 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8206 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8207 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8208 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8209 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8210 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8211 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8212 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8213 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8214 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8215 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8216 * eshell/em-cmpl.el, eshell/em-banner.el:
8217 * calendar/parse-time.el: Use cl-lib.
8218 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8219 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8220 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8221 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8222 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8223 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8224 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8225 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8226 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8227 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8228 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8229 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8230 `lambda' rather than with `quote'.
8231 (eshell-do-opt): Adjust accordingly.
8232 (eshell-process-option): Simplify.
8233 * eshell/esh-var.el:
8234 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8235 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8236 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8237 to `pcase--dontcare'.
8238 * emacs-lisp/cl.el (labels): Mark obsolete.
8239 (cl--letf, letf): Move to cl-lib.
8240 (cl--letf*, letf*): Remove.
8241 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8242 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8243 (cl-progv): Rewrite.
8244 (cl--letf, cl-letf): Move from cl.el.
8245 (cl-letf*): New macro.
8246 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8248 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8250 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8252 2012-07-11 Chong Yidong <cyd@gnu.org>
8254 * vc/log-edit.el (log-edit-vc-backend): New variable.
8255 (log-edit): Doc fix.
8257 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8258 argument of log-edit to set up all local variables.
8259 (vc-start-logentry): New optional arg specifying VC backend.
8261 * vc/vc.el (vc-checkin): Use it.
8262 (vc-deduce-fileset): Handle Log Edit buffers.
8263 (vc-diff): Make first argument optional too.
8265 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8267 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8269 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8270 command, just in case. The function is not needed anymore.
8271 (eshell-external-command): Do not call `eshell-remote-command'.
8273 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8275 Reduce use of (require 'cl).
8276 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8277 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8278 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8279 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8280 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8281 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8282 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8283 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8284 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8285 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8286 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8287 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8288 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8289 (byte-compile-unfold-bcf, byte-compile-check-variable):
8290 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8291 (byte-compile-nilconstp):
8292 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8293 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8295 * emacs-lisp/gv.el (cond): Make it a valid place.
8296 (if): Simplify slightly.
8298 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8299 (pcase--self-quoting-p): New function.
8300 (pcase--u1): Use it.
8302 2012-07-10 Glenn Morris <rgm@gnu.org>
8304 * emacs-lisp/authors.el (authors-fixed-entries):
8305 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8307 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8309 Rename configure.in to configure.ac (Bug#11603).
8310 * emacs-lisp/authors.el (authors-canonical-file-name):
8311 * progmodes/autoconf.el (autoconf-mode):
8312 Prefer configure.ac to configure.in.
8314 2012-07-08 Chong Yidong <cyd@gnu.org>
8316 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8317 Implement the mouse-1-click-follows-link handling properly.
8319 * info.el (Info-link-keymap): Use follow-link mechanism for
8320 header-line links (Bug#374).
8322 * simple.el (deactivate-mark): Do not set the primary selection
8323 if another program has acquired it (Bug#11772).
8325 2012-07-07 Kevin Ryde <user42@zip.com.au>
8327 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8328 (woman-decode-region): Replace escaped-escapes without destroying
8329 bold or underline (Bug#11552).
8330 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8332 2012-07-07 Chong Yidong <cyd@gnu.org>
8334 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8335 (interprogram-cut-function, interprogram-paste-function):
8336 Mention that we typically mean the clipboard.
8338 2012-07-06 Glenn Morris <rgm@gnu.org>
8340 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8342 * files.el (toggle-read-only): Restrict message to interactive use.
8344 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8346 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8348 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8350 2012-07-06 Glenn Morris <rgm@gnu.org>
8352 * Makefile.in (compile-one-process): Rename from "recompile".
8354 * Makefile.in (bzr-update): "compile" is the same as "recompile
8355 autoloads", but parallelizable, so use that instead.
8357 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8359 * window.el (quit-window): Always restore window height when
8360 it's saved in quit-restore parameter (Bug#11810).
8362 2012-07-06 Glenn Morris <rgm@gnu.org>
8364 * simple.el (kill-whole-line): Doc tweak.
8366 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8368 * files.el (file-relative-name): Compare file names
8369 case-insensitively if on MS-Windows or MS-DOS, or if
8370 read-file-name-completion-ignore-case is non-nil. Don't use
8371 case-fold-search for this purpose. (Bug#11827)
8373 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8375 * calendar/cal-dst.el (calendar-current-time-zone):
8376 Return calendar-current-time-zone-cache if non-nil.
8378 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8379 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8381 * calendar/cal-dst.el (calendar-current-time-zone):
8382 Return calendar-current-time-zone-cache if non-nil.
8384 2012-07-06 Glenn Morris <rgm@gnu.org>
8386 * Makefile.in (cvs-update): Remove old alias.
8388 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8390 Sync with Tramp 2.2.6-pre.
8392 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8393 compatible declaration.
8395 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8396 Protect `list-load-path-shadows' call.
8398 * net/tramp-compat.el (top): Require packages, which aren't
8399 autoloaded anymore for XEmacs. Protect call of
8400 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8401 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8402 it hurts at least for SXEmacs.
8403 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8404 standard-value for `temporary-file-directory'.
8406 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8407 Redirect stderr to /dev/null.
8408 (tramp-sh-handle-write-region): uid and gid can be floats.
8409 Reported by Russell Sim <russell.sim@gmail.com>.
8410 (tramp-sh-handle-vc-registered): Hide errors.
8411 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8412 and `start-file-process'.
8413 (tramp-maybe-open-connection): Check also whether `non-essential'
8416 2012-07-04 Chong Yidong <cyd@gnu.org>
8418 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8419 (xml-parse-tag): Likewise, and avoid changing entity tables.
8420 (xml-syntax-table): Define from scratch, making sure not to give
8421 x2000 and other Unicode spaces whitespace syntax, since those are
8423 (xml-parse-fragment): Delete unused function.
8424 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8425 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8426 (xml-entity-ref, xml-pe-reference-re)
8427 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8428 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8429 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8430 (xml-entity-value-re): Use syntax references in regexps where
8431 possible; no need to define inside a let-binding.
8432 (xml-parse-dtd): Use xml-pe-reference-re.
8433 (xml-entity-or-char-ref-re): New defconst.
8434 (xml-parse-string, xml-substitute-special): Use it.
8436 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8438 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8439 (find-file--read-only): New function.
8440 (find-file-read-only, find-file-read-only-other-window)
8441 (find-file-read-only-other-frame): Use it.
8442 (insert-file-contents-literally): Don't `fset'.
8443 (get-free-disk-space): Use locate-dominating-file.
8445 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8446 function is already compiled.
8448 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8450 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8452 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8453 files on the same host.
8455 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8457 * help-fns.el (describe-function-1): Only call
8458 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8460 2012-07-03 Chong Yidong <cyd@gnu.org>
8462 * xml.el: Protect parser against XML bombs.
8463 (xml-entity-expansion-limit): New variable.
8464 (xml-parse-string, xml-substitute-special): Use it.
8465 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8467 2012-07-03 Glenn Morris <rgm@gnu.org>
8469 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8470 Allow linking to specific messages in debbugs reports (eg 123#5).
8472 2012-07-02 Chong Yidong <cyd@gnu.org>
8474 * xml.el: Fix entity and character reference expansion, allowing
8475 them to expand into markup as per XML spec.
8476 (xml-default-ns): New variable.
8477 (xml-entity-alist): Use XML spec definitions for lt and amp.
8478 (xml-parse-region): Make first two arguments optional.
8479 Discard text properties.
8480 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8481 All callers changed.
8482 (xml-parse-tag): Call xml-parse-tag-1. For backward
8483 compatibility, this function should not modify buffer contents.
8484 (xml-parse-tag-1): Fix opening-tag regexp.
8485 (xml-parse-string): Rewrite, handling entity and character
8486 references properly.
8487 (xml--entity-replacement-text): Signal an error if a parameter
8488 entity is undefined.
8490 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8492 * comint.el (comint-output-filter): Filter out repeated prompts.
8494 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8495 and file-name-absolute-p.
8496 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8499 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8502 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8503 Rename from byte-compile--refiy-function. All uses changed.
8505 2012-07-01 Chong Yidong <cyd@gnu.org>
8507 * xml.el (xml--parse-buffer): New function. Move most of
8508 xml-parse-region here.
8509 (xml-parse-region): Copy region into a temporary buffer, since
8510 parameter entity substitution requires changing buffer contents.
8511 Use xml--parse-buffer.
8512 (xml-parse-file): Use xml--parse-buffer.
8513 (xml-parse-dtd): Make parameter entity substitution work right.
8514 Use proper regexps for ELEMENT declarations (Bug#7172).
8516 2012-06-30 Glenn Morris <rgm@gnu.org>
8518 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8520 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8521 Remove outdated and unnecessary dbus declarations.
8523 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8525 * emacs-lisp/timer.el (timer-until): Subtract results of
8526 float-time, instead of taking float-time of the result of
8527 time-subtract, since float-time signals an error for negative time
8530 2012-06-30 Chong Yidong <cyd@gnu.org>
8532 * xml.el (xml-*-re): Convert defvars into defconsts, and
8533 eval-and-compile them so eval-and-compile works on derivatives.
8534 (xml--entity-replacement-text): Use eval-and-comple.
8536 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8538 * vc/vc-git.el (vc-git-registered): Use cache property
8540 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8541 `vc-git-working-revision' in order to benefit from the cache.
8542 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8544 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8546 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8547 removed (likely outside Emacs). (Bug#11757)
8549 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8551 * emacs-lisp/cl-lib.el: Require macroexp.
8553 2012-06-30 Chong Yidong <cyd@gnu.org>
8555 * xml.el: Implement XML parameter entities.
8556 (xml-parameter-entity-alist): New variable.
8557 (xml-parse-region, xml-parse-fragment): Preserve previous values
8558 of xml-entity-alist and xml-parameter-entity-alist, so that
8559 repeated calls on different documents do not change them.
8560 (xml-parse-tag): Fix doctype regexp.
8561 (xml--entity-replacement-text): New function.
8562 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8563 properly requires url retrieval which is unimplemented.
8564 (xml-escape-string): Doc fix.
8566 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8568 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8570 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8572 * fringe.el (fringe-mode): Doc fix.
8574 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8576 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8578 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8579 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8581 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8583 * calendar/cal-dst.el (calendar-current-time-zone):
8584 Return calendar-current-time-zone-cache if non-nil.
8586 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8588 * progmodes/which-func.el (which-func-format):
8589 Add mouse-face. (Bug#11698)
8591 2012-06-29 Leo Liu <sdl.web@gmail.com>
8593 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8595 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8597 * minibuffer.el (minibuffer-confirm-exit-commands):
8598 Add completion-at-point (bug#11725).
8600 2012-06-29 Glenn Morris <rgm@gnu.org>
8602 * progmodes/f90.el (f90-font-lock-keywords-2):
8603 Add some preprocessor elements. (Bug#10499)
8605 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8607 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8608 Use syntax-propertize (bug#11739).
8610 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8612 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8614 2012-06-28 Julien Danjou <julien@danjou.info>
8616 * term.el (term-handle-colors-array): Use a set of new faces to
8617 color the terminal. Also uses :inverse-video property.
8618 (term-default-fg-color): Set to nil by default, deprecate in favor
8620 (term-default-bg-color): Set to nil by default, deprecate in favor
8622 (term-current-face): Use `term-face' by default.
8623 (term-bold-attribute): Variable deleted.
8625 2012-06-28 Glenn Morris <rgm@gnu.org>
8627 * simple.el (completion-list-mode-finish):
8628 Don't use toggle-read-only. (Since completion-list-mode has
8629 a special mode-class, it wasn't doing anything extra anyway.)
8631 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8633 Make inlining of other-mode interpreted functions work (bug#11799).
8634 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8635 (byte-compile): Use it to fix compilation of lexical-binding closures.
8636 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8637 function, if needed.
8639 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8641 * help-mode.el (help-make-xrefs): Don't just withstand
8642 cyclic-variable-indirection but any error in documentation-property.
8644 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8646 * bindings.el (bindings--define-key): New function.
8647 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8648 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8649 * bindings.el: Use it to purecopy define-key bindings.
8651 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8653 * emacs-lisp/cl.el (flet): Mark obsolete.
8654 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8655 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8656 * progmodes/js.el (js-c-fill-paragraph):
8657 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8658 (ebrowse-switch-member-buffer-to-derived-class):
8659 * play/5x5.el (5x5-solver): Use cl-flet.
8661 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8662 (cl--symbol-function): New macro.
8663 (cl--letf, cl--letf*): Use it.
8665 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8666 Strip "toggle-" if any.
8668 2012-06-27 Glenn Morris <rgm@gnu.org>
8670 * info.el (Info-default-directory-list): Move here from paths.el.
8671 * paths.el: Remove file, which is now empty.
8672 * loadup.el: No longer load "paths".
8674 * custom.el (custom-initialize-delay): Doc fix.
8676 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8677 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8678 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8679 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8680 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8681 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8682 * eshell/eshell.el (eshell-defgroup): Remove alias.
8684 2012-06-27 Chong Yidong <cyd@gnu.org>
8686 * help.el (help-enable-auto-load): New variable.
8688 * help-fns.el (help-fns--autoloaded-p): New function.
8689 (describe-function-1): Refer to a function as "autoloaded" if it
8690 was autoloaded at any time in the past. Perform autoloading if
8691 help-enable-auto-load is non-nil.
8693 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8695 * makefile.w32-in (compile, compile-always): Depend on
8696 update-subdirs, not on subdirs.el. Otherwise, several different
8697 sub-targets of 'bootstrap' running in parallel could
8698 simultaneously write to subdirs.el, producing a garbled file.
8700 2012-06-26 Sam Steingold <sds@gnu.org>
8702 * files.el (file-name-base): New convenience function.
8703 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8704 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8705 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8706 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8707 * textmodes/ispell.el, textmodes/reftex-ref.el:
8708 * textmodes/tex-mode.el: Use it.
8709 Did not touch cedet and org because they are maintained elsewhere.
8711 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8713 * calendar/calendar.el (calendar-exit): Don't try to delete or
8714 iconify last frame. See:
8715 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8717 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8719 * server.el (server-process-filter): Remember dir in the
8720 process's `server-client-directory' properties.
8722 2012-06-24 Chong Yidong <cyd@gnu.org>
8724 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8727 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8729 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8731 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8733 * help-fns.el (describe-variable): Don't croak when doc is not found.
8734 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8735 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8736 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8737 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8738 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8740 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8742 2012-06-23 Chong Yidong <cyd@gnu.org>
8744 * info.el (Info-mouse-follow-link): Accept symbol values of
8745 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8746 (Info-fontify-node): Use Info-link-keymap for all navigation
8747 buttons, with link-args property to perform the desired action.
8748 (Info-link-keymap): Doc fix.
8749 (Info-next-link-keymap, Info-prev-link-keymap)
8750 (Info-up-link-keymap): Delete now-unused keymaps.
8752 2012-06-23 Chong Yidong <cyd@gnu.org>
8754 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8756 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8759 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8761 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8763 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8766 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8767 the requote function doesn't work properly (bug#11714).
8769 2012-06-23 Glenn Morris <rgm@gnu.org>
8771 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8773 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8775 Further GV/CL cleanups.
8776 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8778 (gv--defun-declaration): New function.
8779 (defun-declarations-alist): Use it.
8780 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8781 (gv-place): Autoload.
8782 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8783 original definition of dotimes and dolist.
8784 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8785 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8786 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8787 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8788 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8789 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8790 to the function's definition.
8791 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8795 * env.el: Don't use CL.
8797 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8799 Support higher-resolution time stamps (Bug#9000).
8801 * calendar/time-date.el (with-decoded-time-value): New arg
8802 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8803 (encode-time-value): New optional arg PICO. New type 3.
8804 (time-to-seconds) [!float-time]: Support the new picoseconds
8805 component if it's used.
8806 (seconds-to-time, time-subtract, time-add):
8807 Support ps-resolution time stamps as well.
8809 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8810 (timerp): Timer vectors now have length 9, not 8.
8811 (timer--time): Support new-style (4-part) time stamps.
8812 (timer-next-integral-multiple-of-time): Time stamps now have
8813 picosecond resolution, so take a bit more care about rounding.
8814 (timer-relative-time, timer-inc-time): New optional arg psecs.
8815 (timer-set-time-with-usecs): Set psecs to 0.
8816 (timer--activate): Check psecs component, too.
8818 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8820 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8822 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8823 Move the non-essential binding to the post/pre-command-hook where it is
8824 more obviously correct.
8826 * subr.el (read-passwd): Don't use a history at all.
8827 * savehist.el (savehist-save): Remove password saved accidentally
8828 because of the above bug.
8830 2012-06-22 Bastien Guerry <bzg@gnu.org>
8832 * files.el (toggle-read-only): Display a message telling whether
8833 the buffer is read-only or not (bug#11726).
8835 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8837 * emacs-lisp/gv.el: New file.
8838 * subr.el (push, pop): Extend to generalized variables.
8839 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8840 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8841 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8842 gv-define-simple-setter, and gv-define-expander.
8843 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8844 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8845 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8846 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8847 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8849 (cl-defstruct): Don't define setf-method any more.
8850 * emacs-lisp/cl.el (flet): Don't autoload.
8851 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8852 (define-setf-expander, defsetf, define-modify-macro)
8853 (cl-struct-setf-expander): Move from cl-lib.el.
8854 * emacs-lisp/syntax.el:
8855 * emacs-lisp/ewoc.el:
8856 * emacs-lisp/smie.el:
8857 * emacs-lisp/cconv.el:
8858 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8859 (timer--time): Use gv-define-simple-setter.
8860 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8861 to avoid coding-system problems in subr.el. Adjust all users.
8862 (macroexp--maxsize, macroexp-small-p): New functions.
8863 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8864 * scroll-bar.el (scroll-bar-mode):
8865 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8866 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8867 * winner.el (winner-configuration, winner-make-point-alist)
8868 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8869 * files.el (locate-file-completion-table): Avoid list*.
8871 2012-06-22 Chong Yidong <cyd@gnu.org>
8873 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8874 (dired-create-files): Doc fix (Bug#11329).
8875 (dired-do-copy): Doc fix (Bug#11334).
8876 (dired-mark-read-string): Doc fix (Bug#11553).
8878 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8879 Doc fix (Bug#11326).
8880 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8881 (dired-dwim-target): Doc fix.
8883 * wdired.el (wdired-mode): Doc fix.
8885 2012-06-22 Glenn Morris <rgm@gnu.org>
8887 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8888 (pcmpl-rpm-cache-stamp-file): New constant.
8889 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8890 (pcmpl-rpm-packages): Optionally cache list of packages.
8892 * pcmpl-rpm.el (pcmpl-rpm): New group.
8893 (pcmpl-rpm-query-options): New option.
8894 (pcmpl-rpm-packages): No need to inline it.
8895 Use pcmpl-rpm-query-options.
8897 * calendar/calendar.el (calendar-in-read-only-buffer):
8898 Avoid some needless mode changes.
8900 2012-06-21 Chong Yidong <cyd@gnu.org>
8902 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8903 (desktop-path): Remove . from the default value (Bug#10977).
8904 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8906 2012-06-20 Chong Yidong <cyd@gnu.org>
8908 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8910 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8912 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8915 2012-06-20 Chong Yidong <cyd@gnu.org>
8917 * term.el (term-window-width): Handle the case of a missing right
8919 (term-check-size): Use window-text-height (Bug#5445).
8920 (term-mode): Use define-derived-mode. Minor cleanups.
8921 Set font-lock-defaults (Bug#7692).
8922 (term-move-columns, term-insert-char, term-emulate-terminal)
8923 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8925 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8927 * net/ange-ftp.el (ange-ftp-get-passwd):
8928 Bind `enable-recursive-minibuffers'.
8929 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8931 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8933 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8935 2012-06-19 Glenn Morris <rgm@gnu.org>
8937 * progmodes/python.el (python-mode): Derive from prog-mode.
8939 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8941 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8942 (edt-user-menu-bar-update-buffers): New functions.
8943 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8945 2012-06-19 Chong Yidong <cyd@gnu.org>
8947 * subr.el (with-selected-window): Preserve the selected window's
8948 terminal's top-frame (Bug#4702).
8950 * window.el (save-selected-window): Likewise.
8952 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8954 * progmodes/python.el (python-rx-constituents): Move backquote.
8955 (python-skeleton-define, python-define-auxiliary-skeleton):
8958 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8960 * minibuffer.el (read-file-name-default): Revert the patch from
8963 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8965 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8966 (pcase--u1, pcase--q1): Don't use apply-partially.
8968 2012-06-18 Glenn Morris <rgm@gnu.org>
8970 * progmodes/python.el (python-proc, python-buffer)
8971 (python-send-receive, python-send-string): Fix obsolete versions.
8973 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8975 * window.el (special-display-p): Completely remove stringp
8976 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8978 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8980 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8982 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8984 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8985 * net/tramp-sh.el (tramp-maybe-open-connection):
8986 Throw if `non-essential' is non-nil.
8988 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8990 * window.el (special-display-p): Signal an error if BUFFER-NAME
8991 is not a string (Bug#11713).
8993 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8995 * progmodes/python.el (python-info-beginning-of-backslash):
8996 Rename from python-info-beginning-of-backlash, as a spelling fix.
8998 2012-06-17 Chong Yidong <cyd@gnu.org>
9000 * term.el (term-emulate-terminal): If term-check-size is called,
9001 move point to the process mark without resetting point (Bug#4635).
9003 2012-06-17 Glenn Morris <rgm@gnu.org>
9005 * international/mule-cmds.el (mule-menu-keymap)
9006 (set-language-environment, set-locale-environment): Doc tweaks.
9008 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9010 * cus-face.el (custom-face-attributes): Add wave-style underline
9012 * faces.el (set-face-attribute): Update docstring to describe
9013 wave-style underline attribute.
9015 2012-06-16 Chong Yidong <cyd@gnu.org>
9017 * term/xterm.el (terminal-init-xterm): Discard input before
9018 querying background mode (Bug#10959).
9020 2012-06-16 Stefan Merten <smerten@oekonux.de>
9022 * textmodes/rst.el: Added and corrected some comments.
9023 (rst-re-alist-def): Improve symbol syntax.
9024 (rst-mode-syntax-table): Correct syntax entries.
9025 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9026 (rst-official-version, rst-official-cvs-rev): Update version
9029 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9031 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9032 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9034 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9036 * progmodes/python.el: New python.el merge.
9037 (python-guess-indent): Obsolete var.
9038 (python-indent-guess-indent-offset): New defcustom.
9039 (python-indent): Obsolete var.
9040 (python-indent-offset): New defcustom.
9041 (python-python-command, python-jython-command): Delete var.
9042 (python-shell-interpreter): New defcustom.
9043 (python-pdbtrack-do-tracking-p): Delete var.
9044 (python-pdbtrack-activate): New defcustom.
9045 (python-use-skeletons): Obsolete var.
9046 (python-skeleton-autoinsert): New defcustom.
9047 (inferior-python-filter-regexp, python-continuation-offset)
9048 (python-honour-comment-indentation, python-indent-string-contents)
9049 (python-jython-packages, python-mode-hook)
9050 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9051 (python-shell-prompt-alist)
9052 (python-source-modes): Delete defcustoms.
9053 (python-check-buffer-name, python-eldoc-setup-code)
9054 (python-eldoc-string-code, python-ffap-setup-code)
9055 (python-ffap-string-code, python-fill-comment-function)
9056 (python-fill-decorator-function, python-fill-paren-function)
9057 (python-fill-string-function, python-imenu-include-defun-type)
9058 (python-imenu-make-tree, python-imenu-subtree-root-label)
9059 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9060 (python-shell-compilation-regexp-alist)
9061 (python-shell-completion-module-string-code)
9062 (python-shell-completion-pdb-string-code)
9063 (python-shell-completion-setup-code)
9064 (python-shell-completion-string-code)
9065 (python-shell-enable-font-lock, python-shell-exec-path)
9066 (python-shell-extra-pythonpaths)
9067 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9068 (python-shell-process-environment)
9069 (python-shell-prompt-block-regexp)
9070 (python-shell-prompt-output-regexp)
9071 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9072 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9073 (python-shell-virtualenv-path): New defcustoms.
9074 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9075 (inferior-python-mode-syntax-table, python--prompt-regexp)
9076 (python-buffer, python-command python-python-command)
9077 (python-default-template, python-imports, python-indent-index)
9078 (python-indent-list, python-indent-list-length)
9079 (python-mode-running, python-pdbtrack-is-tracking-p)
9080 (python-preoutput-continuation, python-preoutput-leftover)
9081 (python-preoutput-result, python-preoutput-skip-next-prompt)
9082 (python-prev-dir/file, python-recursing)
9083 (python-saved-check-command, python-version-checked)
9084 (python-which-func-length-limit)
9085 (view-return-to-alist): Delete vars.
9086 (python-check-custom-command, python-dotty-syntax-table)
9087 (python-imenu-index-alist, python-indent-current-level)
9088 (python-indent-dedenters, python-indent-levels)
9089 (python-nav-beginning-of-defun-regexp)
9090 (python-nav-list-defun-positions-cache)
9091 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9092 (python-shell-internal-buffer)
9093 (python-skeleton-available): New vars.
9094 (def-python-skeleton): Delete macro.
9095 (python-skeleton-define): New macro.
9096 (python-define-auxiliary-skeleton, python-rx): New macros.
9097 (python-insert-class): Delete command.
9098 (python-skeleton-class): New command.
9099 (python-insert-def): Delete command.
9100 (python-skeleton-def): New command.
9101 (python-insert-for): Delete command.
9102 (python-skeleton-for): New command.
9103 (python-insert-if): Delete command.
9104 (python-skeleton-if): New command.
9105 (python-insert-try/except, python-insert-try/finally): Delete commands.
9106 (python-skeleton-try): New command.
9107 (python-insert-while): Delete command.
9108 (python-skeleton-while): New command.
9109 (python-backspace): Delete command.
9110 (python-indent-dedent-line-backspace): New command.
9111 (python-electric-colon): Delete command.
9112 (python-indent-electric-colon): New command.
9113 (python-guess-indent): Delete command.
9114 (python-indent-guess-indent-offset): New command.
9115 (python-shift-left): Delete command.
9116 (python-indent-shift-left): New command.
9117 (python-shift-right): Delete command.
9118 (python-indent-shift-right): New command.
9119 (python-find-function): Delete command.
9120 (python-nav-jump-to-defun): New command.
9121 (python-next-statement): Delete command.
9122 (python-nav-forward-sentence): New command.
9123 (python-previous-statement): Delete command.
9124 (python-nav-backward-sentence): New command.
9125 (python-fill-paragraph): Delete command.
9126 (python-fill-paragraph-function): New command.
9127 (python-send-buffer): Delete command.
9128 (python-shell-send-buffer): New command.
9129 (python-send-defun): Delete command.
9130 (python-shell-send-defun): New command.
9131 (python-send-region, python-send-region-and-go): Delete commands.
9132 (python-shell-send-region)
9133 (python-shell-switch-to-shell): New commands.
9134 (python-send-string): Delete command.
9135 (python-shell-send-string): New command.
9136 (python-switch-to-python): Delete command.
9137 (python-shell-switch-to-shell): New command.
9138 (python-describe-symbol): Delete command.
9139 (python-eldoc-at-point): New command.
9140 (python--set-prompt-regexp, python-args-to-list)
9141 (python-after-info-look, python-check-version)
9142 (python-check-comint-prompt, python-find-imports)
9143 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9144 (python-unload-function, python-expand-template)
9145 (python-maybe-jython, python-preoutput-filter)
9146 (python-pdbtrack-get-source-buffer)
9147 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9148 (python-pdbtrack-toggle-stack-tracking)
9149 (python-pdbtrack-track-stack-file, python-initial-text)
9150 (python-first-word, python-comment-line-p, python-send-command)
9151 (python-setup-brm, python-sentinel, python-set-proc)
9152 (python-skip-out, python-input-filter, python-outdent-p)
9153 (python-outline-level, python-backslash-continuation-line-p)
9154 (python-end-of-block, python-end-of-statement, python-mark-block)
9155 (python-beginning-of-block, python-beginning-of-statement)
9156 (python-blank-line-p, python-beginning-of-string)
9157 (python-open-block-statement-p): Delete functions.
9158 (python-indent-line, python-indent-line-1): Delete functions.
9159 (python-indent-line): New function.
9160 (python-indentation-levels): Delete function.
9161 (python-indent-calculate-levels): New function.
9162 (python-proc): Delete function.
9163 (python-shell-get-process): New function.
9164 (python-send-receive): Delete function.
9165 (python-shell-send-string-no-output): New function.
9166 (python-module-path): Delete function.
9167 (python-ffap-module-path): New function.
9168 (python-completion-at-point)
9169 (python-symbol-completions): Delete functions.
9170 (python-completion-complete-at-point): New function.
9171 (python-load-file): Delete function.
9172 (python-shell-send-file): New function.
9173 (python-calculate-indentation): Delete function.
9174 (python-indent-calculate-indentation): New function.
9175 (python-skip-comments/blanks): Delete function.
9176 (python-util-forward-comment): New function.
9177 (python-continuation-line-p): Delete function.
9178 (python-info-continuation-line-p): New function.
9179 (python-which-func, python-current-defun): Delete function.
9180 (python-info-current-defun): New function.
9181 (python-beginning-of-defun): Delete function.
9182 (python-nav-beginning-of-defun): New function.
9183 (python-close-block-statement-p)
9184 (python-block-end-p): Delete function.
9185 (python-info-closing-block): New function.
9186 (python-comint-output-filter-function)
9187 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9188 (python-fill-comment, python-fill-decorator, python-fill-paren)
9189 (python-fill-string, python-imenu-make-element-tree)
9190 (python-imenu-make-tree, python-imenu-tree-assoc)
9191 (python-indent-context, python-indent-dedent-line)
9192 (python-indent-line-function)
9193 (python-indent-post-self-insert-function)
9194 (python-indent-toggle-levels)
9195 (python-info-assignment-continuation-line-p)
9196 (python-info-beginning-of-backlash)
9197 (python-info-block-continuation-line-p)
9198 (python-info-closing-block-message)
9199 (python-info-line-ends-backslash-p)
9200 (python-info-looking-at-beginning-of-defun)
9201 (python-info-ppss-context, python-info-ppss-context-type)
9202 (python-nav-list-defun-positions, python-nav-read-defun)
9203 (python-nav-sentence-end, python-nav-sentence-start)
9204 (python-pdbtrack-comint-output-filter-function)
9205 (python-pdbtrack-set-tracked-buffer)
9206 (python-shell-calculate-exec-path)
9207 (python-shell-calculate-process-environment)
9208 (python-shell-completion--do-completion-at-point)
9209 (python-shell-completion--get-completions)
9210 (python-shell-completion-complete-at-point)
9211 (python-shell-completion-complete-or-indent)
9212 (python-shell-get-or-create-process)
9213 (python-shell-get-process-name)
9214 (python-shell-internal-get-or-create-process)
9215 (python-shell-internal-get-process-name)
9216 (python-shell-internal-send-string, python-shell-make-comint)
9217 (python-shell-parse-command, python-shell-send-setup-code)
9218 (python-skeleton-add-menu-items)
9219 (python-util-clone-local-variables, python-util-position)
9220 (run-python-internal, python-indentation-levels)
9221 (python-nav-beginning-of-defun)
9222 (python-completion-complete-at-point): New functions.
9223 (run-python): Change arguments. New API requirements.
9225 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9227 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9230 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9231 (macroexp--expand-all): Use it.
9233 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9234 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9235 Use `cl-function' instead.
9237 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9239 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9240 Suggested by Stefan Monnier while discussing bug#11657.
9242 2012-06-14 Sam Steingold <sds@gnu.org>
9244 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9246 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9248 * play/doctor.el (doctor-doc): Remove parameter and use
9249 doctor-sent instead of sent.
9250 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9252 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9254 * files.el: Require cl-lib.
9255 (file-name-non-special): Replace case -> cl-case.
9257 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9259 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9260 mapping from #' to function*.
9262 2012-06-13 Chong Yidong <cyd@gnu.org>
9264 * mouse.el (mouse-drag-track): Do not set the mark if the user
9265 releases the mouse without selecting anything (Bug#11588).
9267 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9269 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9270 as well (bug#11646).
9272 * loadup.el: Count byte-code functions as well.
9274 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9275 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9277 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9278 (bug#11649). Add cl-defun and cl-defmacro.
9280 2012-06-13 Drew Adams <drew.adams@oracle.com>
9282 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9285 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9287 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9288 Otherwise, it blocks in batch mode.
9290 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9292 * help-mode.el (bookmark-make-record-default): Declare.
9294 2012-06-13 Chong Yidong <cyd@gnu.org>
9296 * emacs-lisp/package.el (list-packages): Compute a list of
9297 packages that are newly-available since the last list-packages
9299 (package-menu--new-package-list): New var.
9300 (package-menu--generate, package-menu--print-info)
9301 (package-menu--status-predicate, package-menu-mark-install):
9302 Handle new status label "new".
9304 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9306 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9307 conversion to backquotes.
9309 2012-06-12 Chong Yidong <cyd@gnu.org>
9311 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9312 Rename from gud-inhibit-global-bindings.
9314 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9316 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9317 hook from nxml-glyph-set-hook.
9319 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9322 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9324 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9325 Convert to defcustom.
9327 2012-06-12 Drew Adams <drew.adams@oracle.com>
9329 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9331 (help-mode): Use them.
9333 2012-06-11 Glenn Morris <rgm@gnu.org>
9335 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9336 Use preprocessor face for directives.
9337 (fortran-directive-re): Doc fix.
9339 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9341 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9342 conversion to backquotes (bug#11652).
9344 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9345 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9346 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9347 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9348 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9349 (cl-ninth, cl-tenth): Mark them as inlinable.
9350 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9351 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9352 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9353 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9354 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9355 (cl-list*, cl-adjoin): Don't put an autoload manually.
9356 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9357 (cl--compiler-macro-list*): Add autoload cookie.
9358 (cl--compiler-macro-cXXr): New function.
9360 * help-fns.el (help-fns--compiler-macro): New function extracted from
9361 describe-function-1; follow aliases and use `compiler-macro' property.
9362 (describe-function-1): Use it.
9364 2012-06-11 Chong Yidong <cyd@gnu.org>
9366 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9367 is uninstalled, if imagemagick is installed.
9369 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9371 * emacs-lisp/cl-lib.el: Use lexical-binding.
9372 (cl-map-extents, cl-maclisp-member): Remove.
9373 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9374 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9375 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9376 * emacs-lisp/cl-extra.el: Use lexical-binding.
9377 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9378 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9379 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9380 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9381 * emacs-lisp/cl-seq.el: Use lexical-binding.
9382 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9383 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9384 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9385 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9386 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9389 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9391 Sync with Tramp 2.2.6-pre.
9393 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9394 `print-length' and `print-level' to nil, in order to avoid
9395 truncation. Reported by Christopher Schmidt
9396 <christopher@ristopher.com>.
9398 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9400 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9402 (tramp-compat-copy-directory): Add optional argument
9403 COPY-CONTENTS. It is not handled yet.
9405 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9406 (tramp-ftp-file-name-p): Simplify.
9408 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9409 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9412 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9413 (tramp-methods): Do not use `tramp-password-end-of-line'.
9414 (tramp-completion-function-alist-putty): Handle UNIX case.
9415 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9416 (tramp-do-file-attributes-with-stat)
9417 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9418 gid as real numbers. They could run out of integer range on cygwin.
9419 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9420 (tramp-sh-handle-expand-file-name): Handle hops.
9421 (tramp-open-connection-setup-interactive-shell):
9422 Use `tramp-cleanup'. Move check for busyboxes ...
9423 (tramp-find-shell): ... here. Simplify implementation.
9424 Set "remote-shell" property also for alternative shells.
9425 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9426 If failing, a regular file would be written otherwise.
9427 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9428 (tramp-find-inline-encoding): Cache the coding commands in the
9429 process cache. Apply test command on the remote side, if defined.
9430 (tramp-find-inline-compress): Cache the compress commands in the
9432 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9433 when requested. Handle hops.
9434 (tramp-current-connection): New defvar.
9435 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9436 Throw `suppress', if there was a failed connection shortly before.
9437 Handle user interrupt. (Bug#10187)
9438 (tramp-get-inline-compress, tramp-get-inline-coding):
9439 Read connection properties from the process cache.
9441 * net/tramp-smb.el (tramp-smb-server-version)
9442 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9444 (tramp-smb-prompt): Extend for powershell prompt.
9445 (tramp-smb-file-name-handler-alist): Add handlers for
9446 `process-file', `shell-command' and `start-file-process'.
9447 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9448 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9449 (tramp-smb-file-name-p): Simplify.
9450 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9451 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9452 (tramp-smb-shell-quote-argument): New defuns.
9453 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9454 Implement using "tar". By this, time-stamps are preserved.
9455 (tramp-smb-handle-copy-file): Handle also the case of directories.
9456 (tramp-smb-do-file-attributes-with-stat)
9457 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9458 Use `tramp-get-connection-buffer').
9459 (tramp-smb-handle-rename-file): Use "rename", when source and
9460 target are on the same share.
9461 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9462 Use `tramp-smb-server-version'.
9463 (tramp-smb-wait-for-output): Remove prompt.
9465 * net/tramp.el (top): Require 'cl.
9466 (tramp-methods, tramp-rsh-end-of-line):
9467 Remove `tramp-password-end-of-line' from docstring.
9468 (tramp-save-ad-hoc-proxies): New defcustom.
9469 (tramp-completion-function-alist): Adapt docstring.
9470 (tramp-default-password-end-of-line): Remove defcustom.
9471 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9472 (tramp-user-regexp, tramp-file-name-regexp-unified)
9473 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9474 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9475 (tramp-remote-file-name-spec-regexp): New defconst.
9476 (tramp-file-name-structure): Extend structure for hops.
9477 (tramp-get-method-parameter): Move up.
9478 (tramp-file-name-p, tramp-dissect-file-name)
9479 (with-parsed-tramp-file-name): Handle hops.
9480 (tramp-file-name-hop): New defun.
9481 (tramp-make-tramp-file-name): New optional arg HOP.
9482 (tramp-message-show-progress-reporter-message): New defvar.
9483 (tramp-with-progress-reporter): Use it. We cannot use
9484 `tramp-message-show-message' here, because this suppresses also
9486 (tramp-error-with-buffer): Suppress buffer view, if
9487 `tramp-message-show-message' is nil.
9488 Use `tramp-get-connection-buffer'.
9489 (tramp-cleanup): New defun.
9490 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9491 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9493 (tramp-completion-handle-file-name-all-completions): Handle hops.
9494 Fix an error when called from ido.
9495 (tramp-completion-dissect-file-name): Use better local variable
9496 name. Add hop to the vector.
9497 (tramp-handle-insert-file-contents): Use progress-reporter for the
9499 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9501 (tramp-check-for-regexp): Simplify search.
9502 (tramp-enter-password): Remove it. Move implementation ...
9503 (tramp-action-password): ... here.
9504 (tramp-mode-string-to-int, tramp-local-host-p)
9505 (tramp-make-tramp-temp-file, tramp-read-passwd)
9506 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9507 Set tramp-autoload cookie.
9509 * net/trampver.el: Update release number.
9511 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9512 Michael Albinus <michael.albinus@gmx.de>
9514 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9515 (tramp-parse-group, tramp-parse-file)
9516 (tramp-parse-shostkeys-sknownhosts): New defuns.
9517 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9518 (tramp-parse-shosts-group, tramp-parse-sconfig)
9519 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9520 (tramp-parse-sknownhosts, tramp-parse-hosts)
9521 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9523 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9524 (tramp-parse-putty-group): Don't narrow.
9525 (tramp-parse-putty): Make a loop.
9526 (tramp-file-name-handler): Catch the `suppress' signal.
9528 2012-06-11 Chong Yidong <cyd@gnu.org>
9530 * image.el (imagemagick-register-types): Put the ImageMagick entry
9531 at the end of image-type-file-name-regexps.
9533 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9535 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9536 (pcase, pcase-let*, pcase-dolist): Use them.
9538 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9540 * emacs-lisp/pcase.el (pcase--let*): New function.
9541 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9542 (pcase--expand): Use macroexp-let².
9544 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9546 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9547 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9548 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9549 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9550 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9551 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9553 2012-06-10 Glenn Morris <rgm@gnu.org>
9555 * mail/rmail.el (rmail-yank-current-message): Leave point at
9556 correct position. (Bug#11660)
9558 2012-06-10 Chong Yidong <cyd@gnu.org>
9560 * allout-widgets.el: Fix code header.
9562 2012-06-10 Chong Yidong <cyd@gnu.org>
9564 * cus-edit.el (customize-changed-options-previous-release):
9567 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9569 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9571 2012-06-09 Chong Yidong <cyd@gnu.org>
9573 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9575 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9577 * window.el (special-display-popup-frame): Don't use
9578 window--display-buffer (Bug#11651).
9580 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9582 Fix parallel builds: make sure loaddefs.el is not being written
9583 while Lisp files are compiled.
9584 (compile): Don't depend on 'mh-autoloads'.
9585 (compile-CMD, compile-SH): Depend on 'autoloads'.
9586 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9588 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9590 2012-06-09 Chong Yidong <cyd@gnu.org>
9592 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9593 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9594 Doc fixes (Bug#11225).
9596 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9598 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9599 a function if there's a clear indication that it has a compiler-macro.
9600 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9601 (macro-declarations-alist): Add arglist to declaration functions.
9602 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9603 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9604 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9605 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9606 Also add autoload to find the compiler macro.
9607 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9608 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9609 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9610 (cl--compiler-macro-get): New functions, replacing calls to
9611 cl-define-compiler-macro.
9612 (cl-typep) [compiler-macro]: Use macroexp-let².
9614 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9616 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9617 string properly, fixes Bug#11473.
9619 2012-06-08 Chong Yidong <cyd@gnu.org>
9621 * faces.el (set-face-attribute): Doc fix.
9622 (modify-face): Don't use :bold and :italic.
9623 (error, warning, success): Tweak definitions.
9625 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9626 (custom-modified, custom-set, custom-changed, custom-themed)
9627 (custom-saved, custom-button, custom-button-mouse)
9628 (custom-button-pressed, custom-state, custom-comment-tag)
9629 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9630 (custom-group-subtitle): Use new-style face specs.
9631 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9632 (custom-set-face, custom-changed-face, custom-saved-face)
9633 (custom-button-face, custom-button-pressed-face)
9634 (custom-documentation-face, custom-state-face)
9635 (custom-comment-face, custom-comment-tag-face)
9636 (custom-variable-tag-face, custom-variable-button-face)
9637 (custom-face-tag-face, custom-group-tag-face-1)
9638 (custom-group-tag-face): Remove obsolete face alias.
9640 * epa.el (epa-validity-high, epa-validity-medium)
9641 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9642 (epa-field-name, epa-field-body):
9643 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9644 (font-lock-keyword-face, font-lock-builtin-face)
9645 (font-lock-function-name-face, font-lock-variable-name-face)
9646 (font-lock-type-face, font-lock-constant-face):
9647 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9648 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9649 * speedbar.el (speedbar-button-face, speedbar-file-face)
9650 (speedbar-directory-face, speedbar-tag-face)
9651 (speedbar-selected-face, speedbar-highlight-face)
9652 (speedbar-separator-face):
9653 * whitespace.el (whitespace-newline, whitespace-space)
9654 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9655 (whitespace-line, whitespace-space-before-tab)
9656 (whitespace-space-after-tab, whitespace-indentation)
9658 * emulation/cua-base.el (cua-global-mark):
9659 * eshell/em-prompt.el (eshell-prompt):
9660 * net/newst-plainview.el (newsticker-new-item-face)
9661 (newsticker-old-item-face, newsticker-immortal-item-face)
9662 (newsticker-obsolete-item-face, newsticker-date-face)
9663 (newsticker-statistics-face, newsticker-default-face):
9664 * net/newst-reader.el (newsticker-feed-face)
9665 (newsticker-extra-face, newsticker-enclosure-face):
9666 * net/newst-treeview.el (newsticker-treeview-face)
9667 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9668 (newsticker-treeview-immortal-face)
9669 (newsticker-treeview-obsolete-face)
9670 (newsticker-treeview-selection-face):
9671 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9672 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9673 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9674 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9675 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9676 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9677 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9679 * progmodes/vera-mode.el (vera-font-lock-number)
9680 (vera-font-lock-function, vera-font-lock-interface):
9681 * textmodes/table.el (table-cell): Use new-style face specs, and
9682 don't use the old :bold and :italic attributes.
9684 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9685 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9686 (ebrowse-member-class, ebrowse-progress): Likewise.
9687 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9688 (ebrowse-file-name-face, ebrowse-default-face)
9689 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9690 (ebrowse-progress-face): Remove obsolete faces.
9692 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9693 Inherit from error and warning faces respectively.
9695 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9697 (flyspell-incorrect-face, flyspell-duplicate-face):
9698 Remove obsolete aliases.
9700 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9702 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9705 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9707 * startup.el (argv, argi): Make lexically scoped.
9708 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9709 * emacs-lisp/cl-macs.el: Use lexical-binding.
9710 Rename cl-bind-* to cl--bind-*.
9711 * files.el: Don't require `cl' since it doesn't use it.
9712 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9714 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9716 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9717 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9718 instead of calling external sort utility.
9719 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9721 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9723 * descr-text.el (describe-char): Mention how to insert the
9724 character, if the current input method doesn't support it.
9725 See the discussion in this thread for the details:
9726 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9728 2012-06-08 Sam Steingold <sds@gnu.org>
9730 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9731 XF86Back to previous-buffer.
9732 (minibuffer-local-map): Bind them to next-history-element and
9733 previous-history-element respectively.
9734 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9735 help-go-back respectively.
9736 * info.el (Info-mode-map): Bind them to Info-history-forward and
9737 Info-history-back respectively.
9738 These are the keys next to Up on the ThinkPad keyboard.
9740 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9742 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9743 * emacs-lisp/cl-macs.el: Provide itself.
9744 (cl--labels-convert-cache): New var.
9745 (cl--labels-convert): New function.
9746 (cl-flet, cl-labels): New implementation with new semantics, relying on
9748 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9749 (cl-closure-vars, cl--function-convert-cache)
9750 (cl--function-convert): Move from cl-macs.el.
9751 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9752 rename by removing the "cl-" prefix.
9753 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9755 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9757 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9758 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9759 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9760 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9761 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9762 (cl-hash-table-count): Add old compatibility aliases.
9764 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9765 Use macroexpand-all-environment instead.
9766 (cl--old-macroexpand): New var.
9767 (cl--sm-macroexpand): New function.
9768 (cl-symbol-macrolet): Use it during macro expansion.
9769 (cl--function-convert-cache): New var.
9770 (cl--function-convert): New function, extracted from
9772 (cl-lexical-let): Use it.
9774 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9775 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9776 (cl-member): Remove old alias.
9778 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9779 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9780 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9781 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9782 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9783 (cl-macroexpand-cmacs): Remove var.
9784 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9785 Use macroexpand-all instead.
9787 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9789 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9790 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9791 (macroexp-copyable-p): New functions and macros.
9792 * emacs-lisp/edebug.el (edebug-unwrap):
9793 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9794 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9795 (pcase--let*): Remove.
9796 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9797 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9798 macroexp-const-p instead.
9799 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9801 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9802 instead of "cl-" for internal definitions. Use macroexp-const-p.
9803 (cl-old-bc-file-form): Remove var.
9804 (cl-const-exprs-p): Remove fun.
9805 (cl-labels, cl-macrolet): Use backquote.
9806 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9807 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9808 (cl-define-setf-expander): Rename from cl-define-setf-method.
9809 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9811 * international/mule-cmds.el: Don't require CL.
9812 (view-hello-file): Don't use `letf'.
9814 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9816 * tmm.el (tmm-prompt): Use string-prefix-p.
9817 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9818 (tmm-add-prompt): Use minibuffer-completion-help.
9819 (tmm-delete-map): Remove.
9821 * subr.el (kbd): Make it its own function.
9823 2012-06-07 Stefan Merten <smerten@oekonux.de>
9825 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9826 Silence compiler warnings. Fix versions.
9827 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9828 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9829 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9830 (rst-package-emacs-version-alist): Correct Emacs version to
9831 represent major merge with upstream.
9832 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9834 2012-06-06 Glenn Morris <rgm@gnu.org>
9836 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9837 Only print environment variables if set.
9839 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9841 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9842 (macroexp--cons): Rename from maybe-cons.
9843 (macroexp--accumulate): Rename from macroexp-accumulate.
9844 (macroexp--all-forms): Rename from macroexpand-all-forms.
9845 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9846 (macroexp--expand-all): Rename from macroexpand-all-1.
9848 2012-06-06 Sam Steingold <sds@gnu.org>
9850 * calendar/calendar.el (calendar-in-read-only-buffer):
9851 Call `special-mode' to enable the standard read-only keybindings.
9853 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9855 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9856 with "loading" messages (bug#11635).
9858 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9860 * files.el (enable-remote-dir-locals): New option.
9861 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9863 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9864 Ensure, that the temp directory is local.
9866 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9867 `temporary-file-directory'.
9869 * progmodes/python.el (python-send-region): Ensure, that the
9870 temporary file is created also in the remote case.
9872 2012-06-06 Glenn Morris <rgm@gnu.org>
9874 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9875 (vc-rcs-update-changelog): Use it.
9877 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9879 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9880 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9881 (vc-sccs-diff): Replace use of the external vcdiff script.
9883 2012-06-05 Glenn Morris <rgm@gnu.org>
9885 * ledit.el: Move to obsolete/.
9887 2012-06-05 Sam Steingold <sds@gnu.org>
9889 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9892 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9894 * emacs-lisp/cust-print.el: Move to obsolete.
9896 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9897 compiler-macro expansion.
9899 Add native compiler-macro support.
9900 * emacs-lisp/macroexp.el (macroexpand-all-1):
9901 Support compiler-macros directly. Properly follow aliases and apply
9902 the compiler macros more thoroughly.
9903 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9904 macroexpand now properly follows aliases.
9905 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9906 (cl-compiler-macroexpand): Use new prop.
9907 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9909 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9911 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9913 * window.el (get-lru-window, get-mru-window, get-largest-window):
9914 New argument NOT-SELECTED to avoid picking the selected window.
9915 (window--display-buffer-1, window--display-buffer-2): Replace by
9916 new function window--display-buffer
9917 (display-buffer-same-window, display-buffer-reuse-window)
9918 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9919 Use window--display-buffer.
9920 (display-buffer-use-some-window): Remove temporary dedication
9921 hack by calling get-lru-window and get-largest-window with
9922 NOT-SELECTED argument non-nil. Call window--display-buffer.
9924 2012-06-05 Glenn Morris <rgm@gnu.org>
9926 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9927 Replace external vcdiff script.
9929 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9931 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9933 2012-06-04 Chong Yidong <cyd@gnu.org>
9935 * image.el (imagemagick-types-inhibit): Revert last change.
9937 (imagemagick-enabled-types): Remove CIN and EPS*.
9939 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9941 * emacs-lisp/cl-lib.el: Rename from cl.el.
9942 * emacs-lisp/cl.el: New compatibility file.
9943 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9944 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9945 to obey the "cl-" prefix.
9946 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9948 2012-06-03 Glenn Morris <rgm@gnu.org>
9950 * emacs-lisp/authors.el (authors-aliases): Addition.
9952 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9955 2012-06-03 Stefan Merten <smerten@oekonux.de>
9957 * textmodes/rst.el: Add comments.
9958 (rst-transition, rst-adornment): New faces.
9959 (rst-adornment-faces-alist): Make default safe to reevaluate.
9961 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9962 Improve customization tags.
9963 (rst-define-level-faces): Clarify meaning.
9965 2012-06-03 Chong Yidong <cyd@gnu.org>
9967 * progmodes/compile.el (compilation-mode-line-fail)
9968 (compilation-mode-line-run, compilation-mode-line-exit):
9970 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9972 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9974 * progmodes/which-func.el (which-func-update-ediff-windows):
9975 New function. Use it in ediff-select-hook (Bug#11478).
9977 2012-06-03 Chong Yidong <cyd@gnu.org>
9979 * bindings.el: Remove explicit help text from format-mode-line.
9980 It is now supplied by mode-line-default-help-echo.
9981 (mode-line-front-space, mode-line-end-spaces)
9982 (mode-line-misc-info): New variables.
9983 (mode-line-modes, mode-line-position): Move the default value to
9984 the variable definition.
9985 (mode-line-default-help-echo): New defcustom.
9986 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9987 (mode-line-modified-help-echo): New functions.
9988 (mode-line-mule-info, mode-line-modified): Use them.
9989 (mode-line-eol-desc, propertized-buffer-identification):
9990 Consistency fixes for help text.
9991 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9992 set-buffer-file-coding-system (Bug#289).
9993 (mode-line-mule-info-help-echo): Update help text.
9995 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9997 * simple.el (execute-extended-command): Set real-this-command
10000 2012-06-02 Chong Yidong <cyd@gnu.org>
10002 Remove incorrect uses of "modeline" in comments, docstrings, and
10003 function/variable names (Bug#10329).
10005 * cus-edit.el (mode-line):
10006 * dframe.el (dframe-mouse-hscroll):
10007 * emacs-lisp/re-builder.el:
10008 * emacs-lisp/easy-mmode.el (define-minor-mode):
10009 * frame.el (set-frame-name):
10010 * help.el (lookup-minor-mode-from-indicator):
10011 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10012 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10013 (c-toggle-hungry-state):
10014 * progmodes/antlr-mode.el (antlr-language-alist):
10015 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10016 * progmodes/vhdl-mode.el (vhdl-mode):
10017 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10018 * term/ns-win.el (ns-face-at-pos):
10019 * term/sup-mouse.el (sup-mouse-report):
10020 * textmodes/flyspell.el (flyspell-mode-line-string):
10021 * textmodes/ispell.el (ispell-highlight-face):
10022 * textmodes/reftex-global.el:
10023 * vc/vc-arch.el (vc-arch-mode-line-string):
10024 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10025 * vc/vc-git.el (vc-git-mode-line-string):
10026 * vc/vc-hooks.el (vc-display-status)
10027 (vc-default-mode-line-string):
10028 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10030 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10032 * dired.el (dired-sort-set-mode-line): Rename from
10033 dired-sort-set-modeline. All callers changed.
10035 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10036 eshell-status-in-modeline.
10038 * foldout.el (foldout-mode-line-string): Rename from
10039 foldout-modeline-string. All callers changed.
10040 (foldout-update-mode-line): Rename from foldout-update-modeline.
10042 * subr.el (redraw-modeline): Make into obsolete alias.
10044 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10045 timeclock-modeline-display. Make old name an alias.
10046 (timeclock-update-mode-line): Likewise. All callers changed.
10047 (timeclock-mode-line-display): No need to check before using
10049 (timeclock-relative, timeclock-day-over-hook)
10050 (timeclock-use-elapsed, timeclock-mode-string)
10051 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10053 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10054 crisp-mode-modeline-string.
10056 * play/solitaire.el (solitaire-build-mode-line): Rename from
10057 solitaire-build-modeline. All callers changed.
10059 * play/zone.el (zone-hiding-mode-line): Rename from
10060 zone-hiding-modeline. All callers changed.
10061 (zone): Remove unusued `modeline-hidden-level' property.
10063 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10064 xscheme-modeline-initialize. All callers changed.
10066 * strokes.el (strokes-lighter): Rename from
10067 strokes-modeline-string.
10069 * textmodes/sgml-mode.el (html-face-tag-alist)
10070 (html-tag-face-alist): Use mode-line face instead of obsolete
10073 2012-06-02 Stefan Merten <smerten@oekonux.de>
10075 * textmodes/rst.el: Always require `cl'.
10076 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10078 2012-06-02 Chong Yidong <cyd@gnu.org>
10080 * image.el (imagemagick-enabled-types): Rename from
10081 imagemagick-types-enable. Add many more types.
10082 (imagemagick-types-inhibit): Change default to nil.
10083 (imagemagick-filter-types): Caller changed.
10085 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10087 * emacs-lisp/cl-macs.el: Use backquotes.
10088 (cl-transform-function-property): Use eval-and-compile rather than
10090 (defstruct): Use declare-function instead of with-no-warnings.
10092 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10093 (byte-compile-output-docform): Re-add the print-circle bindings.
10094 (byte-compile-fix-header): Use #$ just because it's shorter.
10095 (byte-compile-output-file-form): Remove defun/defmacro.
10097 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10099 * simple.el (choose-completion): Remove now obsolete binding for
10102 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10104 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10105 in order to avoid "Stack overflow in regexp matcher".
10107 2012-05-31 Glenn Morris <rgm@gnu.org>
10109 * image.el: For clarity, call imagemagick-register-types at
10110 top-level, rather than relying on a custom :initialize.
10111 (imagemagick-types-enable): New option. (Bug#11557)
10112 (imagemagick-filter-types): New function. (Bug#7406)
10113 (imagemagick-register-types): Use imagemagick-filter-types.
10114 If disabling support, remove elements altogether rather
10115 than using an impossible regexp.
10116 (imagemagick-types-inhibit): Give it the default init function.
10118 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10120 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10121 Handle arbitrary file name lengths (Bug#11585).
10123 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10125 * desktop.el (desktop-read): Clear previous and next buffers for
10126 all windows and bury *Messages* buffer (bug#11556).
10128 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10130 Add `declare' for `defun'. Align `defmacro's with it.
10131 * emacs-lisp/easy-mmode.el (define-minor-mode)
10132 (define-globalized-minor-mode): Don't autoload the var definitions.
10133 * emacs-lisp/byte-run.el: Use lexical-binding.
10134 (defun-declarations-alist, macro-declarations-alist): New vars.
10135 (defmacro, defun): Use them.
10136 (make-obsolete, define-obsolete-function-alias)
10137 (make-obsolete-variable, define-obsolete-variable-alias):
10139 (macro-declaration-function): Mark obsolete.
10140 * emacs-lisp/autoload.el: Use lexical-binding.
10141 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10143 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10145 * textmodes/ispell.el (ispell-with-no-warnings):
10147 (ispell-kill-ispell, ispell-change-dictionary):
10148 Use `called-interactively-p' for Emacs instead of obsolete
10151 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10153 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10154 (macro-declaration-function): Move var from C code.
10155 (macro-declaration-function): Define function with defalias.
10156 * emacs-lisp/macroexp.el (macroexpand-all-1):
10157 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10158 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10159 defun/defmacro any more.
10160 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10161 Provide fallback for unknown arglist.
10162 (byte-compile-arglist-warn): Change calling convention.
10163 (byte-compile-output-file-form): Move print-vars binding.
10164 (byte-compile-output-docform): Simplify accordingly.
10165 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10166 (byte-compile-defmacro-declaration): Remove.
10167 (byte-compile-file-form-defmumble): Generalize to defalias.
10168 (byte-compile-output-as-comment): Return byte-positions.
10169 Simplify callers accordingly.
10170 (byte-compile-lambda): Use `assert'.
10171 (byte-compile-defun, byte-compile-defmacro): Remove.
10172 (byte-compile-file-form-defalias):
10173 Use byte-compile-file-form-defmumble.
10174 (byte-compile-defalias-warn): Remove.
10176 2012-05-29 Stefan Merten <smerten@oekonux.de>
10178 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10179 possible. Fix authors. Improve comments. Improve loading of `cl'.
10181 (rst-mode-abbrev-table): Merge definition.
10182 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10183 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10185 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10187 * calendar/icalendar.el
10188 (icalendar-export-region): Export UID properly.
10190 2012-05-29 Leo Liu <sdl.web@gmail.com>
10191 * calendar/icalendar.el (icalendar-import-format):
10192 Add `icalendar-import-format-uid' (Bug#11525).
10193 (icalendar-import-format-uid): New.
10194 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10197 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10199 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10200 different alternative patterns.
10201 (pcase-codegen): Be more careful to preserve identity.
10202 (pcase--u1): Don't forget to mark vars as used.
10204 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10205 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10206 (byte-compile-from-buffer): ...rather than here.
10208 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10209 functions from byte-compile-function-environment.
10211 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10213 * window.el (window-deletable-p): Avoid deleting the root window
10214 of a frame with an active minibuffer.
10216 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10218 * simple.el (choose-completion): Use quit-window (Bug#11567).
10220 2012-05-29 Chong Yidong <cyd@gnu.org>
10222 * whitespace.el (whitespace-cleanup): Fix usage of
10223 whitespace-empty-at-bob-regexp (Bug#11492).
10225 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10227 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10228 revert (Bug#11488).
10230 2012-05-29 Juri Linkov <juri@jurta.org>
10232 * isearch.el (isearch-mode-map): Bind `M-s _' to
10233 `isearch-toggle-symbol'. Bind `M-s c' to
10234 `isearch-toggle-case-fold'.
10235 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10236 (isearch-forward): Add `M-s _' to the docstring.
10237 (isearch-forward-symbol, isearch-toggle-case-fold)
10238 (isearch-symbol-regexp): New functions. (Bug#11381)
10240 2012-05-29 Juri Linkov <juri@jurta.org>
10242 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10243 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10244 a function, call it to get the regexp.
10245 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10246 property `isearch-message-prefix' instead of the string "word ".
10247 (isearch-search-fun-default): For the case of `isearch-word',
10248 return a lambda that calls re-search-forward/re-search-backward
10249 with a regexp returned by `word-search-regexp' or by the function
10252 2012-05-29 Juri Linkov <juri@jurta.org>
10254 * isearch.el (isearch-search-fun-default): New function.
10255 (isearch-search-fun): Move default part to the new function
10256 `isearch-search-fun-default'.
10257 (isearch-search-fun-function): Set the default value to
10258 `isearch-search-fun-default'. (Bug#11381)
10260 * comint.el (comint-history-isearch-end):
10261 Use `isearch-search-fun-default'.
10262 (comint-history-isearch-search): Use `isearch-search-fun-default'
10263 and remove spacial case for `isearch-word'.
10264 (comint-history-isearch-wrap): Remove spacial case for
10267 * hexl.el (hexl-isearch-search-function):
10268 Use `isearch-search-fun-default'.
10270 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10271 Use `word-search-regexp' for `isearch-word'.
10273 * misearch.el (multi-isearch-search-fun):
10274 Use `isearch-search-fun-default'.
10276 * simple.el (minibuffer-history-isearch-search):
10277 Use `isearch-search-fun-default' and remove spacial case for
10279 (minibuffer-history-isearch-wrap): Remove spacial case for
10282 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10283 Remove spacial case for `isearch-word'.
10284 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10286 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10288 Decrease XEmacs incompatibilities.
10289 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10290 Use `string-match'.
10291 (flyspell-delete-region-overlays): Use alternative definition for
10293 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10294 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10295 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10296 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10297 `define-obsolete-face-alias' under XEmacs, but old method.
10299 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10300 `with-no-warnings' definition or Emacs alias.
10301 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10302 (ispell-word): Do not use `region-p' if XEmacs.
10304 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10306 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10307 Check for `ispell-dictionary-base-alist' instead of full
10308 `ispell-dictionary-alist'.
10309 (ispell-init-process): Show spellchecker when starting new Ispell
10312 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10314 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10315 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10317 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10319 * version.el (motif-version-string, gtk-version-string)
10320 (ns-version-string): Declare.
10322 2012-05-27 Juri Linkov <juri@jurta.org>
10324 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10325 after the `eval-defun-1' specialcaseing
10326 like in `edebug-eval-defun' (bug#10181).
10328 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10329 like in `eval-defun-1'.
10331 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10333 * mail/sendmail.el (mail-yank-region):
10334 Recognize rmail-yank-current-message in addition to insert-buffer.
10335 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10336 a *mail* buffer created through rmail-start-mail with sendmail as
10339 2012-05-27 Chong Yidong <cyd@gnu.org>
10341 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10342 Default to 256 (Bug#11267).
10344 * help.el (describe-mode): Doc fix.
10346 2012-05-26 Glenn Morris <rgm@gnu.org>
10348 * w32-fns.el (w32-init-info): Remove.
10349 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10351 * info.el (info-initialize): For self-contained NS builds, put the
10352 included info/ directory at the front. (Bug#2791)
10354 * paths.el (Info-default-directory-list): Make it a defcustom,
10355 mainly so that we can use custom-initialize-delay.
10357 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10359 * subr.el (buffer-has-markers-at): Mark obsolete.
10361 * subr.el (lambda): Use declare.
10363 * emacs-lisp/lisp-mode.el (lambda):
10364 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10366 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10368 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10370 2012-05-26 Glenn Morris <rgm@gnu.org>
10372 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10374 2012-05-25 Glenn Morris <rgm@gnu.org>
10376 * paths.el: Remove no-byte-compile.
10377 * loadup.el: No need to load paths.el uncompiled.
10379 * image.el (imagemagick-types-inhibit): Doc fix.
10381 * version.el: Remove no-byte-compile and associated formatting.
10382 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10383 is ancient code from when there was an "inc-vers.el".
10385 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10387 * progmodes/gdb-mi.el: Minor style changes.
10388 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10389 Turn into minor modes.
10390 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10391 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10392 (gdb-shell): Remove unneeded let-binding.
10393 (gdb-get-many-fields): Eliminate O(n²) behavior.
10395 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10397 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10398 platforms that don't link in fontset.c.
10400 2012-05-25 Juri Linkov <juri@jurta.org>
10402 Use the same diff color scheme as in modern VCSes (bug#10181).
10404 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10405 to avoid confusion with `diff-added' that now uses green colors.
10406 (diff-removed): Use shades of red.
10407 (diff-added): Use shades of green.
10408 (diff-changed): Leave just the yellow color.
10409 (diff-use-changed-face): New variable.
10410 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10411 how to highlight context diff changes.
10412 (diff-refine-change): Use shades of yellow.
10413 (diff-refine-removed): New face that uses shades of red.
10414 (diff-refine-added): New face that uses shades of green.
10415 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10416 `diff-refine-removed' in the call to `smerge-refine-subst'
10417 depending on the value of `diff-use-changed-face'.
10419 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10420 (smerge-other): Use shades of green.
10421 (smerge-base): Use shades of yellow.
10422 (smerge-refined-change): Empty face.
10423 (smerge-refined-removed): New face that uses shades of red.
10424 (smerge-refined-added): New face that uses shades of green.
10425 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10426 args `props-r' and `props-a', and use them. Doc fix.
10427 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10428 on its value use different faces `smerge-refined-change',
10429 `smerge-refined-removed', `smerge-refined-added' in the call to
10430 `smerge-refine-subst'.
10432 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10433 Add face condition `min-colors 88' with shades of red.
10434 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10435 `min-colors 88' with shades of green.
10436 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10437 `min-colors 88' with shades of yellow.
10439 2012-05-24 Glenn Morris <rgm@gnu.org>
10441 * paths.el (prune-directory-list, remote-shell-program): Move to...
10442 * files.el (prune-directory-list, remote-shell-program): ...here.
10443 For the latter, delay initialization, prefer ssh, just search PATH.
10445 * paths.el (term-file-prefix): Move to faces.el (the only user).
10446 * faces.el (term-file-prefix): Move here, make it a defcustom.
10448 * paths.el (news-directory, news-path, news-inews-program):
10449 Move to gnus/nnspool.el.
10451 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10453 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10454 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10455 Make the latter a defcustom, with a delayed initialization.
10457 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10458 These were deleted from Gnus itself late 2010.
10460 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10462 * progmodes/which-func.el (which-func-ff-hook):
10463 Check against user-error, not error.
10465 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10466 cl-specs.el, which no longer exists.
10468 2012-05-22 Glenn Morris <rgm@gnu.org>
10470 * info.el (info-emacs-bug): New command.
10471 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10472 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10474 2012-05-21 Glenn Morris <rgm@gnu.org>
10476 * makefile.w32-in (update-subdirs-SH):
10477 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10479 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10481 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10483 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10484 Simplify Maven regexp, and make sure the file can't start with a space
10487 2012-05-21 Glenn Morris <rgm@gnu.org>
10489 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10490 Scrap superfluous subshells.
10492 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10494 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10495 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10497 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10499 * calc/calc.el (calc-ensure-consistent-units): New variable.
10501 * calc/calc-units.el (math-consistent-units-p)
10502 (math-check-unit-consistency): New functions.
10503 (calc-quick-units, calc-convert-units):
10504 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10506 (calc-extract-units): Fix typo.
10508 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10510 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10512 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10513 (flyspell-default-deplacement-commands): Don't spell check after
10514 repeated window/frame switches (e.g. triggered by mouse-movement).
10515 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10516 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10517 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10518 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10519 Remove unused vars.
10520 (flyspell-get-casechars, flyspell-get-not-casechars):
10521 Simplify; Don't bother removing a ] just to add it back.
10522 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10524 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10526 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10528 (math-function-table): Add support for more C functions.
10530 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10532 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10533 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10534 Protect delay handling for otherchars against empty otherchars.
10536 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10538 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10539 their respective macro declarations.
10540 * skeleton.el (define-skeleton):
10541 * progmodes/compile.el (define-compilation-mode):
10542 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10543 (define-ibuffer-filter):
10544 * emacs-lisp/generic.el (define-generic-mode):
10545 * emacs-lisp/easy-mmode.el (define-minor-mode)
10546 (define-globalized-minor-mode):
10547 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10548 * emacs-lisp/byte-run.el (defsubst):
10549 * custom.el (deftheme): Add doc-string metadata.
10551 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10553 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10555 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10557 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10559 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10560 * emacs-lisp/cl-macs.el: Idem.
10561 * emacs-lisp/cl-specs.el: Remove.
10563 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10565 Minor renaming of internal CL functions and variables.
10566 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10567 (cl--position): Rename from cl-position.
10568 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10569 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10570 (cl--random-state): Rename from *random-state*.
10572 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10574 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10575 parens around the arg list (bug#11499).
10577 2012-05-17 Juri Linkov <juri@jurta.org>
10579 * isearch.el (word-search-regexp, word-search-backward)
10580 (word-search-forward, word-search-backward-lax)
10581 (word-search-forward-lax): Move functions from search.c
10582 (bug#10145, bug#11381).
10584 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10586 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10587 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10588 Delay for otherchars as for normal word components.
10590 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10592 * minibuffer.el (completion--sifn-requote): Fix last change.
10593 (minibuffer-local-must-match-filename-map):
10594 Move define-obsolete-variable-alias before its var.
10596 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10598 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10600 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10602 (completion--string-equal-p): New function.
10603 (completion--twq-all): Use it to get better assertion failure data.
10605 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10606 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10607 (shell--requote-argument): New functions.
10608 (shell-completion-vars): Use them.
10609 (shell--parse-pcomplete-arguments): Rename from
10610 shell-parse-pcomplete-arguments.
10611 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10612 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10613 Obey comint-file-name-quote-list.
10615 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10616 (smie-indent-keyword): Use it.
10618 2012-05-14 Stefan Merten <smerten@oekonux.de>
10620 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10622 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10624 * net/rlogin.el (rlogin-mode-map): Fix last change.
10626 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10628 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10629 the following \r\n using a single `process-send-string', since the
10630 Lotus SMTP server refuses to accept any commands if they are sent
10631 with two `process-send-string's (Bug#11444).
10633 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10635 * shell.el (shell-parse-pcomplete-arguments):
10636 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10638 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10640 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10641 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10642 (image-transform-width, image-transform-fit-width): New functions.
10643 (image-transform-properties): Use them.
10644 (image-transform-check-size): New function.
10645 (image-toggle-display-image): Use it (for testing).
10646 (image-transform-set-rotation): Reduce angle mod 360.
10647 Delete obsolete comment.
10649 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10651 * image-mode.el: Fix scaling (bug#11399).
10652 (image-transform-resize): Doc fix.
10653 (image-transform-properties): Default scale is 1 and height should
10656 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10658 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10659 than hard-coding `car', to fix misbehavior when moving forward.
10661 2012-05-13 Chong Yidong <cyd@gnu.org>
10663 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10664 (tabulated-list-entries, tabulated-list-padding)
10665 (tabulated-list-sort-key): Make permanent-local.
10667 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10668 (electric-buffer-list): Put electric buffer menu
10669 command descriptions in this docstring, instead of the docstring
10670 of electric-buffer-menu-mode. Code cleanups.
10671 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10672 Electric-buffer-menu-mode.
10673 (electric-buffer-update-highlight): Minor code cleanup.
10675 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10677 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10680 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10682 Move define-obsolete-variable-alias before the var's definition.
10683 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10684 * tooltip.el (tooltip-hook):
10685 * textmodes/reftex-toc.el (reftex-toc-map):
10686 * textmodes/reftex-sel.el (reftex-select-label-map)
10687 (reftex-select-bib-map):
10688 * textmodes/reftex-index.el (reftex-index-map)
10689 (reftex-index-phrases-map):
10690 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10691 * progmodes/meta-mode.el (meta-mode-map):
10692 * novice.el (disabled-command-hook):
10693 * loadhist.el (unload-hook-features-list):
10694 * frame.el (blink-cursor):
10695 * files.el (find-file-not-found-hooks, write-file-hooks)
10696 (write-contents-hooks):
10697 * emulation/tpu-edt.el (GOLD-map):
10698 * emacs-lock.el (emacs-lock-from-exiting):
10699 * emacs-lisp/generic.el (generic-font-lock-defaults):
10700 * emacs-lisp/chart.el (chart-map):
10701 * dos-fns.el (register-name-alist):
10702 * dired-x.el (dired-omit-files-p):
10703 * desktop.el (desktop-enable):
10704 * cus-edit.el (custom-mode-hook):
10705 * buff-menu.el (buffer-menu-mode-hook):
10706 * bookmark.el (bookmark-read-annotation-text-func)
10707 (bookmark-exit-hooks):
10708 * allout.el (allout-mode-deactivate-hook)
10709 (allout-exposure-change-hook, allout-structure-added-hook)
10710 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10711 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10712 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10713 comes before the corresponding variable's definition.
10715 2012-05-12 Chong Yidong <cyd@gnu.org>
10717 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10718 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10719 (Buffer-menu-mode-map): Bind it.
10720 (Buffer-menu--pretty-name): Add a mouse-face property.
10722 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10724 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10725 (prolog-upper-case-string, prolog-lower-case-string)
10726 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10727 (prolog-use-smie, prolog-smie-grammar): New vars.
10728 (prolog-smie-forward-token, prolog-smie-backward-token)
10729 (prolog-smie-rules): New funs.
10730 (prolog-comment-indent): Remove.
10731 (prolog-mode-variables): Use default comment indentation instead.
10733 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10734 (prolog-mode): Don't call them any more.
10735 (prolog-electric-colon, prolog-electric-dash)
10736 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10738 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10740 * minibuffer.el (completion--twq-all): Again, allow case differences.
10742 * term.el: Move keymap initialization code to be more idiomatic.
10743 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10744 (term-terminal-menu): Move initialization into declaration.
10745 (term-escape-char): Let the user set it in her .emacs.
10747 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10748 Provide SMIE-based indentation (not enabled by default yet).
10749 (sh-mode-map): Don't bind electric keys.
10750 Use electric-pair-mode instead of skeleton-pair.
10751 (sh-assignment-regexp): Fit within 80 columns.
10752 (sh-indent-supported): Specify actual shell name instead of boolean.
10753 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10754 (sh-maybe-here-document): Use it. Make obsolete.
10755 (sh-electric-here-document-mode) New minor mode.
10756 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10757 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10758 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10759 (sh-smie-rc-grammar, sh-use-smie): New vars.
10760 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10761 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10762 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10763 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10764 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10765 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10766 (sh-set-shell): Use smie-setup if requested.
10768 * term.el (term-set-escape-char): Properly set term-escape-char.
10769 See http://stackoverflow.com/questions/10524656.
10771 2012-05-10 Chong Yidong <cyd@gnu.org>
10773 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10774 Use url-generic-parse-url, and handle host names and Windows
10775 filenames properly.
10776 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10777 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10778 URL schemes to work on.
10779 (ffap--toggle-read-only): New function.
10780 (ffap-read-only, ffap-read-only-other-window)
10781 (ffap-read-only-other-frame): Use it.
10782 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10783 necessary for ffap-url-unwrap-remote.
10785 2012-05-10 Dave Abrahams <dave@boostpro.com>
10787 * cus-start.el (create-lockfiles): Add it.
10789 2012-05-09 Chong Yidong <cyd@gnu.org>
10791 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10792 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10794 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10796 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10798 2012-05-09 Chong Yidong <cyd@gnu.org>
10800 * ansi-color.el (ansi-color-process-output): Check for validity of
10801 comint-last-output-start before using it. This avoids a bad
10802 interaction with gdb-mi's input/output buffer.
10804 2012-05-09 Glenn Morris <rgm@gnu.org>
10806 * files.el (dir-locals-read-from-file):
10807 Mention dir-locals in any error message.
10809 2012-05-09 Chong Yidong <cyd@gnu.org>
10811 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10812 package (Bug#11410).
10814 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10815 variables into description.
10817 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10819 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10820 shell-delimiter-argument-list (bug#11348).
10821 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10823 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10825 * textmodes/rst.el: Silence byte-compiler warnings.
10826 (rst-re-alist, rst-reset-section-caches): Move around.
10827 (rst-re): Use `characterp', not `char-valid-p'.
10828 (font-lock-beg, font-lock-end): Declare.
10830 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10831 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10833 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10835 2012-05-08 Glenn Morris <rgm@gnu.org>
10837 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10839 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10841 * vc/log-edit.el: Add GNU coding standards highlighting.
10842 (log-edit-font-lock-gnu-style)
10843 (log-edit-font-lock-gnu-keywords): New vars.
10844 (log-edit-font-lock-keywords): New fun.
10845 (log-edit-mode): Don't fold case in font-lock.
10846 (log-edit-font-lock-keywords): Do not assume case-folding.
10848 * imenu.el: Misc cleanup. Make docstrings out of comments.
10849 Use lexical-binding.
10850 (imenu--index-alist, imenu--last-menubar-index-alist)
10851 (imenu-menubar-modified-tick): Use defvar-local.
10852 (imenu--split-menu): Remove unused var.
10853 (imenu--cleanup-seen): Declare as global.
10854 (imenu--cleanup): Use dolist.
10856 * subr.el (defvar-local): Add debug spec and doc-string position.
10858 2012-05-08 Glenn Morris <rgm@gnu.org>
10860 * language/burmese.el, language/cham.el, language/czech.el:
10861 * language/english.el, language/georgian.el, language/greek.el:
10862 * language/japanese.el, language/khmer.el, language/korean.el:
10863 * language/lao.el, language/misc-lang.el, language/romanian.el:
10864 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10865 * language/thai.el, language/utf-8-lang.el:
10866 Remove no-byte-compile setting.
10868 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10870 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10872 * progmodes/make-mode.el (makefile-browse):
10873 Remove unnecessary interactive. (Bug#11324)
10875 2012-05-07 Glenn Morris <rgm@gnu.org>
10877 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10879 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10881 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10883 * loadup.el: Preload newcomment.el.
10884 * newcomment.el: Move autoload-only code to toplevel.
10886 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10887 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10888 Handle new :right-align column property.
10889 (tabulated-list-print-col): Idem, plus use `display' text-property to
10890 try and preserve alignment for variable pitch fonts.
10892 2012-05-07 Chong Yidong <cyd@gnu.org>
10894 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10895 (tabulated-list-use-header-line): New var.
10896 (tabulated-list-init-header): Use it.
10897 (tabulated-list-print-fake-header): New function.
10898 (tabulated-list-print): Use it.
10899 (tabulated-list-sort-button-map): Add non-header-line commands.
10900 (tabulated-list-init-header): Add column name property to basic
10902 (tabulated-list-col-sort): Handle non-header-line button case.
10903 (tabulated-list--sort-by-column-name): Fix a corner case.
10905 * buff-menu.el (list-buffers--refresh):
10906 Handle Buffer-menu-use-header-line.
10908 2012-05-06 Chong Yidong <cyd@gnu.org>
10910 * buff-menu.el: Convert to Tabulated List mode.
10911 (Buffer-menu-buffer+size-width): Make obsolete.
10912 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10913 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10914 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10915 documentation into docstring of buffer-menu.
10916 (Buffer-menu-toggle-files-only): Add an informative message.
10917 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10918 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10919 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10920 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10921 (Buffer-menu-execute, Buffer-menu-select)
10922 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10923 (Buffer-menu-bury): Use Tabulated List machinery.
10924 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10925 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10927 (list-buffers--refresh): New function.
10928 (list-buffers-noselect): Use it.
10929 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10930 (Buffer-menu--pretty-file-name): New helper functions.
10932 * loadup.el: Preload tabulated-list.
10934 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10935 tabulated-list-sort-column.
10936 (tabulated-list-init-header): Add the initial aligning space even
10937 if tabulated-list-padding is zero.
10939 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10941 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10942 whose cdr is not a cons cell correctly (bug#11038).
10944 2012-05-06 Chong Yidong <cyd@gnu.org>
10946 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10947 Accept additional plist in column descriptors.
10948 (tabulated-list-init-header): Obey it.
10949 (tabulated-list-get-entry): New function.
10950 (tabulated-list-put-tag): Use it. Use string-width instead of
10952 (tabulated-list--column-number): New function.
10953 (tabulated-list-print): Use it.
10954 (tabulated-list-print-col): New function.
10955 Set `tabulated-list-column-name' property on each column's text.
10956 (tabulated-list-print-entry): Use it.
10957 (tabulated-list-delete-entry, tabulated-list-set-col):
10959 (tabulated-list-sort-column): New command (Bug#11337).
10961 * buff-menu.el (list-buffers): Move C-x C-b binding from
10962 buff-menu.el to bindings.el.
10964 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10965 :advertised-binding feature.
10967 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10969 * progmodes/compile.el (compilation-internal-error-properties):
10970 Calculate start position correctly when end-col is set but
10971 end-line is not (Bug#11382).
10973 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10975 * man.el (Man-unindent): Use text-property-default-nonsticky to
10976 prevent untabify from inheriting face properties (Bug#11408).
10978 2012-05-05 Stefan Merten <smerten@oekonux.de>
10980 * textmodes/rst.el: Major merge with upstream development up to
10981 Docutils SVN r7399 / rst.el V1.2.1.
10983 Clarify maintainership and authors.
10985 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10986 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10987 (rst-official-version, rst-official-cvs-rev, rst-version)
10988 (rst-package-emacs-version-alist): New functions and variables
10989 for version information.
10991 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10992 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10993 (rst-mode-syntax-table, rst-mode): New and corrected functions
10994 and variables representing reStructuredText features.
10996 (rst-re): New function for reStructuredText regexes. Use in
10999 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11000 (rst-mode-map): Rebind keys.
11002 (rst-mode-lazy, rst-font-lock-keywords)
11003 (rst-font-lock-extend-region)
11004 (rst-font-lock-extend-region-internal)
11005 (rst-font-lock-extend-region-extend)
11006 (rst-font-lock-find-unindented-line-limit)
11007 (rst-font-lock-find-unindented-line-match)
11008 (rst-adornment-level, rst-font-lock-adornment-level)
11009 (rst-font-lock-adornment-match)
11010 (rst-font-lock-handle-adornment-pre-match-form)
11011 (rst-font-lock-handle-adornment-matcher): Major revision of
11012 font-locking. Integrate with other code. Use `jit-lock-mode'.
11014 (rst-preferred-adornments, rst-adjust-hook)
11015 (rst-new-adornment-down, rst-preferred-bullets)
11016 (rst-preferred-bullets, rst-indent, rst-indent-width)
11017 (rst-indent-field, rst-indent-literal-normal)
11018 (rst-indent-literal-minimized, rst-indent-comment): Change,
11019 extend and improve customization.
11021 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11022 (rst-normalize-cursor-position, rst-get-decoration)
11023 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11024 (rst-rstrip, rst-toc-insert-find-delete-contents)
11025 (rst-shift-fill-region, rst-compute-bullet-tabs)
11026 (rst-debug-print-tabs, rst-debug-mark-found)
11027 (rst-shift-region-guts, rst-shift-region-right)
11028 (rst-shift-region-left, rst-use-char-classes)
11029 (rst-font-lock-keywords-function)
11030 (rst-font-lock-indentation-point)
11031 (rst-font-lock-find-unindented-line-begin)
11032 (rst-font-lock-find-unindented-line-end)
11033 (rst-font-lock-find-unindented-line)
11034 (rst-font-lock-adornment-point, rst-font-lock-level)
11035 (rst-adornment-level-alist): Remove functions and variables.
11037 (rst-compare-adornments, rst-get-adornment-match)
11038 (rst-suggest-new-adornment, rst-get-adornments-around)
11039 (rst-adornment-complete-p, rst-get-next-adornment)
11040 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11041 (rst-straighten-adornments): Standardize function names to
11042 use "adornment" instead of "decoration". Correct callers.
11043 Similar standardizing in many places.
11045 (rst-update-section, rst-adjust, rst-promote-region)
11046 (rst-enumerate-region, rst-bullet-list-region)
11047 (rst-repeat-last-character): Correct use of `interactive'.
11049 (rst-classify-adornment, rst-find-all-adornments)
11050 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11051 (rst-find-leftmost-column, rst-repeat-last-character):
11052 Refactor functions.
11054 (rst-find-title-line, rst-reset-section-caches)
11055 (rst-get-adornments-around, rst-adjust-adornment-work)
11056 (rst-arabic-to-roman, rst-roman-to-arabic)
11057 (rst-insert-list-pos, rst-insert-list-new-item)
11058 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11061 (rst-all-sections, rst-section-hierarchy)
11062 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11065 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11066 configuration instead of only buffer. Change where necessary.
11068 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11069 (rst-shift-region, rst-adaptive-fill): New functions for
11070 indentation and filling.
11072 (rst-comment-line-break, rst-comment-indent)
11073 (rst-comment-insert-comment, rst-comment-region)
11074 (rst-uncomment-region): New functions for handling comments.
11076 (rst-compile): Quote shell arguments.
11078 (rst-compile-pdf-preview, rst-compile-slides-preview):
11079 Delete temporary files after use.
11081 2012-05-05 Glenn Morris <rgm@gnu.org>
11083 * calendar/cal-html.el: Optionally include holidays in the output.
11084 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11085 (cal-html-holidays): New option.
11086 (cal-html-css-default): Add holiday entry.
11087 (holiday-in-range): Autoload it.
11088 (cal-html-htmlify-entry): Add optional class argument.
11089 (cal-html-htmlify-list): Add optional holidays argument.
11090 (cal-html-insert-agenda-days): Include holidays in the output.
11091 (cal-html-one-month): Maybe include holidays.
11093 * calendar/holidays.el (holiday-in-range):
11094 Move here from cal-tex-list-holidays.
11095 * calendar/cal-tex.el (cal-tex-list-holidays):
11096 Make it an obsolete alias for holiday-in-range. Update all callers.
11098 2012-05-05 Chong Yidong <cyd@gnu.org>
11100 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11103 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11105 * files.el (file-auto-mode-skip): New var.
11106 (set-auto-mode-1): Use it.
11108 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11110 * repeat.el: Use lexical-binding.
11111 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11112 (repeat-undo-count): Remove.
11114 * progmodes/octave-mod.el (octave-abbrev-start):
11115 * progmodes/f90.el (f90-abbrev-start):
11116 * face-remap.el (text-scale-adjust):
11117 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11119 * emacs-lisp/pcase.el (pcase--let*): New function.
11120 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11122 (pcase--split-pred): Be more clever about ruling out overlap between
11123 a predicate and some constant pattern.
11124 (pcase--q1): Use `null' instead of (eq foo nil).
11126 * subr.el (setq-local, defvar-local): New macros.
11127 (kbd): Redefine as an alias.
11128 (with-selected-window): Leave unrelated frames alone.
11129 (set-temporary-overlay-map): New function.
11131 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11133 * subr.el (user-error): New function.
11134 * window.el (switch-to-buffer):
11135 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11136 (smerge-match-conflict):
11137 * simple.el (previous-matching-history-element)
11138 (next-matching-history-element, goto-history-element, undo-more)
11140 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11141 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11142 (next-file, tags-loop-scan, list-tags, complete-tag):
11143 * progmodes/compile.el (compilation-loop):
11144 * mouse.el (mouse-minibuffer-check):
11145 * man.el (Man-bgproc-sentinel, Man-goto-page):
11146 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11147 (Info-history-forward, Info-follow-reference, Info-menu)
11148 (Info-extract-menu-item, Info-extract-menu-counting)
11149 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11150 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11151 (Info-next-reference, Info-prev-reference, Info-index)
11152 (Info-index-next, Info-follow-nearest-node)
11153 (Info-copy-current-node-name):
11154 * imenu.el (imenu--make-index-alist)
11155 (imenu-default-create-index-function, imenu-add-to-menubar):
11156 * files.el (basic-save-buffer, recover-file):
11157 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11158 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11159 (checkdoc-message-text, checkdoc-defun):
11160 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11161 * cus-edit.el (customize-changed-options, customize-rogue)
11162 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11163 (custom-variable-mark-to-reset-standard)
11164 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11166 * completion.el (check-completion-length):
11167 * comint.el (comint-search-arg)
11168 (comint-previous-matching-input-string-position)
11169 (comint-previous-matching-input)
11170 (comint-replace-by-expanded-history-before-point, comint-send-input)
11171 (comint-copy-old-input, comint-backward-matching-input)
11172 (comint-goto-process-mark, comint-set-process-mark):
11173 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11174 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11176 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11178 * dabbrev.el (dabbrev--ignore-case-p): New function.
11179 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11182 * files.el (automount-dir-prefix): Mark as obsolete.
11184 2012-05-04 Glenn Morris <rgm@gnu.org>
11186 * patcomp.el, play/bruce.el: Move to obsolete/.
11188 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11190 Fix minor Y10k bugs.
11191 * arc-mode.el (archive-unixdate):
11192 * autoinsert.el (auto-insert-alist):
11193 * calc/calc-forms.el (math-this-year):
11194 * emacs-lisp/copyright.el (copyright-current-year)
11195 (copyright-update-year, copyright):
11196 * tar-mode.el (tar-clip-time-string):
11197 * time.el (display-time-update):
11198 Don't assume years have 4 digits.
11200 2012-05-04 Chong Yidong <cyd@gnu.org>
11202 * dos-w32.el (file-name-buffer-file-type-alist)
11203 (direct-print-region-use-command-dot-com):
11204 * ffap.el (ffap-menu-regexp):
11205 * find-file.el (ff-special-constructs):
11206 * follow.el (follow-debug):
11207 * forms.el (forms--debug):
11208 * iswitchb.el (iswitchb-all-frames):
11209 * ido.el (ido-all-frames):
11210 * emacs-lisp/timer.el (timer-max-repeats):
11211 * mail/feedmail.el (feedmail-mail-send-hook)
11212 (feedmail-mail-send-hook-queued):
11213 * mail/footnote.el (footnote-signature-separator):
11214 * mail/mailabbrev.el (mail-alias-separator-string)
11215 (mail-abbrev-mode-regexp):
11216 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11217 * progmodes/idlwave.el (idlwave-libinfo-file)
11218 (idlwave-default-completion-case-is-down)
11219 (idlwave-library-routines): Convert defvars to defcustoms.
11221 * mail/rmail.el (rmail-decode-mime-charset):
11222 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11223 (idlwave-shell-fix-inserted-breaks)
11224 (idlwave-shell-activate-alt-keybindings)
11225 (idlwave-shell-use-breakpoint-glyph):
11226 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11228 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11230 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11232 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11234 * progmodes/verilog-mode.el (font-lock-keywords):
11235 Fix mis-highligting auto. Reported by Craig Barner.
11236 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11237 defines from global name space. Reported by Dan Dever.
11238 (verilog-auto-reset, verilog-auto-reset-widths)
11239 (verilog-auto-tieoff): Support using unbased numbers for
11240 AUTORESET and AUTOTIEOFF.
11241 (verilog-submit-bug-report): Update variable list.
11242 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11243 parenthesis from not matching. Reported by Michael Rytting.
11244 (verilog-auto-template-lint): Fix hash error when linting modules
11245 with no used templates.
11246 (verilog-warn, verilog-warn-error)
11247 (verilog-warn-fatal): When non-interactive report multiple
11248 warnings before exiting. Suggested by Brad Dobbie.
11249 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11250 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11251 to report unused template errors. Reported by Brad Dobbie.
11252 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11253 nets, bug438. Reported by Vns Blore.
11254 (verilog-auto-inout-module, verilog-auto-reg)
11255 (verilog-read-decls, verilog-read-sub-decls-sig)
11256 (verilog-signals-edit-wire-reg, verilog-signals-with):
11257 Fix passing of Verilog data types in ANSI input/output ports
11258 such as "output logic" into the AUTOs. Special case "wire" and
11259 "reg" for backwards compatibility presuming Verilog 2001.
11260 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11261 (verilog-preprocess): Fix replication of preprocess output.
11262 Reported by Brad Dobbie.
11263 (verilog-auto-inst-interfaced-ports):
11264 Create verilog-auto-inst-interfaced-ports, bug429.
11265 Reported by Julian Gorfajn.
11266 (verilog-after-save-font-hook)
11267 (verilog-before-save-font-hook): New variable.
11268 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11269 (verilog-save-font-mods): Wrap disabling fontification, reported
11271 (verilog-do-indent, verilog-pretty-declarations-auto)
11272 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11273 Reported by Pierre-David Pfister.
11274 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11275 of class declarations, bug292. Reported by Kevin Heilman.
11276 (verilog-read-decls): Fix 'parameter type' not appearing in
11277 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11278 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11279 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11280 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11281 Reported by David Kravitz.
11283 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11285 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11286 assignment with tests in ifs and for loops.
11287 (verilog-extended-complete-re, verilog-complete-reg): Change so
11288 that DPI inport functions don't look like fuction declarations.
11289 (verilog-pretty-expr): Don't line up assignment
11290 operations to the test and increment in if and for loops
11291 (verilog-extended-complete-re, verilog-complete-reg): Change so
11292 that DPI inport functions don't look like fuction declarations.
11294 2012-05-03 Kenichi Handa <handa@m17n.org>
11296 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11297 decoding, and show a warning message without signaling an error
11300 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11302 * emacs-lisp/bytecomp.el
11303 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11304 since cconv.el might have introduced :fun-body, internal-make-closure,
11305 and friends for bytecomp to handle (bug#11391).
11306 * custom.el (defcustom): Avoid ((λ ..) ..).
11308 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11310 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11312 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11314 * notifications.el (dbus-debug):
11315 * term/linux.el (gpm-mouse-enable):
11316 * term/screen.el (xterm-register-default-colors): Declare.
11318 2012-05-02 Chong Yidong <cyd@gnu.org>
11320 * cus-start.el (gc-cons-percentage, exec-suffixes)
11321 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11322 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11323 (make-cursor-line-fully-visible, void-text-area-pointer)
11324 (font-list-limit): Add customization data.
11326 * allout.el (allout-exposure-change-functions)
11327 (allout-structure-added-functions)
11328 (allout-structure-deleted-functions)
11329 (allout-structure-shifted-functions): Rename abnormal hooks from
11330 *-hook, and convert to defcustoms.
11331 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11332 Convert to defcustoms.
11333 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11335 * allout-widgets.el: Hook callers changed.
11337 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11339 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11340 the yanked message in preference to the default value of
11341 buffer-file-coding-system.
11343 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11345 * window.el (display-buffer--action-function-custom-type):
11348 2012-05-02 Alan Mackenzie <acm@muc.de>
11350 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11352 2012-05-01 Glenn Morris <rgm@gnu.org>
11354 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11356 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11358 * cus-edit.el (custom-variable-documentation): Simplify with format.
11360 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11361 Stefan Monnier <monnier@iro.umontreal.ca>
11363 * simple.el (suggest-key-bindings, execute-extended-command):
11364 Move from keyboard.c.
11366 2012-05-01 Chong Yidong <cyd@gnu.org>
11368 * follow.el: Eliminate advice.
11369 (set-process-filter, process-filter, sit-for): Advice deleted.
11370 (follow-mode-off-hook): Obsolete hook removed.
11371 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11373 (follow-auto): Use a :set function.
11374 (follow-mode): Rewritten. Don't advise process filters.
11375 (follow-switch-to-current-buffer-all, follow-scroll-up)
11376 (follow-scroll-down): Assume follow-mode is bound.
11377 (follow-comint-scroll-to-bottom)
11378 (follow-align-compilation-windows): New functions.
11379 (follow--window-sorter): New function.
11380 (follow-all-followers): Use it to explicitly sort windows by their
11381 positions; don't make assumptions about next-window order.
11382 (follow-windows-start-end, follow-delete-other-windows-and-split)
11383 (follow-calc-win-start): Doc fix.
11384 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11385 vertical-motion unnecessarily.
11386 (follow-adjust-window): New function.
11387 (follow-post-command-hook): Use it.
11388 (follow-call-set-process-filter, follow-call-process-filter)
11389 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11390 (follow-stop-intercept-process-output, follow-generic-filter):
11392 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11393 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11394 New functions, replacing advice on scroll-bar-* commands.
11395 (follow-mwheel-scroll): New function (Bug#4112).
11397 * comint.el (comint-adjust-point): New function.
11398 (comint-postoutput-scroll-to-bottom): Use it.
11399 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11401 2012-05-01 Glenn Morris <rgm@gnu.org>
11403 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11404 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11405 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11406 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11407 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11408 Remove no-byte-compile setting.
11410 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11412 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11413 all-completions code to not return a number in the last cdr.
11415 2012-04-30 Leo Liu <sdl.web@gmail.com>
11417 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11420 2012-04-29 Chong Yidong <cyd@gnu.org>
11422 * follow.el (follow-calc-win-end): Rewrite to handle partial
11423 screen lines correctly (Bug#8390).
11424 (follow-avoid-tail-recenter): Minor cleanup.
11426 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11428 Avoid the obsolete `assoc' package.
11429 * speedbar.el (speedbar-refresh): Avoid adelete.
11430 (speedbar-file-lists): Simplify and avoid aput.
11431 * man.el (Man--sections, Man--refpages): New vars, replacing
11432 Man-sections-alist and Man-refpages-alist.
11433 (Man-build-section-alist, Man-build-references-alist):
11434 Use them; avoid aput.
11435 (Man--last-section, Man--last-refpage): New vars.
11436 (Man-follow-manual-reference): Use them.
11437 Use the `default' arg of completing-read.
11438 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11440 2012-04-27 Chong Yidong <cyd@gnu.org>
11442 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11444 * startup.el (x-apply-session-resources): New function.
11446 * term/ns-win.el (ns-initialize-window-system):
11447 * term/w32-win.el (w32-initialize-window-system):
11448 * term/x-win.el (x-initialize-window-system): Use it to properly
11449 set menu-bar-mode and other vars from X resources, even if the
11450 initial frame is not a window-system frame (Bug#2299).
11452 * subr.el (read-key): Avoid running filter function when setting
11453 up temporary tool bar entries (Bug#9922).
11455 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11457 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11460 2012-04-27 Chong Yidong <cyd@gnu.org>
11462 * select.el (xselect--encode-string): New function, split from
11463 xselect-convert-to-string.
11464 (xselect-convert-to-string): Use it.
11465 (xselect-convert-to-filename, xselect-convert-to-os)
11466 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11467 returned strings are properly encoded (Bug#11315).
11469 2012-04-27 Chong Yidong <cyd@gnu.org>
11471 * simple.el (delete-active-region): Move to killing custom group.
11473 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11475 * progmodes/which-func.el (which-func-current): Quote %
11476 characters for mode-line processing.
11478 2012-04-27 Chong Yidong <cyd@gnu.org>
11480 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11481 reaching eob (Bug#11286).
11483 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11485 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11486 (gdb): Make it buffer-local and init to zero.
11487 (gdb-control-commands-regexp): New variable.
11488 (gdb-send): Don't wrap in "-interpreter-exec console" if
11489 gdb-control-level is positive. Increment gdb-control-level
11490 whenever the command matches gdb-control-commands-regexp, and
11491 decrement it each time the command is "end". (Bug#11279)
11493 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11495 * window.el (adjust-window-trailing-edge, enlarge-window)
11496 (shrink-window, window-resize):
11497 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11498 windows (Bug#11276).
11500 2012-04-27 Chong Yidong <cyd@gnu.org>
11502 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11503 fix "missing prefix" warning. All callers changed.
11505 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11507 * emacs-lisp/assoc.el: Move to obsolete/.
11509 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11511 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11513 * term/ns-win.el (ns-define-service):
11514 * progmodes/pascal.el (pascal-goto-defun):
11515 * progmodes/js.el (js--read-tab):
11516 * progmodes/etags.el (tags-lazy-completion-table):
11517 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11518 * emacs-lisp/ewoc.el (ewoc--wrap):
11519 * emacs-lisp/assoc.el (aput, adelete, amake):
11520 * doc-view.el (doc-view-convert-current-doc):
11521 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11523 2012-04-26 Chong Yidong <cyd@gnu.org>
11525 * image.el (image-type-from-buffer): Only return supported image
11528 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11529 value, for symmetry with diff-end-of-hunk.
11530 (diff-split-hunk, diff-find-source-location)
11531 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11532 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11533 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11534 compute the relevant hunk or file properly (Bug#6005).
11535 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11537 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11546 * vc/vc.el: Replace lexical-let by lexical-binding.
11547 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11548 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11549 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11551 2012-04-26 Chong Yidong <cyd@gnu.org>
11553 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11554 (diff-mode-shared-map): Bind it to / and [remap undo].
11556 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11557 (ediff-window-setup-function): Use it as the default, to set up
11558 windows based on whether the current frame is graphical (Bug#2138).
11559 (ediff-choose-window-setup-function-automatically): Make obsolete.
11561 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11563 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11565 * ffap.el: Remove old code for obsolete package.
11566 (ffap-complete-as-file-p): Remove.
11568 Use completion-table-with-quoting for comint and pcomplete.
11569 * comint.el (comint--unquote&requote-argument)
11570 (comint--unquote-argument, comint--requote-argument): New functions.
11571 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11572 (comint-quote-filename): Use regexp-opt-charset.
11573 (comint--common-suffix, comint--common-quoted-suffix)
11574 (comint--table-subvert): Remove.
11575 (comint-unquote-function, comint-requote-function): New vars.
11576 (comint--complete-file-name-data): Use them with
11577 completion-table-with-quoting.
11578 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11579 * pcomplete.el (pcomplete-arg-quote-list)
11580 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11581 (pcomplete-unquote-argument-function): Default to non-nil.
11582 (pcomplete-unquote-argument): Simplify.
11583 (pcomplete--common-quoted-suffix): Remove.
11584 (pcomplete-requote-argument-function): New var.
11585 (pcomplete--common-suffix): New function.
11586 (pcomplete-completions-at-point): Use completion-table-with-quoting
11587 and completion-table-subvert.
11589 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11590 (minibuffer--double-dollars): Preserve properties.
11591 (completion--sifn-requote): New function.
11592 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11594 * minibuffer.el: Add support for completion of quoted/escaped data.
11595 (completion-table-with-quoting, completion-table-subvert): New funs.
11596 (completion--twq-try, completion--twq-all): New functions.
11597 (completion--nth-completion): New function.
11598 (completion-try-completion, completion-all-completions): Use it.
11600 2012-04-25 Leo Liu <sdl.web@gmail.com>
11602 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11603 Use compilation-message if available to find real filename.
11605 2012-04-25 Chong Yidong <cyd@gnu.org>
11607 * vc/diff-mode.el (diff-setup-whitespace): New function.
11608 (diff-mode): Use it.
11610 * vc/diff.el (diff-sentinel):
11611 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11612 Whitespace mode variables based on diff style (Bug#8612).
11614 2012-04-25 Leo Liu <sdl.web@gmail.com>
11616 * progmodes/python.el (python-send-region): Add suffix .py to the
11619 * files.el (auto-mode-alist): Use javascript-mode instead.
11621 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11623 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11625 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11626 (soap-resolve-references-for-array-type): Hack to prevent self
11627 references, see Bug#9.
11628 (soap-parse-envelope): Report the contents of the 'detail' node
11629 when receiving a fault reply.
11630 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11632 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11633 (soap-inspect-simple-type): New function.
11635 * net/soap-client.el (soap-simple-type): New struct.
11636 (soap-default-xsd-types, soap-default-soapenc-types)
11637 (soap-decode-basic-type, soap-encode-basic-type):
11638 support unsignedInt and double basic types.
11639 (soap-resolve-references-for-simple-type)
11640 (soap-parse-simple-type, soap-encode-simple-type): New function.
11641 (soap-parse-schema): Parse xsd:simpleType declarations.
11643 * net/soap-client.el (soap-default-xsd-types)
11644 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11645 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11646 the local name of "soapenc:Array".
11647 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11648 decoding integer, byte and anyURI xsd types.
11650 2012-04-25 Chong Yidong <cyd@gnu.org>
11652 * cus-edit.el (custom-buffer-create-internal): Update header text.
11654 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11656 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11657 settings on 'system-type', not on 'window-system'. On MS-Windows,
11658 set interactive-mode on in GDB.
11660 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11662 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11663 (ruby-syntax-propertize-regexp): Remove.
11664 (ruby-syntax-propertize-function): Split regexp into chunks.
11665 Match following code directly.
11667 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11669 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11670 (ruby-syntax-propertize-regexp): New function.
11671 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11672 by a special keyword.
11674 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11675 (ruby-syntax-general-delimiters-goto-beg)
11676 (ruby-syntax-propertize-general-delimiters): New functions.
11677 (ruby-syntax-propertize-function): Use them to handle GDL.
11678 (ruby-font-lock-keywords): Move old handling of GDL...
11679 (ruby-font-lock-syntactic-keywords): .. to here.
11680 (ruby-calculate-indent): Adjust indentation for GDL.
11682 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11684 * notifications.el (top): Remove unneeded declarations.
11685 (notifications-specification-version): Change to "1.2".
11686 (notifications-interface, notifications-notify-method)
11687 (notifications-close-notification-method): Fix docstring.
11688 (notifications-get-capabilities-method): New defconst.
11689 (notifications-notify): Add :action-items, :resident and
11690 :transient hints. Change "image_data" to "image-data" and
11691 "image_path" to "image-path".
11692 (notifications-get-capabilities): New defun.
11694 2012-04-24 Leo Liu <sdl.web@gmail.com>
11696 * progmodes/python.el: Move hideshow setup to the end.
11698 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11700 * window.el (handle-select-window): Clear echo area since this is
11701 no more done by read_char (Bug#11304).
11703 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11705 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11706 and `/ M' to filter-derived-mode.
11707 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11708 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11709 (ibuffer-mark-by-mode): Use default rather than initial-input.
11710 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11712 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11714 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11715 (ibuffer-filter-by-derived-mode): New filter.
11716 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11718 2012-04-23 Andreas Politz <politza@fh-trier.de>
11720 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11722 2012-04-23 Chong Yidong <cyd@gnu.org>
11724 * cus-edit.el (customize-apropos, customize-apropos-options):
11725 Disable matching of non-option variables (Bug#11176).
11726 (customize-option, customize-option-other-window)
11727 (customize-changed-options): Doc fix.
11728 (customize-apropos-options, customize-apropos-faces)
11729 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11731 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11732 Fix word list splitting (Bug#11132).
11733 (apropos-symbol, apropos-keybinding, apropos-label)
11734 (apropos-property, apropos-function-button)
11735 (apropos-variable-button, apropos-misc-button): New faces.
11736 (apropos-symbol-face, apropos-keybinding-face)
11737 (apropos-label-face, apropos-property-face, apropos-match-face):
11738 Variables removed (Bug#8396).
11739 (apropos-library-button, apropos-format-plist, apropos-print)
11740 (apropos-print-doc, apropos-describe-plist): Callers changed.
11742 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11744 * net/xesam.el (xesam-mode-map): Use let-bound map in
11745 initialization. (Bug#11292)
11747 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11749 Preserve ispell session localwords when switching back to
11752 * textmodes/ispell.el (ispell-buffer-session-localwords):
11753 New buffer-local variable to hold buffer session localwords.
11754 (ispell-kill-ispell): Add option 'clear to delete session
11756 (ispell-command-loop, ispell-change-dictionary)
11757 (ispell-buffer-local-words): Preserve session localwords when
11760 * textmodes/flyspell.el (flyspell-process-localwords)
11761 (flyspell-do-correct): Preserve session localwords when needed.
11763 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11765 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11766 using obsolete `translation-table-for-input'.
11767 (ispell-word, ispell-process-line, ispell-complete-word):
11768 Use plain `insert' instead of removed `ispell-insert-word'.
11770 2012-04-22 Chong Yidong <cyd@gnu.org>
11772 * cus-edit.el (custom-variable-menu)
11773 (custom-variable-reset-saved, custom-face-menu)
11774 (custom-face-reset-saved): If there is no saved value, make the
11775 "reset-saved" operation bring back the default (Bug#9509).
11776 (custom-face-state): Properly detect themed faces.
11778 * faces.el (face-spec-set): Stop supporting deprecated form of
11781 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11783 Move functions from C to Lisp. Make non-blocking method calls
11784 the default. Implement further D-Bus standard interfaces.
11786 * net/dbus.el (dbus-message-internal): Declare function.
11787 Remove unneeded function declarations.
11788 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11789 (dbus-message-type-method-return, dbus-message-type-error)
11790 (dbus-message-type-signal): Declare variables. Remove local
11792 (dbus-interface-dbus, dbus-interface-peer)
11793 (dbus-interface-introspectable, dbus-interface-properties)
11794 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11796 (dbus-interface-objectmanager): New defconst.
11797 (dbus-call-method, dbus-call-method-asynchronously)
11798 (dbus-send-signal, dbus-method-return-internal)
11799 (dbus-method-error-internal, dbus-register-service)
11800 (dbus-register-signal, dbus-register-method): New defuns, moved
11802 (dbus-call-method-handler, dbus-setenv)
11803 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11805 (dbus-call-method-non-blocking): Make it an obsolete function.
11806 (dbus-unregister-object, dbus-unregister-service)
11807 (dbus-handle-event, dbus-register-property)
11808 (dbus-property-handler): Obey the new structure of
11809 `bus-registered-objects'.
11810 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11811 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11812 Use `dbus-call-method'.
11814 2012-04-22 Chong Yidong <cyd@gnu.org>
11816 * cus-edit.el (custom-commands, custom-reset-menu)
11817 (Custom-reset-standard): Tweak labels.
11818 (custom-reset-button-menu): Change default to t.
11819 (custom-buffer-create-internal): For the custom-reset-button-menu
11820 case, put the revert button first.
11821 (custom-group-subtitle): New face.
11822 (custom-group-value-create): Align docstring to a specific column.
11824 * wid-edit.el (widget-documentation-link-add): Don't handle
11825 indentation in this function.
11826 (widget-documentation-string-indent-to): New function.
11827 (widget-documentation-string-value-create): Use it.
11829 * autorevert.el (auto-revert):
11830 * epg-config.el (epg):
11831 * ibuffer.el (ibuffer):
11834 * eshell/eshell.el (eshell):
11835 * net/ange-ftp.el (ange-ftp):
11836 * progmodes/ebnf2ps.el (postscript):
11837 * progmodes/flymake.el (flymake):
11838 * progmodes/prolog.el (prolog):
11839 * progmodes/verilog-mode.el (verilog-mode):
11840 * progmodes/which-func.el (which-func):
11841 * term/xterm.el (xterm):
11842 * textmodes/picture.el (picture):
11843 * textmodes/tildify.el (tildify):
11844 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11845 customization buffers.
11847 2012-04-22 Alan Mackenzie <acm@muc.de>
11849 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11850 Adding a ) can hide the resulting (..) from searches. Fix it.
11851 Bound the backward search to the position of the existing (.
11853 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11855 * progmodes/verilog-mode.el (verilog-mode): Check whether
11856 which-func-modes is t before adding verilog-mode.
11857 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11859 2012-04-21 Leo Liu <sdl.web@gmail.com>
11861 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11863 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11865 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11866 filling of the last column of a table (Bug#5635).
11867 (woman-find-next-control-line): New arg, specifying an additional
11868 regexp component for the control line.
11869 (woman2-roff-buffer): Use it.
11870 (woman-break-table): New function.
11871 (woman2-TS): Use it.
11873 2012-04-21 Chong Yidong <cyd@gnu.org>
11875 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11876 (woman-horizontal-escapes, woman-negative-vertical-space)
11877 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11878 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11880 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11882 * minibuffer.el (completion-file-name-table): Complete user names.
11884 2012-04-20 Leo Liu <sdl.web@gmail.com>
11886 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11889 2012-04-20 Chong Yidong <cyd@gnu.org>
11891 * server.el (server-execute): Respect initial-buffer-choice if it
11892 is a string and there are no files to open (Bug#2825).
11893 (server-create-window-system-frame, server-create-tty-frame):
11894 Don't switch buffers here.
11895 (server-process-filter): Only try to open a window system frame if
11896 compiled with graphical support (Bug#8314).
11898 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11900 * battery.el (battery-echo-area-format): Display remaining time
11901 for sysfs backend too (Bug#11269).
11902 (battery-linux-sysfs): Fix conditional for the charge.
11904 2012-04-20 Chong Yidong <cyd@gnu.org>
11906 * progmodes/gdb-mi.el (gdb): Revert previous change.
11907 (gdb-inferior-io--init-proc): New function.
11908 (gdb-init-1): Use it.
11909 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11910 responsible for allocating a new pty and hooking it to gdb when
11911 the old pty gets an EIO due to process exit.
11912 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11913 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11914 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11916 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11918 * window.el (window-min-size, window-sizable, window-min-delta)
11919 (window-max-delta, window--resizable, window-resizable)
11920 (window-total-size, window-full-height-p, window-full-width-p)
11921 (window-in-direction, window--resize-mini-window, window-resize)
11922 (window--resize-child-windows-normal)
11923 (window--resize-child-windows, window--resize-siblings)
11924 (window--resize-this-window, adjust-window-trailing-edge)
11925 (enlarge-window, shrink-window): Doc fixes.
11927 2012-04-20 Chong Yidong <cyd@gnu.org>
11929 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11930 New function to call delete-process on the gdb-inferior buffer's pty.
11931 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11932 pty process (Bug#11273).
11933 (gdb-update): New arg to suppress talking to the gdb process.
11934 (gdb-done-or-error): Use it.
11935 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11936 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11937 sentinel not being called.
11939 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11941 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11943 2012-04-20 Glenn Morris <rgm@gnu.org>
11945 * net/network-stream.el (open-network-stream): Doc fix.
11947 2012-04-20 Chong Yidong <cyd@gnu.org>
11949 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11951 2012-04-20 Alan Mackenzie <acm@muc.de>
11953 Ensure searching for keywords is case sensitive.
11955 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11956 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11957 (c-defun-name, c-mark-function, c-cpp-define-name)
11958 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11959 (c-context-line-break): Bind case-fold-search to nil.
11961 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11962 Bind case-fold-search to nil.
11964 2012-04-20 Chong Yidong <cyd@gnu.org>
11966 * mail/sendmail.el (mail-bury): Call return action with the right
11967 Rmail buffer (Bug#11242).
11969 * server.el (server-process-filter): Handle corner case where both
11970 tty and nowait options are present (Bug#11102).
11972 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11974 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11975 (top level): Put into the executable the ident-style '$Id:' tag on
11976 windows-nt as well.
11978 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11980 * electric.el (electric-indent-post-self-insert-function): Check that
11981 electric-indent-mode is enabled in current buffer.
11983 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11985 * imenu.el (imenu-progress-message): Restore; it is "used" in
11986 erc/erc-imenu.el and net/snmp-mode.el.
11988 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11990 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11991 (mouse-avoidance-nudge-mouse): Remove unused binding.
11993 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11995 * descr-text.el (describe-char):
11996 * progmodes/python.el (python-describe-symbol):
11997 Don't call `toggle-read-only', set `buffer-read-only'.
11999 * imenu.el (imenu-default-goto-function): Mark unused args.
12000 (imenu-progress-message): Remove obsolete macro; all callers changed.
12002 * subr.el (keymap-canonicalize): Remove unused binding.
12003 (read-passwd): Mark unused arg.
12005 * tutorial.el (tutorial--display-changes): Remove unused binding.
12006 (tutorial--save-tutorial-to): Remove unused variable.
12008 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12009 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12010 (package-generate-autoloads, package-menu--generate)
12011 (package-menu--find-upgrades): Remove unused bindings.
12013 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12014 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12015 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12016 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12017 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12018 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12019 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12020 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12021 (cua-delete-char-rectangle): Mark unused args.
12022 (cua-align-rectangle): Remove unused binding.
12024 * mail/rmail.el (compilation--message->loc)
12025 (epa--find-coding-system-for-mime-charset): Declare.
12027 * net/dbus.el (dbus-register-service): Declare.
12028 (dbus-name-owner-changed-handler): Remove unused binding.
12030 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12031 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12032 (nxml-scan-backward-within): Mark unused arg.
12033 (nxml-dynamic-markup-word): Remove unused binding.
12035 * mouse.el (mouse-menu-major-mode-map):
12036 * emacs-lisp/authors.el (authors-scan-change-log)
12037 (authors-add-to-author-list):
12038 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12039 * emacs-lisp/smie.el (smie-auto-fill):
12040 * mail/sendmail.el (mail-bury):
12041 * mail/unrmail.el (unrmail):
12042 * net/tls.el (open-tls-stream):
12043 * textmodes/picture.el (picture-mouse-set-point):
12044 Remove unused bindings.
12046 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12048 * net/tramp.el (tramp-action-password): Let-bind
12049 `enable-recursive-minibuffers' to t.
12051 2012-04-18 Sam Steingold <sds@gnu.org>
12053 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12054 instead of 'string to accommodate values like [f11].
12055 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12056 * progmodes/gdb-mi.el: Likewise.
12058 2012-04-18 Leo Liu <sdl.web@gmail.com>
12060 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12062 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12065 2012-04-18 Chong Yidong <cyd@gnu.org>
12067 * simple.el (line-move): Use forward-line if in batch mode
12070 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12072 * files.el (after-find-file): Do not try to add a final newline if
12073 the buffer is read-only (Bug#11156).
12075 2012-04-17 Richard Stallman <rms@gnu.org>
12077 * mail/rmail.el (rmail-start-mail):
12078 Pass (rmail-mail-return...) for the return-action.
12079 Pass (rmail-yank-current-message...) for the yank-action.
12080 (rmail-yank-current-message): New function.
12081 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12082 (rmail-reply): Likewise.
12083 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12085 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12086 buffer, not the last. Reject temp buffers. Use the rmail-mode
12087 buffer, not newbuf.
12089 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12091 * server.el (server-ensure-safe-dir): Simplify.
12093 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12095 * emacs-lisp/smie.el: Provide smarter auto-filling.
12096 (smie-auto-fill): New function.
12097 (smie-setup): Use it.
12099 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12101 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12103 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12104 (comment-indent): Use it.
12106 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12108 * ses.el: The overall change is to add cell renaming, that is
12109 setting fancy names for cell symbols other than name matching
12110 "\\`[A-Z]+[0-9]+\\'" regexp .
12111 (ses-localvars): Add ses--renamed-cell-symb-list.
12112 (ses-create-cell-variable): New defun.
12113 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12114 (ses-relocate-formula): Relocate formulas only for cells the
12115 symbols of which are not renamed, i.e. symbols whose names do not
12116 match regexp "\\`[A-Z]+[0-9]+\\'".
12117 (ses-relocate-all): Relocate values only for cells the symbols of
12118 which are not renamed.
12119 (ses-load): Create cells variables as the (ses-cell ...) are read,
12120 in order to check row col consistency with cell symbol name only
12121 for cells that are not renamed.
12122 (ses-replace-name-in-formula): New defun.
12123 (ses-rename-cell): New defun.
12125 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12127 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12128 New option (bug#11118).
12129 (perl-calculate-indent): Respect it.
12131 2012-04-17 Glenn Morris <rgm@gnu.org>
12133 * dired-aux.el (dired-mark-read-string): Doc fix.
12135 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12137 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12138 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12140 2012-04-17 Glenn Morris <rgm@gnu.org>
12142 * mouse.el (mouse-drag-track):
12143 * speedbar.el (speedbar-frame-mode):
12144 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12146 2012-04-16 Leo Liu <sdl.web@gmail.com>
12148 * progmodes/python.el: Trivial cleanup.
12150 2012-04-16 Glenn Morris <rgm@gnu.org>
12152 * vc/vc.el (vc-string-prefix-p):
12153 * vc/pcvs-util.el (cvs-string-prefix-p):
12154 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12155 * mpc.el (mpc-string-prefix-p):
12156 Make all of these into obsolete aliases for string-prefix-p.
12158 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12160 * textmodes/two-column.el: Move custom options to the start.
12161 (frame-width): Remove compat definition.
12162 (2C-associate-buffer, 2C-dissociate):
12163 Use with-current-buffer rather than save-excursion.
12164 (2C-dissociate): Force a mode-line update.
12165 (2C-autoscroll): Use ignore-errors.
12167 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12170 * emacs-lisp/cl-extra.el (*random-state*):
12171 Remove unnecessary declaration.
12173 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12175 * play/cookie1.el (cookie-snarf):
12176 Give an explicit error if input file cannot be read.
12178 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12180 * progmodes/perl-mode.el (c-macro-expand):
12181 Remove unnecessary autoload (it is in loaddefs.el).
12183 * textmodes/picture.el (picture-desired-column)
12184 (picture-update-desired-column): Convert comments to doc-strings.
12185 (picture-substitute): Remove function.
12186 (picture-mode-map): Initialize in the defvar.
12188 * woman.el: Remove eval-after-load for tar-mode.
12189 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12190 (woman-tar-extract-file): Autoload it.
12192 * frame.el (automatic-hscrolling): Make this alias obsolete.
12194 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12196 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12197 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12198 (ispell-dictionary-base-alist): Revert to original XEmacs
12199 friendly version for default. [:alpha:] will be added in
12200 `ispell-set-spellchecker-params' if needed.
12202 2012-04-16 Chong Yidong <cyd@gnu.org>
12204 * image.el (imagemagick--file-regexp): New variable.
12205 (imagemagick-register-types): Use it.
12206 (imagemagick-types-inhibit): Add :set function. Allow new value
12207 of t to inhibit all types.
12209 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12210 so we can preload it.
12212 * loadup.el (fboundp): Preload regexp-opt, needed by
12213 imagemagick-register-types.
12215 2012-04-15 Chong Yidong <cyd@gnu.org>
12217 * frame.el (scrolling): Remove nearly unused customization group.
12219 * scroll-all.el (scroll-all-mode): Move to windows group.
12221 2012-04-15 Chong Yidong <cyd@gnu.org>
12223 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12225 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12227 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12228 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12230 2012-04-15 Glenn Morris <rgm@gnu.org>
12232 * simple.el (process-file-side-effects): Doc fix.
12234 2012-04-15 Glenn Morris <rgm@gnu.org>
12236 * international/mule-cmds.el (set-language-environment): Doc fix.
12238 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12240 * server.el (server-auth-key, server-generate-key): Doc fixes.
12241 (server-get-auth-key): Doc fix. Use `string-match-p'.
12242 (server-start): Reflow docstring.
12244 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12246 * server.el (server-generate-key): `called-interactively-p'
12247 requires a parameter.
12249 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12251 * server.el (server-auth-key): New variable.
12252 (server-generate-key, server-get-auth-key): New function.
12253 (server-start): Use the new variable and functions to allow
12254 setting a permanent server key (bug#9423).
12256 2012-04-14 Leo Liu <sdl.web@gmail.com>
12258 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12260 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12263 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12264 Emacs uses American spelling.
12266 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12268 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12269 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12270 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12271 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12273 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12275 * progmodes/which-func.el (which-func-modes): Change default.
12277 2012-04-14 Kim F. Storm <storm@cua.dk>
12279 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12280 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12282 2012-04-14 Chong Yidong <cyd@gnu.org>
12284 * custom.el (custom-theme-set-variables): Doc fix.
12286 2012-04-14 Glenn Morris <rgm@gnu.org>
12288 * international/mule.el (set-auto-coding-for-load): Doc fix.
12290 2012-04-14 Alan Mackenzie <acm@muc.de>
12292 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12293 imenu work again for Objective C Mode. Correct the *-index values,
12294 these having been disturbed by a previous change in 2011-08.
12296 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12297 Correct two search limits.
12299 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12301 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12303 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12305 * international/characters.el: Fix sorting.
12307 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12309 * international/characters.el: Add more missing Latin case pairs.
12311 2012-04-14 Glenn Morris <rgm@gnu.org>
12313 * files.el (dir-locals-set-class-variables): Doc fix.
12315 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12317 * international/characters.el: Add set-case-syntax-pair call for
12318 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12319 counterpart. (Bug#11209)
12321 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12323 2012-04-14 Glenn Morris <rgm@gnu.org>
12325 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12327 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12329 * textmodes/ispell.el (ispell-dictionary-base-alist):
12330 Add data for Hebrew.
12332 2012-04-14 Chong Yidong <cyd@gnu.org>
12334 * net/rcirc.el (rcirc-cmd-quit):
12335 Revert 2012-03-18 change (Bug#11192).
12337 2012-04-14 Glenn Morris <rgm@gnu.org>
12339 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12341 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12343 * minibuffer.el (completion-in-region-mode-map):
12344 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12346 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12348 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12350 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12352 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12353 to allow `C-M-f' and `C-M-b' to move to the nearest path
12354 separator (bug#9511).
12356 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12358 * avoid.el: Require cl when compiling. And also move the
12359 `provide' to the end.
12361 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12363 * avoid.el (mouse-avoidance-banish-position): New variable.
12364 (mouse-avoidance-banish-destination): Use it (bug#10165).
12366 2012-04-13 Leo Liu <sdl.web@gmail.com>
12368 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12370 2012-04-13 Ken Brown <kbrown@cornell.edu>
12372 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12373 this is no longer needed now that cygstart understands file:// URLs.
12374 (browse-url-filename-alist): For the same reason, don't modify
12375 file:// URLs on Cygwin.
12377 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12379 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12380 the region on shift if the binding is already shifted (bug#11221).
12382 2012-04-12 Glenn Morris <rgm@gnu.org>
12384 * mail/mailpost.el: Move to obsolete/.
12386 2012-04-12 Drew Adams <drew.adams@oracle.com>
12388 * imenu.el (imenu--generic-function): Ignore invisible definitions
12391 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12393 * hexl.el (hexl-bits): New variable.
12394 (hexl-options): Mention the variable in the doc string.
12395 (hexl-rulerise, hexl-line-displen): New functions.
12396 (hexl-mode): Mention the new variable.
12397 (hexl-mode, hexl-current-address, hexl-current-address):
12399 (hexl-ascii-start-column): New function.
12400 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12401 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12403 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12405 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12406 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12407 the encoding, as expected by hunspell.
12409 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12411 * battery.el (battery--linux-sysfs-regexp): New const.
12412 (battery-status-function): Use it. Remove yeeloong special case.
12413 (battery-yeeloong-sysfs): Remove.
12414 (battery-echo-area-format): Remove yeeloong special case.
12416 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12418 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12419 Reported by Noah Friedman.
12421 * subr.el (read-passwd): Use read-string.
12423 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12425 * vcursor.el (vcursor-move): Increase the priority of the overlay
12428 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12430 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12431 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12433 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12435 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12436 define-minor-mode (bug#10760).
12438 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12440 * progmodes/grep.el (rgrep): Tweak the find command line so
12441 that directories matching `grep-find-ignored-files' won't be
12442 pruned (bug#10351).
12444 2012-04-11 Chong Yidong <cyd@gnu.org>
12446 * startup.el (command-line): Remove support for long-obsolete
12447 variable font-lock-face-attributes.
12449 2012-04-11 Glenn Morris <rgm@gnu.org>
12451 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12453 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12455 * window.el (window--state-get-1): Obey window-point-insertion-type.
12457 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12459 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12460 to previous function when point is on the first character of a
12461 function. Take care of that in `narrow-to-defun' (bug#6157).
12463 2012-04-11 Glenn Morris <rgm@gnu.org>
12465 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12466 not just file-errors.
12468 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12469 (vc-bzr-sha1): Use internal sha1.
12471 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12473 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12475 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12477 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12478 that start in the middle of the line (bug#10496).
12480 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12482 * battery.el (battery-linux-proc-acpi): Only one battery is
12483 discharged at a time, but that seems to confuse battery.el when
12484 computing `rate-type' for the battery not being discharged
12487 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12489 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12491 * international/quail.el: Use dolist and simplify.
12492 (quail-define-package, quail-update-keyboard-layout)
12493 (quail-define-rules): Use dolist.
12494 (quail-insert-kbd-layout, quail-get-translation): CSE.
12496 * tmm.el: Use dolist, remove left over hook.
12497 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12499 (calendar-load-hook): Don't mess with it.
12501 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12502 Use derived-mode-p. Run the diff asynchronously.
12504 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12506 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12508 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12510 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12511 (list-dynamic-libraries--loaded): New function.
12512 (list-dynamic-libraries--refresh): Use it.
12514 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12516 * progmodes/python.el (python-fill-paragraph):
12517 Make python-fill-region in a multiline string work when font-lock is
12518 disabled (bug#7018).
12520 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12522 * language/european.el (cp775): Add oem/legacy (en)coding on
12523 DOS/MS Windows for the Baltic languages. There are still plenty
12524 of texts written in this encoding/codepage (bug#6519).
12526 2012-04-10 Glenn Morris <rgm@gnu.org>
12528 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12529 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12531 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12533 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12534 next-line "n" and previous-line "p" in order to make recentf more
12535 consistent with ibuffer, dired or org-mode (bug#9387).
12537 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12539 * image.el (put-image): Return the overlay created instead of the
12540 optional input string (bug#7834). Note that this may break code
12541 that is (for some reason or other) depending on `put-image'
12542 returning the string.
12544 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12546 * simple.el (zap-to-char): Allow zapping using input methods
12549 * textmodes/fill.el (fill-region): Leave point and mark where they
12550 were before filling (bug#5399).
12552 2012-04-09 Glenn Morris <rgm@gnu.org>
12554 * version.el (emacs-bzr-get-version):
12555 Handle lightweight checkouts of local branches.
12557 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12559 * international/characters.el: Recover lost case pairs. (Bug#11209)
12561 2012-04-09 Chong Yidong <cyd@gnu.org>
12563 * custom.el (custom-variable-p): Return nil for non-symbol
12564 arguments instead of signaling an error.
12565 (user-variable-p): Obsolete alias for custom-variable-p.
12567 * apropos.el (apropos-variable):
12568 * files-x.el (read-file-local-variable):
12569 * simple.el (set-variable):
12570 * woman.el (woman-mini-help):
12571 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12573 2012-04-09 Glenn Morris <rgm@gnu.org>
12575 * startup.el (normal-top-level): Don't look for leim-list.el
12576 in places where it will not be found. (Bug#910)
12578 * international/mule-cmds.el (set-default-coding-systems):
12579 * files.el (normal-mode):
12580 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12581 This function was removed with ucs-tables.el in 2008.
12583 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12585 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12586 ispell-encoding8-command to "-i", without a trailing space.
12587 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12588 separate command-line arguments, to specify the encoding, since
12589 that's how hunspell expects it.
12591 2012-04-08 Glenn Morris <rgm@gnu.org>
12593 * loadup.el: Load bindings before cus-start.
12594 This reduces somewhat the number of "rogue" settings in emacs -Q.
12596 2012-04-07 Glenn Morris <rgm@gnu.org>
12598 * version.el (emacs-bzr-get-version): New function.
12599 (emacs-bzr-version): New variable.
12600 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12601 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12603 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12605 * international/uni-bidi.el, international/uni-category.el:
12606 * international/uni-combining.el, international/uni-decimal.el:
12607 * international/uni-decomposition.el, international/uni-digit.el:
12608 * international/uni-lowercase.el, international/uni-mirrored.el:
12609 * international/uni-name.el, international/uni-numeric.el:
12610 * international/uni-titlecase.el, international/uni-uppercase.el:
12611 Update for Unicode 6.1.
12613 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12615 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12617 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12619 * window.el (shrink-window): Mention the `window-min-height'
12620 variable in the doc string.
12622 2012-04-05 Bastien Guerry <bzg@altern.org>
12624 * color.el (color-lighten-name): Fix typo.
12626 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12628 * server.el (server--on-display-p): New function.
12629 (server--on-display-p): Use it.
12631 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12633 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12636 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12638 * comint.el (comint--common-quoted-suffix): Check string boundary
12639 before comparing (bug#11158).
12640 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12642 2012-04-04 Chong Yidong <cyd@gnu.org>
12644 * minibuffer.el (completion-extra-properties): Doc fix.
12646 * subr.el (delayed-warnings-hook): Doc fix.
12648 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12650 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12651 selection (Bug#11159).
12652 (epa-insert-keys): Inform that the default public key will be
12653 exported if no key is selected.
12655 2012-04-04 Richard Stallman <rms@gnu.org>
12657 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12659 2012-04-03 Chong Yidong <cyd@gnu.org>
12661 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12662 mail-insert-file, not its obsolete alias mail-attach-file.
12664 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12666 * notifications.el (notifications-notify): Fix docstring.
12668 2012-04-02 Glenn Morris <rgm@gnu.org>
12670 * emacs-lisp/authors.el (authors-aliases): Another addition.
12672 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12674 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12675 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12676 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12678 2012-04-01 Chong Yidong <cyd@gnu.org>
12680 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12681 Handle root directory properly.
12682 (copy-directory): Caller changed.
12684 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12685 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12687 2012-03-31 Glenn Morris <rgm@gnu.org>
12689 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12691 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12693 * calendar/calendar.el (calendar-window-list)
12694 (calendar-hide-window): Restore. (Bug#11140)
12695 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12697 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12699 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12701 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12702 Check if file is a symlink (Bug#10489).
12704 * files.el (copy-directory): Likewise.
12706 2012-03-30 Chong Yidong <cyd@gnu.org>
12708 * image.el (imagemagick-types-inhibit)
12709 (imagemagick-register-types): Doc fix.
12711 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12713 * textmodes/ispell.el (ispell-get-extended-character-mode):
12714 Disable extended-char-mode for hunspell. hunspell does not support it
12715 and treats ~word as ordinary words in pipe mode.
12717 2012-03-30 Glenn Morris <rgm@gnu.org>
12719 * tutorial.el (help-with-tutorial): Ensure local variables don't
12720 happen to make the buffer read-only. (Bug#11127)
12722 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12724 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12725 (perl-calculate-indent): Return `noindent' in strings.
12727 2012-03-28 Sam Steingold <sds@gnu.org>
12729 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12730 instead of the broken adhockery which does not prevent calendar
12731 buffers from being displayed at random after exit.
12732 (calendar-window-list, calendar-hide-window): Remove the broken
12735 2012-03-28 Glenn Morris <rgm@gnu.org>
12737 * replace.el (query-replace-map): Doc fix.
12739 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12741 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12742 contents. (Bug#11109)
12744 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12746 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12748 (avl-tree--check, avl-tree--check-node): New funs.
12750 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12752 * window.el (switch-to-visible-buffer): New option.
12753 (switch-to-prev-buffer, switch-to-next-buffer):
12754 Observe switch-to-visible-buffer. Make sure that checking for a window
12755 showing a buffer already is done on the same frame.
12757 2012-03-27 Glenn Morris <rgm@gnu.org>
12759 * startup.el (mail-host-address): Doc fix.
12761 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12763 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12764 than 197 variables.
12766 2012-03-26 Ami Fischman <ami@fischman.org>
12768 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12770 2012-03-26 Glenn Morris <rgm@gnu.org>
12772 * files.el (save-buffers-kill-emacs): Doc fix.
12774 * startup.el (normal-top-level, command-line, command-line-1):
12775 Give them doc strings.
12777 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12779 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12780 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12782 2012-03-25 Chong Yidong <cyd@gnu.org>
12784 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12785 theme if it was previously enabled before (Bug#11031).
12787 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12788 spec with custom-face-get-current-spec if its :shown-value is not
12789 determined yet (Bug#9337).
12790 (customize-create-theme, custom-theme-revert): Doc fixes.
12792 * button.el (button-at): Minor addition to docstring.
12794 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12796 * vc/vc.el (vc-merge): Fix a prompt.
12798 2012-03-24 Chong Yidong <cyd@gnu.org>
12800 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12803 * button.el (button-at): Minor addition to docstring.
12805 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12807 * newcomment.el (comment-choose-indent): No space after BOL.
12809 2012-03-22 Sam Steingold <sds@gnu.org>
12811 * window.el (switch-to-prev-buffer): Revert last patch because the
12812 bug turned out to be an advertised feature (Elisp manual 28.14).
12814 2012-03-22 Glenn Morris <rgm@gnu.org>
12816 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12817 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12819 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12821 * net/network-stream.el (network-stream-open-starttls): Make error
12822 message under Windows be less misleading.
12824 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12826 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12827 understands (bug#9942).
12829 2012-03-22 Chong Yidong <cyd@gnu.org>
12831 * simple.el (end-of-visible-line): Handle return value of
12832 next-single-property-change properly (Bug#9371).
12834 2012-03-22 Kenichi Handa <handa@m17n.org>
12836 * international/quail.el (quail-insert-kbd-layout): Fix previous
12837 change. To avoid unwanted bidi reordering, use
12838 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12840 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12842 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12843 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12844 (ruby-beginning-of-indent): Be more careful with the difference
12845 between word-boundary and symbol boundary.
12846 (ruby-mode-syntax-table): Make : a symbol constituent.
12848 2012-03-21 Andreas Politz <politza@fh-trier.de>
12850 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12852 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12854 * progmodes/etags.el (tags-completion-at-point-function):
12857 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12859 2012-03-21 Sam Steingold <sds@gnu.org>
12861 * progmodes/etags.el (tags-completion-at-point-function):
12862 Avoid the error when point is inside the pattern.
12864 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12866 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12869 2012-03-21 Drew Adams <drew.adams@oracle.com>
12871 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12873 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12875 * ido.el (ido-set-current-directory, ido-read-internal)
12876 (ido-choose-completion-string, ido-completion-help): Handle nil
12877 value of ido-completion-buffer (Bug#11008).
12879 2012-03-21 Sam Steingold <sds@gnu.org>
12881 * window.el (switch-to-prev-buffer): Do not switch to a visible
12882 window previous buffer, just like with the frame previous buffers.
12884 2012-03-21 Chong Yidong <cyd@gnu.org>
12886 * faces.el (make-face, make-empty-face, copy-face):
12887 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12890 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12892 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12893 (widget-complete): Remove broken use of it.
12895 2012-03-20 Chong Yidong <cyd@gnu.org>
12897 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12898 Use string-width and truncate-string-width to handle arbitrary
12901 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12903 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12904 to draw rectangles, not squares. (Regression introduced by revno
12905 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12907 2012-03-18 Chong Yidong <cyd@gnu.org>
12909 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12910 it is not yet defined (for temacs).
12912 2012-03-18 Leo Liu <sdl.web@gmail.com>
12914 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12917 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12919 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12920 (ispell-choices-win-default-height, ispell-silently-savep)
12921 (ispell-dictionary-alist, ispell-encoding8-command)
12922 (ispell-check-version, ispell-aspell-find-dictionary)
12923 (ispell-valid-dictionary-list, ispell-words-keyword)
12924 (ispell-get-word, ispell-internal-change-dictionary)
12925 (ispell-region, ispell-skip-region-list)
12926 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12927 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12928 (ispell-message-text-end, ispell-message)
12929 (ispell-buffer-local-parsing): Doc fix.
12931 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12933 * htmlfontify.el: Add support for code block fontification for ODT
12934 export (Bug #9914).
12935 (hfy-optimisations): Define new option
12937 (hfy-fontify-buffer): Honor above setting.
12938 (hfy-begin-span, hfy-end-span): New routines factored out form
12939 `hfy-fontify-buffer'.
12940 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12941 that permit insertion of custom tags.
12942 (hfy-fontify-buffer): Use above handlers.
12943 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12944 (hfy-face-to-css): Re-defined to be a variable.
12945 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12946 over multiple runs. This is made possible by having the caller let
12947 bind a special variable `hfy-user-sheet-assoc'.
12948 (htmlfontify-string): New defun.
12949 (hfy-compile-face-map): Make sure that the last char in the
12950 buffer is correctly fontified.
12951 (hfy-face-resolve-face): Whitespace only change.
12953 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12955 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12956 message more clear.
12958 2012-03-16 Leo Liu <sdl.web@gmail.com>
12960 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12962 2012-03-16 Alan Mackenzie <acm@muc.de>
12964 Further optimize the handling of large macros.
12966 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12967 limit to a call of `c-literal-limits'.
12968 (c-determine-+ve-limit): New function.
12969 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12970 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12971 In CASE 5B, restrict a search limit to 500.
12972 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12974 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12975 Restrict macro bounds to +-500 from after-change's BEG END.
12977 2012-03-16 Leo Liu <sdl.web@gmail.com>
12979 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12981 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12983 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12984 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12986 2012-03-16 Glenn Morris <rgm@gnu.org>
12988 * view.el (view-buffer, view-buffer-other-window)
12989 (view-buffer-other-frame): Doc fixes re special mode-class.
12991 * subr.el (eval-after-load): If named feature is provided not from
12992 a file, run after-load forms. (Bug#10946)
12994 * calendar/calendar.el (calendar-insert-at-column):
12995 Handle non-unit-width characters a bit better. (Bug#10978)
12997 2012-03-15 Chong Yidong <cyd@gnu.org>
12999 * emacs-lisp/ring.el (ring-extend): New function.
13000 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13002 * comint.el (comint-read-input-ring)
13003 (comint-add-to-input-history): Grow comint-input-ring lazily.
13005 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13007 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13008 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13010 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13011 (imenu-add-to-menubar): Don't add a redundant index.
13012 (imenu-update-menubar): Handle a dynamically composed keymap.
13014 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13016 * mail/sendmail.el (mail-encode-header):
13017 Bind rfc2047-encode-encoded-words to nil.
13019 2012-03-13 Glenn Morris <rgm@gnu.org>
13021 * calendar/calendar.el (calendar-string-spread):
13022 Handle non-unit-width characters a bit better. (Bug#10978)
13024 2012-03-13 Leo Liu <sdl.web@gmail.com>
13026 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13027 directory and file as argument (Bug#10822).
13029 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13031 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13032 For dynamically generated code, follow $PC.
13033 (gdb-disassembly-handler-custom): Handle no function name case.
13035 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13037 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13038 * emulation/ws-mode.el (ws-query-replace):
13039 * sort.el (sort-regexp-fields):
13040 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13042 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13044 * dabbrev.el: Fix cycle completion order (bug#10963).
13045 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13046 (dabbrev-completion): Don't use an obarray; provide
13047 a cycle-sort-function.
13049 2012-03-12 Leo Liu <sdl.web@gmail.com>
13051 * simple.el (kill-new): Use equal-including-properties for comparison.
13052 (kill-do-not-save-duplicates): Doc fix.
13054 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13056 * dabbrev.el: Fix cycle completion (bug#10963).
13057 Use lexical binding and wrap to 80 columns.
13058 (dabbrev-completion): Delay computing the list of completions.
13060 2012-03-12 Kenichi Handa <handa@m17n.org>
13062 * international/quail.el (quail-insert-kbd-layout): Surround each
13063 row by LRO and PDF instead of inserting many LRMs. Pad the left
13064 and right of each non-spacing marks. Insert invisible space
13065 between lower and upper characters to prevent composition.
13067 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13069 * minibuffer.el (minibuffer-complete): Don't get confused when the
13070 function is run twice via different commands (bug#10958).
13071 (complete-with-action): Fix docstring.
13073 2012-03-12 Chong Yidong <cyd@gnu.org>
13075 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13076 (nxml-completion-at-point-function): New function.
13077 (nxml-mode): Use it.
13078 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13080 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13081 Load generated autoloads file before byte compiling (Bug#10970).
13082 (package--make-autoloads-and-compile): New helper fun.
13084 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13086 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13088 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13090 * autorevert.el (auto-revert-handler): Ensure, that
13091 file-readable-p is applied only for local files or in
13092 auto-revert-tail-mode.
13094 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13096 * server.el (server-eval-at): Handle non-tcp connections.
13097 Decode result string.
13099 * server.el (server-msg-size): New constant.
13100 (server-reply-print): New function.
13101 (server-eval-and-print): Use it.
13102 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13103 Handle -print-nonl.
13105 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13107 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13110 2012-03-11 Chong Yidong <cyd@gnu.org>
13112 * simple.el (goto-line): Doc fix (Bug#9938).
13114 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13116 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13117 when finished (Bug#10963).
13119 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13121 * window.el (split-window-below): Fix bug in case where
13122 split-window-keep-point is nil (Bug#10971).
13124 2012-03-11 Juri Linkov <juri@jurta.org>
13126 * replace.el (replace-highlight): Set isearch-word to nil
13127 unconditionally. (Bug#10887)
13129 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13131 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13132 mairix-replace-illegal-chars; all callers changed. Don't remove
13133 ^, ~, and = characters: they are meaningful in mairix search specs.
13134 (mairix-widget-create-query): Add usage information about mairix
13135 search forms: negating words, searching for substrings, etc.
13137 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13139 * international/fontset.el (font-encoding-alist): Add an entry for
13140 ksx1001 (Bug#5667).
13142 2012-03-10 Richard Stallman <rms@gnu.org>
13144 * mail/sendmail.el (mail-encode-header):
13145 Set rfc2047-encode-encoded-words.
13147 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13149 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13150 view buffer means not swapped.
13151 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13152 (rmail-write-region-annotate): Error if real text has disappeared.
13154 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13156 2012-03-10 Chong Yidong <cyd@gnu.org>
13158 * emulation/cua-rect.el (cua--init-rectangles):
13159 * emulation/cua-base.el (cua--init-keymaps):
13160 Add delete-forward-char to remappings (Bug#9666).
13162 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13164 * speedbar.el (speedbar-unhighlight-one-tag-line):
13165 Avoid unhighlighting due to frame switching (Bug#10275).
13167 2012-03-10 Chong Yidong <cyd@gnu.org>
13169 * minibuffer.el (completion-in-region, completion-help-at-point):
13170 Give the completion field overlay a high priority (Bug#6830).
13172 * dired.el (dired-goto-file): Recognize absolute file name
13173 listings (Bug#7126).
13174 (dired-goto-file-1): New helper function.
13175 (dired-toggle-read-only): Inhibit warnings.
13177 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13179 * net/dbus.el (dbus-property-handler): Return empty array if
13180 there are no properties.
13182 2012-03-09 Leo Liu <sdl.web@gmail.com>
13184 * savehist.el (savehist-printable): Stricter check for string
13187 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13189 * mail/smtpmail.el (smtpmail-send-it):
13190 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13193 2012-03-09 Glenn Morris <rgm@gnu.org>
13195 * files.el (dir-locals-find-file):
13196 Don't check result is regular, readable.
13197 (dir-locals-read-from-file): Demote errors.
13199 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13201 * international/quail.el (quail-insert-kbd-layout):
13202 Insert invisible LRM characters before each character in a keyboard
13203 layout cell, to prevent their reordering by bidi display engine.
13204 For details, see the discussion in
13205 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13207 2012-03-08 Alan Mackenzie <acm@muc.de>
13209 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13210 the starting position; make it extend the marked region when
13211 invoked repeatedly - all under appropriate circumstances.
13212 Fixes bugs #5525, #10906.
13214 2012-03-08 Glenn Morris <rgm@gnu.org>
13216 * files.el (locate-dominating-file, dir-locals-find-file):
13217 Undo 2012-03-06 change.
13219 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13221 * international/quail.el (quail-help):
13222 Force bidi-paragraph-direction be left-to-right. See discussion in
13223 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13226 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13228 Avoid superfluous registering of signals. (Bug#10807)
13230 * notifications.el (notifications-on-action-object)
13231 (notifications-on-close-object): New defvars.
13232 (notifications-on-action-signal, notifications-on-closed-signal):
13233 Unregister the signal if not needed any longer.
13234 (notifications-notify): Register `notifications-action-signal' or
13235 `notifications-closed-signal', if :on-action or :on-close has been
13236 passed as argument.
13238 2012-03-07 Chong Yidong <cyd@gnu.org>
13240 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13243 2012-03-06 Glenn Morris <rgm@gnu.org>
13245 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13246 (x-disown-selection-internal, x-get-selection-internal):
13247 Doc fix (add arglist signatures). (Bug#10783)
13249 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13251 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13252 Handle breakpoints with no "type".
13254 2012-03-06 Glenn Morris <rgm@gnu.org>
13256 * files.el (locate-dominating-file): Add optional predicate argument.
13257 (dir-locals-find-file): Make use of above change.
13259 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13261 * info.el (Info-insert-dir): Also try "dir.gz".
13263 2012-03-06 Glenn Morris <rgm@gnu.org>
13265 * files.el (dir-locals-find-file):
13266 Ignore non-readable or non-regular files. (Bug#10928)
13268 * files.el (locate-dominating-file): Doc fix.
13270 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13272 * calendar/calendar.el (calendar-set-mode-line):
13273 `getenv' returns a string. (Bug#10951)
13275 2012-03-05 Leo Liu <sdl.web@gmail.com>
13277 * simple.el (backward-delete-char-untabify): Constrain point to
13280 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13282 2012-03-05 Chong Yidong <cyd@gnu.org>
13284 * simple.el (count-words): If called from Lisp, return the word
13285 count, for symmetry with `count-lines'. Arglist changed.
13286 (count-words--message): Args changed. Consolidate counting code
13287 from count-words and count-words-region.
13288 (count-words-region): Caller changed.
13289 (count-lines-region): Make it an obsolete alias.
13291 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13293 * saveplace.el (save-place-to-alist)
13294 (save-place-ignore-files-regexp): Allow value nil to disable this
13297 2012-03-04 Chong Yidong <cyd@gnu.org>
13299 * faces.el (face-spec-reset-face): For the default face, reset the
13300 attributes to default values (Bug#10748).
13302 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13304 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13305 previous patch: Check `message-send-mail-function', and not the
13306 default function (bug#10897).
13308 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13310 * notifications.el (notifications-on-action-signal)
13311 (notifications-on-closed-signal): Check for unique service name of
13312 incoming event. Fix error in removing entry.
13313 (top): Register for signals with wildcard service name.
13314 (notifications-notify): Use daemon unique service name for map entries.
13316 2012-03-04 Chong Yidong <cyd@gnu.org>
13318 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13320 2012-03-04 Glenn Morris <rgm@gnu.org>
13322 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13323 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13324 (expand-abbrev, define-abbrev-table): Doc fixes.
13326 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13328 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13329 `message-default-send-mail-function' and not `send-mail-function'
13330 when doing the prompting for `sendmail-query-once' before sending
13331 in Message buffers (bug#10897).
13333 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13334 This is inconsistent with all the other stream functions, which leave
13335 the setting up to the higher levels (if so wanted) (bug#10931).
13337 2012-03-02 Alan Mackenzie <acm@muc.de>
13339 Depessimize the handling of very large macros.
13341 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13342 (c-macro-cache-syntactic): New variables to implement a one
13343 element macro cache.
13344 (c-invalidate-macro-cache): New function.
13345 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13346 Adapt to use the new cache.
13347 (c-state-safe-place): Use better the cache of safe positions.
13348 (c-state-semi-nonlit-pos-cache)
13349 (c-state-semi-nonlit-pos-cache-limit):
13350 New variables for...
13351 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13352 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13353 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13354 Use c-state-semi-safe-place.
13356 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13357 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13359 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13361 * jka-compr.el (jka-compr-call-process):
13362 Apply `file-accessible-directory-p' only when the default directory is
13365 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13367 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13368 access of FILE2, if FILE1 does not exist.
13370 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13371 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13373 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13374 Add "PAGER=" to `process-environment'.
13376 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13378 * progmodes/sql.el: Bug fix
13379 (sql-get-login-ext): Save login values in globals.
13380 (sql-get-login): Use new version of `sql-get-login-ext'.
13381 (sql-interactive-mode): Set global `sql-connection' to nil.
13382 (sql-connect): Set global values for connection.
13383 (sql-product-interactive): Save global values as buffer local.
13385 2012-02-29 Leo Liu <sdl.web@gmail.com>
13387 * abbrev.el (define-abbrevs): Reset sys to nil.
13389 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13391 * files.el (file-equal-p): Rename from `files-equal-p'.
13392 Return nil when one or both files don't exist.
13393 (file-subdir-of-p): Now only top directory must exists,
13394 return nil if it doesn't.
13395 (copy-directory): No need to test with `file-subdir-of-p' after
13397 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13400 2012-02-28 Glenn Morris <rgm@gnu.org>
13402 * shell.el (shell-mode):
13403 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13404 * play/landmark.el (landmark-font-lock-face-O):
13405 * play/handwrite.el (handwrite):
13406 * play/gomoku.el (gomoku-O):
13407 * net/browse-url.el (browse-url-browser-display):
13408 * international/mule.el (define-charset):
13409 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13410 * filesets.el (filesets-find-file-delay):
13411 * eshell/em-xtra.el (eshell-xtra):
13412 * eshell/em-unix.el (eshell-grep):
13413 * emulation/viper.el (viper-mode):
13414 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13415 * emacs-lisp/easymenu.el (easy-menu-define):
13416 * calendar/timeclock.el (timeclock-use-display-time):
13418 * bookmark.el (bookmark-save-flag):
13419 Doc fix (standardize possessive apostrophe usage).
13421 2012-02-27 Chong Yidong <cyd@gnu.org>
13423 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13424 Fix key-binding lookup for ESC key (Bug#9146).
13426 * font-lock.el (font-lock-specified-p): Rename from
13427 font-lock-spec-present. Callers changed.
13429 2012-02-27 Daniel Hackney <dan@haxney.org>
13431 * emacs-lisp/package.el (package-compute-transaction):
13432 Handle holding a package version to t in package-load-list.
13434 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13436 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13437 (tramp-get-inode, tramp-get-device): Use cached values.
13439 2012-02-26 Alan Mackenzie <acm@muc.de>
13441 Check there is a font-lock specification before doing initial
13444 * font-core.el (font-lock-mode): Move the conditional from
13445 :after-hook to font-lock-initial-fontify.
13446 (font-lock-default-function): Move the check for a specification
13447 to font-lock-spec-present.
13449 * font-lock.el (font-lock-initial-fontify): Call ...
13450 (font-lock-spec-present): New function.
13452 2012-02-26 Jim Blandy <jimb@red-bean.com>
13454 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13455 (gdb-send): Apply it to the operand of the '-interpreter-exec
13456 console' command, so that we can pass arguments with (say) quotes
13457 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13459 2012-02-26 Chong Yidong <cyd@gnu.org>
13461 * help-fns.el (describe-function-1): Clarify description of
13462 remapping (Bug#10844).
13464 * files.el (files-equal-p): Doc fix.
13465 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13466 and quit the loop once a mismatch is found.
13468 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13470 * bs.el (bs--show-with-configuration): Don't throw an error
13471 if the window cannot be split; otherwise, subsequent calls to
13472 bs-show fail, restoring a stale window config. (Bug#10882)
13474 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13476 * term/ns-win.el (global-map): Bind ns-drag-file to
13477 ns-find-file (Bug#5855, Bug#10050).
13479 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13481 * calendar/parse-time.el (parse-time-string): Allow extractor to
13484 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13486 * net/tramp.el (tramp-file-name-for-operation):
13487 Add `files-equal-p' and `file-subdir-of-p'.
13489 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13490 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13491 Add COPY-CONTENTS argument.
13493 2012-02-25 Chong Yidong <cyd@gnu.org>
13495 Add custom groups for VC backends, for consistency with vc-bzr.
13497 * vc/vc-arch.el (vc-arch):
13498 * vc/vc-cvs.el (vc-cvs):
13499 * vc/vc-git.el (vc-git):
13500 * vc/vc-hg.el (vc-hg):
13501 * vc/vc-mtn.el (vc-mtn):
13502 * vc/vc-rcs.el (vc-rcs):
13503 * vc/vc-sccs.el (vc-sccs):
13504 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13505 All relevant defcustoms reassigned.
13507 2012-02-25 Chong Yidong <cyd@gnu.org>
13509 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13511 * term/x-win.el (x-initialize-window-system): Reduce default for
13512 x-selection-timeout to 5 seconds (Bug#8869).
13514 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13516 * files.el (files-equal-p, file-subdir-of-p): New functions.
13517 (copy-directory): Error when trying to copy a directory on itself.
13518 Add missing copy-contents arg to tramp handler.
13519 * dired-aux.el (dired-copy-file-recursive): Same.
13520 (dired-create-files): Modify destination when source is equal to
13521 dest when copying files.
13522 Return also when dest is a subdir of source. (Bug#10489)
13524 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13526 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13529 2012-02-23 Alan Mackenzie <acm@muc.de>
13531 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13532 parameter "after-hook:" to allow the expansion to run code after
13533 the execution of the mode hooks.
13535 * font-lock.el (font-lock-initial-fontify): New function extracted
13536 from font-lock-mode-internal.
13538 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13541 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13543 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13544 (completion--cache-all-sorted-completions): New function.
13545 (completion-all-sorted-completions): Use it.
13546 (completion--do-completion, minibuffer-force-complete):
13547 Use it to re-instate the flush hook.
13549 * icomplete.el (icomplete-completions): Replace last fix with a better
13552 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13554 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13555 when it might call us back infinitely (bug#10797).
13557 2012-02-23 Glenn Morris <rgm@gnu.org>
13559 * minibuffer.el (completion-category-overrides): Doc fix.
13561 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13563 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13564 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13566 2012-02-23 Glenn Morris <rgm@gnu.org>
13568 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13569 (authors-obsolete-files-regexps, authors-ignored-files)
13570 (authors-ambiguous-files, authors-renamed-files-alist):
13573 2012-02-23 Juri Linkov <juri@jurta.org>
13575 * isearch.el (isearch-occur): Sync interactive spec with occur's
13576 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13578 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13580 2012-02-22 Juri Linkov <juri@jurta.org>
13582 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13583 (ucs-insert): Doc fix. Check for hex digits in the string.
13584 Don't display `nil' in the error message. (Bug#10857)
13586 2012-02-22 Alan Mackenzie <acm@muc.de>
13588 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13590 2012-02-22 Glenn Morris <rgm@gnu.org>
13592 * ffap.el (ffap-c-path):
13593 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13595 2012-02-22 Chong Yidong <cyd@gnu.org>
13597 * custom.el (load-theme): Doc fix.
13599 2012-02-22 Glenn Morris <rgm@gnu.org>
13601 * dired-x.el (dired-guess-shell-alist-default):
13602 Remove escape sequences from nroff output. (Bug#172)
13604 2012-02-21 Glenn Morris <rgm@gnu.org>
13606 * vc/emerge.el (emerge-defvar-local):
13607 Set `permanent-local' property rather than unused `preserved'.
13609 * textmodes/picture.el (picture-delete-char): New alias.
13610 (picture-mode-map): Use it. (Bug#10860)
13611 (picture-mode): Doc fix.
13613 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13615 * newcomment.el (uncomment-region-default): Remove unused binding.
13617 2012-02-21 Glenn Morris <rgm@gnu.org>
13619 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13620 (picture-self-insert, picture-tab-chars): Doc fix.
13621 (picture-mode-map): Fix C-a, C-e.
13623 2012-02-20 Glenn Morris <rgm@gnu.org>
13625 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13627 2012-02-20 Leo Liu <sdl.web@gmail.com>
13629 * icomplete.el (icomplete-completions): Check FROM arg before
13630 passing to substring (Bug#10850).
13632 2012-02-19 Chong Yidong <cyd@gnu.org>
13634 * comint.el: Require ansi-color.
13635 (comint-output-filter-functions): Add ansi-color-process-output.
13637 * ansi-color.el: Don't set comint-output-filter-functions; it is
13638 now in the initial value defined in comint.el.
13639 (ansi-color-apply-face-function): New variable.
13640 (ansi-color-apply-on-region): Use it.
13641 (ansi-color-apply-overlay-face): New function.
13643 * shell.el (shell): No need to require ansi-color.
13644 (shell-mode): Use ansi-color-apply-face-function to highlight
13645 color escapes using font-lock-face property (Bug#10835).
13647 2012-02-19 Chong Yidong <cyd@gnu.org>
13649 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13650 mode-line formats (Bug#10839).
13652 2012-02-18 Glenn Morris <rgm@gnu.org>
13654 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13656 * mail/undigest.el (unforward-rmail-message): Doc fix.
13658 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13660 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13662 * international/characters.el (script-list): Sync with the latest
13663 Unicode Character Database.
13665 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13667 * international/titdic-cnv.el: Remove duplicate coding tag.
13668 * language/cham.el: Likewise.
13669 * language/tai-viet.el: Likewise.
13671 2012-02-18 Glenn Morris <rgm@gnu.org>
13673 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13674 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13675 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13676 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13677 * calendar/holidays.el (holiday-bahai-holidays)
13678 (calendar-holidays, list-holidays):
13679 Use utf-8 Bahá'í in doc-strings, menus, etc.
13681 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13683 * saveplace.el (save-place-ignore-files-regexp): New variable
13684 allowing for excluding files from saving their location of point.
13685 The default value matches the temporary commit message editing
13686 files from Git, SVN, Bazaar, and Mercurial.
13687 (save-place-to-alist): Use it.
13689 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13690 Stefan Monnier <monnier@iro.umontreal.ca>
13692 * newcomment.el (uncomment-region-default): Don't leave extra space
13693 when an arg is provided (bug#8150).
13695 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13697 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13699 2012-02-17 Glenn Morris <rgm@gnu.org>
13701 * net/socks.el: Require network-stream. (Bug#10599)
13703 2012-02-17 Kenichi Handa <handa@m17n.org>
13705 * international/charprop.el:
13706 * international/uni-name.el:
13707 * international/uni-old-name.el:
13708 * international/uni-comment.el: Regenerate.
13710 2012-02-16 Glenn Morris <rgm@gnu.org>
13712 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13713 Interactively in calendar buffer, give an error if not on a date.
13715 2012-02-15 Glenn Morris <rgm@gnu.org>
13717 * shell.el (shell-delimiter-argument-list):
13718 Revert 2011-02-17 change. (Bug#8027)
13720 2012-02-15 Chong Yidong <cyd@gnu.org>
13722 * minibuffer.el (completion-at-point-functions): Doc fix.
13724 * custom.el (defcustom): Doc fix; note use of defvar.
13726 2012-02-15 Glenn Morris <rgm@gnu.org>
13728 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13731 2012-02-14 Glenn Morris <rgm@gnu.org>
13733 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13735 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13737 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13738 way the ports list is computed.
13739 (smtpmail-query-smtp-server): Prompt the user for a port number if
13740 we can't connect to any of the standard ports (bug#10810).
13742 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13744 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13746 2012-02-13 Glenn Morris <rgm@gnu.org>
13748 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13750 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13752 * net/gnutls.el (gnutls-trustfiles): New variable.
13753 (gnutls-negotiate): Use it.
13755 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13757 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13758 does its stuff if Gnus is running.
13760 2012-02-13 Alan Mackenzie <acm@muc.de>
13762 Fix a loop in c-set-fl-decl-start.
13764 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13765 c-backward-syntactic-ws actually moves backwards.
13767 2012-02-13 Leo Liu <sdl.web@gmail.com>
13769 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13770 beginning so that all \C-o chars are removed.
13772 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13774 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13776 2012-02-12 Alan Mackenzie <acm@muc.de>
13778 Fix infinite loop with long macros.
13779 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13781 2012-02-12 Chong Yidong <cyd@gnu.org>
13783 * window.el (display-buffer): Doc fix (Bug#10785).
13785 2012-02-12 Glenn Morris <rgm@gnu.org>
13787 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13788 (x-disown-selection-internal, x-get-selection-internal):
13789 Sync docs with the xselect.c versions.
13791 * allout-widgets.el: Add missing license notice.
13793 2012-02-11 Glenn Morris <rgm@gnu.org>
13795 * select.el (x-get-selection-internal, x-own-selection-internal)
13796 (x-disown-selection-internal):
13797 * x-dnd.el (x-get-selection-internal): Update declarations.
13799 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13801 * window.el (window-sides-slots):
13802 * tool-bar.el (tool-bar-position):
13803 * term/xterm.el (xterm-extra-capabilities):
13804 * ses.el (ses-self-reference-early-detection):
13805 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13806 (verilog-auto-wire-type)
13807 (verilog-auto-delete-trailing-whitespace)
13808 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13809 (verilog-auto-tieoff-declaration):
13810 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13811 (sql-oracle-statement-starters, sql-oracle-scan-on):
13812 * progmodes/prolog.el (prolog-align-comments-flag)
13813 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13814 (prolog-left-indent-regexp, prolog-paren-indent-p)
13815 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13816 (prolog-types, prolog-mode-specificators)
13817 (prolog-determinism-specificators, prolog-directives)
13818 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13819 (prolog-electric-dot-flag)
13820 (prolog-electric-dot-full-predicate-template)
13821 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13822 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13823 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13824 (prolog-program-switches, prolog-prompt-regexp)
13825 (prolog-debug-on-string, prolog-debug-off-string)
13826 (prolog-trace-on-string, prolog-trace-off-string)
13827 (prolog-zip-on-string, prolog-zip-off-string)
13828 (prolog-use-standard-consult-compile-method-flag)
13829 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13830 (prolog-imenu-max-lines, prolog-info-predicate-index)
13831 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13832 (prolog-char-quote-workaround):
13833 * progmodes/cc-vars.el (c-defun-tactic):
13834 * net/tramp.el (tramp-encoding-command-interactive)
13835 (tramp-local-end-of-line):
13836 * net/soap-client.el (soap-client):
13837 * net/netrc.el (netrc-file):
13838 * net/gnutls.el (gnutls):
13839 * minibuffer.el (completion-category-overrides)
13840 (completion-cycle-threshold)
13841 (completion-pcm-complete-word-inserts-delimiters):
13842 * man.el (Man-name-local-regexp):
13843 * mail/feedmail.el (feedmail-display-full-frame):
13844 * international/characters.el (glyphless-char-display-control):
13845 * eshell/em-ls.el (eshell-ls-date-format):
13846 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13847 (lisp-lambda-list-keyword-parameter-indentation)
13848 (lisp-lambda-list-keyword-parameter-alignment):
13849 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13850 * dired-x.el (dired-omit-verbose):
13851 * cus-theme.el (custom-theme-allow-multiple-selections):
13852 * calc/calc.el (calc-highlight-selections-with-faces)
13853 (calc-lu-field-reference, calc-lu-power-reference)
13854 (calc-note-threshold):
13855 * battery.el (battery-mode-line-limit):
13856 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13857 (archive-7z-update):
13858 * allout.el (allout-prefixed-keybindings)
13859 (allout-unprefixed-keybindings)
13860 (allout-inhibit-auto-fill-on-headline)
13861 (allout-flattened-numbering-abbreviation):
13862 * allout-widgets.el (allout-widgets-auto-activation)
13863 (allout-widgets-icons-dark-subdir)
13864 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13865 (allout-widgets-theme-dark-background)
13866 (allout-widgets-theme-light-background)
13867 (allout-widgets-item-image-properties-emacs)
13868 (allout-widgets-item-image-properties-xemacs)
13869 (allout-widgets-run-unit-tests-on-load)
13870 (allout-widgets-time-decoration-activity)
13871 (allout-widgets-hook-error-post-time)
13872 (allout-widgets-track-decoration):
13873 Add missing :version tags to new defcustoms and defgroups.
13875 * progmodes/sql.el (sql-ansi-statement-starters)
13876 (sql-oracle-statement-starters): Add custom type.
13878 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13879 (prolog-system-version): Give it a type.
13881 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13883 * term/pc-win.el (x-select-text, x-selection-owner-p)
13884 (x-own-selection-internal, x-disown-selection-internal)
13885 (x-get-selection-internal): Sync doc strings and argument lists
13886 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13888 2012-02-11 Leo Liu <sdl.web@gmail.com>
13890 * progmodes/python.el (python-end-of-statement): Fix infinite
13893 2012-02-10 Glenn Morris <rgm@gnu.org>
13895 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13896 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13898 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13900 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13901 about SMTP before checking the From header.
13903 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13904 into own function for reuse by emacsbug.el.
13906 2012-02-10 Leo Liu <sdl.web@gmail.com>
13908 * subr.el (condition-case-unless-debug): Rename from
13909 condition-case-no-debug. All callers changed.
13910 (with-demoted-errors): Fix caller.
13912 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13913 * nxml/rng-valid.el (rng-do-some-validation):
13914 * emacs-lisp/package.el (package-refresh-contents)
13915 (package-menu-execute):
13916 * desktop.el (desktop-create-buffer):
13917 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13919 2012-02-10 Glenn Morris <rgm@gnu.org>
13921 * textmodes/bibtex.el:
13922 Add missing :version tags for new/changed defcustoms.
13924 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13926 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13928 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13929 (smtpmail-via-smtp): Use it, or fall back on the From address.
13930 (smtpmail-send-it): Ditto.
13932 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13934 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13935 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13936 (byte-compile-tmp-var): New const.
13937 (byte-compile-defvar): Use it to minimize .elc size.
13938 Just use `defvar' rather than simulate it (bug#10761).
13940 2012-02-09 Glenn Morris <rgm@gnu.org>
13942 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13944 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13947 * progmodes/compile.el (compilation-error-screen-columns)
13948 (compilation-first-column, compilation-filter-start): Doc fixes.
13950 * vc/log-view.el (log-view-toggle-entry-display):
13951 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13953 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13954 (report-emacs-bug-can-use-xdg-email):
13955 (report-emacs-bug-insert-to-mailer): Doc fixes.
13956 (report-emacs-bug): Message fix.
13958 * net/browse-url.el (browse-url-can-use-xdg-open)
13959 (browse-url-xdg-open): Doc fixes.
13961 * electric.el (electric-indent-mode, electric-pair-mode)
13962 (electric-layout-rules, electric-layout-mode): Doc fixes.
13963 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13965 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13967 * server.el (server-unselect-display): Don't inadvertently kill
13968 the current buffer. (Bug#10729)
13970 2012-02-08 Glenn Morris <rgm@gnu.org>
13972 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13973 (sql-list-table): Doc fixes.
13975 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13976 Comment out (does nothing).
13978 * completion.el (dynamic-completion-mode):
13979 * dirtrack.el (dirtrack-debug-mode):
13980 * electric.el (electric-layout-mode):
13981 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13982 * face-remap.el (text-scale-mode, buffer-face-mode):
13983 * iimage.el (iimage-mode):
13984 * image-mode.el (image-transform-mode):
13985 * minibuffer.el (completion-in-region-mode):
13986 * scroll-lock.el (scroll-lock-mode):
13987 * simple.el (next-error-follow-minor-mode):
13988 * tar-mode.el (tar-subfile-mode):
13989 * tooltip.el (tooltip-mode):
13990 * vcursor.el (vcursor-use-vcursor-map):
13991 * wid-browse.el (widget-minor-mode):
13992 * emulation/tpu-edt.el (tpu-edt-mode):
13993 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13994 * international/iso-ascii.el (iso-ascii-mode):
13995 * language/thai-util.el (thai-word-mode):
13996 * mail/supercite.el (sc-minor-mode):
13997 * net/goto-addr.el (goto-address-mode):
13998 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13999 * progmodes/cwarn.el (cwarn-mode):
14000 * progmodes/flymake.el (flymake-mode):
14001 * progmodes/glasses.el (glasses-mode):
14002 * progmodes/hideshow.el (hs-minor-mode):
14003 * progmodes/pascal.el (pascal-outline-mode):
14004 * textmodes/enriched.el (enriched-mode):
14005 * vc/smerge-mode.el (smerge-mode):
14006 Doc fixes (minor mode argument).
14008 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14010 * ls-lisp.el (ls-lisp-sanitize): New function.
14011 (ls-lisp-insert-directory): Use it to fix or remove any elements
14012 in file-alist with missing attributes. (Bug#4673)
14014 2012-02-07 Alan Mackenzie <acm@muc.de>
14016 Fix spurious recognition of c-in-knr-argdecl.
14018 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14019 putative K&R region.
14021 2012-02-07 Alan Mackenzie <acm@muc.de>
14023 * progmodes/cc-engine.el (c-forward-objc-directive):
14024 Prevent looping in "#pragma mark @implementation".
14026 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14028 * notifications.el (notifications-on-closed-signal): Make `reason'
14029 optional. (Bug#10744)
14031 2012-02-07 Glenn Morris <rgm@gnu.org>
14033 * emacs-lisp/easy-mmode.el (define-minor-mode):
14034 Doc fixes for the macro and the mode it defines.
14036 * image.el (imagemagick-types-inhibit): Doc fix.
14038 * cus-start.el (imagemagick-render-type): Add it.
14040 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14042 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14043 Set the default at load time, too, so that `font-lock-fontify-buffer'
14044 can be called without setting up the entire mode first. This fixes
14045 a bug in `mm-inline-text' with C MIME parts.
14047 2012-02-06 Chong Yidong <cyd@gnu.org>
14049 * simple.el (list-processes--refresh): Delete exited processes
14052 * comint.el (comint-next-prompt): next-single-char-property-change
14053 and prev-single-char-property-change never return nil (Bug#8657).
14055 * custom.el (defcustom): Doc fix (Bug#9711).
14057 2012-02-05 Chong Yidong <cyd@gnu.org>
14059 * cus-edit.el (custom-variable-reset-backup): Quote the value
14060 before storing it in the customized-value property (Bug#6712).
14061 (custom-display): Add a customization type tag.
14062 (custom-buffer-create-internal): Improve tooltip message.
14064 * wid-edit.el (widget-field-value-get): New optional arg to
14065 suppress trailing whitespace truncation.
14066 (character): Use it (Bug#2689).
14068 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14070 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14071 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14073 2012-02-05 Chong Yidong <cyd@gnu.org>
14075 * cus-edit.el (custom-variable-value-create): For mismatched
14076 types, show the current value (Bug#7600).
14078 * custom.el (defcustom): Doc fix.
14080 2012-02-05 Glenn Morris <rgm@gnu.org>
14082 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14084 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14086 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14087 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14088 (pp-last-sexp): Use `looking-at-p'.
14090 2012-02-04 Glenn Morris <rgm@gnu.org>
14092 * files.el (revert-buffer):
14093 Doc fix (mention revert-buffer-in-progress-p).
14095 * emacs-lisp/ert-x.el (ert-simulate-command):
14096 Check deferred-action-list (which is obsolete) is bound.
14098 * subr.el (with-wrapper-hook): Doc fixes.
14100 * simple.el (filter-buffer-substring-functions)
14101 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14103 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14105 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14106 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14108 2012-02-04 Leo Liu <sdl.web@gmail.com>
14110 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14112 2012-02-04 Glenn Morris <rgm@gnu.org>
14114 * image.el (image-extension-data): Add obsolete alias.
14116 * isearch.el (isearch-update): Doc fix.
14118 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14120 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14122 2012-02-03 Glenn Morris <rgm@gnu.org>
14124 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14125 (image-animate-timeout): Doc fix.
14127 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14129 2012-02-02 Glenn Morris <rgm@gnu.org>
14131 * server.el (server-auth-dir): Doc fix.
14132 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14134 * subr.el (run-mode-hooks): Doc fix.
14136 2012-02-02 Juri Linkov <juri@jurta.org>
14138 * image-mode.el (image-toggle-display-image): Remove tautological
14139 `major-mode' from the `derived-mode-p' test.
14141 2012-02-02 Kenichi Handa <handa@m17n.org>
14143 * composite.el (compose-region): Cancel previous change.
14145 2012-02-02 Kenichi Handa <handa@m17n.org>
14147 * composite.el (compose-region, compose-string): Signal error for
14148 a null string component (Bug#6988).
14150 2012-02-01 Chong Yidong <cyd@gnu.org>
14152 * view.el (view-buffer-other-window, view-buffer-other-frame):
14153 Handle special modes like view-buffer (Bug#10650).
14154 (view-buffer): Simplify.
14156 * frame.el (set-frame-font): Tweak meaning of third argument.
14158 * dynamic-setting.el (font-setting-change-default-font):
14159 Use set-frame-font (Bug#9982).
14161 2012-02-01 Glenn Morris <rgm@gnu.org>
14163 * progmodes/compile.el (compilation-internal-error-properties):
14164 Respect compilation-first-column in the "*compilation*" buffer.
14166 * emacs-lisp/easy-mmode.el (define-minor-mode):
14167 Relax :variable's test for a named function.
14169 2012-01-31 Alan Mackenzie <acm@muc.de>
14171 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14174 2012-01-31 Chong Yidong <cyd@gnu.org>
14176 * frame.el (set-frame-font): New arg ALL-FRAMES.
14178 * menu-bar.el (menu-set-font): Use set-frame-font.
14180 * faces.el (face-spec-reset-face): Don't apply unspecified
14181 attribute values to the default face.
14183 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14185 * progmodes/cwarn.el (cwarn): Remove dead link.
14186 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14187 Remove * from defcustom docstrings.
14188 (turn-on-cwarn-mode): Make obsolete.
14189 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14190 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14192 2012-01-31 Glenn Morris <rgm@gnu.org>
14194 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14195 Fix :variable handling of mode a symbol not equal to modefun.
14196 Allow named functions to be used as the cdr of :variable.
14198 2012-01-30 Glenn Morris <rgm@gnu.org>
14200 * emacs-lisp/authors.el (authors-fixed-entries):
14201 Remove reference to deleted file rnewspost.el.
14203 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14205 * window.el (window-with-parameter): Remove unused variable `windows'.
14206 (window--side-check): Remove unused variable `code'.
14207 (window--resize-siblings): Remove unused variable `first'.
14208 (adjust-window-trailing-edge): Remove unused variable `failed'.
14209 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14210 Use `let', not `let*'.
14211 (balance-windows-2): Remove unused variable `found'.
14212 (window--state-put-2): Remove unused variable `splits'.
14213 (window-state-put): Remove unused variable `selected'.
14214 (same-window-p): Use `string-match-p'.
14215 (display-buffer-assq-regexp): Remove unused variable `value'.
14216 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14217 Mark argument ALIST as ignored.
14218 (pop-to-buffer): Remove unused variable `old-window'.
14220 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14222 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14223 and .lzma compressed files.
14225 2012-01-29 Chong Yidong <cyd@gnu.org>
14227 * frame.el (window-system-default-frame-alist): Doc fix.
14229 * dynamic-setting.el (font-setting-change-default-font): Don't
14230 change the default face if SET-FONT argument is non-nil (Bug#9982).
14232 2012-01-29 Samuel Bronson <naesten@gmail.com>
14234 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14236 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14238 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14239 breakpoints in files outside current directory (Bug#6098).
14241 2012-01-29 Chong Yidong <cyd@gnu.org>
14243 * progmodes/python.el: Require ansi-color at top-level.
14245 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14246 Define and use in Emacs Lisp mode (Bug#9360).
14247 (lisp-mode-abbrev-table): Add doc.
14248 (lisp-mode-variables): Don't set local-abbrev-table.
14249 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14251 2012-01-28 Roland Winkler <winkler@gnu.org>
14253 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14255 2012-01-28 Roland Winkler <winkler@gnu.org>
14257 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14258 (bibtex-set-dialect): Use it. Either set global values of
14259 dialect-dependent variables or bind these variables buffer-locally
14261 (bibtex-mode): Call bibtex-set-dialect via
14262 hack-local-variables-hook.
14263 (bibtex-dialect): Update docstring.
14264 Add safe-local-variable predicate.
14265 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14266 bibtex-set-dialect.
14267 (bibtex-mode-map): Define menu for each dialect.
14268 (bibtex-entry): Fix docstring.
14270 2012-01-28 Chong Yidong <cyd@gnu.org>
14272 * eshell/esh-arg.el (eshell-quote-argument): New function.
14274 * eshell/esh-ext.el (eshell-invoke-batch-file):
14275 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14276 first arg to eshell-parse-command (Bug#10523).
14278 2012-01-28 Drew Adams <drew.adams@oracle.com>
14280 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14281 `default-directory' is non-nil.
14283 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14285 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14286 line that displays system-configuration-options. (Bug#9924)
14288 2012-01-28 Drew Adams <drew.adams@oracle.com>
14290 * descr-text.el (describe-char): Show information about POS, in
14291 addition to information about the character at POS. Improve and
14292 update the doc string. Change "code point" to "code point in
14293 charset", to avoid confusion with the character's Unicode code
14294 point shown above that. (Bug#10129)
14296 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14298 * descr-text.el (describe-char): Show the raw character, not only
14299 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14300 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14303 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14305 * emacs-lisp/package.el (package-install):
14306 Run package-refresh-contents if there is no archive yet (Bug#9798).
14308 2012-01-28 Chong Yidong <cyd@gnu.org>
14310 * emacs-lisp/package.el (package-maybe-load-descriptor):
14311 New function, split from package-maybe-load-descriptor.
14312 (package-maybe-load-descriptor): Use it.
14313 (package-download-transaction): Fully load required packages
14314 inside the loop, so that `require' calls work (Bug#10593).
14315 (package-install): No need to call package-initialize now.
14317 2012-01-28 Chong Yidong <cyd@gnu.org>
14319 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14321 * tooltip.el (tooltip-mode): Doc fix.
14322 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14324 * frame.el (set-cursor-color): Doc fix (Bug#352).
14326 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14327 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14329 * cus-edit.el (custom-buffer-create-internal): Fix search button
14330 action (Bug#10542).
14331 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14333 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14335 * dired.el (dired-mark-files-regexp):
14336 Include any subdirectory components. (Bug#10445)
14338 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14340 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14341 Handle [host]:port syntax. (Bug#10533)
14343 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14345 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14347 2012-01-26 Glenn Morris <rgm@gnu.org>
14349 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14350 * term.el (term-raw-escape-map): Use Control-X-prefix.
14351 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14353 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14355 * window.el (window-state-get, window--state-get-1): Don't deal
14356 with fixed-sizeness of windows. Simplify code.
14358 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14360 * window.el (window--state-get-1, window--state-put-2):
14361 Don't save and restore the mark.
14363 2012-01-25 Chong Yidong <cyd@gnu.org>
14365 * custom.el (custom-variable-p): Doc fix.
14367 2012-01-25 Glenn Morris <rgm@gnu.org>
14369 * dired.el (dired-goto-file): Handle some of the more common
14370 characters that `ls -b' escapes. (Bug#10596)
14372 * progmodes/compile.el (compilation-next-error-function):
14373 Respect compilation-first-column in the "*compilation*" buffer.
14374 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14376 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14378 2012-01-24 Glenn Morris <rgm@gnu.org>
14380 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14382 2012-01-24 Julien Danjou <julien@danjou.info>
14384 * color.el (color-rgb-to-hsl): Fix value computing.
14385 (color-hue-to-rgb): New function.
14386 (color-hsl-to-rgb): New function.
14387 (color-clamp, color-saturate-hsl, color-saturate-name)
14388 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14389 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14391 2012-01-24 Glenn Morris <rgm@gnu.org>
14393 * vc/vc-rcs.el (vc-rcs-create-tag):
14394 * vc/vc-sccs.el (vc-sccs-create-tag):
14395 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14397 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14399 * eshell/esh-util.el (eshell-read-hosts-file):
14400 Skip comment lines. (Bug#10549)
14402 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14404 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14406 * subr.el (display-delayed-warnings): Doc fix.
14407 (collapse-delayed-warnings): New function to collapse identical
14409 (delayed-warnings-hook): Add it.
14411 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14413 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14415 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14416 (tramp-default-user-alist): Don't add "pscp".
14417 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14418 property "login-as", if set. (Bug#10530)
14420 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14422 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14423 "plink1" and "psftp". (Bug#10530)
14425 2012-01-21 Kenichi Handa <handa@m17n.org>
14427 * international/mule-cmds.el (prefer-coding-system): Show a
14428 warning message if the default value of file-name-coding-system
14431 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14433 * windmove.el (windmove-reference-loc):
14434 Fix windmove-reference-loc miscalculation.
14436 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14438 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14441 2012-01-21 Glenn Morris <rgm@gnu.org>
14443 * international/mule.el (auto-coding-alist): Add .tbz.
14445 * files.el (local-enable-local-variables): Doc fix.
14446 (inhibit-local-variables-regexps): Rename from
14447 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14448 Doc fix. Add some extensions from auto-coding-alist.
14449 (inhibit-local-variables-suffixes):
14450 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14451 (inhibit-local-variables-p):
14452 New function, extracted from set-auto-mode-1.
14453 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14454 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14455 (hack-local-variables): Doc fix. Make the mode-only case
14456 respect enable-local-variables and friends.
14457 Respect inhibit-local-variables-regexps for file-locals, but
14458 not for directory-locals.
14459 (set-visited-file-name):
14460 Take account of inhibit-local-variables-regexps.
14461 Whether it applies may change as the file name is changed.
14462 * jka-cmpr-hook.el (jka-compr-install):
14463 * jka-compr.el (jka-compr-uninstall):
14464 Update for inhibit-first-line-modes-suffixes name change.
14466 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14468 * help-macro.el (make-help-screen): Temporarily restore original
14469 binding for minor-mode-map-alist (Bug#10454).
14471 2012-01-19 Julien Danjou <julien@danjou.info>
14473 * color.el (color-name-to-rgb): Use the white color to find the max
14474 color component value and return correctly computed values.
14475 (color-name-to-rgb): Add missing float conversion for max value.
14477 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14479 * window.el (window--state-get-1, window-state-get): Do not use
14480 special state value for window-persistent-parameters.
14481 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14482 (window--state-put-2): Reset all window parameters to nil before
14483 assigning values of persistent parameters.
14485 2012-01-18 Alan Mackenzie <acm@muc.de>
14487 Eliminate sluggishness and hangs in fontification of "semicolon
14490 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14491 Change value 10000 -> 3000.
14492 (c-state-safe-place): Reformulate so it doesn't stack up an
14493 infinite number of wrong entries in c-state-nonlit-pos-cache.
14494 (c-determine-limit-get-base, c-determine-limit): New functions to
14495 determine backward search limits disregarding literals.
14496 (c-find-decl-spots): Amend commenting.
14497 (c-cheap-inside-bracelist-p): New function which detects "={".
14499 * progmodes/cc-fonts.el
14500 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14502 (c-font-lock-declarations): Fix an occurrence of point being
14503 undefined. Check additionally for point being in a bracelist or
14504 near a macro invocation without a semicolon so as to avoid a
14505 fruitless time consuming search for a declarator. Give a more
14506 precise search limit for declarators using the new
14509 2012-01-18 Glenn Morris <rgm@gnu.org>
14511 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14512 (set-auto-mode): Doc fixes.
14514 2012-01-17 Glenn Morris <rgm@gnu.org>
14516 * isearch.el (search-nonincremental-instead): Fix doc typo.
14518 * dired.el (dired-insert-directory): Handle newlines in directory name.
14519 (dired-build-subdir-alist): Unescape newlines in directory name.
14521 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14523 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14524 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14525 (tramp-action-terminal): Use it. (Bug#10530)
14527 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14529 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14531 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14533 * window.el (window-state-ignored-parameters): Remove variable.
14534 (window--state-get-1): Rename argument MARKERS to IGNORE.
14535 Handle persistent window parameters. Make copy of clone-of
14536 parameter only if requested. (Bug#10348)
14537 (window--state-put-2): Install a window parameter only if it has
14538 a non-nil value or an existing parameter shall be overwritten.
14540 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14542 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14544 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14546 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14547 don't pass the (nil) value of `upnode' to string-match.
14549 2012-01-14 Chong Yidong <cyd@gnu.org>
14551 * startup.el (command-line): Fix X resource class for cursorColor.
14552 Fix values recognized by the cursorBlink resource.
14554 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14556 * epg.el (epg--make-temp-file): Avoid permission race condition
14557 when running on old Emacs versions (bug#10403).
14559 2012-01-14 Glenn Morris <rgm@gnu.org>
14561 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14563 2012-01-13 Alan Mackenzie <acm@muc.de>
14565 Fix filling for when filladapt mode is enabled.
14567 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14568 c-mask-paragraph, pass in `fill-paragraph' rather than
14569 `fill-region-as-paragraph'. (This is a reversion of a previous
14571 * progmodes/cc-mode.el (c-basic-common-init):
14572 Make fill-paragraph-handle-comment buffer local and set it to nil.
14574 2012-01-13 Glenn Morris <rgm@gnu.org>
14576 * dired.el (dired-switches-escape-p): New function.
14577 (dired-insert-directory): Use dired-switches-escape-p.
14578 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14580 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14582 2012-01-12 Glenn Morris <rgm@gnu.org>
14584 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14585 changes in adaptive-fill-regexp. (Bug#10276)
14587 2012-01-11 Alan Mackenzie <acm@muc.de>
14589 Fix Emacs bug #10463 - put `widen's around the critical spots.
14591 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14592 widen around each invocation of c-state-pp-to-literal. Remove an
14593 unused let variable.
14595 2012-01-11 Glenn Morris <rgm@gnu.org>
14597 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14600 2012-01-10 Chong Yidong <cyd@gnu.org>
14602 * net/network-stream.el (network-stream-open-starttls):
14603 Avoid emitting a confusing error message when the server gives a bad
14604 response to the capability command.
14606 2012-01-10 Glenn Morris <rgm@gnu.org>
14608 * mail/unrmail.el (unrmail): Tweak previous change.
14610 2012-01-09 Chong Yidong <cyd@gnu.org>
14612 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14614 2012-01-08 Alan Mackenzie <acm@muc.de>
14616 Optimize font locking in long enum definitions.
14618 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14619 arm to a cond form to handle enums.
14620 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14621 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14623 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14625 * files.el (move-file-to-trash): Preserve default file modes on error.
14628 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14630 * faces.el (set-face-attribute): Clarify the meaning of the nil
14633 * subr.el (with-selected-frame): Mention that the selected frame
14634 is restored (bug#9980).
14636 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14639 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14640 (password-read): Don't autoload unused function.
14642 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14644 * progmodes/which-func.el (which-func-mode): Turn into a
14645 non-interactive function and mark as obsolete (bug#10428).
14647 2012-01-06 Chong Yidong <cyd@gnu.org>
14649 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14650 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14651 functions, along with 1 and -1.
14653 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14655 * time.el (display-time-load-average)
14656 (display-time-default-load-average): Doc fixes. See the thread
14658 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14661 2012-01-06 Glenn Morris <rgm@gnu.org>
14663 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14664 has no messages. (Bug#10377)
14666 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14667 than Info-edit. (Bug#10385)
14669 * time.el (display-time-load-average, display-time-next-load-average):
14672 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14673 local setting of buffer-read-only to the input buffer. (Bug#10419)
14675 * calendar/calendar.el (calendar-mode):
14676 Locally set scroll-margin to 0. (Bug#10379)
14678 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14680 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14682 2012-01-05 Glenn Morris <rgm@gnu.org>
14684 * eshell/em-unix.el (diff-no-select): Autoload it.
14685 (eshell/diff): Use diff-no-select. (Bug#10420)
14687 2012-01-05 Chong Yidong <cyd@gnu.org>
14689 * shell.el (shell-dynamic-complete-functions): Revert last change.
14690 (shell-command-completion-function): New function.
14691 (shell-completion-vars): Use it to implement
14692 shell-completion-execonly (Bug#10417).
14694 * custom.el (enable-theme): Don't set custom-safe-themes.
14696 * cus-theme.el (custom-theme-merge-theme):
14697 Ignore custom-enabled-themes and custom-safe-themes.
14699 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14701 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14702 first prompt in `sql-interacive-mode'.
14703 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14705 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14706 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14707 context of original buffer. Invoke `sql-login-hook'.
14709 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14711 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14712 letters in cite-prefix.
14714 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14716 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14718 2012-01-03 Chong Yidong <cyd@gnu.org>
14720 * shell.el (shell-dynamic-complete-functions):
14721 Put pcomplete-completions-at-point, so as to try
14722 comint-filename-completion first (Bug#10417).
14724 2012-01-02 Richard Stallman <rms@gnu.org>
14726 * battery.el (battery-status-function):
14727 Detect when to use battery-yeeloong-sysfs.
14728 (battery-echo-area-format): Add string for Yeeloong.
14729 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14730 (battery-yeeloong-sysfs): New function.
14732 2012-01-02 Chong Yidong <cyd@gnu.org>
14734 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14735 (dirtrack): Merge code for handling relative filenames in prompt
14736 from shell-dir-cookie-watcher.
14737 (dirtrack-debug-message): New arg to avoid excess format calls.
14739 * shell.el (shell-dir-cookie-re): Variable deleted.
14740 (shell-dir-cookie-watcher): Function deleted.
14741 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14742 with dirtrack-mode.
14744 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14746 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14747 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14750 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14752 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14754 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14756 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14757 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14759 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14761 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14762 also for alternative shells.
14763 (tramp-open-connection-setup-interactive-shell): Check, whether
14764 the shell is a busybox.
14765 (tramp-send-command): Don't suppress multiple prompts for
14766 busyboxes, it hurts.
14768 2011-12-28 Chong Yidong <cyd@gnu.org>
14770 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14771 (gdb-get-source-file): Move mode line update to
14772 gdb-get-source-file (Bug#10087).
14774 2011-12-25 Chong Yidong <cyd@gnu.org>
14776 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14777 gud-gdb-marker-filter without taking it as an argument.
14778 (gud-gdb-run-command-fetch-lines): Caller changed.
14779 (gud-gdb-completion-function): New variable.
14780 (gud-gdb-completion-at-point): Use it.
14781 (gud-gdb-completions-1): Split from gud-gdb-completions.
14783 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14784 function as separate arguments.
14785 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14786 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14787 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14788 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14789 (gdb-stopped, def-gdb-auto-update-trigger)
14790 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14791 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14793 (gud-gdbmi-completions): New function.
14794 (gdb): Use it for generating the completion table.
14796 2011-12-24 Alan Mackenzie <acm@muc.de>
14798 Introduce a mechanism to widen the region used in context font
14799 locking. Use this to protect declarations from losing their contexts.
14801 * progmodes/cc-langs.el (c-before-font-lock-functions):
14802 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14803 (c-before-context-fontification-functions): New defvar, a list of
14804 functions to be run just before context (etc.) font locking.
14806 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14807 New, functionality extracted from
14808 c-neutralize-syntax-in-and-mark-CPP.
14809 (c-in-after-change-fontification): New variable.
14810 (c-after-change): Set c-in-after-change-fontification.
14811 (c-set-fl-decl-start): Rejig its interface, so it can be called
14812 from both after-change and context fontifying.
14813 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14815 (c-standard-font-lock-fontify-region-function): New variable.
14816 (c-font-lock-fontify-region): New function.
14818 2011-12-24 Juri Linkov <juri@jurta.org>
14820 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14823 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14825 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14826 existence of source file. (Bug#10325)
14828 2011-12-23 Alan Mackenzie <acm@muc.de>
14830 Fix unstable fontification inside templates.
14832 * progmodes/cc-langs.el (c-before-font-lock-functions):
14833 Newly created from the singular version. The (c c++ objc) entry now
14834 additionally has c-set-fl-decl-start. The other languages (apart
14835 from AWK) have that as a single entry.
14837 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14838 The functionality for "local" declarations has been extracted to
14839 c-set-fl-decl-start.
14841 * progmodes/cc-mode.el (c-common-init, c-after-change):
14842 Changes due to pluralisation of c-before-font-lock-functions.
14843 (c-set-fl-decl-start): New function, extracted from
14844 c-font-lock-enclosing-decls and enhanced.
14846 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14848 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14850 2011-12-22 Juri Linkov <juri@jurta.org>
14852 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14854 2011-12-22 Chong Yidong <cyd@gnu.org>
14856 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14858 2011-12-21 Drew Adams <drew.adams@oracle.com>
14860 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14862 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14864 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14866 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14868 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14869 highlighting and support. Fix up comments for capitalization.
14870 (cfengine-mode-debug): New var.
14871 (cfengine3-mode): Change the modeline indicator to "CFE3".
14872 (cfengine3-font-lock-keywords): Improve defun highlighting.
14873 (cfengine2-actions): Rename from `cfengine-actions'.
14874 (cfengine2-font-lock-keywords): Rename from
14875 `cfengine-font-lock-keywords'.
14876 (cfengine2-imenu-expression): Rename from
14877 `cfengine-imenu-expression'.
14878 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14879 (cfengine2-beginning-of-defun): Rename from
14880 `cfengine-beginning-of-defun'.
14881 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14882 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14883 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14884 modeline indicator to "CFE2".
14885 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14886 (cfengine-mode-abbrevs): Mark obsolete.
14888 2011-12-21 Chong Yidong <cyd@gnu.org>
14890 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14893 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14895 * window.el (window-normalize-buffer-to-display): Remove.
14896 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14898 2011-12-19 Chong Yidong <cyd@gnu.org>
14900 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14901 Don't signal an error in a predicate function; return non-nil.
14902 (vc-dir-mark-file): Move the error here.
14903 (vc-dir-mark-unmark): If acting on the region, keep going if one
14904 of the entries cannot be marked/unmarked.
14905 (vc-dir-mark-all-files): If current entry is a directory, mark
14906 only child files, as documented.
14908 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14910 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14911 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14914 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14916 * term/ns-win.el (ns-get-selection-internal)
14917 (ns-store-selection-internal): Declare.
14918 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14919 Declare as obsolete.
14920 (ns-get-pasteboard, ns-paste-secondary):
14921 Use ns-get-selection-internal.
14922 (ns-set-pasteboard, ns-copy-including-secondary):
14923 Use ns-store-selection-internal.
14925 2011-12-17 Chong Yidong <cyd@gnu.org>
14927 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14928 (vc-deduce-fileset): Doc fix.
14930 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14932 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14934 2011-12-13 Sam Steingold <sds@gnu.org>
14936 * man.el (Man-getpage-in-background): When running under a
14937 window-system, ignore $MANWIDTH and $COLUMNS.
14939 2011-12-15 Kenichi Handa <handa@m17n.org>
14941 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14942 (setup-ethiopic-environment-internal): Comment out key-binding for
14943 ethio-toggle-punctuation.
14945 2011-12-13 Alan Mackenzie <acm@muc.de>
14947 Add the switch statement to AWK Mode.
14949 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14950 "default" to the keywords regexp.
14952 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14953 expression as the rest.
14954 (c-nonlabel-token-key): Allow string literals for AWK.
14955 Refactor for the other modes.
14957 Large brace-block initialisation makes CC Mode slow: Fix.
14958 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14959 routines. Limit backward searching in c-font-lock-enclosing.decl.
14961 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14962 pp-state and literal type in addition to the limits.
14963 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14964 (c-state-literal-at): Use the above new defun.
14965 (c-slow-in-literal, c-fast-in-literal): Remove.
14966 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14968 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14969 being in a literal. Add a limit for backward searching.
14971 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14974 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14976 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14978 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14980 * window.el (delete-other-windows): Use correct frame in call to
14981 window-with-parameter.
14983 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14985 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14986 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14987 (makefile-gmake-statements, makefile-makepp-statements):
14988 Use it and add new makepp keywords.
14989 (makefile-makepp-font-lock-keywords): Add new patterns.
14990 (makefile-match-function-end): Match new [...] and [[...]].
14992 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
14994 * ses.el (ses-call-printer-return, ses-cell-property-get)
14995 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14996 (ses-create-cell-variable, ses-reset-header-string)
14997 (ses-cell-set-formula, ses-repair-cell-reference-all)
14998 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14999 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15000 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15001 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15002 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15003 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15004 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15005 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15006 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15007 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15008 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15009 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15011 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15013 * ses.el: The overall change is to add cell renaming, that is
15014 setting fancy names for cell symbols other than name matching
15015 "\\`[A-Z]+[0-9]+\\'" regexp .
15016 (ses-create-cell-variable): New defun.
15017 (ses-relocate-formula): Relocate formulas only for cells the
15018 symbols of which are not renamed, i.e. symbols whose names do not
15019 match regexp "\\`[A-Z]+[0-9]+\\'".
15020 (ses-relocate-all): Relocate values only for cells the symbols of
15021 which are not renamed.
15022 (ses-load): Create cells variables as the (ses-cell ...) are read,
15023 in order to check row col consistency with cell symbol name only
15024 for cells that are not renamed.
15025 (ses-replace-name-in-formula): New defun.
15026 (ses-rename-cell): New defun.
15028 2011-12-11 Chong Yidong <cyd@gnu.org>
15030 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15031 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15033 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15035 * window.el (other-window): Fix docstring.
15037 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15039 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15040 `from' or `to' address before taking its substring.
15041 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15042 encoded name is chopped in the middle of the encoded string, and
15043 thus displayed encoded.
15045 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15047 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15049 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15051 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15052 to use texinfo-update-node and commands that call it if the
15053 Texinfo file uses @node lines without next/prev/up pointers.
15054 Correct outdated description about texinfo-master-menu.
15055 (texinfo-all-menus-update, texinfo-master-menu)
15056 (texinfo-update-node, texinfo-every-node-update)
15057 (texinfo-multiple-files-update): Doc fix. Warn against updating
15058 all the @node lines.
15059 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15060 argument is numeric. Explain better in the doc string what the
15061 function really does.
15062 (texinfo-insert-master-menu-list): Improve the error message
15063 displayed if there's no menu in the Top node.
15064 (Bug#2975) See also this thread:
15065 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15067 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15069 * speedbar.el (speedbar-supported-extension-expressions):
15070 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15072 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15074 * printing.el (pr-mode-alist):
15075 * simple.el (filter-buffer-substring-functions)
15076 (completion-list-insert-choice-function):
15077 * window.el (window-with-parameter, window-atom-root)
15078 (window-sides-slots, window-size-fixed, window-min-delta)
15079 (window-max-delta, window--resize-mini-window)
15080 (window--resize-child-windows-normal, window-tree)
15081 (delete-other-windows, quit-window, split-window)
15082 (display-buffer-record-window, special-display-buffer-names)
15083 (special-display-regexps, special-display-popup-frame)
15084 (same-window-p, split-window-sensibly)
15085 (display-buffer-overriding-action, display-buffer-alist)
15086 (display-buffer-base-action, display-buffer, switch-to-buffer)
15087 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15088 (fit-window-to-buffer, recenter-positions)
15089 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15090 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15091 and remove unneeded backslashes in docstrings.
15093 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15095 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15097 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15098 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15100 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15101 when reading the makefile (bug#10116).
15103 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15105 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15108 2011-12-06 Glenn Morris <rgm@gnu.org>
15110 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15112 2011-12-06 Chong Yidong <cyd@gnu.org>
15114 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15116 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15118 * textmodes/table.el (table-shorten-cell): Fix typo.
15120 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15122 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15124 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15126 * descr-text.el (describe-char): Fix display of strong
15127 right-to-left characters and directional embeddings and overrides.
15129 * simple.el (what-cursor-position): Fix display of codepoints of
15130 strong right-to-left characters.
15132 2011-12-05 Chong Yidong <cyd@gnu.org>
15134 * faces.el (read-color): Doc fix.
15136 2011-12-05 Glenn Morris <rgm@gnu.org>
15138 * align.el (align--set-marker): Add doc-string.
15139 Don't try to move something that is not a marker. (Bug#10216)
15141 2011-12-04 Glenn Morris <rgm@gnu.org>
15143 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15144 overly zealous deletion of trailing whitespace.
15146 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15148 * server.el (server-delete-client): On Windows, do not try to delete
15150 (server-process-filter): On Windows, treat requests for a tty frame as
15151 if they were for a GUI frame if the running server is in GUI mode.
15153 2011-12-03 Glenn Morris <rgm@gnu.org>
15155 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15157 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15159 * electric.el: Streamline electric-indent's hook.
15160 (electric-indent-chars): Revert to simple list.
15161 (electric-indent-functions): New var.
15162 (electric-indent-post-self-insert-function): Use it.
15164 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15165 there's no inferior buffer (bug#10196).
15166 (prolog-consult-compile): Don't use toggle-read-only.
15168 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15170 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15171 interrupt. (Bug#10187)
15173 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15175 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15178 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15181 2011-12-02 Juri Linkov <juri@jurta.org>
15183 * info.el (Info-search): Display "end of manual" when Isearch
15184 reaches the end of single-file Info manual. (Bug#9918)
15186 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15188 * isearch.el (isearch-message-prefix): Run the input method part
15189 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15191 2011-12-02 Juri Linkov <juri@jurta.org>
15193 * isearch.el (isearch-occur): Use `word-search-regexp' for
15195 (isearch-search-and-update): Add condition for `isearch-word' and
15196 call `word-search-regexp'. (Bug#10145)
15198 2011-12-01 Glenn Morris <rgm@gnu.org>
15200 * eshell/em-hist.el (eshell-hist-initialize):
15201 Handle eshell-history-size nil and HISTSIZE set or unset.
15202 (eshell-history-file-name, eshell-history-size): Fix custom type.
15204 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15206 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15208 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15210 * progmodes/verilog-mode.el (verilog-pretty-expr):
15211 Rework verilog-pretty-expr to handle new assignment operators in system
15212 verilog, such as += *= and the like.
15213 (verilog-assignment-operator-re): Regular expression to find the
15214 assigment operator in a verilog assignment.
15215 (verilog-assignment-operation-re): Regular expression to find an
15216 assignment statement for pretty-expr.
15217 (verilog-in-attribute-p): Query returns true if point is in an
15218 attribute context; used to skip these for expression line up from
15220 (verilog-in-parameter-p): Query returns true if point is in an
15221 parameter definition context; used to skip these for expression
15222 line up from pretty-expr.
15223 (verilog-in-parenthesis-p): Query returns true if point is in a
15224 parenthetical expression, specifically ( ) but not [ ] or { };
15225 used by pretty-expr.
15226 (verilog-just-one-space): If there is no space, don't add one.
15227 (verilog-get-lineup-indent-2): Specifically skip just attribute
15228 contexts for expression lineup, rather than skipping all
15229 parenthetical expressions.
15230 (verilog-calculate-indent): Fix comment, and fix indent.
15231 (verilog-do-indent): Indent declarations in lists (suggested by
15233 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15235 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15238 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15240 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15241 parameters with embedded comments. Reported by Ray Stevens.
15242 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15243 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15244 Reported by Tim Holt.
15245 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15246 instantiated by upper module causing wrong expansion until AUTOed a
15247 second time. Reported by K C Buckenmaier.
15248 (verilog-diff-auto): Fix showing .* as a difference when
15249 `verilog-auto-star-save' off. Reported by Dan Dever.
15250 (verilog-auto-reset, verilog-read-always-signals)
15251 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15252 temporary signals in reset list if
15253 verilog-auto-reset-blocking-in-non is nil, and match assignment
15254 style to each signal's assignment type, bug381.
15255 Reported by Thomas Esposito.
15256 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15257 (verilog-uvm-statement-re): Support UVM indentation and
15258 highlighting, with old OVM keywords only.
15259 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15260 Support AUTOTIEOFF creating non-wire data types.
15261 Suggested by Jonathan Greenlaw.
15262 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15263 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15264 (verilog-inject-sense, verilog-read-inst-pins)
15265 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15266 Fix mismatching parenthesis inside commented out code when deleting
15267 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15268 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15269 non-numeric vector width. Reported by Alex Reed.
15270 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15271 detecting signals with parameter widths. Reported by Alex Reed.
15272 (verilog-auto-delete-trailing-whitespace):
15273 With `verilog-auto-delete-trailing-whitespace' remove trailing
15274 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15275 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15276 Fix verilog-scan-cache corruption when running user AUTO expansion
15277 hooks that call indentation routines.
15278 (verilog-simplify-range-expression): Fix typo ignoring lower case
15280 (verilog-delete-auto): Fix delete-autos to also remove user created
15281 automatics, as long as they start with AUTO.
15282 (verilog-batch-diff-auto, verilog-diff-auto)
15283 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15284 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15285 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15286 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15287 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15288 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15289 is disabled and its cache will get corrupt, causing AUTOS not to
15290 expand. Instead use only -quick functions.
15291 (verilog-scan-region): Fix scanning over escaped quotes.
15292 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15293 (verilog-re-search-backward-quick)
15294 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15295 related functions now ignore strings, to fix misparsing of strings
15296 with magic comments embedded in them.
15297 (verilog-read-auto-template):
15298 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15299 Reported by Brad Dobbie.
15300 (verilog-read-auto-template):
15301 Fix 'verilog-auto-inst-template-numbers' with comments.
15302 Reported by Brad Dobbie.
15303 (verilog-auto-inst, verilog-auto-inst-param)
15304 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15305 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15306 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15307 debugging templates without merge conflicts, bug357.
15308 Reported by Brad Dobbie.
15309 (verilog-read-auto-template):
15310 Fix verilog-auto-inst-template-numbers with multiple templates.
15311 Reported by Brad Dobbie.
15312 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15313 abbrevs so user won't be asked to save.
15314 (verilog-read-auto-lisp-present): Fix to start at beginning of
15315 buffer in case called outside of verilog-auto.
15316 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15317 to "X-2". Reported by Matthew Myers.
15318 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15319 all inputs from module templates. Reported by Leith Johnson.
15320 (verilog-module-inside-filename-p): Fix locating programs as with
15322 (verilog-auto-inst-port): Fix vl-width expressions when using
15323 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15324 (verilog-decls-get-regs, verilog-decls-get-signals,
15325 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15326 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15327 verilog-read-decls): Combine reg and wire structures into one var
15328 structure to represent SystemVerilog concepts.
15329 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15330 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15331 (verilog-auto-wire-type, verilog-insert-definition):
15332 Add verilog-auto-wire-type and AUTOLOGIC to support using
15333 SystemVerilog "logic" keyword instead of "wire"/"reg".
15334 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15335 to declares outputs that also have assignments (presumably in an
15336 ifdef or generate if so there's not a driver conflict).
15337 Reported by Matthew Myers.
15338 (verilog-auto-declare-nettype, verilog-insert-definition):
15339 Add verilog-auto-declare-nettype to fix declarations using
15340 `default_nettype none. Reported by Julian Gorfajn.
15341 (verilog-read-always-signals-recurse, verilog-read-decls)
15342 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15343 malformed end statement, bug325. Reported by Joshua Wise and
15345 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15346 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15347 when expanding .* in interfaces, bug320.
15348 Reported by Pierre-David Pfister.
15349 (verilog-read-module-name): Fix import statements between module
15350 name and open parenthesis, bug317.
15351 Reported by Pierre-David Pfister.
15352 (verilog-simplify-range-expression): Fix simplification of
15353 multiplications inside AUTOWIRE connections, bug303.
15354 (verilog-auto-inst-port): Support parameter expansion in
15355 multidimensional arrays.
15356 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15357 after "assert property". Reported by Julian Gorfajn.
15358 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15359 with multiplication, bug303.
15360 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15361 Reported by Jan Frode Lonnum.
15363 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15365 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15366 (hfy-shell-file-name, hfy-shell):
15367 * international/fontset.el (x-decompose-font-name): Fix typos.
15369 2011-11-29 Ken Brown <kbrown@cornell.edu>
15371 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15372 (gdb-version): Remove defvar.
15373 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15374 (gdb-gud-context-command, gdb-non-stop-handler)
15375 (gdb-current-context-command, gdb-stopped): Use it.
15376 (gdb-init-1): Enable pretty printing here.
15377 (gdb-non-stop-handler): Don't enable pretty-printing here.
15378 Check to see if the target supports non-stop mode; if not, turn off
15379 non-stop mode. Use the following.
15380 (gdb-check-target-async): New defun.
15381 (gud-watch, gdb-stopped): Fix whitespace.
15382 (gdb-get-source-file): Don't try to display the source file if
15383 `gdb-main-file' is nil.
15385 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15387 * align.el: Try to generate fewer markers (bug#10047).
15388 (align--set-marker): New macro.
15389 (align-region): Use it.
15391 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15393 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15395 2011-11-29 Chong Yidong <cyd@gnu.org>
15397 * indent.el (indent-for-tab-command, indent-according-to-mode):
15399 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15401 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15403 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15404 aware of remote file names. (Bug#10124)
15406 2011-11-29 Chong Yidong <cyd@gnu.org>
15408 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15410 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15412 * files.el (find-file): Don't use force-same-window (bug#10144).
15413 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15414 use pop-to-buffer if the selected window can't be used.
15415 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15417 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15419 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15422 2011-11-28 Chong Yidong <cyd@gnu.org>
15424 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15426 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15428 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15429 gdb-get-source-file-list on gdb-create-source-file-list.
15431 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15433 * whitespace.el (whitespace-newline): Use a different foreground
15434 color for 16-color light-background displays.
15436 2011-11-24 Chong Yidong <cyd@gnu.org>
15438 * window.el (display-buffer--special-action): Doc fix.
15440 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15442 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15443 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15444 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15445 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15446 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15447 (avl-tree-stack-first):
15448 * emacs-lisp/cconv.el (cconv--analyse-use):
15449 * net/gnutls.el (gnutls-negotiate): Fix typos.
15451 2011-11-24 Glenn Morris <rgm@gnu.org>
15453 * lpr.el (lpr-windows-system, lpr-lp-system):
15454 * mail/binhex.el (binhex-begin-line):
15455 * progmodes/grep.el (grep-history, grep-find-history):
15456 * textmodes/flyspell.el:
15457 * vc/pcvs-defs.el (cvs-global-menu):
15458 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15459 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15460 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15462 * net/tls.el: Fix case of "GnuTLS".
15464 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15466 * version.el (emacs-build-system): Give it a doc-string.
15468 2011-11-24 Juri Linkov <juri@jurta.org>
15470 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15472 2011-11-24 Glenn Morris <rgm@gnu.org>
15474 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15475 if called on a non-mime message just toggle the headers. (Bug#8006)
15477 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15479 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15480 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15481 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15482 (allout-rebullet-heading, allout-open-sibtopic)
15483 (allout-toggle-current-subtree-encryption)
15484 (allout-toggle-subtree-encryption, allout-encrypt-string)
15485 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15486 (allout-distinctive-bullets-string, allout-auto-activation):
15487 * window.el (window-normalize-buffer-to-display):
15488 * progmodes/verilog-mode.el (verilog-batch-indent):
15489 * textmodes/bibtex.el (bibtex-field-braces-opt)
15490 (bibtex-field-strings-opt):
15491 * vc/cvs-status.el (cvs-tree-merge):
15494 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15496 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15497 `non-essential' to t, in order to avoid remote connections.
15499 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15501 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15502 On MS-DOS and MS-Windows, compare with loaddefs.el
15503 case-insensitively.
15505 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15507 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15509 2011-11-23 Glenn Morris <rgm@gnu.org>
15511 * paths.el (rmail-file-name): Reformat the doc-string so that it
15514 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15515 (rmail-auto-file): Ignore case in the "special" field names,
15516 as mail-fetch-field does for all others.
15518 * mail/rmail.el (rmail-forward):
15519 * mail/rmailkwd.el (rmail-set-label):
15520 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15521 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15523 * mail/rmail.el (rmail-current-message): Doc fix.
15525 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15527 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15529 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15531 2011-11-22 Glenn Morris <rgm@gnu.org>
15533 * mail/rmailmm.el (test-rmail-mime-handler)
15534 (test-rmail-mime-bulk-handler)
15535 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15537 2011-11-21 Juri Linkov <juri@jurta.org>
15539 * calc/calc.el (calc-read-key-sequence):
15540 Let-bind `input-method-function' to nil. (Bug#10018)
15542 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15544 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15545 Tell the caller that the next line needs recomputation, even
15546 though it doesn't start a sexp (bug#10094).
15548 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15550 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15552 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15554 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15555 Use force-same-window.
15557 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15559 * descr-text.el (describe-char-unicode-data):
15560 * json.el (json-string-escape):
15561 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15562 (Footnote-unicode, Footnote-style-p):
15563 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15565 2011-11-20 Chong Yidong <cyd@gnu.org>
15567 * window.el (replace-buffer-in-windows): Restore interactive spec.
15569 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15571 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15573 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15574 (byte-compile-global-not-obsolete-vars): New var.
15575 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15577 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15579 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15581 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15582 * progmodes/pascal.el (electric-pascal-equal):
15583 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15584 * xml.el (xml-substitute-special): Fix typos.
15586 2011-11-20 Glenn Morris <rgm@gnu.org>
15588 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15589 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15591 (rmail-decode-mime-charset): Mark as obsolete.
15593 * mail/rmailsum.el (rmail-message-regexp-p-1):
15594 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15595 Before using mime functions, check they are set. (Bug#10077)
15597 2011-11-19 Juri Linkov <juri@jurta.org>
15599 * info.el (Info-finder-find-node): Use `package--builtins' instead
15600 of `package-alist'. Use node names formed by the pattern "Keyword "
15601 and the keyword name.
15603 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15605 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15607 2011-11-19 Juri Linkov <juri@jurta.org>
15609 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15610 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15611 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15612 `old-history', `old-history-forward'. Add let-binding
15613 `window-selected'. Remove calls to `kill-buffer',
15614 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15615 before calling `Info-find-node', so `Info-find-node-2' will reread
15616 the Info file. Restore window positions only when `window-selected'
15619 2011-11-19 Juri Linkov <juri@jurta.org>
15621 * isearch.el (isearch-lazy-highlight-new-loop):
15622 Remove condition `(not isearch-error)'. (Bug#9918)
15624 * misearch.el (multi-isearch-search-fun): Add condition
15625 `(not bound)' to ignore lazy-highlighting search.
15626 Add the search-failed message "end of multi" when the end of
15627 multi-sequence is reached. Uncapitalize the search-failed
15628 message "Repeat for next buffer".
15630 * info.el (Info-search): Add the search-failed message
15631 "end of the manual" when the end of the manual is reached
15634 2011-11-19 Juri Linkov <juri@jurta.org>
15636 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15637 Use non-destructive `remove' instead of `delete' because
15638 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15639 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15641 2011-11-19 Juri Linkov <juri@jurta.org>
15643 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15644 to nil instead of binding `search-ring' and `regexp-search-ring'.
15647 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15649 * simple.el (line-move): Force movement by logical lines for any
15650 hscrolled window, not only when auto-hscroll-mode is on.
15651 (line-move-visual): Update doc string to that effect. (Bug#10076)
15653 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15655 * language/european.el (macintosh): Define as alias for mac-roman.
15657 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15659 * mail/rmailmm.el (rmail-mime-display-header)
15660 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15661 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15662 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15663 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15664 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15666 (rmail-mime-entity-segment): To get past the tagline, move forward
15667 2 more lines, to account for the 2 empty lines that precede and
15668 follow the line with the buttons.
15669 (rmail-mime-update-tagline): Move one more line, to get past the
15670 empty line that follows the buttons in the tagline. (Bug#9520)
15672 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15674 * window.el (window-max-delta-1, window-min-delta-1)
15675 (window-min-size-1, window-state-get-1, window-state-put-1)
15676 (window-state-put-2): Use "window--" prefix.
15678 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15680 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15681 (smie-warning-count): New var.
15682 (smie-set-prec2tab): Use it.
15683 (smie-bnf->prec2): Improve warnings. Add docstring.
15684 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15685 (smie-bnf--set-class): New function.
15686 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15689 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15690 (compilation-error-properties, compilation-move-to-column):
15691 Handle compilation-first-column while in the target buffer.
15693 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15694 Don't hardcode point-min==1.
15696 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15697 (eshell-rewrite-for-command): Remove workaround.
15698 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15699 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15700 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15702 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15704 2011-11-17 Glenn Morris <rgm@gnu.org>
15706 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15707 Ignore buffer-local generated-autoload-file if it is the same
15708 as the global value. (Bug#10049)
15710 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15712 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15713 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15714 (reftex-toc-previous-heading, reftex-toc-max-level)
15715 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15716 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15717 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15718 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15719 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15720 (reftex-toc-rename-label, reftex-toc-visit-location)
15721 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15722 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15723 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15724 leaving "*toc*" only for references to the buffer.
15726 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15728 * window.el (window-resize, delete-window, split-window):
15729 Replace window-splits by window-combination-resize.
15730 * cus-start.el (window-splits): Replace by window-combination-resize.
15732 2011-11-17 Glenn Morris <rgm@gnu.org>
15734 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15735 Make bash entry derive from sh entry, not shell entry.
15737 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15739 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15742 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15744 * menu-bar.el (menu-bar-file-menu):
15745 * printing.el (pr-ps-utility):
15746 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15747 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15748 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15749 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15750 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15751 (icalendar--convert-cyclic-to-ical)
15752 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15753 (icalendar--convert-ical-to-diary)
15754 (icalendar--convert-recurring-to-diary)
15755 (icalendar--convert-non-recurring-all-day-to-diary)
15756 (icalendar-import-format-sample):
15757 * progmodes/idlw-shell.el (idlwave-shell-mode):
15758 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15759 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15760 (vhdl-ps-print-init): Fix typos.
15762 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15764 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15765 FSF and collapse date sequence, obscure author/maintainer email address
15766 better, remove extra version line, track relocation of author's webpage.
15768 * progmodes/python.el (python-pdbtrack-input-prompt)
15769 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15770 regular python pdb prompts. Adjustments shamelessly taken exactly as
15771 suggested in EmacsWiki page (tiny change):
15772 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15774 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15776 * expand.el (expand-pos, expand-index, expand-point):
15777 Remove redundant info from docstring.
15778 (expand-add-abbrevs): Doc fix.
15779 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15780 (expand-sample-perl-mode-expand-list): Fix typos.
15782 * net/dbus.el (dbus-event-member-name):
15783 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15784 * term/pc-win.el (msdos-create-frame-with-faces):
15785 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15787 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15789 * window.el (split-window, window-state-get-1)
15790 (window-state-put-1, window-state-put-2): Rename occurrences of
15791 window-nest to window-combination-limit.
15792 * cus-start.el (window-nest): Rename to window-combination-limit.
15794 2011-11-16 Chong Yidong <cyd@gnu.org>
15796 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15797 regexp (Bug#10033).
15799 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15801 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15802 `completing-read' will remove *Completions* and will preserve
15803 current-buffer for us.
15804 (tmm-add-prompt): Users of *Completions* will always (re)set its
15806 (tmm-old-comp-map): Remove.
15808 2011-11-16 Glenn Morris <rgm@gnu.org>
15810 * mail/rmailedit.el: Require rmailmm when compiling.
15811 (rmail-old-mime-state): New declaration.
15812 (rmail-edit-current-message): If editing a mime message,
15813 edit the "raw" message from the mbox buffer.
15814 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15816 2011-11-15 Glenn Morris <rgm@gnu.org>
15818 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15819 which wasn't being used. Add optional arg to force given state.
15820 (rmail-mime): Add optional arg to force given state.
15822 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15824 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15825 * frame.el (display-mm-dimensions-alist):
15826 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15827 (outline-move-subtree-down):
15828 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15829 (newsticker--treeview-do-get-node):
15830 * net/quickurl.el (quickurl-list-buffer-name):
15831 * progmodes/dcl-mode.el (dcl-mode):
15832 * progmodes/gdb-mi.el (gdb-mapcar*):
15833 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15835 2011-11-15 Glenn Morris <rgm@gnu.org>
15837 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15838 in a boolean sense, so just make it a boolean, and fix the doc.
15839 (rmail-show-mime-function, rmail-mime-feature)
15840 (rmail-require-mime-maybe): Doc fixes.
15841 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15843 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15845 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15847 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15848 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15849 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15850 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15852 2011-11-15 Glenn Morris <rgm@gnu.org>
15854 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15855 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15856 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15857 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15858 (rmail-mime, rmail-show-mime): Doc fixes.
15860 * term/ns-win.el (mode-line-frame-identification):
15861 Leave it alone. (Bug#10051)
15863 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15865 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15866 Handle empty buffers. (Bug#9978)
15868 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15870 * international/mule.el (define-charset):
15871 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15872 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15873 * progmodes/verilog-mode.el (verilog-backward-token):
15874 * textmodes/ispell.el (lookup-words):
15875 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15877 2011-11-14 Glenn Morris <rgm@gnu.org>
15879 * progmodes/executable.el
15880 (executable-make-buffer-file-executable-if-script-p):
15881 Handle file-modes returning nil.
15883 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15884 message - not necessary, and causes problems. (Bug#9831)
15886 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15888 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15890 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15891 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15892 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15894 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15896 * window.el (window-resize, delete-window): Use window-splits
15897 variable instead of function.
15898 (window-state-get-1, window-state-put-2, window-state-put):
15899 Don't deal with windows' splits status.
15901 2011-11-12 Glenn Morris <rgm@gnu.org>
15903 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15904 (apropos-documentation): Doc fixes.
15906 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15908 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15909 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15911 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15913 * electric.el (electric-indent-post-self-insert-function): Make it
15914 possible for a char to only indent in some circumstances.
15915 (electric-indent-mode): Simplify.
15917 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15919 * window.el (windows-with-parameter): Remove unused function.
15920 (windows-at-side): Rename to window-at-side-list.
15921 (window-check, window-atom-check, window-atom-check-1)
15922 (window-side-check, window-size-ignore, window-size-fixed-1)
15923 (window-in-direction-2): Prefix with "window--".
15924 (window-tree-1): Rename to window--subtree, fix doc-string.
15926 2011-11-11 Glenn Morris <rgm@gnu.org>
15928 * subr.el (eval-after-load): If FILE is already loaded,
15929 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15931 2011-11-10 Glenn Morris <rgm@gnu.org>
15933 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15934 Call svn via vc-svn-command rather than vc-do-command.
15935 (vc-svn-command): Add --non-interactive. (Bug#9993)
15936 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15938 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15939 Add toggle-read-only. (Bug#7292)
15940 * files.el (toggle-read-only): Mention that it should only
15941 be used interactively. (Bug#10006)
15943 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15945 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15946 Adjust regexp for OCaml warnings.
15948 * electric.el (electric-pair-post-self-insert-function): Let user
15949 turn it off buffer-locally (bug#9932).
15951 * progmodes/python.el (python-beginning-of-statement):
15952 Rewrite (bug#2703).
15954 * progmodes/compile.el: Better handle TABs (bug#9749).
15955 (compilation-internal-error-properties)
15956 (compilation-next-error-function): Obey the target buffer's
15957 compilation-error-screen-columns.
15959 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15961 * progmodes/meta-mode.el: Remove obsolete comments.
15962 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15963 Fix typos in docstrings.
15965 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15967 * window.el (window-size-fixed-p): Rewrite doc-string.
15968 (window-resizable-p): Rename to window--resizable-p. Update callers.
15969 (window--resizable): New function. Make all callers of
15970 window-resizable call window--resizable instead.
15971 (window-resizable): Rewrite in terms of window--resizable.
15973 2011-11-08 Glenn Morris <rgm@gnu.org>
15975 * progmodes/delphi.el (delphi-mode-syntax-table):
15976 Let define-derived-mode define a proper syntax table. (Bug#9994)
15978 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15980 * window.el: Stay away from defsubst.
15981 (window-list-no-nils): Remove.
15982 (window-state-get-1, window-state-get): Use backquote instead.
15984 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15986 * emacs-lisp/find-func.el (find-function-read):
15987 Fix incorrect use of default argument in `completing-read'.
15989 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15991 * window.el (display-buffer-function, special-display-function):
15992 Mention display-buffer-record-window but do not mention
15993 help-setup parameter in doc-strings.
15994 (window-min-delta): Fix doc-string typo.
15996 2011-11-08 Chong Yidong <cyd@gnu.org>
15998 * window.el (window-total-height, window-total-width): Doc fix.
15999 (window-body-size): Move from C.
16000 (window-body-height, window-body-width): Move to C.
16002 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16004 * window.el: Make special-display like display-buffer-alist (bug#9532).
16005 (display-buffer--special-action): New function, morphed
16006 from display-buffer--special.
16007 (display-buffer): Use it to handle special-display-buffers at higher
16008 priority (just after display-buffer-alist).
16009 (display-buffer-fallback-action, display-buffer--other-frame-action)
16010 (pop-to-buffer-same-window): Remove display-buffer--special.
16012 2011-11-07 Glenn Morris <rgm@gnu.org>
16014 * calendar/cal-menu.el (cal-menu-set-date-title):
16015 Do nothing if not in a calendar. (Bug#9976)
16017 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16019 * files.el (find-file): Always use selected-window.
16021 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16023 * window.el (window-combinations): Make WINDOW argument
16024 mandatory. Rewrite doc-string.
16025 (walk-window-subtree, window-atom-check, window-min-delta)
16026 (window-max-delta, window--resize-this-window)
16027 (window--resize-root-window-vertically, window-tree)
16028 (balance-windows, window-state-put): Rewrite doc-strings as to
16029 not mention the term "subwindow".
16030 (window--resize-subwindows-skip-p): Rename to
16031 window--resize-child-windows-skip-p.
16032 (window--resize-subwindows-normal): Rename to
16033 window--resize-child-windows-normal.
16034 (window--resize-subwindows): Rename to
16035 window--resize-child-windows.
16036 (window-or-subwindow-p): Rename to window--in-subtree-p.
16038 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16040 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16041 Ensure that mbox format messages end in two newlines (Bug#9974).
16043 2011-11-06 Chong Yidong <cyd@gnu.org>
16045 * window.el (window-combination-p): Function deleted; its
16046 side-effect is not used in any existing code.
16047 (window-combinations, window-combined-p): Call window-*-child
16050 2011-11-05 Chong Yidong <cyd@gnu.org>
16052 * window.el (window-valid-p): Rename from window-any-p.
16053 (window-size-ignore, window-state-get): Callers changed.
16054 (window-normalize-window): Rename from window-normalize-any-window.
16055 New arg LIVE-ONLY, replacing window-normalize-live-window.
16056 (window-normalize-live-window): Delete.
16057 (window-combination-p, window-combined-p, window-combinations)
16058 (walk-window-subtree, window-atom-root, window-min-size)
16059 (window-sizable, window-sizable-p, window-size-fixed-p)
16060 (window-min-delta, window-max-delta, window-resizable)
16061 (window-resizable-p, window-full-height-p, window-full-width-p)
16062 (window-current-scroll-bars, window-point-1, set-window-point-1)
16063 (window-at-side-p, window-in-direction, window-resize)
16064 (adjust-window-trailing-edge, maximize-window, minimize-window)
16065 (window-deletable-p, delete-window, delete-other-windows)
16066 (record-window-buffer, unrecord-window-buffer)
16067 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16068 (quit-window, split-window, window-state-put)
16069 (set-window-text-height, fit-window-to-buffer)
16070 (shrink-window-if-larger-than-buffer): Callers changed.
16072 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16074 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16075 rfc2047-decode-string.
16076 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16079 * window.el (window-body-height, window-body-width): Mention in
16080 the doc string that the return values are in frame's canonical
16083 2011-11-03 Alan Mackenzie <acm@muc.de>
16085 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16086 change in cc-engine.el.
16088 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16090 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16092 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16094 * window.el (quit-window): Call unrecord-window-buffer after
16095 showing another buffer in the window. (Bug#9937)
16096 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16098 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16100 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16101 Accept status with more than 9 shelves. (Bug#9935)
16102 Reported by Colin D Bennett <colin@gibibit.com>.
16104 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16106 * help.el (with-help-window): Don't reference
16107 temp-buffer-show-specifiers in doc-string.
16109 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16111 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16114 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16116 * whitespace.el: New version 13.2.2.
16117 (whitespace-newline-mode): Disable properly. Reported by Sarah
16120 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16122 * net/newst-treeview.el: Remove "Time-stamp".
16123 (newsticker--group-manage-orphan-feeds): Do not call
16124 newsticker--treeview-tree-update.
16125 (newsticker-treeview-update, newsticker-treeview):
16126 Call newsticker--treeview-tree-update if necessary.
16128 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16130 * window.el (window-iso-combination-p, window-iso-combined-p)
16131 (window-iso-combinations): Remove "iso-" infix.
16132 Suggested by Chong Yidong.
16133 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16134 (window-max-delta-1, window-resize, window--resize-siblings)
16135 (window--resize-this-window, adjust-window-trailing-edge)
16136 (split-window, balance-windows-1)
16137 (shrink-window-if-larger-than-buffer):
16138 * calendar/calendar.el (calendar-generate-window):
16139 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16141 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16143 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16144 in place (bug#9907).
16145 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16146 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16147 (eshell-structure-basic-command, eshell-rewrite-while-command)
16148 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16149 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16150 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16151 (eshell-do-pipelines-synchronously, eshell-eval-command):
16152 Use backquotes and prefer setq to set.
16153 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16154 (eshell-macrop): Use functionp.
16155 (eshell-do-eval): Handle multiple expressions in `while' body.
16157 2011-10-30 Chong Yidong <cyd@gnu.org>
16159 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16160 instead of set-mark (Bug#9810).
16162 2011-10-30 Chong Yidong <cyd@gnu.org>
16164 * window.el (split-window-below, split-window-right): Rename from
16165 split-window-above-each-other and split-window-side-by-side
16166 respectively. All callers changed.
16167 (split-window-sensibly, split-window-sensibly): Use them.
16168 (split-window-keep-point): Doc fix.
16170 * isearch.el: Add isearch-scroll property to split-window-below
16171 and split-window-right.
16173 * follow.el (follow-mode):
16174 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16175 * progmodes/ada-xref.el (ada-gdb-application):
16176 * emulation/vip.el (vip-buffer-in-two-windows):
16177 * image-dired.el (image-dired-dired-with-window-configuration):
16178 * dired-x.el (dired-do-find-marked-files):
16179 * dired.el (dired-pop-to-buffer):
16180 * bs.el (bs--show-with-configuration):
16181 * vc/emerge.el (emerge-setup-windows):
16182 * textmodes/two-column.el (2C-two-columns):
16183 * textmodes/reftex-toc.el (reftex-toc):
16184 * progmodes/gdb-mi.el (gdb-setup-windows):
16185 * progmodes/fortran.el (fortran-window-create):
16186 * net/newst-treeview.el (newsticker--treeview-window-init):
16187 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16188 * emulation/tpu-edt.el (tpu-gold-map):
16189 * emulation/crisp.el (crisp-mode-map):
16190 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16192 2011-10-29 Chong Yidong <cyd@gnu.org>
16194 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16196 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16198 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16199 forged Ispell output (Bug#7904).
16201 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16203 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16205 * doc-view.el: Avoid ugly errors about not finding nil.
16206 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16207 (doc-view-dvipdf-program, doc-view-unoconv-program)
16208 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16209 Avoid nil or absolute file name as default value.
16210 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16212 2011-10-28 Alan Mackenzie <acm@muc.de>
16214 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16216 2011-10-28 Alan Mackenzie <acm@muc.de>
16218 Amend the handling of c-beginning/end-of-defun in nested declaration
16221 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16222 cc-langs.el. Change it to a defcustom.
16224 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16227 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16228 Prevent "class foo : bar" being spuriously recognized as a label.
16230 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16231 Add parameter `inclusive' (to include enclosing braces in the region).
16232 (c-widen-to-enclosing-decl-scope): New function.
16233 (c-while-widening-to-decl-block): New macro.
16234 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16235 outward for defun boundaries, and correspondingly change symbol
16236 `respect-enclosure' to `go-outward'.
16237 (c-declaration-limits): Change algorithm to report only the "innermost"
16238 defun's boundaries.
16240 2011-10-28 Deniz Dogan <deniz@dogan.se>
16242 * net/rcirc.el (rcirc-mode): Use hard newlines.
16244 2011-10-28 Alan Mackenzie <acm@muc.de>
16246 Amend to indent and fontify macros "which include their own semicolon"
16247 correctly, using the "virtual semicolon" mechanism.
16249 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16251 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16252 Recode to scan one line at a time rather than having \n and \r
16253 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16254 (c-forward-label): Amend for virtual semicolons.
16255 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16257 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16258 of the new C macros.
16260 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16261 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16262 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16263 (c-opt-cpp-macro-define): Make into a full language variable.
16264 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16265 AWK Mode (including \n, \r) removed, no longer needed.
16267 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16268 Invoke c-make-macro-with-semi-re.
16270 * progmodes/cc-vars.el (c-macro-with-semi-re):
16271 (c-macro-names-with-semicolon): New variables.
16272 (c-make-macro-with-semi-re): New function.
16274 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16276 * vc/log-edit.el: Fill empty field rather than adding new one.
16277 (log-edit-add-field): New function.
16278 (log-edit-insert-changelog): Use it.
16280 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16282 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16284 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16286 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16287 (gdb--check-interpreter): New function.
16290 2011-10-27 Glenn Morris <rgm@gnu.org>
16292 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16293 (least-positive-float, least-negative-float)
16294 (least-positive-normalized-float, least-negative-normalized-float)
16295 (float-epsilon, float-negative-epsilon):
16296 Remove unnecessary declarations.
16298 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16299 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16300 (least-positive-float, least-negative-float)
16301 (least-positive-normalized-float, least-negative-normalized-float)
16302 (float-epsilon, float-negative-epsilon): Add doc-strings,
16303 based on those in cl.texi.
16305 * files.el (set-visited-file-name): If the major-mode changed,
16306 reload the local variables. (Bug#9796)
16308 2011-10-27 Chong Yidong <cyd@gnu.org>
16310 * subr.el (change-major-mode-after-body-hook): New hook.
16311 (run-mode-hooks): Run it.
16313 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16314 Use change-major-mode-before-body-hook.
16316 * simple.el (fundamental-mode):
16317 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16318 change introducing fundamental-mode-hook.
16320 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16322 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16324 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16326 * ido.el (ido-file-name-all-completions-1): Do not require
16327 tramp.el explicitly. (Bug#7583)
16329 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16331 * progmodes/octave-mod.el:
16332 * progmodes/octave-inf.el: Update maintainer.
16334 2011-10-26 Chong Yidong <cyd@gnu.org>
16336 * subr.el (with-wrapper-hook): Rewrite doc.
16338 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16340 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16341 filenames "/method:foo:". (Bug#9793)
16343 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16345 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16348 2011-10-24 Glenn Morris <rgm@gnu.org>
16350 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16352 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16354 * notifications.el: Add the requirement of a running D-Bus session
16355 bus to the Commentary.
16357 2011-10-24 Juri Linkov <juri@jurta.org>
16359 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16360 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16363 2011-10-24 Juri Linkov <juri@jurta.org>
16365 * info.el (Info-following-node-name-re): Add newline to the list
16366 of allowed characters for leading space. (Bug#9824)
16368 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16370 * progmodes/octave-inf.el (inferior-octave-mode-map):
16371 Fix C-c C-h binding.
16372 * progmodes/octave-mod.el (octave-help): Remove.
16374 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16376 Sync with Tramp 2.2.3.
16378 * net/tramp-cache.el (top): Pacify byte-compiler using
16379 `init-file-user' and `site-run-file'.
16381 * net/trampver.el: Update release number.
16383 2011-10-23 Chong Yidong <cyd@gnu.org>
16385 * files.el (toggle-read-only): Remove obsolete comment about
16388 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16389 for toggle-read-only. Note that this hasn't called vc-next-action
16390 since 2008-05-02, though it wasn't documented at the time.
16392 * vc/ediff-init.el (ediff-toggle-read-only-function):
16393 Use toggle-read-only.
16395 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16397 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16400 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16401 correct faulty logical expression.
16402 (c-parse-state-state, c-record-parse-state-state):
16403 (c-replay-parse-state-state): New defvar/defuns.
16404 (c-debug-parse-state): Use new functions.
16406 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16408 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16409 last fix. Use window-in-direction correctly.
16411 2011-10-21 Chong Yidong <cyd@gnu.org>
16413 * progmodes/idlwave.el (idlwave-mode):
16414 * progmodes/vera-mode.el (vera-mode): No need to set
16415 require-final-newline; that's done in prog-mode.
16416 Suggested by Stefan Monnier.
16418 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16420 * mouse.el (mouse-drag-window-above)
16421 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16422 (mouse-drag-mode-line-1, mouse-drag-header-line)
16423 (mouse-drag-vertical-line-rightward-window): Remove.
16424 (mouse-drag-line): New function.
16425 (mouse-drag-mode-line, mouse-drag-header-line)
16426 (mouse-drag-vertical-line): Call mouse-drag-line.
16427 * window.el (window-at-side-p, windows-at-side): New functions.
16429 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16431 * tar-mode.el (tar-grind-file-mode):
16432 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16434 2011-10-21 Chong Yidong <cyd@gnu.org>
16436 * progmodes/idlwave.el (idlwave-mode):
16437 * progmodes/vera-mode.el (vera-mode):
16438 Use mode-require-final-newline.
16440 2011-10-20 Glenn Morris <rgm@gnu.org>
16442 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16444 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16446 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16448 2011-10-20 Chong Yidong <cyd@gnu.org>
16450 * emulation/cua-base.el (cua-mode):
16451 * mail/footnote.el (footnote-mode):
16452 * mail/mailabbrev.el (mail-abbrevs-mode):
16453 * net/xesam.el (xesam-minor-mode):
16454 * progmodes/bug-reference.el (bug-reference-mode):
16455 * progmodes/cap-words.el (capitalized-words-mode):
16456 * progmodes/compile.el (compilation-minor-mode)
16457 (compilation-shell-minor-mode):
16458 * progmodes/gud.el (gud-tooltip-mode):
16459 * progmodes/hideif.el (hide-ifdef-mode):
16460 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16461 * progmodes/subword.el (subword-mode):
16462 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16463 * progmodes/which-func.el (which-function-mode):
16464 * term/tvi970.el (tvi970-set-keypad-mode):
16465 * term/vt100.el (vt100-wide-mode):
16466 * textmodes/flyspell.el (flyspell-mode):
16467 * textmodes/ispell.el (ispell-minor-mode):
16468 * textmodes/nroff-mode.el (nroff-electric-mode):
16469 * textmodes/paragraphs.el (use-hard-newlines):
16470 * textmodes/refill.el (refill-mode):
16471 * textmodes/reftex.el (reftex-mode):
16472 * textmodes/rst.el (rst-minor-mode):
16473 * textmodes/sgml-mode.el (html-autoview-mode)
16474 (sgml-electric-tag-pair-mode):
16475 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16476 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16477 * emulation/crisp.el (crisp-mode):
16478 * emacs-lisp/eldoc.el (eldoc-mode):
16479 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16480 minor mode behavior.
16482 2011-10-19 Juri Linkov <juri@jurta.org>
16484 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16485 the list of hard-coded chars with escape-glyph face.
16487 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16489 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16491 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16493 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16496 2011-10-19 Glenn Morris <rgm@gnu.org>
16498 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16499 Ignore ignored files. (Bug#9726)
16501 2011-10-19 Chong Yidong <cyd@gnu.org>
16503 Doc fix for minor modes, stating that an omitted argument enables
16504 the mode unconditionally when called from Lisp.
16506 * abbrev.el (abbrev-mode):
16507 * allout.el (allout-mode):
16508 * autoinsert.el (auto-insert-mode):
16509 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16510 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16511 (global-auto-revert-mode):
16512 * battery.el (display-battery-mode):
16513 * composite.el (global-auto-composition-mode)
16514 (auto-composition-mode):
16515 * delsel.el (delete-selection-mode):
16516 * desktop.el (desktop-save-mode):
16517 * dired-x.el (dired-omit-mode):
16518 * dirtrack.el (dirtrack-mode):
16519 * doc-view.el (doc-view-minor-mode):
16520 * double.el (double-mode):
16521 * electric.el (electric-indent-mode, electric-pair-mode):
16522 * emacs-lock.el (emacs-lock-mode):
16523 * epa-hook.el (auto-encryption-mode):
16524 * follow.el (follow-mode):
16525 * font-core.el (font-lock-mode):
16526 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16527 * help.el (temp-buffer-resize-mode):
16528 * hilit-chg.el (highlight-changes-mode)
16529 (highlight-changes-visible-mode):
16530 * hi-lock.el (hi-lock-mode):
16531 * hl-line.el (hl-line-mode, global-hl-line-mode):
16532 * icomplete.el (icomplete-mode):
16533 * ido.el (ido-everywhere):
16534 * image-file.el (auto-image-file-mode):
16535 * image-mode.el (image-minor-mode):
16536 * iswitchb.el (iswitchb-mode):
16537 * jka-cmpr-hook.el (auto-compression-mode):
16538 * linum.el (linum-mode):
16539 * longlines.el (longlines-mode):
16540 * master.el (master-mode):
16541 * mb-depth.el (minibuffer-depth-indicate-mode):
16542 * menu-bar.el (menu-bar-mode):
16543 * minibuf-eldef.el (minibuffer-electric-default-mode):
16544 * mouse-sel.el (mouse-sel-mode):
16545 * msb.el (msb-mode):
16546 * mwheel.el (mouse-wheel-mode):
16547 * outline.el (outline-minor-mode):
16548 * paren.el (show-paren-mode):
16549 * recentf.el (recentf-mode):
16550 * reveal.el (reveal-mode, global-reveal-mode):
16551 * rfn-eshadow.el (file-name-shadow-mode):
16552 * ruler-mode.el (ruler-mode):
16553 * savehist.el (savehist-mode):
16554 * scroll-all.el (scroll-all-mode):
16555 * scroll-bar.el (scroll-bar-mode):
16556 * server.el (server-mode):
16557 * shell.el (shell-dirtrack-mode):
16558 * simple.el (auto-fill-mode, transient-mark-mode)
16559 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16560 (line-number-mode, column-number-mode, size-indication-mode)
16561 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16562 * strokes.el (strokes-mode):
16563 * time.el (display-time-mode):
16564 * t-mouse.el (gpm-mouse-mode):
16565 * tool-bar.el (tool-bar-mode):
16566 * tooltip.el (tooltip-mode):
16567 * type-break.el (type-break-mode-line-message-mode)
16568 (type-break-query-mode):
16569 * view.el (view-mode):
16570 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16571 (global-whitespace-mode, global-whitespace-newline-mode):
16572 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16574 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16575 Fix autogenerated docstring.
16577 2011-10-19 Juri Linkov <juri@jurta.org>
16579 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16580 by checking environment variables "DESKTOP_SESSION" and
16581 "XDG_CURRENT_DESKTOP". (Bug#9779)
16583 2011-10-19 Juri Linkov <juri@jurta.org>
16585 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16586 (browse-url-chromium-program, browse-url-chromium-arguments):
16588 (browse-url-default-browser): Check for `browse-url-chromium' and
16589 call `browse-url-chromium-program'.
16590 (browse-url-chromium): New command. (Bug#9779)
16592 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16594 * facemenu.el (list-colors-duplicates): On Windows, detect more
16595 duplicates by assuming that only colors matching "^System" are
16596 special "system colors". (Bug#9722)
16598 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16600 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16601 to distinguish the author from the committer.
16603 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16605 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16607 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16609 * international/mule.el (sgml-html-meta-auto-coding-function):
16610 Add support for detecting encoding in HTML5 specified only as
16611 <meta charset="UTF-8">. Implementation just makes http-equiv and
16612 content-type parts from HTML4 encoding string optional. (Bug#9716)
16614 2011-10-18 Glenn Morris <rgm@gnu.org>
16616 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16618 2011-10-18 Chong Yidong <cyd@gnu.org>
16620 * faces.el (cursor): Doc fix.
16622 2011-10-17 Chong Yidong <cyd@gnu.org>
16624 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16626 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16628 * dirtrack.el (dirtrack): Support shell buffers with path
16629 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16631 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16633 * json.el: Bump version to 1.3 and note change in History.
16634 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16636 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16638 * comint.el (comint-insert-input, comint-send-input)
16639 (comint-get-old-input-default, comint-backward-matching-input)
16640 (comint-next-prompt): Use nil instead of `input' for field property of
16641 past user input (bug#114).
16643 * minibuffer.el (completion--replace): Inherit surrounding properties
16645 (minibuffer-complete-and-exit): Use it.
16647 * comint.el (comint--table-subvert): Quote the all-completions output
16650 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16652 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16654 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16655 window on right of selected. (Bug#9350) Reword other window
16656 entries and separate them from frame entries.
16658 2011-10-15 Glenn Morris <rgm@gnu.org>
16660 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16663 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16665 * net/network-stream.el (network-stream-open-starttls):
16666 Improve detection of failure due to lack of TLS support.
16668 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16669 putting the input text in front and in bold.
16671 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16673 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16675 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16678 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16679 unread-command-events rather than pushing yet-another event.
16681 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16683 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16684 the explanation of the possible choices. Make the options passed
16685 to completing-read shorter.
16687 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16689 * textmodes/flyspell.el (flyspell-large-region): Make sure
16690 extended character mode is used if defined (Bug#1339).
16692 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16694 * simple.el (what-cursor-position): Fix the display of the
16695 character info for LRE, LRO, RLE, and RLO characters by appending
16698 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16700 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16701 even in case of error; add debug spec; simplify data flow.
16702 (with-timeout-handler): Remove.
16704 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16706 Fix Bug#6019, Bug#9315.
16708 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16709 complete `buffer-file-name', the local file name part could look
16710 remotely (for example on VMS).
16712 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16713 `tramp-run-real-handler'.
16714 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16715 already quoted by '"'.
16717 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16718 Let `file-name-handler-alist' be nil, the local file name part
16719 could look remotely (for example on VMS).
16721 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16723 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16725 (flyspell-post-command-hook): ...to here.
16727 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16729 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16731 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16732 using completion. Protect against "slow" callers.
16733 Remove the "message hack".
16735 2011-10-11 Juri Linkov <juri@jurta.org>
16737 * isearch.el (isearch-lazy-highlight-word): New variable.
16738 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16741 2011-10-11 Glenn Morris <rgm@gnu.org>
16743 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16744 like f90-previous-statement does.
16746 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16748 * eshell/eshell.el (eshell-command): History should be saved
16749 only in interactive use, to avoid error.
16751 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16753 * minibuffer.el (completion-file-name-table): Fix last change,
16754 i.e. ignore normal errors but not the other ones.
16756 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16758 * window.el (special-display-buffer-names)
16759 (special-display-regexps): Remove some remnants of earlier
16760 changes from doc-strings.
16761 (quit-windows-on): New function.
16763 * vc/vc.el (vc-revert, vc-rollback):
16764 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16765 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16766 (Bug#6183) (Bug#7074) (Bug#7447)
16768 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16770 * window.el (frame-auto-hide-function): Add version tag.
16773 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16775 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16778 2011-10-09 Leo Liu <sdl.web@gmail.com>
16780 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16783 2011-10-08 Glenn Morris <rgm@gnu.org>
16785 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16786 before the first code statement zero indent. (Bug#9690)
16788 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16790 * simple.el (count-words-region): Always count in the region.
16791 Report the number of lines and characters too.
16792 (count-words): New command, which counts in the buffer if the
16793 region is inactive, as count-words-region used to.
16794 (count-words--message): New function. Handle plurals.
16795 (count-lines-region): Make it an alias for count-words-region.
16797 * bindings.el (esc-map): Replace count-lines-region with
16798 count-words-region.
16800 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16802 * window.el (window--delete): Delete dedicated frame
16803 unconditionally when argument KILL is non-nil. (Bug#9699)
16804 (switch-to-buffer): Fix doc-string typo.
16806 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16808 * eshell/eshell.el (eshell-command): Avoid using hooks.
16810 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16812 * bindings.el ([M-left],[M-right]): Bind to left-word and
16813 right-word respectively.
16815 2011-10-07 Glenn Morris <rgm@gnu.org>
16817 * cus-start.el (debug-on-quit): Fix custom type.
16819 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16821 * subr.el (define-key-after): Clarify that the function is not
16822 useful for non-menu keymaps.
16824 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16826 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16828 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16829 in current minibuffer (Fix bug with recursive minibuffers).
16831 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16833 * progmodes/gdb-mi.el (gdb): Doc fix.
16835 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16837 * window.el (frame-auto-hide-function): New option replacing
16838 frame-auto-delete. Suggested by Stefan Monnier.
16839 (window--delete): Call frame-auto-hide-function instead of
16840 investigating frame-auto-delete.
16841 (window-point-1, set-window-point-1): New functions.
16842 (window-in-direction, record-window-buffer, window-state-get-1)
16843 (display-buffer-record-window): Use window-point-1 instead of
16845 (set-window-buffer-start-and-point): Use set-window-point-1.
16847 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16849 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16851 2011-10-05 Glenn Morris <rgm@gnu.org>
16853 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16854 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16856 2011-10-05 Leo Liu <sdl.web@gmail.com>
16858 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16859 works with buffer object.
16861 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16863 * mpc.el (mpc-tool-bar-map): Add labels.
16865 2011-10-04 Glenn Morris <rgm@gnu.org>
16867 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16869 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16871 * window.el (window--delete): New function.
16872 (frame-auto-delete): Resuscitate option.
16873 (bury-buffer, replace-buffer-in-windows)
16874 (quit-window): Rewrite using window--delete.
16875 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16876 Pass display-buffer-mark-dedicated to window--display-buffer-2
16879 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16881 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16882 returns a list (bug#9554). Add remote file name completion.
16883 * comint.el (comint--table-subvert): Curry and get quote&unquote
16884 functions as arguments.
16885 (comint--complete-file-name-data): Adjust call accordingly.
16886 * pcomplete.el (pcomplete--table-subvert): Remove.
16887 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16889 * minibuffer.el (completion-table-case-fold): Use currying.
16890 (completion--styles-type, completion--cycling-threshold-type):
16892 (completion-styles, completion-category-overrides)
16893 (completion-cycle-threshold): Use them.
16894 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16895 completion-table-case-fold.
16897 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16899 * minibuffer.el (completion-category-overrides): Fix type of styles
16900 and add more user friendly tags (bug#9660).
16902 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16904 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16905 (mule-input-method-string): New widget.
16906 (default-input-method, language-info-custom-alist): Use it.
16908 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16910 * pcomplete.el: Require comint.
16911 (pcomplete--common-suffix): Remove.
16912 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16913 (pcomplete--table-subvert): Sync with comint--table-subvert.
16914 (pcomplete--entries): Use comint-completion-file-name-table.
16915 * comint.el (comint-unquote-filename): Simplify.
16916 (comint-completion-file-name-table): New function (bug#9616).
16917 (comint--complete-file-name-data): Use it.
16919 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16920 (pcmpl-gnu-tar-buffer): Remove.
16921 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16922 around. Make sure pcomplete-suffix-list is only changed temporarily.
16923 Don't look inside the tar's file if it's too large.
16925 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16927 * cus-edit.el (custom-mode-map):
16928 * epa.el (epa-key-list-mode-map):
16929 * man.el (Man-mode-map):
16930 * startup.el (splash-screen-keymap):
16931 * simple.el (special-mode-map): Use scroll-up-command and
16932 scroll-down-command.
16934 * progmodes/idlw-help.el (idlwave-help-mode-map):
16935 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16936 * net/newst-plainview.el (newsticker-mode-map):
16937 * emulation/ws-mode.el (wordstar-mode-map):
16938 * emulation/vi.el (vi-com-map):
16939 * calc/calc-graph.el (calc-graph-show-dumb):
16940 * term/sun.el (terminal-init-sun):
16941 * term/ns-win.el (global-map):
16942 * progmodes/grep.el (grep-mode-map):
16943 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16944 * mail/rmail.el (rmail-mode-map):
16945 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16947 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16948 custom-safe-themes as special.
16950 2011-10-01 Julien Danjou <julien@danjou.info>
16952 * notifications.el (notifications-notify): Fix docstring.
16954 2011-10-01 Per Starbäck <per@starback.se>
16956 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16958 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16960 * startup.el (command-line-1): Fix last fix by inserting
16961 initial-scratch-message into *scratch* before displaying it.
16962 (Bug#9605) and (Bug#9636)
16964 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16966 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16967 window is hscrolled, move by logical lines. (Bug#9607)
16968 (line-move-visual): Update the doc string to the above effect.
16970 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16972 * window.el (display-buffer-record-window): When WINDOW is the
16973 selected window use `point' instead of `window-point'. (Bug#9626)
16975 * startup.el (command-line-1): Use insert-before-markers when
16976 inserting initial-scratch-message. (Bug#9605)
16978 * help.el (help-window): Remove variable.
16980 2011-09-29 Glenn Morris <rgm@gnu.org>
16982 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16984 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16986 * descr-text.el (describe-char-categories): Accept category
16987 descriptions more than one line long.
16989 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16991 * simple.el (delete-trailing-whitespace): Fix last change.
16993 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16994 Don't confuse "y => 3" as the beginning of a `y' operation.
16996 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16997 object has more than 4 slots (bug#9613).
16999 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17001 * subr.el (with-output-to-temp-buffer):
17002 * net/quickurl.el (quickurl, quickurl-browse-url):
17003 Fix typos in docstrings.
17005 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17007 * minibuffer.el (completion-styles)
17008 (completion-category-overrides): Cross reference each other in doc
17011 2011-09-27 Glenn Morris <rgm@gnu.org>
17013 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17014 to split-string. (Bug#9606)
17016 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17018 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17021 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17023 * emacs-lisp/package.el (list-packages): Fix echo area message.
17025 2011-09-27 Leo Liu <sdl.web@gmail.com>
17027 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17029 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17031 * net/dbus.el (dbus-unregister-object): Don't release services for
17032 registered signals. (Bug#9581)
17034 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17036 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17037 function that picks between cfengine 2 and 3 support
17038 automatically. Update docs accordingly.
17040 2011-09-22 Kenichi Handa <handa@m17n.org>
17042 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17044 (indian-itrans-v5-table-for-tamil): New variable.
17045 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17047 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17049 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17050 that's true if the current command involved collapsing of text.
17051 It's reset to false at the beginning of the next command.
17052 (allout-post-command-business): Move the cursor to the beginning
17053 of entry if the cursor is hidden and collapsing activity just
17056 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17058 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17059 tracking (Bug#9541).
17061 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17063 * net/newst-reader.el (newsticker-html-renderer)
17064 (newsticker-show-news): Automatically load html rendering package
17065 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17066 because w3m-fill-column is let-bound" and the error "Symbol's value
17067 as variable is void: w3m-fill-column".
17069 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17071 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17072 Release services only if they are defined. (Bug#9581)
17074 2011-09-23 Richard Stallman <rms@gnu.org>
17076 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17077 distinguish start of paragraph from start of its text.
17079 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17081 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17082 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17083 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17085 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17087 * international/mule-diag.el (mule-diag): Insert a newline after
17088 each fontset description.
17090 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17092 * simple.el (delete-trailing-whitespace):
17093 Document last change; simplify.
17095 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17097 * simple.el (delete-trailing-whitespace): Also delete
17098 extra newlines at the end of the buffer.
17100 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17101 (picture-newline): Use forward-line so as to ignore fields.
17103 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17105 * subr.el (with-wrapper-hook): Fix edebug spec.
17107 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17109 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17112 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17114 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17115 Fix nasty bug using wrong cached values.
17117 2011-09-23 Alan Mackenzie <acm@muc.de>
17119 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17121 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17123 * window.el (pop-to-buffer): Ensure right window is selected if we
17124 chose another frame.
17126 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17128 * simple.el (what-cursor-position): Use get-char-property-change
17129 and next-single-char-property-change, to be able to show display
17130 properties that come from overlays as well as text properties.
17132 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17134 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17136 * cmuscheme.el (run-scheme, switch-to-scheme):
17137 * cus-edit.el (customize-group, custom-buffer-create)
17138 (customize-browse):
17140 * shell.el (shell):
17141 * mail/sendmail.el (mail):
17142 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17144 2011-09-22 Richard Stallman <rms@gnu.org>
17146 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17147 move back only to line beg, don't move back over blank lines.
17149 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17151 * files.el (copy-directory): Set directory attributes only in case
17152 they could be retrieved from the source directory. (Bug#9565)
17154 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17156 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17157 (hs-find-block-beginning, hs-hide-level-recursive):
17158 Ignore strings as well as comments. (Bug#9502)
17160 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17162 * progmodes/sql.el (sql-comint-postgres):
17163 Convert port number to a string. (Bug#9566)
17165 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17167 * window.el (quit-window): Undedicate window when switching to
17168 previous buffer. Reported by Thierry Volpiatto
17169 <thierry.volpiatto@gmail.com>.
17170 (special-display-popup-frame): When popping up a new frame reset
17171 its previous buffers to nil. Simplify code.
17173 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17175 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17176 and process filter, as done also in `shell-command'.
17178 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17180 * window.el (set-window-buffer-start-and-point):
17181 Call set-window-start with NOFORCE argument t.
17182 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17183 (quit-window): Reword doc-string. Handle new format of
17184 quit-restore parameter. Don't delete window if it has a
17185 previous buffer we can show instead of the present one.
17186 (display-buffer-record-window): Rewrite using a new format for
17187 the quit-restore window parameter
17188 (special-display-popup-frame, display-buffer-same-window)
17189 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17190 (display-buffer-pop-up-window, display-buffer-use-some-window):
17191 Adapt symbol passed to display-buffer-record-window.
17192 * help.el (help-window-setup): Handle new format of quit-restore
17195 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17197 * faces.el (face-list): Fix docstring (bug#9564).
17199 * window.el (display-buffer--action-function-custom-type):
17200 Don't include internal functions in the Custom interface.
17202 2011-09-20 Juri Linkov <juri@jurta.org>
17204 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17205 (Info-forward-node, Info-backward-node, Info-next-preorder)
17206 (Info-last-preorder): Use it. (Bug#9528)
17208 2011-09-20 Juri Linkov <juri@jurta.org>
17210 * info.el (Info-last-preorder): Visit last menu item only when
17211 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17213 2011-09-20 Julien Danjou <julien@danjou.info>
17215 * password-cache.el (password-cache-remove): Remove entries even if the
17216 value is nil, so that password with a nil value (negative caching) is
17217 possible to invalidate.
17219 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17221 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17222 all whitespace around breakpoint. (Bug#9553)
17223 (f90-find-breakpoint): Only break at whitespace inside a comment.
17225 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17227 * minibuffer.el (completion-file-name-table): Keep track of errors.
17228 (completion-table-with-predicate): Handle the case where pred1 is nil.
17229 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17231 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17233 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17234 (debugger-return-value): Signal an error if the debugging context does
17235 not await any return value.
17237 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17238 * image-mode.el (image-toggle-display-text)
17239 (image-toggle-display-image): Stay away from evil `intangible'.
17241 2011-09-19 Leo Liu <sdl.web@gmail.com>
17243 * replace.el (occur-revert-arguments): Make it permanent-local.
17244 (occur-mode): Don't call font-lock-defontify.
17246 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17248 * net/ldap.el (ldap-search-internal): Don't push empty search
17251 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17253 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17255 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17257 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17258 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17260 2011-09-18 Juri Linkov <juri@jurta.org>
17262 * buff-menu.el (Buffer-menu-mode-map):
17263 * dired.el (dired-mode-map):
17264 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17265 (lisp-interaction-mode-map):
17266 * emacs-lisp/package.el (package-menu-mode-map):
17267 * epa.el (epa-key-list-mode-map):
17268 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17269 (menu-bar-options-menu):
17270 * outline.el (outline-mode-menu-bar-map):
17271 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17272 * vc/vc-dir.el (vc-dir-menu-map):
17273 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17274 Capitalize non-function content words in menu item strings.
17276 * dired.el (dired-mode-map): Add menu item for
17277 `image-dired-dired-toggle-marked-thumbs'.
17279 2011-09-18 Juri Linkov <juri@jurta.org>
17281 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17282 to `isearch-case-fold-search' and restore its original value
17283 after the `isearch-mode' call.
17285 2011-09-18 Juri Linkov <juri@jurta.org>
17287 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17288 because `zgrep' returns 1 for successful matches (bug#9226).
17290 2011-09-18 Juri Linkov <juri@jurta.org>
17292 * info.el (Info-extract-menu-node-name): Check the second match
17293 for empty string (second test-case of bug#9528).
17294 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17295 intermediate nodes to the history (first test-case of bug#9528).
17297 2011-09-18 Juri Linkov <juri@jurta.org>
17299 * info.el (Info-mode-syntax-table): New variable.
17300 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17302 2011-09-18 Juri Linkov <juri@jurta.org>
17304 * info.el (Info-file-supports-index-cookies):
17305 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17306 outputs one more line for long file names (bug#4142).
17308 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17310 * newcomment.el (comment-normalize-vars): If prompting for
17311 comment-start, set comment-start-skip too (Bug#8424).
17313 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17315 * icomplete.el: Fix previous fix of Bug#5849.
17316 (icomplete-mode): Don't set completion-show-inline-help.
17317 (icomplete-minibuffer-setup): Set completion-show-inline-help
17318 locally during icompletion.
17320 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17322 * woman.el (woman2-process-escapes): Don't delete unrecognized
17323 escapes (Bug#7843).
17325 * files.el (inhibit-first-line-modes-regexps): Add image files.
17326 (hack-local-variables-prop-line): Return nil for malformed
17327 prop-lines (Bug#9044).
17329 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17331 * net/tramp.el (top): Don't require 'shell.
17332 (tramp-methods): Fix docstring.
17333 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17334 Return complete remote file name. Handle "smb" case.
17335 Use `tramp-tmpdir', if defined for the respective method.
17336 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17338 * net/tramp-compat.el (top): Require 'shell.
17340 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17341 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17342 `tramp-current-host'.
17343 (tramp-get-remote-tmpdir): Remove.
17345 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17346 `tramp-tmpdir' entries.
17347 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17348 (tramp-smb-handle-file-attributes): Ignore errors.
17349 (tramp-smb-wait-for-output): Check also for process end.
17351 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17353 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17354 when sending QUIT (bug#9312).
17356 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17358 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17359 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17360 occur-mode-display-occurrence.
17361 (occur-edit-mode): Add usage message.
17362 (occur-cease-edit): New command.
17363 (occur-after-change-function): Use text properties to find the
17364 position of the prefix text.
17365 (occur-engine): Set stickiness of prefix text properties.
17367 2011-09-17 Glenn Morris <rgm@gnu.org>
17369 * progmodes/etags.el (complete-tag):
17370 Fix call to completion-in-region. (Bug#9526)
17372 2011-09-17 Juri Linkov <juri@jurta.org>
17374 * textmodes/ispell.el (ispell-word): Add to the error message
17375 the word, ispell program name and current dictionary (bug#9121).
17376 (ispell-tex-arg-end): Capitalize "error" in the error message.
17378 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17380 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17383 2011-09-17 Juri Linkov <juri@jurta.org>
17385 * window.el (window-safe-min-height, window-safe-min-width):
17386 Fix typos (followup to bug#9522).
17388 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17390 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17392 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17394 * simple.el (line-move): If goal-column is set, move by logical
17395 lines, not by display lines. (Bug#971)
17396 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17397 to reflect the above change.
17399 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17401 * image.el (imagemagick-register-types): Use regexp-opt.
17403 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17405 * window.el (display-buffer-base-action): Rename from
17406 display-buffer-default-action. Make default value empty.
17407 (display-buffer-overriding-action): Convert to defvar.
17408 (display-buffer-fallback-action): New var.
17410 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17412 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17414 (package--add-to-archive-contents): If there is a duplicate entry
17415 with an older version, remove it.
17416 (package-menu-mark-delete, package-menu-mark-install)
17417 (package-menu-mark-unmark): Make unused args optional.
17418 (package-menu-mark-obsolete-for-deletion):
17419 Use package-menu-get-status instead of a regexp search.
17420 (package-menu-get-status): Use tabulated-list-entry.
17421 (package-menu-mark-upgrades): New command.
17422 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17423 (package-menu-execute): Do installation before deletion.
17424 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17425 instead of checking major-mode.
17426 (package-menu--find-upgrades): New function.
17428 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17430 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17431 passwords in the log buffer.
17432 (smtpmail-process-filter): Update the process marker so that the
17433 "broken by peer" status message is inserted in the right place.
17435 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17437 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17438 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17439 bibtex-completion-at-point-function.
17440 (bibtex-completion-at-point-function): Use them.
17442 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17444 * mpc.el (mpc-constraints-tag-lookup): New function.
17445 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17446 also to browser "album|playlist".
17448 2011-09-14 Juri Linkov <juri@jurta.org>
17450 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17451 (isearch-edit-string): Use length of `isearch-string' when
17452 `isearch-fail-pos' returns nil.
17453 (isearch-message): Remove duplicate code and call
17454 `isearch-fail-pos' with arg `t'.
17456 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17458 * replace.el (occur-mode-goto-occurrence): Don't force using other
17461 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17463 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17465 * window.el (display-buffer-window): Remove.
17466 (display-buffer-record-window): Use help-setup window parameter
17467 instead of variable display-buffer-window.
17468 (display-buffer-function, special-display-buffer-names)
17469 (special-display-function): Mention help-setup parameter instead
17470 of display-buffer-window in doc-string.
17471 * help.el (help-window-setup): New argument help-window.
17472 Use help-window-setup parameter instead of display-buffer-window.
17473 Reword some messages.
17474 (with-help-window): Pass window used for displaying the buffer
17475 to help-window-setup. Don't set display-buffer-window.
17477 2011-09-13 Glenn Morris <rgm@gnu.org>
17479 * emacs-lisp/debug.el (debugger-make-xrefs):
17480 Preserve point. (Bug#9462)
17482 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17484 * window.el (window-deletable-p): Use next-frame.
17486 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17488 * window.el (window-auto-delete): Remove.
17489 (window-deletable-p): Remove argument FORCE. Don't deal with
17490 dedication and previous buffers.
17491 (switch-to-prev-buffer): Don't delete window.
17492 (delete-windows-on): Delete a window's frame if and only if the
17493 window is dedicated.
17494 (replace-buffer-in-windows): Delete buffer's window or frame if
17495 and only if window is dedicated.
17496 (quit-window): Handle quit-restore as before last change.
17497 (bury-buffer): Delete window only if window-deletable-p returns t.
17499 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17501 * window.el (window-deletable-p): Never delete the last frame on a
17504 2011-09-13 Glenn Morris <rgm@gnu.org>
17506 * help.el (describe-key-briefly): Copy previous standard-output change.
17508 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17510 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17512 2011-09-13 Glenn Morris <rgm@gnu.org>
17514 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17515 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17517 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17519 * dired-aux.el (dired-mark-read-string): Don't return default
17520 value on empty input (Bug#9361).
17521 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17522 Omit initial minibuffer contents.
17523 (dired-do-chmod): Signal an error on empty input.
17524 (dired-mark-read-string): Don't return default on empty input.
17526 * files.el (file-modes-symbolic-to-number): Doc fix.
17528 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17530 * international/mule-cmds.el (ucs-completions): Remove.
17531 (read-char-by-name): Use complete-with-action instead; add metadata.
17533 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17535 * window.el (display-buffer--action-function-custom-type)
17536 (display-buffer--action-custom-type): New vars.
17537 (display-buffer-alist, display-buffer-default-action)
17538 (display-buffer-overriding-action): Add defcustom types.
17540 * frame.el (delete-other-frames): Doc fix (Bug#276).
17542 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17544 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17546 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17548 Change modes that used same-window-* vars to use switch-to-buffer.
17550 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17551 Use switch-to-buffer.
17553 * cus-edit.el (customize-group, custom-buffer-create)
17554 (customize-browse, custom-buffer-create-other-window):
17555 Use switch-to-buffer or switch-to-buffer-other-window.
17557 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17558 (Info-prev, Info-up, Info-speedbar-goto-node)
17559 (info-display-manual): Use switch-to-buffer.
17560 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17562 * mail/sendmail.el (mail): Use switch-to-buffer.
17563 (mail-recover): Use switch-to-buffer-other-window.
17565 * cmuscheme.el (run-scheme, switch-to-scheme):
17567 * shell.el (shell):
17568 * net/rlogin.el (rlogin):
17569 * net/telnet.el (telnet, rsh):
17570 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17572 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17574 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17576 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17578 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17579 so don't mention it (bug#9301).
17580 (dired-sort-toggle-or-edit): Clarify string further.
17582 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17583 match `x', `w32' and `ns', like the manual says (bug#9029).
17585 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17586 (process-kill-buffer-query-function): Mention the buffer name in
17589 * image-mode.el (image-next-line): The line parameter is mandatory
17592 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17593 which can be useful (bug#9301).
17595 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17597 * subr.el (match-string): Mention that the current buffer should
17598 be the same as the search was done in (bug#9282).
17600 * facemenu.el: Disable the remove-* commands if the mark isn't
17603 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17605 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17607 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17609 * replace.el (occur-mode-goto-occurrence)
17610 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17611 and display-buffer.
17613 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17616 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17617 special-display and same-window variables.
17618 (mail-other-window): Use switch-to-buffer-other-window.
17619 (mail-other-frame): USe switch-to-buffer-other-frame.
17621 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17622 Use display-buffer-other-frame.
17623 (gdb-display-gdb-buffer): Use pop-to-buffer.
17625 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17627 * progmodes/python.el: Don't set same-window-buffer-names.
17629 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17631 * window.el (display-buffer-alist): Add *Python*.
17633 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17635 * window.el (display-buffer-alist): Add entry for buffers
17636 previously handled same-window-*.
17637 (display-buffer-alist, display-buffer-default-action)
17638 (display-buffer-overriding-action): Mark as risky.
17639 (display-buffer-alist): Document action function changes.
17640 (display-buffer--same-window-action)
17641 (display-buffer--other-frame-action): New variables.
17642 (switch-to-buffer, display-buffer-other-frame): Use them.
17643 (display-buffer): Rename reuse-frame entry to reusable-frames.
17644 (display-buffer-reuse-selected-window): Function deleted.
17645 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17646 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17647 (display-buffer-special): New function.
17648 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17649 display-buffer-reuse-or-pop-window. Split off special-display
17650 part into display-buffer-special.
17651 (display-buffer-use-some-window): Don't perform any special
17652 pop-up-frames handling.
17653 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17654 (display-buffer--maybe-same-window): Rename from
17655 display-buffer-maybe-same-window.
17657 * info.el: Don't set same-window-regexps.
17658 (info-setup): New function.
17659 (info-other-window, info): Call it.
17661 * cus-edit.el: Don't set same-window-regexps.
17662 (customize-group): New argument.
17663 (customize-group-other-window): Use it.
17664 (customize-face, customize-face-other-window): Likewise.
17665 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17669 * progmodes/gud.el: Don't set same-window-regexps.
17674 * mail/sendmail.el:
17675 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17677 2011-09-10 Juri Linkov <juri@jurta.org>
17679 * isearch.el (isearch-edit-string): Remove obsolete mention of
17680 `C-w' (`isearch-yank-word-or-char') from docstring.
17681 (isearch-query-replace): Fix typo in docstring (bug#9466).
17683 2011-09-10 Juri Linkov <juri@jurta.org>
17685 * paren.el (show-paren-function): Don't show escaped parens.
17686 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17688 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17690 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17691 (mm-default-file-encoding): Remove autoload forms, they are
17692 replaced with autoload cookies in mml.el and mm-encode.el.
17693 (mail-add-attachment): New command.
17694 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17695 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17697 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17699 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17701 * simple.el (count-words-region): Use buffer if there's no region
17704 2011-09-09 Juri Linkov <juri@jurta.org>
17706 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17707 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17708 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17710 2011-09-09 Alan Mackenzie <acm@muc.de>
17712 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17713 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17715 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17717 Fix for Savannah bug#9392.
17718 * simple.el (mail-encode-mml): New defvar.
17720 * mail/rmail.el (mail-encode-mml): Add a defvar.
17721 (rmail-enable-mime-composing): Default to t.
17722 (rmail-forward): Use MIME method of forwarding only if both
17723 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17724 Set mail-encode-mml non-nil if the MIME method was used.
17726 * mail/sendmail.el (mml-to-mime): Add autoload form.
17727 (mail-encode-mml): Add a defvar.
17728 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17730 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17731 message through mml-to-mime, and reset mail-encode-mml to nil.
17733 2011-09-09 Glenn Morris <rgm@gnu.org>
17735 * woman.el (woman-if-body): When processing an .el block,
17736 do not delete the next .el block as well. (Bug#9447)
17737 (woman-special-characters): Add oq, cq, and hy characters.
17739 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17741 * window.el (window-deletable-p): Make sure window is live before
17742 invoking window-prev-buffers.
17744 2011-09-08 Leo Liu <sdl.web@gmail.com>
17746 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17748 2011-09-08 Juri Linkov <juri@jurta.org>
17750 * progmodes/compile.el (compilation-environment): Make it
17751 a defcustom (bug#8340).
17753 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17755 * window.el (frame-auto-delete): Rename to window-auto-delete.
17756 Make it control auto-deletion of windows and/or frames.
17757 (window-deletable-p): New argument FORCE. Rewrite conditions
17758 for deleting window/frame. (Bug#9419)
17759 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17760 Rewrite handling of case when window/frame can be deleted.
17761 (delete-windows-on): Call window-deletable-p with new FORCE
17762 argument t. (Bug#9456)
17764 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17766 * help-mode.el (help-mode): Restore autoload.
17768 2011-09-07 Juri Linkov <juri@jurta.org>
17770 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17771 `compilation-environment'. Set buffer-local
17772 `compilation-environment' to `thisenv' later after (funcall mode).
17775 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17776 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17777 instead of replacing its value. (Bug#8340)
17779 2011-09-07 Juri Linkov <juri@jurta.org>
17781 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17782 based on text properties put by `grep-filter' instead of matching
17784 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17785 to the value of `grep-error-screen-columns' (bug#9438).
17787 2011-09-07 Juri Linkov <juri@jurta.org>
17789 * simple.el (next-error-highlight, next-error-highlight-no-select):
17790 Doc fix (bug#9432).
17792 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17794 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17795 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17797 2011-09-07 Leo Liu <sdl.web@gmail.com>
17799 * net/rcirc.el (rcirc-mode): Conditionally initialize
17802 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17804 * emacs-lisp/find-func.el (find-function-C-source): Only set
17805 find-function-C-source-directory after checking that we found a source
17806 file there (bug#9440).
17808 2011-09-06 Alan Mackenzie <acm@muc.de>
17810 * isearch.el (isearch-other-meta-char): Wherever a key list is
17811 unread, "unread" the prefix arg, too. This fixes bug #8901.
17813 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17815 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17817 2011-09-05 Juri Linkov <juri@jurta.org>
17819 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17821 2011-09-05 Juri Linkov <juri@jurta.org>
17823 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17824 keeping point where processing of grep matches begins, and
17825 continue to delete remaining escape sequences from the same point.
17826 (grep-filter): Make leading zero optional in "0?1;31m" because
17827 git-grep emits "\033[1;31m" escape sequences unlike expected
17828 "\033[01;31m" as GNU Grep does (bug#9408).
17829 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17831 2011-09-05 Juri Linkov <juri@jurta.org>
17833 * subr.el (y-or-n-p): Capitalize "yes".
17835 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17837 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17838 `tramp-cache-unload-hook' where appropriate.
17839 (tramp-methods): Rename `tramp-remote-sh' to
17840 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17841 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17843 * net/tramp-sh.el (top): Don't require 'shell.
17844 (tramp-methods): Add `tramp-remote-shell' and
17845 `tramp-remote-shell-args' entries.
17846 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17847 (tramp-sh-handle-shell-command): Remove.
17848 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17849 Use `tramp-remote-shell'.
17851 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17853 * mail/sendmail.el (sendmail-query-once-function): Delete.
17854 (sendmail-query-once): Save directly to send-mail-function.
17855 Update message-send-mail-function too.
17857 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17859 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17861 * progmodes/python.el (python-mode-map): Use correct function to
17862 start python interpreter from menu-bar (as reported by Geert
17864 (inferior-python-mode-map): Fix typo.
17865 (python-shell-map): Remove.
17867 2011-09-03 Deniz Dogan <deniz@dogan.se>
17869 * net/rcirc.el (rcirc-print): Simplify code for
17870 rcirc-scroll-show-maximum-output. There is no need to walk
17871 through all windows to find the right one.
17873 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17875 * help.el (help-return-method): Doc fix.
17877 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17879 * window.el (window-deletable-p): Don't return a non-nil value
17880 when there's a buffer that was shown in the window before.
17882 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17883 Set window's previous buffers to nil.
17885 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17887 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17888 newline before and after the tag line, so it doesn't interfere
17889 with determining the paragraph direction of bidirectional text.
17891 2011-09-03 Leo Liu <sdl.web@gmail.com>
17893 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17895 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17897 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17898 (pop-to-buffer): Change interactive spec. Pass second argument
17899 directly to display-buffer.
17900 (display-buffer): Fix interactive spec. Use functionp to
17901 distinguish between a function and a list of functions.
17903 * abbrev.el (edit-abbrevs):
17904 * arc-mode.el (archive-extract):
17905 * autoinsert.el (auto-insert):
17906 * bookmark.el (bookmark-bmenu-list):
17907 * files.el (find-file):
17908 * view.el (view-buffer):
17909 * progmodes/compile.el (compilation-goto-locus):
17910 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17912 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17914 * window.el (display-buffer-alist): Doc fix.
17915 (display-buffer): Add docstring. Don't treat
17916 display-buffer-default specially.
17917 (display-buffer-reuse-selected-window)
17918 (display-buffer-same-window, display-buffer-maybe-same-window)
17919 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17920 (display-buffer-pop-up-window)
17921 (display-buffer-reuse-or-pop-window)
17922 (display-buffer-use-some-window): New functions.
17923 (display-buffer-default-action): Use them.
17924 (display-buffer-default): Delete.
17925 (pop-to-buffer-1): Fix choice of actions.
17927 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17929 * minibuffer.el (completion--insert-strings): Don't get confused by
17930 completion entries that end with an LF char.
17932 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17934 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17936 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17938 * window.el (display-buffer): Restore interactive spec.
17939 (display-buffer-same-window, display-buffer-other-window):
17941 (pop-to-buffer-1): New function. Use the above.
17942 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17943 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17945 * view.el (view-buffer-other-window, view-buffer-other-frame):
17946 Just use pop-to-buffer.
17948 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17950 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17952 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17954 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17956 2011-08-31 Richard Stallman <rms@gnu.org>
17958 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17959 of the separation of rmail-view-buffer from rmail-buffer.
17960 If you say no to "replace original", the decrypt is in the
17961 view buffer. If you say yes, the decrypt goes into the
17964 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17966 * window.el (display-buffer-window): Rewrite doc-string.
17967 (display-buffer-record-window): New function.
17968 (display-buffer-macro-specifiers)
17969 (display-buffer-even-window-sizes, display-buffer-set-height)
17970 (display-buffer-set-width, display-buffer-in-window)
17971 (display-buffer-reuse-window, display-buffer-split-specifiers)
17972 (display-buffer-side-specifiers, display-buffer-split-window-1)
17973 (display-buffer-split-window, display-buffer-split-atom-window)
17974 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17975 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17976 (display-buffer-other-window-means-other-frame)
17977 (display-buffer-normalize-special)
17978 (display-buffer-normalize-default)
17979 (display-buffer-normalize-argument)
17980 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17981 (display-buffer-normalize-specifiers, display-buffer-frame)
17982 (display-buffer-same-window, display-buffer-same-frame)
17983 (display-buffer-other-window)
17984 (display-buffer-same-frame-other-window)
17985 (display-buffer-other-frame, pop-to-buffer-same-window)
17986 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17987 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17988 (switch-to-buffer-same-frame)
17989 (switch-to-buffer-other-window-same-frame)
17990 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17991 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17992 (display-buffer-alist-set): Remove.
17993 (display-buffer-function, special-display-buffer-names)
17994 (special-display-regexps, special-display-function):
17995 In doc-string refer to display-buffer-window and quit-restore
17997 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17998 (special-display-frame-alist, special-display-popup-frame)
17999 (same-window-buffer-names, same-window-regexps, same-window-p)
18000 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18001 (split-window-preferred-function, split-height-threshold)
18002 (split-width-threshold, window-splittable-p)
18003 (split-window-sensibly, window--try-to-split-window)
18004 (window--frame-usable-p, even-window-heights)
18005 (window--even-window-heights, window--display-buffer-1)
18006 (window--display-buffer-2, display-buffer-other-frame):
18007 Restore old Emacs 23 code, order and doc-strings where applicable.
18008 (display-buffer-default, display-buffer-assq-regexp): New functions.
18009 (display-buffer-alist): Rewrite doc-string.
18010 (display-buffer-default-action)
18011 (display-buffer-overriding-action): New variables.
18012 (display-buffer, switch-to-buffer): Rewrite.
18013 (pop-to-buffer): Restore Emacs 23 behavior but use
18014 window-normalize-buffer-to-display.
18015 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18016 Restore Emacs 23 behavior but use
18017 window-normalize-buffer-to-switch-to.
18018 (pop-to-buffer-same-window): Rewrite.
18019 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18020 Rewrite using Emacs 23 options.
18022 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18024 * net/tramp.el (tramp-root-regexp): Remove.
18025 (tramp-completion-file-name-regexp-unified)
18026 (tramp-completion-file-name-regexp-separate)
18027 (tramp-completion-file-name-regexp-url): Don't use leading volume
18028 letter on w32 systems. (Bug#5303, Bug#9311)
18029 (tramp-drop-volume-letter): Simplify definition.
18030 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18032 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18034 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18037 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18039 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18041 2011-08-29 Juri Linkov <juri@jurta.org>
18043 * isearch.el (isearch-done): Don't display message "Mark saved"
18044 when arg `edit' is non-nil to prevent its flicker in the echo area.
18046 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18048 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18049 obsolete packages for deletion.
18051 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18053 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18054 (help-mode): Derive help-mode from special-mode. Don't invoke
18055 view-mode from help-mode.
18056 (help-xref-override-view-map): Remove.
18057 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18058 view-mode is not used anymore.
18060 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18062 * server.el (server-port): Doc fix.
18064 * cus-theme.el (custom-theme-choose-mode): Inherit from
18065 special-mode (Bug#9124).
18066 (custom-theme-choose-mode-map): Add special-mode to parent.
18068 2011-08-28 Alan Mackenzie <acm@muc.de>
18070 * progmodes/cc-fonts.el
18071 (c-make-font-lock-BO-decl-search-function): New function.
18072 (c-basic-matchers-after - "Fontify the clauses after various
18073 keywords"): Extract the three keyword lists for the 3 erroneous
18074 constructs from the list of four, and use the new function above
18075 in place of an old one.
18077 2011-08-28 Deniz Dogan <deniz@dogan.se>
18079 * net/rcirc.el (rcirc-insert-prev-input)
18080 (rcirc-insert-next-input): Remove unused argument.
18082 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18084 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18086 2011-08-27 Alan Mackenzie <acm@muc.de>
18088 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18089 handle function pointer parameters properly.
18091 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18093 * window.el (display-buffer-reuse-window): Fix case where
18094 selected window was reused with non-nil OTHER-WINDOW argument.
18097 2011-08-27 Deniz Dogan <deniz@dogan.se>
18099 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18100 oftc's NickServ messages.
18102 2011-08-27 Glenn Morris <rgm@gnu.org>
18104 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18106 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18108 * emacs-lisp/package.el (package-install): Call package-initialize
18109 if called interactively.
18111 2011-08-26 Leo Liu <sdl.web@gmail.com>
18113 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18115 2011-08-25 Juri Linkov <juri@jurta.org>
18117 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18118 `search-whitespace-regexp' (bug#9364).
18120 2011-08-25 Juri Linkov <juri@jurta.org>
18122 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18123 `regexp-search-ring' to their global values to protect from
18124 updating by `read-from-minibuffer' (bug#9185).
18126 2011-08-25 Juri Linkov <juri@jurta.org>
18128 * textmodes/ispell.el (ispell-command-loop): Add newline
18129 at the end of the "Use option `i'..." line.
18131 2011-08-25 Juri Linkov <juri@jurta.org>
18133 * battery.el (display-battery-mode): If `battery-status-function'
18134 or `battery-mode-line-format' is nil, display the message and set
18135 `display-battery-mode' to nil (bug#9363).
18137 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18139 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18140 bidi-string-mark-left-to-right; they are unnecessary now.
18142 2011-08-25 Deniz Dogan <deniz@dogan.se>
18144 * net/quickurl.el: Documentation typo fixes.
18146 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18148 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18150 2011-08-25 Glenn Morris <rgm@gnu.org>
18152 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18154 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18155 (smtpmail-via-smtp): Handle nil response from smtp.
18157 2011-08-24 Juri Linkov <juri@jurta.org>
18159 * proced.el (proced-marked): Inherit from `error' instead of
18160 `font-lock-warning-face'.
18162 * ibuffer.el (ibuffer-marked-face): Change default face from
18163 `font-lock-warning-face' to `warning'.
18164 (ibuffer-deletion-face): Change default face from
18165 `font-lock-type-face' to `error'.
18167 * battery.el (battery-update): Use the face `error' instead of
18168 `font-lock-warning-face' (bug#6117).
18170 2011-08-24 Juri Linkov <juri@jurta.org>
18172 * faces.el (success): Change face color from "Green3" to
18173 "ForestGreen" on light background (bug#9353).
18175 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18177 * window.el (quit-window): Rename from quit-restore-window.
18178 Use same arglist as old quit-window.
18179 (frame-auto-delete): Doc fix.
18181 * view.el (view-mode-exit): Use quit-window.
18183 2011-08-24 Juri Linkov <juri@jurta.org>
18185 * isearch.el (isearch-ring-adjust1): Start visiting previous
18186 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18187 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18188 for empty search string (when the last search string is reused
18189 automatically) to adjust the isearch ring to the last element and
18190 prepare the correct index for further M-p commands (bug#9185).
18192 2011-08-24 Kenichi Handa <handa@m17n.org>
18194 * international/ucs-normalize.el: If decomposition property of
18195 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18197 (nfd, nfkd): Likewise.
18199 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18201 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18202 from process filters aren't reliably transmitted to the surrounding
18203 accept-process-output.
18204 (mpc-proc-check): New function.
18205 (mpc-proc-sync): Use it (bug#8293)
18207 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18209 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18210 Add compatibility functions (bug#9313).
18212 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18214 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18216 * international/uni-bidi.el: Regenerate.
18218 2011-08-23 Kenichi Handa <handa@m17n.org>
18220 * international/charprop.el:
18221 * international/uni-bidi.el:
18222 * international/uni-category.el:
18223 * international/uni-combining.el:
18224 * international/uni-comment.el:
18225 * international/uni-decimal.el:
18226 * international/uni-decomposition.el:
18227 * international/uni-digit.el:
18228 * international/uni-lowercase.el:
18229 * international/uni-mirrored.el:
18230 * international/uni-name.el:
18231 * international/uni-numeric.el:
18232 * international/uni-old-name.el:
18233 * international/uni-titlecase.el:
18234 * international/uni-uppercase.el: Regenerate.
18236 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18238 * help.el (help-window-setup): Fix message displayed when other
18239 window is reused. (Bug#9341)
18241 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18243 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18244 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18246 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18248 * shell.el (shell-parse-pcomplete-arguments): New function.
18249 (shell-completion-vars): Use it instead (bug#9160).
18251 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18253 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18254 strings and comments (bug#9333).
18256 * emacs-lisp/debug.el (debug-arglist): New function.
18257 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18258 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18260 2011-08-22 Juri Linkov <juri@jurta.org>
18262 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18263 Revert regexp that highlights output switches to its old
18264 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18266 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18267 to check for empty output (bug#9226).
18269 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18271 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18272 symbol-constituent as the default, as that stops font-lock from
18273 working properly (Bug#8843).
18275 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18277 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18278 `coding-system-for-*' around the process open call to avoid
18279 auth-source side effects.
18280 (smtpmail-try-auth-methods): Expand the secret password.
18281 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18284 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18286 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18288 * emacs-lisp/find-func.el (find-function-noselect): New arg
18291 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18292 signal an error for built-in functions (Bug#6664).
18294 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18296 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18297 (smtpmail-try-auth-methods): Use it.
18299 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18301 * font-lock.el (font-lock-fontify-region)
18302 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18303 (font-lock-default-unfontify-buffer)
18304 (font-lock-default-fontify-region)
18305 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18307 * progmodes/compile.el (compilation-error-properties):
18308 Fix confusion between file struct and message struct (Bug#9319).
18309 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18312 * net/browse-url.el (browse-url-firefox): Don't call
18313 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18315 2011-08-20 Glenn Morris <rgm@gnu.org>
18317 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18319 * tutorial.el (tutorial--default-keys): Update some default bindings.
18321 * files.el (hack-local-variables): Fully ignore case for "mode:".
18323 2011-08-20 Alan Mackenzie <acm@muc.de>
18325 Resolve invalid use of a regexp in regexp-opt.
18327 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18328 detection for a java annotation.
18330 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18331 detection for a java annotation.
18333 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18335 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18337 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18339 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18342 2011-08-20 Alan Mackenzie <acm@muc.de>
18344 Fontify CPP expressions correctly when starting in the middle of
18345 such a construct. Mainly for when jit-lock etc. starts a chunk
18348 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18350 (c-make-font-lock-search-form): New function, extracted from
18351 c-make-font-lock-search-function.
18352 (c-make-font-lock-search-function): Use the above function.
18353 (c-make-font-lock-context-search-function): New function.
18354 (c-cpp-matchers): Enhance the preprocessor expression case with
18356 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18357 which takes an expression.
18359 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18361 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18363 * window.el (display-buffer-reuse-window)
18364 (display-buffer-pop-up-window): Don't reuse or split a side
18367 2011-08-19 Glenn Morris <rgm@gnu.org>
18369 * files.el (hack-local-variables-prop-line, hack-local-variables):
18370 Downcase "Mode:". (Bug#9331)
18372 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18374 * international/characters.el: Add L and R categories.
18376 * subr.el (bidi-string-mark-left-to-right): Rename from
18377 string-mark-left-to-right. Use category search.
18379 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18381 2011-08-18 Juri Linkov <juri@jurta.org>
18383 * faces.el (error, warning, success): New faces with definitions
18384 copied from old default values of `font-lock-warning-face',
18385 `compilation-warning', `compilation-info' (bug#6117).
18387 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18389 * progmodes/compile.el (compilation-error): Inherit from `error'.
18390 (compilation-warning): Inherit from `warning'.
18391 (compilation-info): Inherit from `success'.
18393 * dired.el (dired-marked): Inherit from `warning'.
18394 (dired-flagged): Inherit from `error'.
18396 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18398 * mail/smtpmail.el (auth-source): Require to avoid problems with
18399 binding variables (bug#9298). Also clean up some unused
18402 * net/network-stream.el (network-stream-open-starttls):
18403 Support using starttls.el without using gnutls-cli.
18405 2011-08-17 Juri Linkov <juri@jurta.org>
18407 * progmodes/grep.el (rgrep): Handle the case when
18408 `grep-find-command' is a cons cell (bug#9278).
18410 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18412 * window.el (display-buffer-pop-up-frame): Run frame creation
18413 function with BUFFER current (as special-display-popup-frame
18414 does). Reported by Drew Adams.
18416 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18418 * epa-mail.el: Simplify GnuPG group expansion using
18420 (epa-mail-group-alist, epa-mail-group-modtime)
18421 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18422 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18423 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18426 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18428 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18430 2011-08-16 Alan Mackenzie <acm@muc.de>
18432 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18433 Correct, to avoid the inside of macros.
18435 2011-08-16 Richard Stallman <rms@gnu.org>
18437 * epa-mail.el: Handle GnuPG group definitions.
18438 (epa-mail-group-alist, epa-mail-group-modtime)
18439 (epa-mail-gnupg-conf-file): New variables.
18440 (epa-mail-parse-groups, epa-mail-sync-groups)
18441 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18442 (epa-mail-expand-recipients): New functions.
18443 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18445 * mail/rmail.el (rmail-epa-decrypt): New command.
18447 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18448 Don't bind buffer-read-only, just inhibit-read-only.
18449 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18450 (epa-decrypt-armor-in-region): Make error message clearer.
18452 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18454 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18455 and "a2b" to "ab" for `prefix'.
18457 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18459 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18461 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18462 Fourquet (Bug#8804).
18464 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18466 * startup.el (argi): Declare as global variable (bug#9275).
18468 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18470 * subr.el (string-mark-left-to-right): Search the entire string
18471 for RTL script, not just the terminating character. Doc fix.
18473 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18475 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18477 (js--regexp-literal, js-syntax-propertize-function): Remove.
18478 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18479 (js-mode-map): Don't rebind electric keys.
18480 (js-insert-and-indent): Remove.
18481 (js-mode): Setup electric-layout and electric-indent instead.
18483 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18485 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18487 * epa.el (epa-progress-callback-function): Fix the logic of
18488 displaying progress.
18489 * epa-file.el (epa-file-insert-file-contents): Make progress
18490 display more user-friendly.
18491 (epa-file-write-region): Ditto.
18493 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18495 * subr.el (string-mark-left-to-right): New function.
18497 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18498 Use string-mark-left-to-right.
18499 (list-buffers-noselect): Caller changed.
18501 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18502 Use string-mark-left-to-right.
18503 (tabulated-list-print): Recenter after moving point.
18505 2011-08-10 Juri Linkov <juri@jurta.org>
18507 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18508 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18509 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18511 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18513 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18516 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18518 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18519 character. (Bug#6594)
18521 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18523 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18524 (image-dired--with-db-file): New macro.
18525 (image-dired-write-tags, image-dired-remove-tag)
18526 (image-dired-create-gallery-lists, image-dired-write-comments)
18527 (image-dired-get-comment, image-dired-mark-tagged-files)
18528 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18529 (image-dired-gallery-generate): Use insert-file-contents.
18531 * time.el (display-time-world-list, display-time-world-display):
18532 * time-stamp.el (time-stamp-string):
18533 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18534 set-time-zone-rule (Bug#7337).
18536 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18538 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18539 (epg-error-to-string, epg-errors-to-string): New function.
18540 (epg-wait-for-completion): Reverse errors list.
18541 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18542 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18543 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18544 (epg-sign-keys, epg-generate-key-from-file)
18545 (epg-generate-key-from-string): Format errors by using
18546 epg-errors-to-string (bug#9255).
18547 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18549 2011-08-07 Juri Linkov <juri@jurta.org>
18551 * faces.el (list-faces-display): Remove extra angle bracket
18552 from `help-mode-map'.
18554 * info.el (Info-history-toc-nodes): Doc fix.
18556 * longlines.el (longlines-mode): Doc fix.
18558 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18560 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18561 of statements and in a few more cases (bug#9183).
18563 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18565 (cl-transform-lambda): Use them (bug#9239).
18567 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18569 * window.el (display-buffer-same-window)
18570 (display-buffer-same-frame, display-buffer-other-window)
18571 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18572 (pop-to-buffer-other-window)
18573 (pop-to-buffer-same-frame-other-window)
18574 (pop-to-buffer-other-frame): Make them defuns.
18575 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18577 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18579 * subr.el (make-composed-keymap): Move from C. Change calling
18580 convention, and improve docstring to bring attention to a subtle point.
18581 * minibuffer.el (completing-read-default): Adjust accordingly.
18583 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18585 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18586 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18588 * net/trampver.el: Update release number.
18590 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18592 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18595 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18597 * mail/sendmail.el (sendmail-query-once): Restore the current
18598 buffer after querying (bug#9074).
18600 * dired.el (dired-flagged): Use different faces for marked and
18601 flagged files (bug#6117).
18603 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18606 * ido.el (ido-mode): Switch off the message if called
18609 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18610 before 587, since it appears that that's more likely to work for
18613 * cus-edit.el (custom-file): When running under emacs -q, always
18614 refuse to save the customizations, even if the .emacs file doesn't
18617 * info.el: Remove the `Info-beginning-of-buffer' function
18620 * net/network-stream.el (network-stream-open-starttls):
18621 Use `starttls-available-p' to see whether starttls.el can be used.
18623 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18625 * window.el (display-buffer-in-window): Don't set dedicated status
18626 of window here (Bug#9215).
18627 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18628 (display-buffer-pop-up-side-window)
18629 (display-buffer-in-side-window): Set dedicated status of window here.
18631 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18633 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18634 before binding generated-autoload-file.
18636 2011-08-01 Deniz Dogan <deniz@dogan.se>
18638 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18640 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18642 Sync with Tramp 2.2.2.
18644 * net/trampver.el: Update release number.
18646 2011-07-30 Juri Linkov <juri@jurta.org>
18648 * dired-aux.el (dired-touch-initial): Remove function.
18649 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18650 current time, and `default' to the last modification time of the
18651 current marked file (bug#6887).
18653 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18655 * simple.el (goto-line): Use string-to-number to provide a
18656 numeric argument to read-number (bug#9163).
18658 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18660 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18661 connection process, it could be nil.
18663 2011-07-27 Leo Liu <sdl.web@gmail.com>
18665 Simplify url handling in rcirc-mode.
18667 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18668 (rcirc-browse-url-at-mouse): Remove.
18669 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18671 2011-07-26 Alan Mackenzie <acm@muc.de>
18673 Fontify bitfield declarations properly.
18675 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18676 (c-symbol-chars): Now exported as a lang variable.
18677 (c-not-primitive-type-keywords): New lang variable.
18679 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18680 QT keyword "more" to prevent "more slots: ...." being spuriously
18681 parsed as a bitfield declaration.
18683 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18684 Refactor and enhance to handle bitfield declarations.
18685 (c-punctuation-in): New function.
18686 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18687 declarations properly.
18689 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18691 * calendar/icalendar.el (icalendar--all-events): Take care of
18692 multiple vcalendars in a single file.
18693 (icalendar--convert-float-to-ical): Checkdoc fixes.
18695 2011-07-25 Deniz Dogan <deniz@dogan.se>
18697 * image.el (insert-image): Clarifying docstring.
18699 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18701 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18702 `tramp-send-command-and-check' if there is no error.
18703 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18705 2011-07-22 Alan Mackenzie <acm@muc.de>
18707 Prevent cc-langs.elc being loaded at run time.
18709 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18712 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18713 "(require 'cc-langs)". Quote a form so it will evaluate at
18714 (cc-mode's) compilation time.
18716 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18718 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18719 loading. (Bug#9114)
18721 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18723 * window.el (display-buffer-pop-up-window)
18724 (display-buffer-pop-up-side-window)
18725 (display-buffer-in-side-window): Call display-buffer-set-height
18726 and display-buffer-set-width after setting the new window's
18727 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18729 2011-07-20 Sam Steingold <sds@gnu.org>
18731 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18732 (etags-tags-included-tables): Call `convert-standard-filename' on
18733 the file names contained in TAGS so that windows Emacs can handle
18734 TAGS files created by cygwin ctags.
18736 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18738 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18739 which apparently didn't work.
18741 2011-07-19 Roland Winkler <winkler@gnu.org>
18743 * proced.el (proced-send-signal): For *Marked Processes* buffer
18744 put point at beginning of buffer.
18746 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18748 * proced.el (proced-format): Make header lines align with the text
18751 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18753 * view.el (view-buffer): Allow running in `special' modes if we're
18754 visiting a file (bug#8615).
18756 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18758 * window.el (display-buffer-alist-of-strings-p)
18759 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18761 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18764 2011-07-18 Alan Mackenzie <acm@muc.de>
18766 Fontify declarators properly when, e.g., a jit-lock chunk begins
18767 inside a declaration.
18769 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18771 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18773 (c-complex-decl-matchers): Insert reference to
18774 c-font-lock-enclosing-decls.
18776 * progmodes/cc-engine.el (c-backward-single-comment):
18777 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18778 to nil around calls to (forward-comment -1).
18780 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18782 * image.el (put-image): Doc typo fix.
18784 * progmodes/etags.el (tags-search): Doc typo fix.
18786 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18787 password if we get errors 550 to 554.
18789 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18791 * net/gnutls.el (gnutls-log-level): Remove.
18793 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18794 indentation character (bug#6380).
18796 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18798 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18799 to clarify what the problem is (bug#4291).
18801 * simple.el (current-kill): Clarify what
18802 `interprogram-paste-function' does (bug#7500).
18803 (auto-fill-mode): Document `auto-fill-function' in relation to
18804 `auto-fill-mode' (bug#2470).
18806 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18808 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18809 method if slot is read-only (bug#9035).
18811 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18813 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18814 * window.el (pop-to-buffer): Select window used even if it was
18815 selected before, see discussion of (Bug#8615), (Bug#6954).
18816 Pass argument NORECORD on to select-frame-set-input-focus.
18818 2011-07-15 Glenn Morris <rgm@gnu.org>
18820 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18823 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18825 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18826 (gnutls-negotiate): Use it.
18828 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18830 * net/gnutls.el (gnutls-negotiate):
18831 Upcase `gnutls-algorithm-priority'.
18833 2011-07-15 Glenn Morris <rgm@gnu.org>
18835 * jka-compr.el (jka-compr-verbose): Move from here...
18836 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18837 Add missing :version tag.
18838 * info.el: No need to require jka-compr when compiling.
18840 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18842 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18843 (gnutls-negotiate): Use it.
18845 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18847 * info.el (Info-beginning-of-buffer): New command.
18848 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18849 announcing `b' as the key (bug#8325).
18850 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18852 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18854 * international/mule-cmds.el
18855 (describe-specified-language-support): Make the error message
18856 clearer (bug#8905).
18858 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18860 * isearch.el (isearch-barrier): Add a doc string, since it's
18861 mentioned in a function doc string (bug#8678).
18863 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18865 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18866 buffer argument (Bug#9083) and self-identifying label argument.
18868 2011-07-15 Glenn Morris <rgm@gnu.org>
18870 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18872 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18874 * man.el (Man-fontify-manpage): Fix message when formatting the
18875 man page (bug#7929).
18877 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18879 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18880 argument LRM; if non-nil, append an invisible LRM character to the
18882 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18883 last argument non-nil, when formatting buffer names.
18884 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18885 paragraph direction.
18887 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18889 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18890 the man page name (bug#7929).
18892 * image.el (put-image): Mention the `put-image' overlay property
18895 * scroll-bar.el (set-scroll-bar-mode): Mention that
18896 `scroll-bar-mode' lists the values (bug#7772).
18898 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18899 command (bug#7729).
18901 * rect.el (apply-on-rectangle): Return the point after the last
18903 (string-rectangle): Go to the point after the last operation
18906 * printing.el (pr-toggle-region): Clarify the documentation
18907 slightly (bug#7493).
18909 * time.el (display-time-update):
18910 Allow `display-time-mail-function' to return nil (bug#7158).
18911 Fix suggested by Detlev Zundel.
18913 * vc/diff.el (diff): Clarify the order the file names are read
18916 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18917 the doc string (bug#7015).
18919 * font-lock.el (font-lock-maximum-decoration): Mention what
18920 numeric levels mean (bug#6935).
18922 * startup.el (initial-buffer-choice): Don't mention the `none'
18923 selection, which is against policy.
18925 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18927 * window.el (display-buffer-normalize-special):
18928 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18930 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18932 * subr.el (version<, version<=, version=): Mention "-CVS" and
18933 "-12345" alpha version numbers.
18935 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18937 * bindings.el: Add advertised binding for set-mark-command
18940 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18942 * bindings.el (mode-line-other-buffer):
18943 * bookmark.el (bookmark-bmenu-2-window):
18944 * bs.el (bs-cycle-next, bs-cycle-previous):
18945 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18948 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18951 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18953 * follow.el (follow-debug-message, follow-redisplay):
18954 * jka-cmpr-hook.el (with-auto-compression-mode):
18955 Fix typos in docstrings.
18957 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18959 * subr.el (with-silent-modifications): Clarify somewhat what the
18960 macro inhibits (bug#6525).
18962 * simple.el (eval-expression): Note what it does if called
18963 interactively (bug#6495).
18965 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18967 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18968 Use pop-to-buffer buffer-or-name if it is nil.
18970 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18971 Remove switch-to-buffer.
18973 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18975 * files.el (make-directory): Clarify that an error will be raised
18976 if there's an error (bug#6397).
18978 * startup.el (initial-buffer-choice): Add `none' as a choice
18981 * subr.el (add-hook): Clarify section about buffer-local hooks
18984 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18986 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18988 * tabify.el (untabify): Preserve the current column so that point
18989 doesn't move (bug#6032).
18991 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18993 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18994 Rewrite to avoid awkward possessive "s" (bug#5986).
18996 2011-07-13 Glenn Morris <rgm@gnu.org>
18998 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18999 (dired-insert-directory): Give a message the first time
19000 if ls is found not to support --dired.
19002 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19004 * simple.el (toggle-truncate-lines): Clarify what is toggled
19005 (bug#5580). Text by Drew Adams.
19007 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19009 * simple.el (blink-matching-open): Make the error message from the
19010 last change less verbose.
19012 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19014 * font-lock.el (font-lock-comment-face): Use the high contrast
19015 "yellow" color for font-lock-comment-face on low color terminals
19016 using a dark background color (bug#4221).
19018 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19020 * dired.el (dired-insert-set-properties): Make the doc string
19021 reflect what it does now (bug#5325).
19023 * simple.el (blink-matching-open): Say that we were unable to find
19024 the match within the limit, if we're limited (bug#5122).
19026 * international/mule-cmds.el (prefer-coding-system): Add an
19027 example (bug#4869).
19029 * progmodes/etags.el (tags-search): Document `file-list-form'
19032 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19034 * net/browse-url.el (browse-url-default-browser)
19035 (browse-url-browser-function): Make the default browser choice a
19036 bit more logical (bug#4300). Also clean up the doc string.
19038 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19040 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19041 binary endings (bug#4440).
19043 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19045 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19046 which can be pretty annoying (bug#8971).
19048 * jka-compr.el (jka-compr-verbose): New variable, and use
19049 throughout (bug#8971).
19051 * info.el (Info-find-file): Fall back on the installation
19052 directory if we can't find the info node anywhere else.
19054 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19056 * vc/vc.el (vc-revert-file):
19057 Don't set file time-stamp in the past. (Bug#5181)
19059 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19061 * files.el (after-find-file): Give a better error message when
19062 trying to find a symlink that points to a file that doesn't exist
19065 * progmodes/cc-vars.el: Remove (probably) misleading comment
19068 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19070 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19072 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19074 * mouse-sel.el: Hack restoring functionality, while keeping
19075 compatibility with 2010-07-03 changes to mouse selection.
19076 (mouse-sel-primary-overlay): New var.
19077 (mouse-sel-selection-alist): Use it.
19078 (mouse-sel-mode): Doc fix; remove points that are default features
19081 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19083 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19084 Fix previous fix (bug#2490).
19086 2011-07-12 Roland Winkler <winkler@gnu.org>
19088 * textmodes/bibtex.el (bibtex-initialize):
19089 Use pop-to-buffer-same-window.
19090 (bibtex-search-entries): Fix interactive call.
19092 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19094 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19095 Fontise bytecomp Error lines more correctly (bug#2490).
19096 Fix suggested by Johan Bockgård.
19098 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19100 * dired-x.el (dired-guess-default): Use `delete-dups'.
19102 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19104 * dired.el (dired-mark-prompt):
19105 * dired-aux.el (dired-read-shell-command): Doc fix.
19107 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19109 * mail/sendmail.el (sendmail-query-once):
19110 Use `customize-save-variable' unconditionally, now that it works under
19113 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19115 * cus-edit.el (custom-file): Take an optional no-error variable.
19116 (customize-save-variable): Set the variable, and give a warning if
19117 running under "emacs -q".
19119 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19121 * loadhist.el (unload-feature-special-hooks):
19122 Add `auto-coding-functions', `fill-nobreak-predicate' and
19123 `find-directory-functions' (bug#5327).
19125 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19127 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19129 * cus-edit.el (custom-guess-name-alist): -alist variables should
19130 use the `alist' type (bug#3120). Suggested by Drew Adams.
19132 * printing.el: Add documentation to all the `pr-toggle-' commands.
19134 2011-07-11 Leo Liu <sdl.web@gmail.com>
19136 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19137 backends where it makes sense (bug#2623).
19139 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19141 * dired-x.el (dired-guess-default): Remove duplicate shell command
19142 entries (bug#2028).
19143 (dired-guess-default): Fix grammar in doc string (bug#2028).
19144 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19146 * subr.el (remove-duplicates): New conveniency function.
19148 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19150 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19153 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19155 * window.el (display-buffer-normalize-default): Don't invert
19156 meaning of even-window-heights. Reported by Eli Zaretskii
19159 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19161 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19163 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19165 * window.el (display-buffer): Fix arguments to
19166 display-buffer-reuse-window in last change.
19168 * faces.el (link): Use a less saturated blue on light backgrounds.
19170 * startup.el (fancy-startup-text, fancy-about-text)
19171 (fancy-startup-tail): Use font-lock faces, for background safety.
19173 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19175 * emulation/viper-cmd.el (viper-change-state-to-vi):
19176 Limit triggering of abbrev expansion (Bug#9038).
19178 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19180 * window.el (display-buffer-default-specifiers): Remove.
19181 (display-buffer-macro-specifiers): Remove default specifiers.
19182 (display-buffer-alist): Default to nil.
19183 (display-buffer-reuse-window): New optional argument other-window.
19184 (display-buffer-pop-up-window): Allow splitting internal
19185 windows. Check whether a live window was created.
19186 (display-buffer-other-window-means-other-frame)
19187 (display-buffer-normalize-arguments): Rename to
19188 display-buffer-normalize-argument and rewrite. Set the
19189 other-window specifier.
19190 (display-buffer-normalize-special): New function.
19191 (display-buffer-normalize-options): Rename to
19192 display-buffer-normalize-default and rewrite.
19193 (display-buffer-normalize-options-inhibit): Remove.
19194 (display-buffer-normalize-specifiers): Rewrite.
19195 (display-buffer): Process other-window specifier and call
19196 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19198 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19199 (display-buffer-alist-set): Don't handle 'unset default values.
19200 (display-buffer-in-window, display-buffer-alist-set):
19201 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19202 <tassilo@member.fsf.org>.
19204 2011-07-09 Leo Liu <sdl.web@gmail.com>
19206 * register.el (insert-register): Restore accidental change on
19207 2011-06-26. (Bug#9028)
19209 2011-07-09 Glenn Morris <rgm@gnu.org>
19211 * subr.el (remq): Handle the empty list. (Bug#9024)
19213 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19215 * mail/sendmail.el (send-mail-function): No longer delay custom
19217 * custom.el (custom-initialize-delay): Doc fix.
19219 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19221 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19223 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19225 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19226 human-friendly prompt.
19228 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19230 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19231 provided by a particular plugin.
19233 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19235 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19236 save customizations (with "emacs -Q"), just set the variable
19237 instead of erroring out.
19239 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19241 2011-07-08 Juri Linkov <juri@jurta.org>
19243 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19244 (archive-zip-update-case): Use 7z if found by `executable-find'.
19245 The order of searching the available programs is the same as in
19246 `archive-zip-extract' (bug#8968).
19248 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19250 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19251 (menu-bar-options-menu): Tweak descriptions.
19253 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19255 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19256 menu items into verb phrases (bug#1421). Also refill to fit under
19259 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19261 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19262 (Info-read-node-name): Doc fix (Bug#1084).
19264 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19265 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19266 (end-of-sexp, beginning-of-sexp)
19267 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19268 (forward-symbol, forward-same-syntax, word-at-point)
19269 (sentence-at-point): Doc fix (Bug#1144).
19271 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19273 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19274 should cover it (bug#1281).
19276 * cus-edit.el (custom-show): Mark as obsolete.
19278 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19279 negotiation fails, then possibly try again with a non-encrypted
19280 connection (bug#9017).
19282 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19285 2011-07-07 Richard Stallman <rms@gnu.org>
19287 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19288 property, and handle its changed format.
19289 Look for the correct line number.
19290 Use file's line contents (but not past first =) to find
19291 correct line in message.
19293 2011-07-07 Kenichi Handa <handa@m17n.org>
19295 * international/characters.el (build-unicode-category-table):
19297 (unicode-category-table): Set it by unicode-property-table-internal.
19299 * international/mule-cmds.el (char-code-property-alist): Move to
19301 (get-char-code-property): Call unicode-property-table-internal to
19302 load a file. Call get-unicode-property-internal where necessary.
19303 (put-char-code-property): Call unicode-property-table-internal to
19304 load a file. Call put-unicode-property-internal where necessary.
19305 put-unicode-property-internal where necessary.
19306 (char-code-property-description):
19307 Call unicode-property-table-internal to load a file.
19309 * international/charprop.el:
19310 * international/uni-bidi.el:
19311 * international/uni-category.el:
19312 * international/uni-combining.el:
19313 * international/uni-comment.el:
19314 * international/uni-decimal.el:
19315 * international/uni-decomposition.el:
19316 * international/uni-digit.el:
19317 * international/uni-lowercase.el:
19318 * international/uni-mirrored.el:
19319 * international/uni-name.el:
19320 * international/uni-numeric.el:
19321 * international/uni-old-name.el:
19322 * international/uni-titlecase.el:
19323 * international/uni-uppercase.el: Regenerate.
19325 * loadup.el: Load international/charprop.el before
19326 international/characters.
19328 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19330 * window.el (next-buffer, previous-buffer): Signal an error if
19331 called from a minibuffer window.
19333 * bindings.el: Revert 2011-07-04 change.
19335 2011-07-06 Richard Stallman <rms@gnu.org>
19337 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19338 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19339 Treat markers like ints.
19340 (rmail-mime-entity): Doc fix.
19342 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19344 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19345 defcustom again for backwards compatibility.
19347 * simple.el (shell-command-on-region): Fill.
19349 * dired-aux.el (dired-kill-line): Add a doc string.
19351 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19352 to "\\sw\\|\\s_" (bug#358).
19354 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19355 (dired-unmark-backward): Ditto.
19356 (dired-flag-backup-files): Ditto.
19358 * dired-x.el (dired-mark-sexp): Ditto.
19360 2011-07-06 Richard Stallman <rms@gnu.org>
19362 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19363 (rmail-mime-entity): New arg TRUNCATED.
19364 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19366 (rmail-mime-save): Warn if entity is truncated.
19367 (rmail-mime-toggle-hidden): Likewise, for showing.
19368 (rmail-mime-process-multipart): Record when an entity is truncated.
19370 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19371 if ENTITY is a string.
19373 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19375 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19376 of faces when `M-C-x'-ing their definitions (bug#8378).
19377 Also clean up the code slightly.
19379 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19380 because that makes the colors go away.
19382 * mail/sendmail.el (send-mail-function): Change the default to
19383 `sendmail-query-once'.
19384 (sendmail-query-once): Add an autoload cookie.
19386 * net/network-stream.el (network-stream-open-starttls): Try using
19387 a plain connection even if the server offered STARTTLS, and we
19388 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19389 capability. This should make smtpmail.el work in slightly more
19392 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19394 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19396 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19398 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19400 * progmodes/sql.el: Version 3.0
19401 (sql-product-alist): Add product :completion-object,
19402 :completion-column, and :statement attributes.
19403 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19404 (sql-mode-syntax-table): Mark all punctuation.
19405 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19407 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19408 (sql-mode-oracle-font-lock-keywords): Improve.
19409 (sql-oracle-show-reserved-words): New function for development.
19410 (sql-product-font-lock): Simplify for source code buffers.
19411 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19413 (sql-highlight-product): Set product specific syntax table.
19414 (sql-mode-map): Add statement movement functions.
19415 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19417 (sql-statement-regexp, sql-beginning-of-statement)
19418 (sql-end-of-statement, sql-signum): New functions.
19419 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19420 (sql-show-sqli-buffer): Bug fix.
19421 (sql-interactive-mode): Store connection data as buffer local.
19422 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19423 with sql-interactive-mode.
19424 (sql-save-connection): Save buffer local settings.
19425 (sql-connection-menu-filter): Change menu entry name.
19426 (sql-product-interactive): Bug fix.
19427 (sql-preoutput-hold): New variable.
19428 (sql-interactive-remove-continuation-prompt): Bug fixes.
19429 (sql-debug-redirect): New variable.
19430 (sql-str-literal): New function.
19431 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19433 (sql-oracle-save-settings, sql-oracle-restore-settings)
19434 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19435 (sql-completion-object, sql-completion-column)
19436 (sql-completion-sqlbuf): New variables.
19437 (sql-build-completions-1, sql-build-completions)
19438 (sql-try-completion): New functions.
19439 (sql-read-table-name): Use them.
19440 (sql-contains-names): New buffer local variable.
19441 (sql-list-all, sql-list-table): Use it.
19442 (sql-oracle-completion-types): New variable.
19443 (sql-oracle-completion-object, sql-sqlite-completion-object)
19444 (sql-postgres-completion-object): New functions.
19446 2011-07-06 Glenn Morris <rgm@gnu.org>
19448 * window.el (pop-to-buffer): Doc fix.
19450 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19452 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19454 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19456 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19458 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19460 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19462 * button.el (button): Inherit from link face. Suggested by Dan
19465 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19467 * progmodes/gdb-mi.el: Fit in 80 columns.
19468 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19471 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19472 if imenu is simply not configured (bug#8941).
19474 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19476 * allout.el (allout-post-undo-hook): New allout outline-change
19477 event hook to signal undo activity.
19478 (allout-post-command-business): Run allout-post-undo-hook if an
19479 undo just occurred.
19480 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19481 * allout-widgets.el (allout-widgets-after-undo-function):
19482 Ensure the integrity of the current item's decoration after it has been
19483 in the vicinity of an undo.
19484 (allout-widgets-mode): Include allout-widgets-after-undo-function
19485 on the new allout-post-undo-hook.
19487 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19489 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19490 Let define-derived-mode define it.
19491 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19492 cycles of abbrev-table inheritance (bug#8998).
19494 2011-07-05 Roland Winkler <winkler@gnu.org>
19496 * textmodes/bibtex.el: Add support for biblatex.
19497 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19498 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19499 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19500 (bibtex-entry-alist, bibtex-field-alist): New variables.
19501 (bibtex-entry-field-alist): Obsolete alias for
19502 bibtex-BibTeX-entry-alist.
19503 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19504 (bibtex-set-dialect): New command.
19505 (bibtex-entry-type, bibtex-entry-head)
19506 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19507 Bind via bibtex-set-dialect.
19508 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19509 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19510 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19511 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19512 Define via bibtex-set-dialect.
19513 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19514 Obey bibtex-no-opt-remove-re.
19515 (bibtex-vec-push, bibtex-vec-incr): New functions.
19516 (bibtex-format-entry, bibtex-field-list)
19517 (bibtex-print-help-message, bibtex-validate)
19518 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19520 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19522 * progmodes/compile.el (compilation-goto-locus):
19523 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19524 * bs.el (bs-cycle-next, bs-cycle-previous):
19525 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19526 * bindings.el (mode-line-other-buffer):
19527 * autoinsert.el (auto-insert):
19528 * arc-mode.el (archive-extract):
19529 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19531 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19533 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19534 Fix check of `emacs-lock-unlockable-modes'.
19535 Coerce true values of `emacs-lock--try-unlocking' to t.
19537 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19539 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19540 * emacs-lock.el: New file.
19542 2011-07-05 Julien Danjou <julien@danjou.info>
19544 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19545 than `boundp' to check if face is set.
19547 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19549 * register.el (registerv-make):
19550 * window.el (window-min-height): Fix typos in docstrings.
19552 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19554 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19557 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19559 * server.el (server-execute): Catch quit and call
19560 `server-return-error' to pass the error back to emacsclient and
19561 close the connection (bug#8942).
19563 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19565 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19566 insecure exception for current topic. Also note that auto-saves
19567 are handled differently.
19569 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19570 State variables for tracking auto-save inhibition situation.
19572 (allout-write-contents-hook-handler): Rename from
19573 'allout-write-file-hook-handler', and describe how it depends on
19574 write-contents-functions sensitivity to non-nil value to prevent
19577 (allout-auto-save-hook-handler): Remove. auto-save does not check
19578 this in individual buffers, only in the starting buffer, so this
19579 is not the right way for us to inhibit auto-save in a buffer
19580 according to its condition.
19582 (allout-mode): Use new allout-write-contents-hook-handler, and
19583 only with write-contents-functions. Remove auto-save provisions -
19584 they're implemented elsewhere.
19586 (allout-before-change-handler): If undo is in progress, note that
19587 for attention of allout-post-command-business.
19589 (allout-post-command-business): If the command we're following was
19590 an undo, check for change in the status of encrypted items and
19591 adjust auto-save inhibitions accordingly.
19593 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19594 according to whether there are or aren't any plain-text topics
19595 pending encryption.
19597 (allout-inhibit-auto-save-info-for-decryption):
19598 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19599 if there are plain-text topics pending encryption.
19601 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19602 buffer-saved-size and some allout state to not inhibit auto-saves
19603 if there are no longer any plain-text topics pending encryption.
19605 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19606 No longer provide for exemption of the current topic.
19608 2011-07-04 Juri Linkov <juri@jurta.org>
19610 Add 7z operations to delete and save changed members (bug#8968).
19611 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19613 (archive-7z-write-file-member): New function.
19614 (archive-7z-summarize): Fix the number of dashes in the
19617 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19619 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19622 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19624 * bindings.el: Ignore next-buffer and previous-buffer in
19625 minibuffer-local-map.
19627 * font-lock.el (font-lock-builtin-face): Change light background
19628 color to dark slate blue (Bug#6693).
19630 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19632 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19634 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19636 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19637 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19638 Add switch-to-buffer.
19640 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19642 * isearch.el (isearch-search-fun-function): Clarify further the
19643 meaning of the function returned.
19645 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19647 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19649 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19650 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19652 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19653 `tramp-default-remote-path' does not exist.
19654 (tramp-send-command-and-read): New optional argument NOERROR.
19655 (tramp-open-connection-setup-interactive-shell)
19656 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19657 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19658 (tramp-process-sentinel): Flush also process' connection property.
19659 (tramp-sh-handle-start-file-process): Do not set process
19660 sentinel. It is done now ...
19661 (tramp-maybe-open-connection): ... here. (Bug#8929)
19663 2011-07-04 MON KEY <monkey@sandpframing.com>
19665 * play/animate.el (animate-string): Doc fixes and allow changing
19666 the buffer name (bug#5417).
19668 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19670 * play/animate.el (animation-buffer-name): Rename from *animate*.
19672 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19674 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19675 This is simpler and helps future-proof the code.
19676 (timer-until): Use time-subtract and float-time.
19677 (timer--time-less-p): Use time-less-p.
19679 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19681 * type-break.el (timep): Use the value of `float-time' to avoid a
19682 byte-compiler warning.
19684 * server.el (server-eval-and-print): Return any result, even nil.
19686 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19688 * type-break.el: Accept time formats that the builtins accept.
19689 (timep, type-break-time-difference): Accept any format that
19690 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19691 This is simpler and helps future-proof the code.
19692 (type-break-time-difference): Round rather than ignoring
19693 subseconds components.
19695 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19697 * info.el (Info-apropos-matches): Make non-interactive, since it
19698 doesn't seem to do anything useful as a command (bug#8829).
19700 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19702 * frame.el (frame-background-mode, frame-set-background-mode):
19703 Move from faces.el.
19704 (frame-default-terminal-background): New function.
19706 * custom.el (custom-push-theme): Don't record faces in `changed'
19707 theme; this doesn't work correctly for per-frame face settings.
19708 (disable-theme): Use face-set-after-frame-default to reset faces.
19709 (custom--frame-color-default): New function.
19711 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19713 * dired.el (dired-flagging-regexp): Remove unused variable
19716 2011-03-29 Kevin Ryde <user42@zip.com.au>
19718 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19719 `perl-Test2' extend to match possible "fail #N" rep count
19722 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19724 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19725 `smtpmail-via-smtp' now returns the error instead of nil.
19727 * isearch.el (isearch-search-fun-function): Clarify the doc string
19730 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19732 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19733 unnecessary spaces (bug#8987).
19735 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19737 * net/network-stream.el (open-network-stream): Use the
19738 :end-of-capability command thoughout.
19740 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19742 * net/network-stream.el (open-network-stream): Add the
19743 :end-of-capability command parameter, used by pop3.el.
19745 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19747 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19749 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19750 for list)" (bug#6475).
19752 * files.el (file-expand-wildcards): Ignore non-readable
19753 sub-directories while trying to find matches instead of signaling
19754 an error (bug#6297).
19756 * man.el (Man-reference-regexp): Allow matching possible
19757 word-wrapped references (bug#6289).
19759 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19760 for consistency with the other vc buffers (bug#6197).
19761 (vc-checkin): Ditto.
19763 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19765 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19767 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19769 * custom.el (defcustom): Clarify that :set is only used in the
19770 Customize user interface (bug#6089).
19772 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19773 associated with a file, refuse to run instead of erroring out
19776 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19777 the doc string, since it appears that using `fill-column' always
19778 controls the width (bug#7845).
19780 * simple.el (shell-command-on-region): Say where the error output
19781 went if `shell-command-default-error-buffer' is set (bug#6857).
19783 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19785 * allout.el (allout-yank-processing): Adjust cursor position for
19786 backwards-deleted space.
19788 (allout-rebullet-heading): Register changes with
19789 allout-exposure-changed-hook, so the modified topic is properly
19792 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19794 * minibuffer.el (completion-in-region): Document PREDICATE
19797 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19798 of keyword/argument pairs (bug#6904).
19800 * replace.el (multi-occur):
19801 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19803 2011-07-02 Drew Adams <drew.adams@oracle.com>
19805 * dired.el (dired-mark-if): Make the message about whether it's
19806 marking or unmarking clearer (bug#8523).
19808 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19810 * disp-table.el (display-table-print-array): New function.
19811 (describe-display-table): Use it to print the vectors more pretty
19814 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19816 * window.el (window-state-get-1): Don't assign clone numbers.
19817 Add clone-of item to list of window parameters.
19818 (window-state-put-2): Don't process clone numbers.
19819 (display-buffer-alist): Fix doc-string.
19821 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19823 * subr.el (remq): Don't allocate if it's not needed.
19824 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19825 (keymap--merge-bindings): New functions.
19826 (keymap-canonicalize): Use them to refine the canonicalization.
19827 * minibuffer.el (minibuffer-local-completion-map)
19828 (minibuffer-local-must-match-map): Move initialization from C.
19829 (minibuffer-local-filename-completion-map): Move initialization from C;
19830 don't inherit from anything here.
19831 (minibuffer-local-filename-must-match-map): Make obsolete.
19832 (completing-read-default): Use make-composed-keymap to combine
19833 minibuffer-local-filename-completion-map with either
19834 minibuffer-local-must-match-map or
19835 minibuffer-local-filename-completion-map.
19837 2011-07-01 Glenn Morris <rgm@gnu.org>
19839 * type-break.el (type-break-time-sum): Use dolist.
19841 * textmodes/flyspell.el (flyspell-word-search-backward):
19842 Replace CL function.
19844 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19846 * mouse.el (mouse--strip-first-event): New function.
19847 (function-key-map): Use it to map fringe clicks to normal clicks
19850 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19851 (vc-bzr-revision-completion-table): Add support for annotate and date.
19853 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19854 inherit from parent.
19856 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19858 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19859 (dired-show-file-type): Doc fixup (bug#8818).
19861 * dired.el (dired-mode): Fix up the doc string as suggested by
19862 Drew Adams (bug#8817).
19864 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19865 cookie, since the manual says that it should be possible to add
19866 this function to `find-file-hook' (bug#8709).
19868 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19870 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19871 here. Noted Ted Zlatanov as the maintainer.
19872 (cfengine-common-settings, cfengine-common-syntax): New functions
19873 to set up common things between `cfengine-mode' and
19875 (cfengine3-mode): New mode.
19876 (cfengine3-defuns cfengine3-defuns-regex
19877 (cfengine3-class-selector-regex cfengine3-category-regex)
19878 (cfengine3-vartypes cfengine3-font-lock-keywords)
19879 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19880 (cfengine3-indent-line): Add from cfengine3.el.
19882 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19884 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19886 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19888 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19890 * window.el (same-window-buffer-names, same-window-regexps)
19891 (same-window-p, special-display-frame-alist)
19892 (special-display-popup-frame, special-display-function)
19893 (special-display-buffer-names, special-display-regexps)
19894 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19895 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19896 (split-window-preferred-function, split-height-threshold)
19897 (split-width-threshold, even-window-heights)
19898 (display-buffer-mark-dedicated, window-splittable-p)
19899 (split-window-sensibly, window-safely-shrinkable-p):
19901 (display-buffer): Don't spread args with function specifier
19902 because special-display-popup-frame won't like it.
19904 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19906 Time-stamp simplifications and fixes.
19907 These improve accuracy slightly, and future-proof the code
19908 against some potential changes to current-time format.
19910 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19911 by using time-since and float-time.
19913 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19914 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19915 + NNN microseconds".
19917 * type-break.el (type-break-time-sum): Rewrite using time-add.
19919 * play/hanoi.el (hanoi-current-time-float): Remove.
19920 All uses replaced by float-time.
19922 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19923 This yields a more-accurate answer.
19924 (rng-time-to-float): Remove; no longer needed.
19926 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19928 * calendar/timeclock.el (timeclock-seconds-to-time):
19929 Defalias to seconds-to-time, since they're the same thing.
19931 * emacs-lisp/elp.el (elp-elapsed-time):
19932 * emacs-lisp/benchmark.el (benchmark-elapse):
19933 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19935 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19937 * window.el (bury-buffer): Don't iconify the only frame.
19938 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19939 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19941 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19943 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19944 Add mouse-yank-primary.
19946 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19948 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19950 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19952 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19953 (find-library-name): Use it to find relative load names when provided
19954 absolute file name (bug#8803).
19956 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19958 * textmodes/flyspell.el (flyspell-word): Consider words that
19959 differ only in case as potential doublons (bug#5687).
19961 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19962 Remove two rather uninteresting debugging-like messages to make
19963 debbugs.el more silent.
19965 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19966 a password-like phrase.
19968 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19970 * progmodes/cc-guess.el: New file.
19972 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19974 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19975 derived from `c-basic-common-init'.
19977 * progmodes/cc-mode.el (top-level): Require cc-guess.
19978 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19980 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19982 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19984 2011-06-30 Alan Mackenzie <acm@muc.de>
19986 * progmodes/cc-engine.el (c-guess-continued-construct):
19987 Correct the handling of template-args-cont, particularly for when font
19988 lock is disabled. Name this case as "CASE G".
19990 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19992 * allout.el (allout-yank-processing): Fix injection of extra space
19993 between bullet and non-whitespace character in first topic when
19994 pasting, ensuring that the actual spacing in the pasted topic
19995 following the bullet char is preserved. This extra space was
19996 causing pasted encrypted topics to get a decrypted status even
19997 when the content was actually still encrypted. Now the decryption
19998 status from before the paste is preserved.
20000 (allout-flag-region): Set all allout overlays so they evaporate
20001 when reduced to zero length (evanescent), to prevent overlay
20004 2011-06-30 Glenn Morris <rgm@gnu.org>
20006 * w32-fns.el (w32-charset-info-alist): Declare.
20008 * find-dired.el (find-grep-options): Simplify.
20010 * term/ns-win.el (ns-set-resource): Declare.
20012 * ses.el (row, col): Declare dynamic variables honestly.
20014 * textmodes/reftex-parse.el (index-tags): Declare.
20016 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20018 * cus-edit.el (customize-push-and-save): New function.
20020 * files.el (hack-local-variables-confirm): Use it.
20022 * custom.el (load-theme): New arg NO-CONFIRM.
20023 Use customize-push-and-save (Bug#8720).
20024 (custom-enabled-themes): Doc fix.
20026 * cus-theme.el (customize-create-theme)
20027 (custom-theme-merge-theme): Callers to load-theme changed.
20029 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20031 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20032 short URLs have at least one dot in them (bug #7614).
20034 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20035 nil, because using a pty is apparently too slow (bug #895).
20037 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20039 * mail/sendmail.el (sendmail-query-once): New function.
20040 (sendmail-query-once-function): New variable.
20042 2011-06-29 Glenn Morris <rgm@gnu.org>
20044 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20046 * ses.el (top-level): Require cl when compiling.
20047 (ses-set-localvars): Fix error statement.
20048 Call it at compile time to silence a storm of warnings.
20050 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20052 * window.el (normalize-live-buffer): Rename to
20053 window-normalize-buffer.
20054 (normalize-live-frame): Rename to window-normalize-frame.
20055 (normalize-any-window): Rename to window-normalize-any-window.
20056 (normalize-live-window): Rename to window-normalize-live-window.
20057 (make-window-atom): Rename to window-make-atom.
20058 (window-resize-reset): Rename to window--resize-reset.
20059 (window-resize-reset-1): Rename to window--resize-reset-1.
20060 (resize-mini-window): Rename to window--resize-mini-window.
20061 (resize-subwindows-skip-p): Rename to
20062 window--resize-subwindows-skip-p.
20063 (resize-subwindows-normal): Rename to
20064 window--resize-subwindows-normal.
20065 (resize-subwindows): Rename to window--resize-subwindows.
20066 (resize-other-windows): Rename to window--resize-siblings.
20067 (resize-this-window): Rename to window--resize-this-window.
20068 (resize-root-window): Rename to window--resize-root-window.
20069 (resize-root-window-vertically): Rename to
20070 window--resize-root-window-vertically.
20071 (normalize-buffer-to-display): Rename to
20072 window-normalize-buffer-to-display.
20073 (normalize-buffer-to-switch-to): Rename to
20074 window-normalize-buffer-to-switch-to.
20075 Correspondingly update all callers of the functions listed
20077 (display-buffer-alist, display-buffer-normalize-arguments)
20078 (display-buffer-normalize-options, display-buffer)
20079 (display-buffer-alist-set): Use "function" instead of
20082 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20084 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20085 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20086 debbugs.gnu.org. Mention acknowledgment email.
20088 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20090 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20091 buffer multibyteness, since it shouldn't matter.
20093 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20095 * window.el (display-buffer-in-side-window): Handle dedicated
20096 windows as in display-buffer-reuse-window.
20097 (display-buffer-normalize-alist): Use value of override
20099 (display-buffer-normalize-specifiers): Use value of
20100 other-window-means-other-frame specifier.
20101 (display-buffer-alist): Rewrite some texts in widgets.
20102 (display-buffer): Spread arguments when calling function
20103 specified by fun-with-args.
20105 2011-06-28 Deniz Dogan <deniz@dogan.se>
20107 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20110 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20111 selectors (Bug#5732).
20112 (css-proprietary-nmstart-re): Use `regexp-opt'.
20114 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20116 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20117 (eshell-ls-date-format): New defcustom.
20118 (eshell-ls-file): Use it.
20120 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20122 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20124 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20126 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20127 (ange-ftp-make-tmp-name): New arg.
20128 (ange-ftp-file-local-copy): Use it.
20130 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20132 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20133 no-conversion (Bug#8870).
20135 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20137 * window.el (window-right, window-left, window-child)
20138 (window-child-count, window-last-child)
20139 (window-iso-combination-p, walk-window-tree-1)
20140 (window-atom-check-1, window-tree-1, delete-window)
20141 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20142 new naming conventions - window-vchild, window-hchild,
20143 window-next and window-prev are now called window-top-child,
20144 window-left-child, window-next-sibling and window-prev-sibling
20146 (resize-window-reset): Rename to window-resize-reset.
20147 (resize-window-reset-1): Rename to window-resize-reset-1.
20148 (resize-window): Rename to window-resize.
20149 (window-min-height, window-min-width)
20150 (resize-mini-window, resize-this-window, resize-root-window)
20151 (resize-root-window-vertically, adjust-window-trailing-edge)
20152 (enlarge-window, shrink-window, maximize-window)
20153 (minimize-window, delete-window, quit-restore-window)
20154 (split-window, balance-windows, balance-windows-area-adjust)
20155 (balance-windows-area, window-state-put-2)
20156 (display-buffer-even-window-sizes, display-buffer-set-height)
20157 (display-buffer-set-width, set-window-text-height)
20158 (fit-window-to-buffer): Rename all "resize-window" prefixed
20159 calls to use the "window-resize" prefix convention.
20160 (display-buffer-alist): Fix symbol for label specifier.
20161 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20162 corresponding specifier.
20163 Reported by Juanma Barranquero <lekktu@gmail.com>.
20165 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20167 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20169 (ses-call-printer): Does not pass an empty string to formatter when the
20170 cell is empty to keep from barking printer Calc math-format-value.
20172 2011-06-27 Richard Stallman <rms@gnu.org>
20174 * battery.el (battery-mode-line-limit): New variable.
20175 (battery-update): Handle it.
20177 * mail/rmailmm.el (rmail-mime-process-multipart):
20178 Handle truncated messages.
20180 2011-06-27 Glenn Morris <rgm@gnu.org>
20182 * progmodes/flymake.el (flymake-err-line-patterns):
20183 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20185 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20187 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20188 (ses--clean-!, ses--clean-_): New functions.
20189 (ses-range): Add configurability of readout order, and conversion
20192 * ses.el (ses-repair-cell-reference-all): New function.
20193 (ses-cell-symbol): Set macro as safe, so that it can be used in
20196 * ses.el: Update cycle detection algorithm.
20197 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20198 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20199 (ses-set-localvars): New function.
20200 (ses-make-cell): Add property-list as a cell element.
20201 (ses-cell-property-get-fun, ses-cell-property-get)
20202 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20203 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20205 (ses-cell-property-set, ses-cell-property-pop)
20206 (ses-cell-property-get-handle): New macro.
20207 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20208 New aliases, used for code readability.
20209 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20211 (ses-self-reference-early-detection): New defcustom.
20212 (ses-formula-references): Robustify against self-referring cells.
20213 (ses-mode): Use ses-set-localvars.
20214 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20215 before lauching the update processing.
20216 (ses-initialize-Dijkstra-attempt): New function.
20217 (ses-recalculate-cell): Update for cycle detection based on
20218 Dijkstra algorithm.
20220 * ses.el: Fix commenting and indenting convention.
20222 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20224 * bs.el (bs-cycle-next): Complete last change.
20226 2011-06-27 Drew Adams <drew.adams@oracle.com>
20228 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20230 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20232 * net/network-stream.el (network-stream-open-starttls):
20233 Don't re-get capabilities unless we've reestablished connection.
20234 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20236 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20237 to binary to possibly avoid line encoding issues on Windows (among
20240 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20242 * net/network-stream.el (open-network-stream): Return an :error
20243 saying what the problem was, if possible.
20245 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20248 * net/network-stream.el (network-stream-open-starttls): If we
20249 wanted to use STARTTLS, and the server offered it, but we weren't
20250 able to because we had no STARTTLS support, then close the connection.
20251 (open-network-stream): Return an :error element, if present.
20253 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20255 * hl-line.el (hl-line-sticky-flag): Doc fix.
20256 (global-hl-line-sticky-flag): New option (Bug#8323).
20257 (global-hl-line-highlight): Obey it.
20259 * vc/vc.el (vc-revert-show-diff): Default to t.
20261 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20263 * allout-widgets.el (allout-widgets-post-command-business):
20264 Stop decorating intermediate isearch matches. They're not being
20265 undecorated when an isearch is continued past, and isearch
20266 automatically collapses them. This leads to "widget leaks", where
20267 decorated items accumulate in collapsed areas. Lines with lots of
20268 hidden widgets can slow down cursor travel, substantially.
20269 Too much complicated machinery would be needed to ensure undecoration,
20270 so we're doing without this nicety.
20272 (allout-widgets-tally-string): Don't try to do a hash-table-count
20273 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20274 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20275 *Messages* when allout-widgets-maintain-tally is t.
20277 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20279 * window.el (display-buffer-normalize-argument): Rename to
20280 display-buffer-normalize-arguments. Handle special meaning of
20281 LABEL argument. Respect special-display-function when popping up
20282 a new frame. Fix code searching for a window showing the buffer
20284 (display-buffer-normalize-specifiers):
20285 Call display-buffer-normalize-arguments.
20286 (display-buffer-in-window): Don't undedicate the window if its
20287 buffer remains the same.
20288 Reported by Drew Adams <drew.adams@oracle.com>.
20289 (display-buffer-alist): Add choice for same-window macro
20291 (display-buffer): Mention special meaning of LABEL argument in
20292 doc-string. Fix quoting. Don't pop up a new frame even as
20295 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20297 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20298 avoid deleting the current window in some cases (bug#8911).
20300 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20302 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20305 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20307 * net/network-stream.el (network-stream-open-starttls):
20308 Use built-in TLS support if `gnutls-available-p' is true.
20309 (network-stream-open-tls): Ditto.
20311 2011-06-26 Leo Liu <sdl.web@gmail.com>
20313 * register.el (registerv): New struct.
20314 (registerv-make): New function.
20315 (jump-to-register, describe-register-1, insert-register):
20316 Support the jump-func, print-func and insert-func slot of a registerv
20319 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20321 * vc/vc.el (vc-revert-show-diff): New defcustom.
20322 (vc-diff-internal): New arg specifying diff buffer.
20323 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20324 reuse an existing *vc-diff* buffer (Bug#8927).
20326 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20328 2011-06-26 Glenn Morris <rgm@gnu.org>
20330 * progmodes/f90.el (f90-critical-indent): New option.
20331 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20332 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20333 (f90-mode): Doc fix.
20334 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20335 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20336 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20337 (f90-match-end): Handle block, critical.
20339 2011-06-25 Glenn Morris <rgm@gnu.org>
20341 * calendar/diary-lib.el (diary-included-files): Doc fix.
20342 (diary-include-files): New function, extracted from
20343 diary-include-other-diary-files and diary-mark-included-diary-files.
20344 (diary-include-other-diary-files, diary-mark-included-diary-files):
20345 Just call diary-include-files.
20346 (diary-mark-entries): Reset diary-included-files on first call.
20348 * calendar/diary-lib.el (diary-mark-entries)
20349 (diary-mark-included-diary-files):
20350 Visit included diary-files in temp buffers.
20352 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20353 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20354 (f90-start-block-re, f90-imenu-generic-expression)
20355 (f90-looking-at-program-block-start, f90-no-block-limit):
20356 Add support for submodules.
20358 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20359 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20361 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20363 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20364 buffer-file-type before setting its value, to avoid disastrous
20365 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20367 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20369 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20371 * ses.el (ses-unload-function):
20372 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20374 * proced.el (proced-unload-function):
20375 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20377 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20379 * server.el (server-create-window-system-frame): Add parameters arg.
20380 (server-process-filter): Doc fix. Handle frame-parameters.
20382 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20384 Fix bug#8730, bug#8781.
20386 * loadhist.el (unload--set-major-mode): New function.
20387 (unload-feature): Use it.
20389 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20390 (python-unload-function): New function.
20392 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20394 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20396 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20398 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20399 the candidates list.
20401 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20403 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20405 2011-06-23 Richard Stallman <rms@gnu.org>
20407 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20408 (rmail-variables): Set next-error-move-function.
20409 (rmail-what-message): Take argument POS.
20410 (rmail-next-error-move): New function.
20412 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20414 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20415 messages for adjacent non-terminals.
20417 2011-06-23 Richard Stallman <rms@gnu.org>
20419 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20420 (rmail-show-message-1): Preserve buffer modified flag.
20421 (rmail-start-mail): Don't specify use of rmail-mail-return;
20422 that's done by mail-bury now.
20423 (rmail-mail-return): Handle arg NEWBUF.
20425 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20427 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20430 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20432 * window.el (get-lru-window, get-mru-window)
20433 (get-largest-window): Never return a minibuffer window.
20434 (display-buffer-pop-up-window): Fix a bug that could lead to
20435 reusing the minibuffer window.
20436 (display-buffer): Pass original specifier argument to
20437 display-buffer-function instead of the normalized one.
20438 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20440 2011-06-22 Leo Liu <sdl.web@gmail.com>
20442 * minibuffer.el (completing-read-function)
20443 (completing-read-default): Move from minibuf.c.
20445 2011-06-22 Richard Stallman <rms@gnu.org>
20447 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20448 to Rmail even if not started by a special Rmail command.
20450 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20451 Copy the buffer currently showing just one message.
20453 2011-06-22 Roland Winkler <winkler@gnu.org>
20455 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20456 (bibtex-clean-entry): First delete the old key so that a
20457 customized algorithm for generating the new key does not get
20458 confused by the old key.
20459 (bibtex-url): Obey regexp of first step.
20460 (bibtex-search-entries): Do not use add-to-list with local
20463 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20465 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20466 stored a user name, then query for the password first, instead of
20467 waiting for SMTP to give an error message and the trying again.
20469 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20471 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20472 BUFFER in call-process.
20474 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20476 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20478 (smtpmail-try-auth-methods): Require user name and password from
20481 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20483 * window.el (display-buffer-default-specifiers)
20484 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20485 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20486 (split-window): Normalize SIDE argument (Bug#8916).
20488 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20489 (special-display-frame-alist, special-display-popup-frame):
20490 Remove duplicate declarations. These are now in window.el.
20492 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20494 * mail/smtpmail.el (smtpmail-via-smtp):
20495 Set :use-starttls-if-possible so that we always use STARTTLS if the
20496 server supports it. SMTP servers that support STARTTLS commonly
20499 * net/network-stream.el (network-stream-open-starttls): Support
20500 upgrading to STARTTLS always, even if we don't have built-in support.
20501 (open-network-stream): Add the :always-query-capabilities keyword.
20503 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20504 upgrades with `open-network-stream', and rely solely on
20505 auth-source for all credentials. Big changes throughout the file,
20507 (smtpmail-auth-credentials): Remove.
20508 (smtpmail-starttls-credentials): Remove.
20509 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20512 * net/network-stream.el (network-stream-open-starttls):
20513 Provide support for client certificates both for external and built-in
20515 (auth-source): Require.
20516 (open-network-stream): Document the :client-certificate keyword.
20517 (network-stream-certificate): Change cert-cert to cert and
20520 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20522 * net/tramp-cache.el (top): Don't load the persistency file when
20523 "emacs -Q" has been called.
20525 2011-06-21 Tim Harper <timcharper@gmail.com>
20527 * term/ns-win.el (ns-initialize-window-system):
20528 Set application-specific `ApplePressAndHoldEnabled' system
20529 resource to NO as it is not yet supported by the NS port.
20531 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20533 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20534 (list-dynamic-libraries): ...not here.
20536 2011-06-21 Leo Liu <sdl.web@gmail.com>
20538 * subr.el (sha1): Implement sha1 using secure-hash.
20540 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20542 * window.el (display-buffer-alist): In default value do not
20543 enforce searching a window on any but the selected frame.
20544 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20545 (display-buffer-select-window): Remove function.
20546 (display-buffer-in-window): When a window on another frame gets
20547 reused, do not select it any more but just raise its frame if
20548 necessary (Bug#8851) and (Bug#8856).
20549 (display-buffer-normalize-options): Handle pop-up-frames related
20550 options more faithfully.
20551 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20552 window if it is on another frame.
20553 (display-buffer-alist, display-buffer-default-specifiers):
20554 Don't make new frame unsplittable by default.
20555 (display-buffer-normalize-argument): Fix doc-string typo and use
20556 'same-frame-other-window instead of 'other-window when associating
20557 with display-buffer-macro-specifiers.
20559 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20561 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20563 (5x5-mode-map, 5x5-mode-menu): Bind them.
20564 (5x5-draw-grid): Tweak the solver's rendering.
20566 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20568 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20569 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20571 2011-06-21 Drew Adams <drew.adams@oracle.com>
20573 * menu-bar.el: Use function variable instead of switch-to-buffer.
20574 (menu-bar-select-buffer-function): New variable.
20575 (menu-bar-update-buffers): Use it (bug#8876).
20577 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20579 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20582 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20584 * x-dnd.el (x-dnd-version-from-flags)
20585 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20586 and long as number (Bug#8899).
20587 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20589 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20591 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20592 (completion-try-completion, completion-all-completions): Compute the
20593 metadata argument if it's missing; make it optional (bug#8795).
20595 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20596 (widget-complete): Use new :completion-function property.
20597 (widget-completions-at-point): New function.
20598 (default): Use :completion-function instead of :complete.
20599 (widget-default-completions): Rename from widget-default-complete;
20601 (widget-string-complete, widget-file-complete, widget-color-complete):
20603 (file, symbol, function, variable, coding-system, color):
20604 * international/mule-cmds.el (default-input-method, charset)
20605 (language-info-custom-alist):
20606 * cus-edit.el (face): Use new property :completions.
20608 * progmodes/pascal.el (pascal-completions-at-point): New function.
20609 (pascal-mode): Use it.
20610 (pascal-mode-map): Use completion-at-point.
20611 (pascal-toggle-completions): Make obsolete.
20612 (pascal-complete-word, pascal-show-completions):
20613 * progmodes/octave-mod.el (octave-complete-symbol):
20614 Redefine as obsolete alias.
20615 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20616 Signal absence of completion info for old Octave,
20617 (inferior-octave-complete): Redefine as obsolete alias.
20618 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20619 (meta-completions-at-point): Rename from meta-complete-symbol and
20620 adapt it for use on completion-at-point-functions.
20621 (meta-common-mode): Use it.
20622 (meta-looking-at-backward, meta-match-buffer): Remove.
20623 (meta-complete-symbol): Redefine as obsolete alias.
20624 (meta-common-mode-map): Use completion-at-point.
20625 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20626 (makefile-mode-map): Use completion-at-point.
20627 (makefile-completions-at-point): Rename from makefile-complete and
20628 adapt it for use on completion-at-point-functions.
20629 (makefile-mode): Use it.
20630 (makefile-complete): Redefine as obsolete alias.
20632 2011-06-20 Deniz Dogan <deniz@dogan.se>
20634 * net/rcirc.el: Delete trailing whitespaces once and for all.
20636 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20638 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20640 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20642 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20644 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20646 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20648 * window.el (display-buffer-other-window-means-other-frame):
20649 Call display-buffer-normalize-alist.
20650 (display-buffer-normalize-specifiers-1): Rename to
20651 display-buffer-normalize-argument. New argument other-frame.
20653 (display-buffer-normalize-specifiers-2): Rename to
20654 display-buffer-normalize-options.
20655 (display-buffer-normalize-alist-1): New function.
20656 (display-buffer-normalize-specifiers-3): Rename to
20657 display-buffer-normalize-alist.
20658 Call display-buffer-normalize-alist-1.
20659 (display-buffer-normalize-options-inhibit): New variable.
20660 (display-buffer-normalize-specifiers): Rewrite calling
20661 display-buffer-normalize-alist,
20662 display-buffer-normalize-argument, and
20663 display-buffer-normalize-options. Don't call the latter if
20664 display-buffer-normalize-options-inhibit is non-nil.
20665 (frame-auto-delete): New option.
20666 (window-deletable-p): Use frame-auto-delete.
20667 (window-list-no-nils, window-state-ignored-parameters)
20668 (window-state-get-1, window-state-get, window-state-put-list)
20669 (window-state-put-1, window-state-put-2, window-state-put):
20671 (display-buffer-normalize-options): Move special-display-p group
20672 after pop-up-frame group (Bug#8851) and (Bug#8856).
20674 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20676 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20678 (rx-submatch-n): New function.
20681 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20684 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20686 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20688 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20689 anytime existing face settings are present (Bug#8889).
20691 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20692 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20693 Remove unused argument.
20695 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20697 * window.el (display-buffer-default-specifiers):
20698 Remove pop-up-frame. Add pop-up-window-min-height,
20699 pop-up-window-min-width, and another reuse-window specifier
20700 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20701 (display-buffer-normalize-specifiers-2):
20702 Handle split-height-threshold and split-width-threshold also when
20703 pop-up-windows is unset. Add a reuse-window specifier for the
20704 case popping up a new window fails.
20705 (special-display-popup-frame): Remove double quoting.
20706 (display-buffer-normalize-specifiers-1): Fix thinko.
20708 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20710 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20711 according to comint-completion-addsuffix.
20713 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20714 (pcomplete-suffix-list): Mark as obsolete.
20715 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20716 pcomplete-seen in the closure.
20717 (pcomplete-comint-setup): Setup completion-at-point as well.
20718 (pcomplete--entries): New function.
20719 (pcomplete--env-regexp): New var.
20720 (pcomplete-entries): Rewrite to work with partial-completion and
20721 without relying on pcomplete-suffix-list.
20722 (pcomplete-pare-list): Remove, unused.
20724 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20726 * window.el (display-buffer-alist): Set pop-up-window-min-height
20727 and pop-up-window-min-width in default value. Reported by
20728 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20729 other-window-means-other-frame.
20730 (display-buffer-macro-specifiers): Comment out entry for
20731 other-window specifier.
20732 (display-buffer-other-window-means-other-frame): New function.
20733 (display-buffer-normalize-specifiers-1): New arguments
20734 buffer-name and label. Treat other-window case specially.
20735 (display-buffer-normalize-specifiers-2): Treat other-window case
20737 (display-buffer-normalize-specifiers-3): New function.
20738 (display-buffer-normalize-specifiers):
20739 Call display-buffer-normalize-specifiers-3.
20741 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20743 * window.el (same-window-p): Fix two typos introduced when
20744 adding with-no-warnings.
20745 (display-buffer-normalize-specifiers-1): Don't check
20746 pop-up-frames for 'unset initialization.
20747 (display-buffer-normalize-specifiers-2): Major rewrite using
20748 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20749 (pop-up-frames, display-buffer-reuse-frames)
20750 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20751 Suggested by David Engster <deng@randomsample.de>.
20752 (even-window-heights): Initialize to 'unset.
20753 (display-buffer-alist-set): Handle new 'unset initializations.
20754 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20757 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20759 * window.el (display-buffer-normalize-specifiers-1):
20760 Respect current value of pop-up-frames for most reasonable values of
20761 second argument of display-buffer (Bug#8865).
20762 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20763 (switch-to-buffer-other-window-same-frame)
20764 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20766 (display-buffer): Don't check noninteractive when calling
20767 display-buffer-pop-up-frame.
20768 (display-buffer-pop-up-frame): Never pop up a frame in
20769 noninteractive mode (Bug#8857).
20770 (enlarge-window, shrink-window): Don't report an error when the
20771 window can't be resized as requested (Bug#8862).
20773 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20775 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20777 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20779 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20781 2011-06-15 Alan Mackenzie <acm@muc.de>
20783 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20784 for declarators, disable knr checking to speed up for normal files.
20785 2: Refactor, replacing a sequence of nested if forms by a cond form.
20787 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20789 * net/network-stream.el (open-network-stream): Add the keyword
20790 :always-query-capabilities for the case where you want to force a
20791 `plain' network connection, but the protocol still requires the
20792 capabilitiy command (i.e., SMTP and EHLO).
20794 * subr.el (process-live-p): Rename from `process-alive-p' for
20795 consistency with other `-live-p' functions.
20797 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20799 * window.el (same-window-buffer-names, same-window-regexps)
20800 (special-display-frame-alist, special-display-popup-frame)
20801 (special-display-function, special-display-buffer-names)
20802 (special-display-regexps, pop-up-frame-alist)
20803 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20804 (pop-up-windows, split-window-preferred-function)
20805 (split-height-threshold, split-width-threshold, even-window-heights)
20806 (display-buffer-mark-dedicated): Don't encourage the use of
20807 display-buffer-alist from Elisp code.
20809 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20811 * progmodes/python.el (python-mode): Derive from prog-mode.
20812 * progmodes/ps-mode.el (ps-mode):
20813 * progmodes/mixal-mode.el (mixal-mode):
20814 * progmodes/cfengine.el (cfengine-mode):
20815 * progmodes/ld-script.el (ld-script-mode): Likewise.
20817 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20819 * window.el (display-buffer-alist): Trim default value to avoid
20820 popping up a new frame (Bug#8857) or reusing an arbitrary window
20822 (display-buffer): Do not fall back on popping up a new frame in
20823 batch mode (Bug#8857).
20825 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20827 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20828 (custom-theme-summary): New function.
20829 (customize-themes): Use it.
20831 2011-06-13 Glenn Morris <rgm@gnu.org>
20833 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20835 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20837 * help.el (help-window): Remove variable.
20838 (help-window-point-marker, temp-buffer-max-height)
20839 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20840 (help-print-return-message): Don't set help-window.
20841 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20842 (help-window-setup-finish): Remove.
20843 (help-window-display-message, help-window-setup)
20844 (with-help-window): Major rewrite based on new
20845 display-buffer-window variable.
20847 * help-mode.el (help-mode-finish): Remove help-window related
20850 * view.el (view-exits-all-viewing-windows): Remove reference to
20851 view-return-to-alist in doc-string.
20852 (view-return-to-alist): Make obsolete.
20853 (view-buffer): Call pop-to-buffer-same-window and remove
20855 (view-buffer-other-window): Call pop-to-buffer-other-window and
20856 simplify code. Ignore second argument.
20857 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20858 simplify code. Ignore second argument.
20859 (view-return-to-alist-update): Make obsolete.
20860 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20861 Rewrite using quit-restore window parameters.
20862 (view-mode-exit): Rename second argument to EXIT-ONLY.
20863 Rewrite using quit-restore-window.
20864 (View-exit, View-exit-and-edit, View-leave, View-quit)
20865 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20866 appropriate arguments.
20867 (view-end-message): Use quit-restore window parameter.
20869 * window.el (display-buffer-function): Rewrite doc-string.
20870 (display-buffer-window, display-buffer-alist): New variables.
20871 (display-buffer-split-specifiers)
20872 (display-buffer-side-specifiers)
20873 (display-buffer-macro-specifiers): New constants.
20874 (display-buffer-even-window-sizes, display-buffer-set-height)
20875 (display-buffer-set-width, display-buffer-select-window)
20876 (display-buffer-in-window, display-buffer-reuse-window)
20877 (display-buffer-split-window-1, display-buffer-split-window)
20878 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20879 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20880 (display-buffer-in-side-window, normalize-buffer-to-display)
20881 (display-buffer-normalize-specifiers-1)
20882 (display-buffer-normalize-specifiers-2)
20883 (display-buffer-normalize-specifiers, display-buffer-frame):
20885 (display-buffer): Major rewrite.
20886 (display-buffer-other-window, display-buffer-other-frame)
20887 (pop-to-buffer, switch-to-buffer-other-window)
20888 (switch-to-buffer-other-frame): Rewrite.
20889 (display-buffer-same-window, display-buffer-same-frame)
20890 (display-buffer-same-frame-other-window)
20891 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20892 (pop-to-buffer-other-window)
20893 (pop-to-buffer-same-frame-other-window)
20894 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20895 (switch-to-buffer-other-window-same-frame): New functions.
20896 (same-window-p, special-display-p): Rewrite disabling warnings.
20898 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20899 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20901 (same-window-buffer-names, same-window-regexps)
20902 (special-display-frame-alist, special-display-popup-frame)
20903 (special-display-function, special-display-buffer-names)
20904 (special-display-regexps, pop-up-frame-alist)
20905 (pop-up-frame-function, split-window-preferred-function)
20906 (split-height-threshold, split-width-threshold)
20907 (even-window-heights): Make obsolete.
20909 2011-06-12 Glenn Morris <rgm@gnu.org>
20911 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20912 Misc simplifications.
20914 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20916 * window.el (window-safely-shrinkable-p): Restore function which
20917 was inadvertently removed in change from 2011-06-11. Declare as
20920 * calendar/calendar.el (calendar-generate-window):
20921 Use window-iso-combined-p instead of combination of one-window-p and
20922 window-safely-shrinkable-p.
20924 2011-06-12 Glenn Morris <rgm@gnu.org>
20926 * progmodes/fortran.el (fortran-mode-syntax-table):
20927 * progmodes/f90.el (f90-mode-syntax-table):
20928 Set % to punctuation. (Bug#8820)
20929 (f90-find-tag-default): Remove, no longer needed.
20931 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20933 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20935 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20937 * image.el (image-animated-p): Return animation delay in seconds.
20938 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20939 (image-animate-timeout): Remove DELAY argument. Don't assume
20940 every subimage has the same delay; get it from image-animated-p.
20941 (image-animate): Caller changed.
20943 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20945 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20946 to ignored backtrace functions.
20948 2011-06-11 Glenn Morris <rgm@gnu.org>
20950 * calendar/appt.el (appt-disp-window-function): Doc fix.
20951 (appt-check): Handle overlapping appointments. (Bug#8337)
20953 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20955 * window.el (window-tree-1, window-tree): New functions, moving
20956 the latter to window.el.
20957 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20958 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20959 (bw-refresh-edges): Remove.
20960 (balance-windows-1, balance-windows-2): New functions.
20961 (balance-windows): Rewrite in terms of window tree functions,
20962 balance-windows-1 and balance-windows-2.
20963 (bw-adjust-window): Remove.
20964 (balance-windows-area-adjust): New function with functionality of
20965 bw-adjust-window but using resize-window.
20966 (set-window-text-height): Rewrite doc-string.
20967 Use normalize-live-window and resize-window.
20968 (enlarge-window-horizontally, shrink-window-horizontally):
20969 Rename argument to DELTA.
20970 (window-buffer-height): New function.
20971 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20972 Rewrite using new window resize routines.
20973 (kill-buffer-and-window, mouse-autoselect-window-select):
20974 Use ignore-errors instead of condition-case.
20975 (quit-window): Call delete-frame instead of delete-windows-on
20976 for the only buffer on frame.
20978 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20980 * loadup.el (top-level): Load window before files for the sake
20981 of replace-buffer-in-windows.
20983 * files.el (read-buffer-to-switch)
20984 (switch-to-buffer-other-window)
20985 (switch-to-buffer-other-frame, display-buffer-other-frame):
20988 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20989 (previous-buffer): Move to window.el.
20991 * bindings.el (unbury-buffer): Move to window.el.
20993 * window.el (delete-other-windows-vertically): Move after
20994 definition of delete-other-windows.
20995 (other-window, delete-windows-on, replace-buffer-in-windows):
20996 Move here from window.c.
20997 (record-window-buffer, unrecord-window-buffer)
20998 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20999 (switch-to-next-buffer): New functions.
21000 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21001 from simple.el. Call switch-to-next-buffer.
21002 (previous-buffer): Move here from simple.el.
21003 Call switch-to-prev-buffer.
21004 (bury-buffer): Move here from buffer.c. Switch to previous
21005 buffer when window cannot be deleted.
21006 (unbury-buffer): Move here from bindings.el.
21007 (ctl-x-map): Move binding for other-window from window.c to
21009 (read-buffer-to-switch, switch-to-buffer-other-window)
21010 (switch-to-buffer-other-frame): Move here from files.el.
21011 (normalize-buffer-to-switch-to): New functions.
21012 (switch-to-buffer): Move here from buffer.c.
21013 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21015 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21017 * window.el (window-min-height, window-min-width): Move here
21018 from window.c. Add defcustoms and rewrite doc-strings.
21019 (resize-mini-window, resize-window): New functions.
21020 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21021 Move here from window.c.
21022 (maximize-window, minimize-window): New functions.
21023 (delete-window, delete-other-windows, split-window): Move here
21025 (window-split-min-size): New function.
21026 (split-window-keep-point): Mention split-window-above-each-other
21027 instead of split-window-vertically.
21028 (split-window-above-each-other, split-window-vertically):
21029 Rename split-window-vertically to split-window-above-each-other
21030 and provide defalias for old definition.
21031 (split-window-side-by-side, split-window-horizontally):
21032 Rename split-window-horizontally to split-window-side-by-side
21033 and provide defalias for the old definition.
21034 (ctl-x-map): Move bindings for delete-window,
21035 delete-other-windows and enlarge-window here from window.c.
21036 Replace bindings for split-window-vertically and
21037 split-window-horizontally by bindings for
21038 split-window-above-each-other and split-window-side-by-side.
21040 * cus-start.el (all): Remove entries for window-min-height and
21041 window-min-width. Add entries for window-splits and
21044 2011-06-09 Glenn Morris <rgm@gnu.org>
21046 * calendar/appt.el (appt-mode-line): New function.
21047 (appt-check, appt-disp-window): Use it.
21049 * files.el (hack-one-local-variable-eval-safep):
21050 Allow minor-modes with explicit +/-1 arguments.
21052 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21054 * term/xterm.el (xterm): Add defgroup.
21055 (xterm-extra-capabilities): Add defcustom to supply known xterm
21056 capabilities, skip querying them, or query them (default).
21057 (terminal-init-xterm): Use it.
21058 (terminal-init-xterm-modify-other-keys): New function to set up
21059 modifyOtherKeys support to simplify `terminal-init-xterm'.
21061 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21063 * window.el (resize-window-reset, resize-window-reset-1)
21064 (resize-subwindows-skip-p, resize-subwindows-normal)
21065 (resize-subwindows, resize-other-windows, resize-this-window)
21066 (resize-root-window, resize-root-window-vertically)
21067 (window-deletable-p, window-or-subwindow-p)
21068 (frame-root-window-p): New functions.
21070 2011-06-09 Glenn Morris <rgm@gnu.org>
21072 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21073 (ange-ftp-get-files): Use it.
21075 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21077 * mail/sendmail.el (mail-recover-1, mail-recover):
21078 * files.el (recover-file, recover-session):
21079 Handle dired-listing-switches not being just a single short option.
21081 2011-06-09 Glenn Morris <rgm@gnu.org>
21083 * calendar/appt.el (appt-display-message, appt-disp-window):
21084 Handle lists of appointments.
21086 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21088 * window.el (one-window-p): Move down in code.
21089 Rewrite doc-string.
21090 (window-current-scroll-bars): Rewrite doc-string.
21091 Normalize live window argument.
21092 (walk-windows, get-window-with-predicate, count-windows):
21093 Rewrite doc-string. Use window-list-1.
21094 (window-in-direction-2, window-in-direction, get-mru-window):
21097 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21099 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21100 Doc fix (Bug#8713).
21102 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21104 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21106 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21108 * loadhist.el (unload-feature-special-hooks):
21109 Add `comint-output-filter-functions'.
21111 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21113 * calendar/appt.el (appt-check): Move some initializations into the let.
21115 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21117 * window.el (window-height): Defalias to window-total-height.
21118 (window-width): Defalias to window-body-width.
21120 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21122 * image-mode.el (image-toggle-animation): New command.
21123 (image-mode-map): Bind it to RET.
21124 (image-mode): Update message.
21125 (image-toggle-display-image): Avoid a spurious cache flush.
21126 (image-transform-rotation): Doc fix.
21127 (image-transform-properties): Return quickly in the normal case.
21128 (image-animate-loop): Rename from image-animate-max-time.
21130 * image.el (image-animate-max-time): Move to image-mode.el.
21131 (create-animated-image): Remove unnecessary function.
21132 (image-animate): Rename from image-animate-start. New arg.
21133 (image-animate-stop): Remove; just use image-animate-timer.
21134 (image-animate-timer): Use car-safe.
21135 (image-animate-timeout): Rename argument.
21137 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21139 * window.el (get-lru-window, get-largest-window): Move here from
21140 window.c. Rename first argument to ALL-FRAMES.
21141 Rephrase doc-strings.
21142 (get-buffer-window-list): Rewrite using window-list-1.
21143 Rephrase doc-string.
21144 (window-safe-min-height, window-safe-min-width): New constants.
21145 (window-size-ignore, window-min-size, window-min-size-1)
21146 (window-sizable, window-sizable-p, window-size-fixed-1)
21147 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21148 (window-max-delta-1, window-max-delta, window-resizable)
21149 (window-resizable-p, window-total-height, window-total-width)
21150 (window-body-width): New functions.
21151 (window-full-height-p, window-full-width-p): Rewrite using
21153 (window-body-height): Rewrite using window-body-size.
21155 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21157 * window.el (window-right, window-left, window-child)
21158 (window-child-count, window-last-child, window-any-p)
21159 (normalize-live-buffer, normalize-live-frame)
21160 (normalize-any-window, normalize-live-window)
21161 (window-iso-combination-p, window-iso-combined-p)
21162 (window-iso-combinations)
21163 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21164 (windows-with-parameter, window-with-parameter)
21165 (window-atom-root, make-window-atom, window-atom-check-1)
21166 (window-atom-check, window-side-check, window-check):
21168 (ignore-window-parameters, window-sides, window-sides-vertical)
21169 (window-sides-slots): New variables.
21170 (window-size-fixed): Move down in code. Minor doc-string fix.
21172 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21174 * comint.el (comint-dynamic-complete-as-filename)
21175 (comint-dynamic-complete-filename): Correctly call
21176 completion-in-region.
21178 2011-06-05 Deniz Dogan <deniz@dogan.se>
21180 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21183 2011-06-05 Deniz Dogan <deniz@dogan.se>
21185 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21186 (rcirc): Use it to prompt for encryption.
21188 2011-06-05 Roland Winkler <winkler@gnu.org>
21190 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21191 (bibtex-search-entries): New command bound to C-c C-a.
21192 (bibtex-display-entries): New function.
21194 2011-06-05 Roland Winkler <winkler@gnu.org>
21196 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21197 (bibtex-insert-kill): After yanking insert newline if necessary.
21198 (bibtex-initialize): Call bibtex-string-files-init only once.
21199 (bibtex-mode): Do not call easy-menu-add.
21200 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21201 (bibtex-yank): Set arg properly if nil.
21203 2011-06-05 Roland Winkler <winkler@gnu.org>
21205 * textmodes/bibtex.el (bibtex-search-entry-globally):
21207 (bibtex-search-entry): Use it.
21209 2011-06-05 Roland Winkler <winkler@gnu.org>
21211 * textmodes/bibtex.el (bibtex-entry-format): New option
21213 (bibtex-format-entry, bibtex-reformat): Honor this option.
21214 (bibtex-parse-entry): Return fields in proper order.
21216 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21218 * doc-view.el (doc-view-remove-if): Move computation of result out
21219 of `dolist' to silence misleading lexical-binding warning.
21221 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21223 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21224 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21226 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21228 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21231 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21233 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21234 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21235 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21236 (tramp-parse-putty):
21237 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21238 (tramp-completion-function-alist-ssh)
21239 (tramp-completion-function-alist-telnet)
21240 (tramp-completion-function-alist-su)
21241 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21244 * net/tramp-ftp.el:
21246 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21247 load "tramp.el" `tramp-set-completion-function'.
21249 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21251 * shell.el: Require and use pcomplete.
21252 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21253 (shell-completion-vars): Set pcomplete-default-completion-function.
21255 2011-06-04 Deniz Dogan <deniz@dogan.se>
21257 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21260 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21262 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21264 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21266 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21267 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21268 * vc/log-view.el (log-view-beginning-of-defun):
21269 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21270 (smerge-refine-forward, smerge-refine-chopup-region):
21271 Silence warning for unused `dotimes' counter variables.
21273 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21275 * net/tramp.el (tramp-with-progress-reporter): Rename from
21276 with-progress-reporter. Use `declare'.
21277 * net/tramp-smb.el:
21279 * net/tramp-gvfs.el: Update all uses.
21281 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21283 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21284 buffer isn't killed before making it current.
21286 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21288 Silence various byte-compiler warnings.
21289 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21290 `access-type' and new obsolescence format.
21291 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21293 (byte-compile-check-variable): New `access-type' argument.
21294 Only warn if the access-type is obsolete.
21295 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21296 (byte-compile-variable-set): Adjust callers.
21297 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21298 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21299 setting it as obsolete.
21300 * simple.el (minibuffer-completing-symbol):
21301 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21302 access as obsolete.
21303 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21305 * international/quail.el (quail-mouse-choose-completion): Remove unused
21306 code referring to obsolete var.
21307 (quail-choose-completion-string): Remove.
21308 * server.el (server-clients-with, server-kill-buffer-query-function)
21309 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21310 * proced.el (proced-send-signal):
21311 * emacs-lisp/lisp.el (lisp-complete-symbol):
21312 Replace completion-annotate-function with completion-extra-properties.
21314 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21316 * simple.el (goto-line): Use read-number.
21317 (overriding-map-is-bound): Remove.
21318 (saved-overriding-map): Change default.
21319 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21320 Take the map as argument.
21321 (universal-argument, negative-argument, digit-argument): Use it.
21322 (restore-overriding-map): Adjust.
21323 (do-auto-fill): Use fill-forward-paragraph.
21324 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21326 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21327 (minibuffer-inactive-mode): New major mode.
21328 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21329 the *Messages* buffer" hack.
21330 (mouse-popup-menubar): Don't burp if the event is a normal key.
21332 Miscellaneous tweaks.
21333 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21334 lexical scoping as in subr.el's dolist and dotimes.
21335 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21336 Silence compiler warning.
21337 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21338 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21339 * international/ccl.el (ccl-compile): Trivial simplification.
21340 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21341 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21342 `printflag' argument.
21343 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21344 Purecopy the whole obsolescence data.
21346 2011-06-01 Leo Liu <sdl.web@gmail.com>
21348 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21349 improve doc-string as suggested by Marco Pessotto
21350 <melmothx@gmail.com>.
21351 (rcirc-print): Fix last change.
21353 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21355 * minibuffer.el (complete-with-action): Return nil for the metadata and
21356 boundaries of non-functional tables.
21357 (completion-table-dynamic): Return nil for the metadata.
21358 (completion-table-with-terminator): Add default case, using
21359 complete-with-action.
21360 (completion--metadata): New function.
21361 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21362 to try and avoid pathological performance problems.
21363 (completion--embedded-envvar-table): Return `category' metadata.
21365 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21367 * subr.el (process-alive-p): New tiny convenience function.
21369 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21371 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21372 content but also its previous major mode.
21374 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21376 * emacs-lisp/debug.el (debug): Restore the previous content of the
21377 *Backtrace* buffer when we exit with C-M-c.
21379 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21381 * minibuffer.el: Add metadata method to completion tables.
21382 (completion-category-overrides): New defcustom.
21383 (completion-metadata, completion--field-metadata)
21384 (completion-metadata-get, completion--styles)
21385 (completion--cycle-threshold): New functions.
21386 (completion-try-completion, completion-all-completions):
21387 Add `metadata' argument to choose completion-styles.
21388 (completion--do-completion): Use metadata to choose cycling.
21389 (completion-all-sorted-completions): Use metadata for sorting.
21390 Remove :completion-cycle-penalty which is not needed any more.
21391 (completion--try-word-completion): Add `metadata' argument.
21392 (minibuffer-completion-help): Check metadata for annotation function
21394 (completion-file-name-table): Return `category' metadata.
21395 (minibuffer-completing-file-name): Make obsolete.
21396 * simple.el (minibuffer-completing-symbol): Make obsolete.
21397 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21398 completion-try-completion.
21400 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21402 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21404 2011-05-30 Leo Liu <sdl.web@gmail.com>
21406 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21407 (rcirc-print): Decode all incoming messages (bug#8744).
21408 (rcirc-decode-coding-system): Allow value nil for automatic coding
21411 2011-06-01 Glenn Morris <rgm@gnu.org>
21413 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21415 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21417 * image.el (image-animate-max-time): Allow nil and t values.
21419 (create-animated-image): Doc fix.
21420 (image-animate-start): Remove second arg; just use
21421 image-animate-max-time.
21422 (image-animate-timeout): Doc fix. Args changed.
21424 * image-mode.el (image-toggle-display-image): Ensure that the
21425 image spec passed to the animate timer is the same object as in
21426 the buffer's display property (Bug#6981).
21427 (image-transform-properties): Doc fix.
21429 * image.el (image-animate-max-time): Default to nil.
21431 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21433 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21434 entire buffer list (Bug#8184).
21436 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21438 * image.el (imagemagick-types-inhibit)
21439 (imagemagick-register-types): Doc fix.
21441 2011-05-29 Deniz Dogan <deniz@dogan.se>
21443 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21446 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21448 * select.el: Don't perform clipboard-manager saving in hooks;
21449 leave the hooks empty.
21451 2011-05-28 Leo Liu <sdl.web@gmail.com>
21453 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21454 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21455 (occur-edit-mode): New major mode (Bug#8463).
21456 (occur-after-change-function): New function.
21457 (occur-engine): Give Occur tags a read-only property.
21459 2011-05-28 Kevin Ryde <user42@zip.com.au>
21461 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21463 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21465 * bindings.el (help-echo): Make the initial non-indicator dash
21466 empty on graphical terminals (Bug#7295).
21468 * files.el (auto-mode-alist): Move config rule after the
21469 in-stripping one (Bug#8547).
21471 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21473 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21474 setting (Bug#8740).
21476 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21478 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21479 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21482 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21484 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21486 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21488 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21489 (hs-hide-block-at-point, hs-find-block-beginning)
21490 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21493 2011-05-28 Glenn Morris <rgm@gnu.org>
21495 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21497 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21499 * help-fns.el (describe-function-1): If the function is a derived
21500 major mode, print the parent mode.
21502 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21503 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21505 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21507 * minibuffer.el (completion--capf-wrapper): Check applicability before
21508 returning non-nil for non-exclusive completion data.
21509 * progmodes/etags.el (tags-completion-at-point-function):
21510 * info-look.el (info-lookup-completions-at-point): Mark as
21512 (info-complete): Adjust accordingly.
21514 * info-look.el: Convert to lexical-binding and completion-at-point.
21515 (info-lookup-completions-at-point): New function.
21516 (info-complete): Use it and completion-in-region.
21518 2011-05-28 Drew Adams <drew.adams@oracle.com>
21520 * isearch.el: Let M-e start with point at the first mismatched char.
21521 (isearch-fail-pos): New function.
21522 (isearch-edit-string): Use it.
21524 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21526 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21528 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21530 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21531 traversal functions for avl-trees.
21532 (avl-tree--stack): New struct.
21533 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21534 (avl-tree-enter): Add optional `updatefun' arg.
21535 (avl-tree--do-enter): Add optional `updatefun' arg.
21536 Change return value.
21537 (avl-tree-delete): Add optional `test' and `nilflag' args.
21538 (avl-tree--do-delete): Add `test' and `nilflag' args.
21539 Change return value.
21540 (avl-tree-member): Add optional `nilflag'
21541 (avl-tree-member-p): New function.
21542 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21543 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21544 (avl-tree-stack-empty-p): New functions.
21546 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21547 avl-tree--del-balance1 and make it work both ways.
21548 (avl-tree--del-balance2): Remove.
21549 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21550 make it work both ways.
21551 (avl-tree--enter-balance2): Remove.
21552 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21554 (avl-tree--mapc, avl-tree-map): Add direction argument.
21556 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21558 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21560 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21562 * select.el: Support clipboard managers with built-in function
21563 x-clipboard-manager-save, via delete-frame-functions and
21565 (xselect-convert-to-targets): Add MULTIPLE target to list.
21566 (xselect-convert-to-save-targets): New function.
21568 2011-05-27 Kenichi Handa <handa@m17n.org>
21570 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21571 let-binding rfc2047-encode-encoded-words to nil.
21573 2011-05-27 Glenn Morris <rgm@gnu.org>
21575 * mail/emacsbug.el: Don't require url-util.
21577 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21579 * files.el (set-auto-mode):
21580 Also respect mode: entries at the end of the file. (Bug#8586)
21582 2011-05-26 Glenn Morris <rgm@gnu.org>
21584 * files.el (hack-local-variables-prop-line, hack-local-variables):
21585 Downcase mode names, as seems to be traditional.
21586 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21588 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21589 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21591 2011-05-25 Julien Danjou <julien@danjou.info>
21593 * textmodes/rst.el (rst-define-level-faces): Do not define face
21594 symbol if it is already defined.
21596 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21598 * play/5x5.el (5x5-new-game, 5x5-randomize):
21599 Reset 5x5-solver-output to nil when a new grid is cast.
21600 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21601 these debugging traces, as defmacro breaks the compiled code.
21603 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21605 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21607 2011-05-24 Leo Liu <sdl.web@gmail.com>
21609 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21610 (vc-bzr-sha1): Adapt.
21612 * sha1.el: Remove. Function `sha1' is now builtin.
21614 * bindings.el: Provide sha1 feature.
21616 2011-05-24 Kenichi Handa <handa@m17n.org>
21618 * mail/sendmail.el: Require `rfc2047'.
21619 (mail-insert-from-field): Do not perform RFC2047 encoding.
21620 (mail-encode-header): New function.
21621 (sendmail-send-it): Set buffer-file-coding-system of the work
21622 buffer to the return value of select-message-coding-system.
21623 Call mail-encode-header.
21625 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21627 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21629 * mail/supercite.el (sc-default-cite-frame):
21630 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21632 2011-05-24 Glenn Morris <rgm@gnu.org>
21634 * progmodes/python.el (brm-menu): Declare.
21636 * emulation/viper.el (viper-set-hooks): Declare.
21638 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21639 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21640 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21641 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21642 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21643 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21645 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21647 Add an :exit-function for completion-at-point.
21649 * minibuffer.el (completion--done): New fun.
21650 (completion--do-completion): Use it. New arg `expect-exact'.
21651 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21652 since completion--do-completion does it for us now.
21653 (minibuffer-force-complete): Use completion--done and
21654 completion--replace. Handle sole-completion case with more care.
21655 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21656 (completion-extra-properties): New var.
21657 (completion-annotate-function): Make obsolete.
21658 (minibuffer-completion-help): Adjust accordingly.
21659 Use completion-list-insert-choice-function.
21660 (completion-at-point, completion-help-at-point):
21661 Bind completion-extra-properties.
21662 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21663 * simple.el (completion-list-insert-choice-function): New var.
21664 (completion-setup-function): Preserve it.
21665 (choose-completion): Pay attention to it, shuffle the code a bit.
21666 (choose-completion-string): New arg `insert-function'.
21668 * textmodes/bibtex.el: Convert to lexical binding.
21669 (bibtex-mode-map): Use completion-at-point.
21670 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21671 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21672 (bibtex-complete): Define as obsolete alias.
21673 (bibtex-complete-internal): Remove.
21674 (bibtex-format-entry): Remove unused sub-group in regexp.
21675 * shell.el (shell--command-completion-data)
21676 (shell-environment-variable-completion):
21677 * pcomplete.el (pcomplete-completions-at-point):
21678 * comint.el (comint--complete-file-name-data): Use :exit-function
21679 instead of completion-table-with-terminator so it also works for
21682 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21684 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21686 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21689 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21691 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21693 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21694 customization variable and implement: If non-nil, auto-fill will
21695 be inhibited while on topic's header line.
21697 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21699 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21700 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21701 always have a solution in grid size = 5 cases.
21702 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21703 (5x5-solver-output, 5x5-log-buffer): New vars.
21704 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21705 Make these variables buffer local to achieve 5x5 multi-session-ness.
21706 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21707 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21708 (5x5-solve-suggest): New funs.
21709 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21710 randomize a grid so that we ensure that there is always a solution.
21711 (5x5-make-random-grid): Allow other movement than flipping.
21713 2011-05-23 Kevin Ryde <user42@zip.com.au>
21715 * emacs-lisp/advice.el (ad-read-advised-function):
21716 Use `function-called-at-point' as the default, if it has
21717 advice and passes PREDICATE.
21719 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21721 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21722 byte-compile-lambda if it's actually a lambda.
21724 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21725 Fix function quoting. Use backquote better.
21727 2011-05-22 Yuanle Song <sylecn@gmail.com>
21729 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21730 matching (Bug#8516).
21732 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21734 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21735 different face (Bug#8178).
21737 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21739 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21740 defface (Bug#8144).
21742 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21744 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21745 funcall as well (bug#8712). Warn when performing those conversions.
21746 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21748 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21750 2011-05-22 Glenn Morris <rgm@gnu.org>
21752 * files.el (hack-local-variables-prop-line): Small simplifications.
21753 (hack-local-variables, hack-local-variables-prop-line):
21754 If MODE-ONLY, return the mode, rather than just `t'.
21756 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21758 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21760 2011-05-21 Glenn Morris <rgm@gnu.org>
21762 * files.el (hack-local-variables-prop-line, hack-local-variables):
21763 If only interested in the mode, don't bother doing the other stuff.
21765 * image-mode.el (image-after-revert-hook):
21766 Redraw all frames on which the image is visible. (Bug#8567)
21768 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21770 * wid-edit.el (widget-checklist-match-inline):
21771 Fix 2011-04-19 change. (Bug#8649)
21773 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21775 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21776 Also allow singlespace after single-letter capitals followed by a dot.
21778 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21779 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21781 2011-05-20 Nix <nix@esperi.org.uk>
21783 * files.el (basic-save-buffer-2):
21784 Fix handling of break-hardlink-on-save with non-existent files.
21786 2011-05-19 Deniz Dogan <deniz@dogan.se>
21788 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21789 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21791 2011-05-19 Glenn Morris <rgm@gnu.org>
21793 * progmodes/f90.el (f90-type-def-re):
21794 Handle "type, bind(c)". (Bug#8691)
21796 * emacs-lisp/autoload.el (batch-update-autoloads):
21797 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21799 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21801 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21802 property for the correct connection in case of multihops.
21804 2011-05-18 Glenn Morris <rgm@gnu.org>
21806 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21807 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21809 Rationalize calendar handling of day and month abbrev-arrays.
21810 * calendar/calendar.el (calendar-customized-p): New function.
21811 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21812 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21814 (calendar-abbrev-length, calendar-day-abbrev-array)
21815 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21816 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21817 Elements may no longer be nil.
21818 (calendar-day-name, calendar-month-name):
21819 Update for changed nature of abbrev arrays.
21820 * calendar/diary-lib.el (diary-name-pattern):
21821 Update for changed nature of abbrev arrays.
21822 (diary-mark-entries-1): Update calendar-make-alist calls.
21823 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21824 * calendar/cal-html.el (cal-html-day-abbrev-array):
21825 Simply inherit from calendar-day-abbrev-array.
21827 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21829 * progmodes/grep.el (grep-mode): Disable default
21830 compilation-directory-matcher setting (bug#8684).
21832 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21834 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21835 instead of "head" and "tail". There were problems with SunOS 5.9,
21836 and it performs better.
21838 2011-05-17 Glenn Morris <rgm@gnu.org>
21840 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21842 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21843 Replace obsolete function.
21845 * shell.el (pcomplete-parse-arguments-function): Declare.
21847 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21848 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21849 (appt-check): Doc fixes.
21850 (appt-disp-window-function, appt-delete-window-function):
21851 Remove needless special case in custom :type.
21852 (appt-display-count): Default to 0, not nil.
21853 (appt-check): Reset appt-display-count to 0, not nil.
21855 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21857 * progmodes/python.el (python-font-lock-keywords):
21858 Add the Python 3.X keyword "nonlocal" (bug#8639).
21860 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21862 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21864 2011-05-16 Kevin Ryde <user42@zip.com.au>
21866 * info-look.el (makefile-automake-mode): New setups, looking in
21867 automake manual, then makefile-mode.
21868 (makefile-mode): Remove automake manual, have it just in
21869 makefile-automake-mode since there's various things different or
21870 not relevant to plain make.
21871 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21872 believe a hypothetical automake-mode would go to makefile-mode,
21873 not the other way around.
21875 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21877 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21878 hunk-end tags (Bug#8672).
21880 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21881 vc-annotate-show-diff-revision-at-line (Bug#8671).
21883 2011-05-14 Glenn Morris <rgm@gnu.org>
21885 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21886 in the middle of an existing one with multiple authors. (Bug#8645)
21887 (change-log-font-lock-keywords): Also handle multiple author lines
21888 with leading tabs. (Bug#8644)
21890 * calendar/appt.el (appt-check): Rename some local variables.
21891 Some simplification/reordering.
21893 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21894 (feedmail-sendmail-f-doesnt-sell-me-out)
21895 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21896 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21897 (feedmail-queue-runner-message-sender): Set :version.
21898 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21899 (bbdb-dwim-net-address, vm-mail): Declare.
21900 (feedmail-binmail-gnulinuxish-template):
21901 Rename from feedmail-binmail-linuxish-template.
21902 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21903 Use insert-buffer-substring.
21905 2011-05-14 Bill Carpenter <bill@carpenter.org>
21907 * mail/feedmail.el (feedmail-patch-level): Increase.
21908 (feedmail-debug): New custom group.
21909 (feedmail-confirm-outgoing-timeout)
21910 (feedmail-sendmail-f-doesnt-sell-me-out)
21911 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21912 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21913 (feedmail-sender-line, feedmail-from-line)
21914 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21915 (feedmail-spray-this-address)
21916 (feedmail-spray-address-fiddle-plex-list)
21917 (feedmail-queue-use-send-time-for-date)
21918 (feedmail-queue-use-send-time-for-message-id)
21919 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21920 (feedmail-buffer-eating-function):
21922 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21923 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21924 (feedmail-message-action-scroll-down): New functions.
21925 (feedmail-queue-directory, feedmail-queue-draft-directory):
21926 Use expand-file-name.
21927 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21928 Remove C-v help entry.
21929 (feedmail-queue-buffer-file-name): New variable.
21930 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21931 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21932 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21933 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21934 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21935 (feedmail-message-action-toggle-spray)
21936 (feedmail-run-the-queue-no-prompts)
21937 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21938 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21939 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21940 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21941 (feedmail-envelope-deducer, feedmail-fiddle-from)
21942 (feedmail-fiddle-sender, feedmail-default-date-generator)
21943 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21944 (feedmail-fiddle-spray-address)
21945 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21946 (feedmail-fiddle-list-of-fiddle-plexes)
21947 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21948 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21949 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21950 Change default. Doc fix.
21951 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21952 (feedmail-binmail-linuxish-template): New constant.
21953 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21954 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21955 (feedmail-send-it): Add debug call.
21956 Use feedmail-queue-buffer-file-name, and
21957 feedmail-send-it-immediately-wrapper.
21958 (feedmail-message-action-send): Add debug call.
21959 Use feedmail-send-it-immediately-wrapper.
21960 (feedmail-queue-express-to-queue): Add debug call.
21961 Run feedmail-queue-express-hook.
21962 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21963 (feedmail-message-action-help-blat):
21964 Rename from feedmail-queue-send-edit-prompt-help-first.
21965 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21966 Check line-endings. Handle errors better.
21967 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21968 Doc fix. Add debug call.
21969 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21970 Use feedmail-queue-send-edit-prompt-inner.
21971 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21972 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21973 from feedmail-queue-send-edit-prompt.
21974 (feedmail-queue-send-edit-prompt-help)
21975 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21976 (feedmail-tidy-up-slug): Add debug call.
21977 Respect feedmail-queue-slug-suspect-regexp.
21978 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21979 (feedmail-dump-message-to-queue): Add debug call.
21980 Expand queue-directory.
21981 (feedmail-dump-message-to-queue): Change message slightly.
21982 Use feedmail-say-chatter.
21983 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21984 (feedmail-send-it-immediately-wrapper): New function.
21985 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21986 Insert empty string rather than newline. Handle full-frame case.
21987 Use catch/throw. Use feedmail-say-chatter.
21988 (feedmail-fiddle-from): Try mail-host-address.
21989 (feedmail-default-message-id-generator): Doc fix.
21990 Bind system-time-locale. Handle missing end.
21991 (feedmail-fiddle-x-mailer): Add debug call.
21992 Handle feedmail-x-mailer-line being nil.
21993 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21994 Add debug call. Use buffer-substring-no-properties.
21995 (feedmail-say-debug, feedmail-say-chatter): New functions.
21996 (feedmail-find-eoh): Give an explicit error.
21998 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22000 * net/newst-treeview.el (newsticker-treeview-face): Change default
22001 family from helvetica to sans.
22002 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22003 etc/images/newsticker.
22005 * net/newst-reader.el (newsticker-feed-face): Change default
22006 family from helvetica to sans.
22008 * net/newst-plainview.el (newsticker-new-item-face)
22009 (newsticker-old-item-face, newsticker-immortal-item-face)
22010 (newsticker-obsolete-item-face, newsticker-date-face)
22011 (newsticker-statistics-face): Change default family from
22013 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22014 etc/images/newsticker.
22016 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22017 (newsticker--process-auto-mark-filter-match): Tell user about
22020 2011-05-13 Didier Verna <didier@xemacs.org>
22022 Common Lisp indentation improvements on defmethod and lambda-lists.
22023 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22025 (lisp-lambda-list-keyword-parameter-indentation)
22026 (lisp-lambda-list-keyword-parameter-alignment)
22027 (lisp-lambda-list-keyword-alignment): New customizable user options.
22028 (lisp-indent-defun-method): Improve docstring.
22029 (extended-loop-p): Fix comment.
22030 (lisp-indent-lambda-list-keywords-regexp): New variable.
22031 (lisp-indent-lambda-list): New function.
22032 (lisp-indent-259): Use it.
22033 (lisp-indent-defmethod): Support for more than one
22034 method qualifier and properly indent methods lambda-lists.
22035 (defgeneric): Provide a missing common-lisp-indent-function property.
22037 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22039 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22040 bounds for the empty string (bug#8667).
22042 2011-05-13 Glenn Morris <rgm@gnu.org>
22044 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22046 * mail/sendmail.el (sendmail-program): Try executable-find first.
22047 (sendmail-send-it): `sendmail-program' cannot be unbound.
22049 * calendar/appt.el (appt-make-list): Simplify.
22050 (appt-time-msg-list): Doc fix.
22051 (appt-check): Change mode-line message at the time of the appointment.
22053 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22055 * progmodes/ld-script.el (ld-script-keywords)
22056 (ld-script-builtins): Update keywords list.
22058 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22060 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22062 * shell.el (shell-completion-vars): New function.
22064 * simple.el (read-shell-command): Use it.
22065 (blink-matching-open): No need for " [...]" in minibuffer-message.
22067 2011-05-12 Glenn Morris <rgm@gnu.org>
22069 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22070 (appt-check): Simplify.
22072 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22074 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22075 literal "/dev/null".
22077 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22079 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22082 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22084 * progmodes/which-func.el (which-function):
22085 Use add-log-current-defun instead of add-log-current-defun-function,
22086 which might not be defined (Bug#8260).
22088 2011-05-12 Glenn Morris <rgm@gnu.org>
22090 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22091 Let byte-compile-initial-macro-environment always take precedence.
22093 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22095 * net/rcirc.el: Add support for SSL/TLS connections.
22096 (rcirc-server-alist): New field `encryption'.
22097 (rcirc): Check `encryption' settings.
22098 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22099 Merge make-local-variable into `set'.
22100 (rcirc--connection-open-p): New function.
22101 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22102 the process is not a network process (e.g. running gnutls-cli).
22103 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22104 Make rcirc-(en|de)code-coding-system local here.
22105 (rcirc-mode): Merge make-local-variable into `set'.
22106 (rcirc-parent-buffer): Make permanent buffer-local.
22107 (rcirc-multiline-minor-mode): Don't do it here.
22108 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22109 there's no server buffer.
22111 2011-05-11 Glenn Morris <rgm@gnu.org>
22113 * newcomment.el (comment-kill): Prefix "unused" local.
22115 * term/w32console.el (get-screen-color): Declare.
22117 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22118 Handle symbol elements of byte-compile-initial-macro-environment.
22120 2011-05-10 Leo Liu <sdl.web@gmail.com>
22122 * bookmark.el (bookmark-bmenu-mode-map):
22123 Bind bookmark-bmenu-search to `/'.
22125 * mail/footnote.el: Convert to utf-8 encoding.
22126 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22127 (Footnote-unicode): New function.
22128 (footnote-style-alist): Add unicode style to the list.
22129 (footnote-style): Doc fix.
22131 2011-05-10 Jim Meyering <meyering@redhat.com>
22133 Fix doubled-word typos.
22134 * international/quail.el (quail-insert-kbd-layout): and and -> and
22135 * kermit.el: and and -> and
22136 * net/ldap.el (ldap-search-internal): to to -> to
22137 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22138 * progmodes/js.el (js-mode): and and -> and
22139 * textmodes/artist.el (artist-move-to-xy): at at -> at
22140 (artist-draw-region-trim-line-endings): if if -> if
22141 And Safetyc -> Safety.
22142 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22144 2011-05-10 Glenn Morris <rgm@gnu.org>
22145 Stefan Monnier <monnier@iro.umontreal.ca>
22147 * files.el (hack-one-local-variable-eval-safep):
22148 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22150 2011-05-10 Glenn Morris <rgm@gnu.org>
22152 * calendar/diary-lib.el (diary-list-entries-hook)
22153 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22154 (diary-nongregorian-marking-hook, diary-list-entries)
22155 (diary-include-other-diary-files, diary-mark-entries)
22156 (diary-mark-included-diary-files): Doc fixes.
22158 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22160 * misc.el: Require tabulated-list.el during compilation.
22162 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22164 * progmodes/compile.el (compilation-start):
22165 Run compilation-filter-hook for the async case too.
22166 (compilation-filter-hook): Doc fix.
22168 2011-05-09 Deniz Dogan <deniz@dogan.se>
22170 * wdired.el: Remove outdated installation comment. Fix usage
22173 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22175 * misc.el: Implement new command `list-dynamic-libraries'.
22176 (list-dynamic-libraries--loaded-only-p): New variable.
22177 (list-dynamic-libraries--refresh): New function.
22178 (list-dynamic-libraries): New command.
22180 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22182 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22183 Fix the ant regexp to handle end-line and end-column info from jikes.
22184 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22185 higher priority to avoid clobbering by gnu.
22187 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22189 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22190 if the face has existing theme settings (Bug#8454).
22192 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22194 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22195 Only match variables declared via `my' or `our' (Bug#8261).
22197 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22198 special file names `.' and `..' (Bug#8259).
22200 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22202 * progmodes/grep.el (grep-mode-font-lock-keywords):
22203 Remove buffer-changing entries.
22204 (grep-filter): New function.
22205 (grep-mode): Add it to compilation-filter-hook.
22207 * progmodes/compile.el (compilation-filter-hook)
22208 (compilation-filter-start): New defvars.
22209 (compilation-filter): Call compilation-filter-hook prior to
22210 updating the process mark.
22212 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22214 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22216 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22218 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22219 mailclient-send-it even if window-system is nil. (Bug#8595)
22221 * term/w32console.el (terminal-init-w32console):
22222 Call get-screen-color and use its output to set the frame
22223 background-mode. (Bug#8597)
22225 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22227 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22228 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22230 (defgeneric, eieio--defmethod): Use them.
22231 (eieio-defgeneric): Remove.
22232 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22234 2011-05-07 Glenn Morris <rgm@gnu.org>
22236 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22237 Use let rather than let*.
22238 (timeclock-find-discrep): Remove unused local.
22240 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22242 * calendar/appt.el (appt-time-msg-list): Doc fix.
22244 2011-05-06 Noah Friedman <friedman@splode.com>
22246 * apropos.el (apropos-print-doc): Only use
22247 emacs-lisp-docstring-fill-column when it is bound to an integer,
22248 per that variable's documentation.
22250 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22252 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22253 and warnings are not silently discarded (e.g. use -d instead of -P).
22255 2011-05-06 Glenn Morris <rgm@gnu.org>
22257 * calendar/appt.el (appt-message-warning-time): Doc fix.
22258 (appt-warning-time-regexp): New option.
22259 (appt-make-list): Respect appt-message-warning-time.
22261 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22263 (diary-add-to-list): Strip comments from the displayed string.
22264 (diary-mode): Set comment-start and comment-end.
22266 * vc/diff-mode.el (smerge-refine-subst): Declare.
22267 (diff-refine-hunk): Don't require smerge-mode when compiling.
22269 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22271 * simple.el (list-processes): Return nil as the docstring says.
22273 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22275 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22277 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22278 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22279 determining of binary transfer. (Bug#7383)
22281 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22283 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22284 Fix port computation bug. (Bug#8618)
22286 2011-05-05 Glenn Morris <rgm@gnu.org>
22288 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22290 * simple.el (shell-dynamic-complete-functions)
22291 (comint-dynamic-complete-functions): Declare.
22293 * net/network-stream.el (gnutls-negotiate):
22294 * simple.el (tabulated-list-print): Fix declarations.
22296 * progmodes/gud.el (syntax-symbol, syntax-point):
22297 Remove unnecessary and incorrect declarations.
22299 * emacs-lisp/check-declare.el (check-declare-scan):
22300 Handle byte-compile-initial-macro-environment in bytecomp.el.
22302 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22304 Fix earlier half-done eieio-defmethod change (bug#8338).
22305 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22306 Streamline and change calling convention.
22307 (defmethod): Adjust accordingly and simplify.
22308 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22309 new eieio--defmethod.
22310 (slot-boundp): Minor CSE simplification.
22312 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22314 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22315 (glasses-make-readable): Use glasses-separate-capital-groups.
22317 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22319 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22320 (warning-series): Doc fix.
22321 (display-warning): Don't try to create the buffer if we just found it.
22323 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22325 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22326 (autoload-find-generated-file): New function.
22327 (generate-file-autoloads): Bind generated-autoload-file to
22329 (update-file-autoloads, update-directory-autoloads):
22330 Use autoload-find-generated-file. If called interactively, prompt for
22331 output file (Bug#7989).
22332 (batch-update-autoloads): Doc fix.
22334 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22336 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22338 2011-05-04 Glenn Morris <rgm@gnu.org>
22340 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22341 function, so it follows changes in calendar-date-style.
22342 (diary-fancy-date-matcher): New function.
22343 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22344 (diary-fancy-font-lock-fontify-region-function):
22345 Use diary-fancy-date-pattern as a function.
22347 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22348 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22350 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22352 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22353 instead of positional arguments. Allow :keylist and :crlfiles
22355 (open-gnutls-stream): Call it.
22357 * net/network-stream.el (network-stream-open-starttls): Adjust to
22358 call `gnutls-negotiate' with :process and :hostname arguments.
22360 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22362 * minibuffer.el (completion--message): New function.
22363 (completion--do-completion, minibuffer-complete)
22364 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22365 (completion--do-completion): Don't ignore completion-auto-help when in
22368 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22369 internal encoding (e.g. tibetan zero is not whitespace).
22370 (global-whitespace-mode): Prefer save-current-buffer.
22371 (whitespace-trailing-regexp): Remove useless save-match-data.
22372 (whitespace-empty-at-bob-regexp): Minor simplification.
22374 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22376 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22378 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22380 * textmodes/ispell.el (ispell-add-per-file-word-list):
22381 Use `concat' to create string for insertion.
22383 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22385 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22386 Avoid open-line which runs post-self-insert-hook.
22387 (bibtex-fill-entry): Remove unused `end' var.
22389 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22391 * textmodes/ispell.el (ispell-add-per-file-word-list):
22392 Protect against `nil' value of `comment-start' (Bug#8579).
22394 2011-05-03 Leo Liu <sdl.web@gmail.com>
22396 * isearch.el (isearch-yank-pop): New command.
22397 (isearch-mode-map): Bind it to `M-y'.
22398 (isearch-forward): Mention it.
22400 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22402 * simple.el (minibuffer-complete-shell-command): Remove.
22403 (minibuffer-local-shell-command-map): Use completion-at-point.
22404 (read-shell-command): Setup completion vars here instead.
22405 (read-expression-map): Bind TAB to symbol completion.
22407 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22408 error directly rather via storing it into `results'.
22410 2011-05-02 Leo Liu <sdl.web@gmail.com>
22412 * vc/diff.el: Fix description.
22414 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22416 * server.el (server-eval-at): New function.
22418 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22420 * net/network-stream.el (open-network-stream): Take a :nowait
22421 parameter and pass it on to `make-network-process'.
22422 (network-stream-open-plain): Ditto.
22424 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22426 * faces.el (face-spec-set-match-display): Don't match toolkit
22427 options on terminal frames.
22429 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22431 * progmodes/pascal.el: Use lexical binding.
22432 (pascal-mode-map): Remove author preferences.
22434 * pcomplete.el (pcomplete-std-complete): Don't abuse
22435 completion-at-point.
22437 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22439 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22440 removing code that has been dead since 1991 or so.
22442 * startup.el (command-line): When warning about "_emacs", use a
22443 delayed warning to allow the user to filter it out.
22445 2011-04-28 Deniz Dogan <deniz@dogan.se>
22447 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22448 user has not joined.
22450 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22452 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22453 aren't any completions at point.
22455 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22457 * subr.el (display-delayed-warnings): New function.
22458 (delayed-warnings-hook): New variable.
22460 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22462 * minibuffer.el (completion-at-point, completion-help-at-point):
22463 Don't presume that a given completion-at-point-function will always
22464 use the same calling convention.
22466 * pcomplete.el (pcomplete-completions-at-point):
22467 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22468 pcomplete-seen is non-nil.
22469 (pcomplete-comint-setup): Also recognize the new comint/shell
22470 completion functions.
22471 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22472 pcomplete-seen is non-nil.
22474 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22476 * calendar/icalendar.el (diary-lib): Add require statement.
22477 (icalendar--create-uid): Read out a uid from a text-property on
22478 the first character in the entry. This allows for code to add its
22479 own uid to the entry.
22480 (icalendar--convert-float-to-ical): Add export of
22481 `diary-float'-entries save for those with the optional DAY
22484 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22486 * subr.el (shell-quote-argument): Use alternate escaping strategy
22487 when we spot a variable reference in a string.
22489 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22491 * cus-start.el (all): Define customization for debug-on-event.
22493 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22495 * subr.el (shell-quote-argument): Escape correctly under Windows.
22497 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22499 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22501 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22503 * net/tramp.el (tramp-process-actions): Add POS argument.
22504 Delete region between POS and (pos).
22506 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22507 Use `nil' position in `tramp-process-actions' call.
22508 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22510 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22511 position in `tramp-process-actions' call.
22513 * net/trampver.el: Update release number.
22515 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22517 * custom.el (defcustom): Obey lexical-binding.
22519 Fix octave-inf completion problems reported by Alexander Klimov.
22520 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22521 Inherit from octave-mode-syntax-table.
22522 (inferior-octave-mode): Set info-lookup-mode.
22523 (inferior-octave-completion-at-point): New function.
22524 (inferior-octave-complete): Use it and completion-in-region.
22525 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22526 comint-filename-completion.
22527 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22528 symbol elements which shouldn't be word elements.
22529 (octave-font-lock-keywords, octave-beginning-of-defun)
22530 (octave-function-header-regexp): Adjust regexps accordingly.
22531 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22533 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22535 * net/gnutls.el (gnutls-errorp): Declare before first use.
22537 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22539 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22540 verify-error, and verify-hostname-error parameters. Check whether
22541 default trustfile exists before going to use it. Add missing
22542 argument to gnutls-message-maybe call. Return value.
22543 Reported by Claudio Bley <claudio.bley@gmail.com>.
22544 (open-gnutls-stream): Add usage example.
22546 * net/network-stream.el (network-stream-open-starttls): Give host
22547 parameter to `gnutls-negotiate'.
22548 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22549 * subr.el (shell-quote-argument): Escape correctly under Windows.
22551 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22553 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22554 Use correct match group (bug#8438).
22556 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22558 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22559 (package-menu--generate): New arg specifying packages to show.
22560 (package-menu-refresh, package-menu-execute, list-packages):
22562 (package-show-package-list): New function, replacing deleted
22563 package--list-packages (renamed because it is non-internal).
22565 * finder.el (finder-list-matches): Use package-show-package-list
22566 instead of deleted package--list-packages.
22568 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22569 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22570 (vc-annotate-mode-map): Bind it to RET.
22572 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22574 * progmodes/etags.el (next-file): Don't use set-buffer to change
22575 buffers (Bug#8478).
22577 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22579 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22581 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22582 (apropos-accumulator): Doc fix.
22583 (apropos-function, apropos-macro, apropos-command)
22584 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22585 (apropos-plist): Add face property.
22586 (apropos-symbols-internal): Fix indentation.
22587 (apropos-print): Simplify help, and recognize apropos-multi-type.
22588 (apropos-print-doc): Use button-type-get to extract the button's
22589 face property. Fill docstring (Bug#8352).
22591 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22593 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22595 * play/mpuz.el (mpuz-silent): Doc fix.
22596 (mpuz-mode-map): Use mapc.
22597 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22598 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22599 Fix typos in docstrings.
22601 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22602 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22604 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22606 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22608 * minibuffer.el (completion--do-completion): Avoid the "Next char
22609 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22611 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22612 mouse-2 into unread-command-events, it is interpreted correctly.
22614 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22615 (image-toggle-display): Doc fix.
22617 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22619 * textmodes/page.el (what-page): Use line-number-at-pos to
22620 calculate line number (Bug#6825).
22622 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22624 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22625 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22626 Pass argument NO-DEFAULT to `find-tag-interactive'.
22628 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22630 Lexical-binding cleanup.
22632 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22633 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22634 * progmodes/ada-prj.el (ada-prj-initialize-values)
22635 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22636 (ada-prj-show-value):
22637 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22638 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22639 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22640 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22641 * progmodes/bug-reference.el (bug-reference-push-button):
22642 * progmodes/fortran.el (fortran-line-length):
22643 * progmodes/glasses.el (glasses-change):
22644 * progmodes/octave-mod.el (octave-fill-paragraph):
22645 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22646 (python-pdbtrack-grub-for-buffer, python-sentinel):
22647 * progmodes/sql.el (sql-save-connection):
22648 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22649 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22650 Mark unused parameters.
22652 * progmodes/compile.el (compilation--flush-directory-cache)
22653 (compilation--flush-parse, compile-internal): Mark unused parameters.
22654 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22655 (compilation-next-error-function): Remove unused variable `timestamp'.
22657 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22658 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22660 * progmodes/dcl-mode.el (dcl-end-of-command):
22661 Remove unused variable `start'.
22662 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22663 (dcl-option-value-basic, dcl-option-value-offset)
22664 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22665 Mark unused parameters.
22666 (dcl-save-local-variable): Remove unused variable `val'.
22669 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22670 Mark unused parameters.
22671 (delphi-ignore-changes): Move before first use.
22672 (delphi-charset-token-at): Remove unused variable `start'.
22673 (delphi-else-start): Remove unused variable `if-count'.
22674 (delphi-comment-block-start, delphi-comment-block-end):
22675 Remove unused variable `kind'.
22676 (delphi-indent-line): Remove unused variable `new-point'.
22678 * progmodes/ebrowse.el (ebrowse-files-list)
22679 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22680 Mark unused parameters. Don't quote `lambda'.
22681 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22682 Don't quote `lambda'.
22683 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22684 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22685 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22686 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22687 Use `ignore-errors'.
22688 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22689 (ebrowse-view/find-file-and-search-pattern)
22690 (ebrowse-view/find-member-declaration/definition):
22691 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22692 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22693 Rename parameter PREFIX-ARG to PREFIX.
22694 (ebrowse-tags-read-name): Remove unused variables `start' and
22696 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22699 * progmodes/etags.el (local-find-tag-hook): Declare.
22700 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22701 Mark unused parameters.
22703 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22704 (executable-interpret): Mark unused parameter.
22706 * progmodes/flymake.el (flymake-process-sentinel)
22707 (flymake-after-change-function)
22708 (flymake-create-temp-with-folder-structure)
22709 (flymake-get-include-dirs-dot): Mark unused parameters.
22710 (flymake-safe-delete-directory): Remove unused variable `err'.
22712 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22713 (speedbar-timer-fn, speedbar-line-text)
22714 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22715 (speedbar-center-buffer-smartly): Declare functions.
22716 (gdb-find-watch-expression): Remove unused variable `array'.
22717 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22718 (gdb-starting): Mark unused parameters.
22719 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22720 (gdb-table-string): Remove unused variable `res'.
22721 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22722 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22723 (gdb-display-buffer): Remove unused variable `cur-size'.
22725 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22726 allow lexical-binding compilation.
22727 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22728 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22729 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22730 Mark unused parameters.
22731 (gud-gdb-marker-filter): Remove unused variable `match'.
22732 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22733 lambda expressions and funcall them, instead of using `fset'.
22735 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22736 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22738 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22739 variable `header-beg'; use `let'.
22741 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22742 `restart', `last-sexp' and `at-do'.
22744 * progmodes/js.el (js--debug): Mark unused parameter.
22745 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22746 (js--splice-into-items): Remove unused variable `item'.
22747 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22749 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22750 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22751 (makefile-complete): Remove unused variable `try'.
22752 (makefile-fill-paragraph, makefile-match-function-end):
22753 Mark unused parameters.
22755 * progmodes/octave-inf.el (inferior-octave-complete):
22756 Remove unused variable `proc'.
22757 (inferior-octave-output-digest): Mark unused parameter.
22759 * progmodes/perl-mode.el (perl-calculate-indent):
22760 Remove unused variable `err'.
22762 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22763 (prolog-indent-line): Mark unused parameters.
22764 (prolog-indent-line): Remove unused variable `beg'.
22766 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22767 (reporter-dont-compact-list): Declare.
22769 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22770 Remove unused variable `char'.
22771 (sh-debug): Mark unused parameter.
22772 (sh-get-indent-info): Remove unused variable `start'.
22773 (sh-calculate-indent): Remove unused variable `var'.
22775 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22776 (simula-electric-keyword): Remove unused variable `null'.
22777 (simula-search-backward, simula-search-forward): Remove unused
22778 variables `begin' and `end'.
22780 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22781 Remove unused variable `pos'.
22782 (vera-electric-tab, vera-comment-uncomment-region):
22783 Mark unused parameters.
22784 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22786 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22788 * emacs-lisp/package.el (package--builtins, package-alist)
22789 (package-load-descriptor, package-built-in-p, package-activate)
22790 (define-package, package-installed-p)
22791 (package-compute-transaction, package-buffer-info)
22792 (package--push): Doc fix. Distinguish more clearly between
22793 version strings and version lists.
22795 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22797 Lexical-binding cleanup.
22799 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22800 (5x5-make-mutate-best):
22801 * play/fortune.el (fortune-in-buffer):
22802 * play/gomoku.el (gomoku-init-display):
22803 * play/solitaire.el (solitaire, solitaire-do-check):
22804 * play/tetris.el (tetris-default-update-speed-function):
22805 Mark unused parameters.
22807 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22808 (bubbles--shift): Remove unused variable `char-org'.
22809 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22810 (bubbles--show-images): Remove unused variable `char'.
22812 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22813 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22814 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22815 (decipher-analyze-buffer): Use ?\s.
22816 (decipher-make-checkpoint): Remove unused variable `mapping'.
22818 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22820 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22821 Remove unused variable `result'; use `let'.
22823 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22824 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22825 (gametree-children-shown-p, gametree-compute-reduced-score):
22826 Use `ignore-errors'.
22828 * play/handwrite.el (ps-lpr-switches): Declare.
22829 (handwrite): Remove unused variables `pmin' and `lastp'.
22831 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22833 * play/landmark.el (landmark-init-display)
22834 (landmark-update-naught-weights): Mark unused parameters.
22835 (landmark-y): Remove unused variable `noise'. Simplify.
22836 (landmark-human-plays): Remove unused variable `score'.
22838 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22839 (mpuz-try-proposal): Remove unused variable `game'.
22841 * play/zone.el (life-patterns): Declare.
22843 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22845 * vc/vc.el (ediff-vc-internal): Declare function.
22847 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22849 * shell.el: Use lexical-binding and std completion UI.
22850 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22851 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22852 comint-preoutput-filter-functions rather than on
22853 comint-output-filter-functions.
22854 (shell-command-completion, shell--command-completion-data)
22855 (shell-filename-completion, shell-environment-variable-completion)
22856 (shell-c-a-p-replace-by-expanded-directory): New functions.
22857 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22858 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22859 (shell-dynamic-complete-environment-variable): Use them.
22860 (shell-dynamic-complete-as-environment-variable)
22861 (shell-dynamic-complete-as-command): Remove.
22862 (shell-match-partial-variable): Match past point.
22863 * comint.el: Clean up use of completion-at-point-functions.
22864 (comint-completion-at-point): New function.
22865 (comint-mode): Use it completion-at-point-functions.
22866 (comint-dynamic-complete): Make it obsolete.
22867 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22868 (comint-c-a-p-replace-by-expanded-history): New function.
22869 (comint-dynamic-complete-functions)
22870 (comint-replace-by-expanded-history): Use it.
22871 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22872 termination strings. Try harder to avoid second try-completion.
22873 (completion-in-region-mode-map): Disable bindings that don't work yet.
22875 * comint.el: Use lexical-binding. Require CL.
22876 (comint-dynamic-complete-functions): Use comint-filename-completion.
22877 (comint-completion-addsuffix): Tweak custom type.
22878 (comint-filename-completion, comint--common-suffix)
22879 (comint--common-quoted-suffix, comint--table-subvert)
22880 (comint--complete-file-name-data): New functions.
22881 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22882 (comint-dynamic-list-filename-completions): Use them.
22883 (comint-dynamic-simple-complete): Make obsolete.
22885 * minibuffer.el (completion-in-region-mode):
22886 Keep completion-in-region-mode--predicate global.
22887 (completion-in-region--postch):
22888 Assume completion-in-region-mode--predicate is not null.
22890 * progmodes/flymake.el (flymake-start-syntax-check-process):
22891 Obey `dir'. Simplify.
22893 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22894 we're in VC after all.
22896 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22898 * vc/vc.el (vc-diff-build-argument-list-internal)
22899 (vc-version-ediff, vc-ediff): New commands.
22900 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22902 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22904 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22907 * obsolete/erc-hecomplete.el: Make obsolete.
22908 * obsolete/: Standardize obsolescence info in the header.
22910 2011-04-20 Glenn Morris <rgm@gnu.org>
22912 * calendar/solar.el (solar-horizontal-coordinates):
22913 Use the longitude argument rather than `calendar-longitude'.
22914 (solar-date-next-longitude): Remove unused locals.
22916 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22918 * whitespace.el: New version 13.2.1.
22920 2011-04-20 felix <EmacsWiki> (tiny change)
22922 * whitespace.el (global-whitespace-mode): Keep highlight when
22923 switching between major modes on a file.
22925 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22927 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22928 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22929 multi-line comments as well.
22931 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22933 Lexical-binding cleanup.
22935 * arc-mode.el (archive-mode-revert):
22936 * cmuscheme.el (scheme-interactively-start-process):
22937 * custom.el (custom-initialize-delay):
22938 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22939 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22940 * emacs-lock.el (emacs-lock-clear-sentinel):
22941 * ezimage.el (defezimage):
22942 * follow.el (follow-avoid-tail-recenter):
22943 * fringe.el (set-fringe-mode-1):
22944 * generic-x.el (bat-generic-mode-compile):
22945 * help-mode.el (help-info-variable, help-do-xref)
22946 (help-mode-revert-buffer):
22947 * help.el (view-emacs-todo):
22948 * iswitchb.el (iswitchb-completion-help):
22949 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22950 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22951 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22952 * locate.el (locate-update):
22953 * longlines.el (longlines-encode-region)
22954 (longlines-after-change-function):
22955 * outline.el (outline-isearch-open-invisible):
22956 * ps-def.el (declare-function, charset-dimension, char-width)
22958 * ps-mule.el (ps-mule-plot-string):
22959 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22960 (recentf-edit-list-select, recentf-edit-list-validate)
22961 (recentf-open-files-action):
22962 * rect.el (delete-whitespace-rectangle-line)
22963 (rectangle-number-line-callback):
22964 * register.el (window-configuration-to-register)
22965 (frame-configuration-to-register):
22966 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22967 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22968 (xselect-convert-to-targets, xselect-convert-to-delete)
22969 (xselect-convert-to-filename, xselect-convert-to-charpos)
22970 (xselect-convert-to-lineno, xselect-convert-to-colno)
22971 (xselect-convert-to-os, xselect-convert-to-host)
22972 (xselect-convert-to-user, xselect-convert-to-class)
22973 (xselect-convert-to-name, xselect-convert-to-integer)
22974 (xselect-convert-to-atom, xselect-convert-to-identity):
22975 * subr.el (declare, ignore, process-kill-without-query)
22976 (text-clone-maintain):
22977 * terminal.el (te-get-char, te-tic-sentinel):
22978 * tool-bar.el (tool-bar-make-keymap):
22979 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22980 * type-break.el (type-break-mode, type-break-noninteractive-query):
22981 * view.el (View-back-to-mark):
22982 * wid-browse.el (widget-browse-action, widget-browse-widget)
22983 (widget-browse-widgets, widget-browse-sexp):
22984 * widget.el (define-widget-keywords):
22985 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22986 Mark unused parameters.
22988 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22989 (align-areas): Remove unused variable `look'.
22990 (align-region): Remove unused variables `real-end' and `pos-list'.
22992 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22994 * bindings.el (mode-line-modified, mode-line-remote):
22995 Mark unused parameters.
22996 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22998 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22999 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23001 * comint.el (comint-history-isearch-pop-state)
23002 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23003 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23004 (comint-substitute-in-file-name): Doc fix.
23006 * completion.el (cmpl-statistics-block): Mark unused parameter.
23007 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23008 (save-completions-to-file, load-completions-from-file):
23009 Remove unused local variable `e'.
23011 * composite.el (compose-chars): Remove unused variable `len'.
23012 (lgstring-insert-glyph): Remove unused variable `g'.
23013 (compose-glyph-string): Remove unused variables `ascent',
23014 `descent', `lbearing' and `rbearing'.
23015 (compose-glyph-string-relative): Remove unused variables
23016 `lbearing', `rbearing' and `wadjust'.
23017 (compose-gstring-for-graphic): Remove unused variables `header',
23018 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23019 (compose-gstring-for-terminal): Remove unused variables `header'
23020 and `nchars'. Use `let', not `let*'.
23022 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23023 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23024 (Custom-buffer-done, custom-buffer-create-internal)
23025 (custom-browse-visibility-action, custom-browse-group-tag-action)
23026 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23027 (widget-magic-mouse-down-action, custom-toggle-parent)
23028 (custom-add-parent-links, custom-toggle-hide-variable)
23029 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23030 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23031 (custom-face-menu-create, custom-variable-menu-create, get)
23032 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23033 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23034 (customize-apropos): Remove unused variable `tests'.
23035 (custom-group-value-create): Remove unused variable `hidden-p'.
23036 (sort-fold-case): Declare.
23038 * cus-theme.el (custom-reset-standard-faces-list)
23039 (custom-reset-standard-variables-list): Declare.
23040 (customize-create-theme, custom-theme-revert, custom-theme-write)
23041 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23042 Mark unused parameters.
23044 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23046 * delim-col.el (delimit-columns-max): Move defvar before first use.
23048 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23049 (describe-char): Don't quote `lambda'. Mark unused parameter.
23051 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23052 (auto-insert): Declare.
23053 (desktop-restore-file-buffer): Rename desktop-* parameters;
23055 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23056 (desktop-buffer): Rename desktop-* parameters.
23058 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23059 (dframe-reposition-frame-xemacs, dframe-help-echo)
23060 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23061 Mark unused parameters.
23063 * dired-aux.el (backup-extract-version-start, overwrite-query)
23064 (overwrite-backup-query, rename-regexp-query)
23065 (rename-non-directory-query): Declare.
23066 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23067 (dired-add-entry): Remove unused variable `orig-file-name'.
23068 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23069 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23070 `dired-copy-preserve-time' directly.
23071 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23072 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23074 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23075 (dired-virtual-revert, dired-make-relative-symlink):
23076 Mark unused parameters.
23077 (manual-program): Declare.
23078 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23079 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23080 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23082 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23084 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23086 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23089 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23091 * electric.el (Electric-command-loop): Rename parameter
23092 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23094 * expand.el (expand-in-literal): Remove unused variable `here'.
23096 * facemenu.el (facemenu-add-new-color):
23097 Remove unused variable `docstring'.
23099 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23100 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23101 (face-attr-construct): Mark unused parameter. Doc fix.
23102 (read-color): Remove unused variable `hex-string'.
23104 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23105 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23106 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23107 (display-buffer-other-frame): Remove unused variable `old-window'.
23108 (kill-buffer-hook): Declare.
23109 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23110 Mark unused parameters.
23111 (after-find-file): Pass 1 to `auto-save-mode', not t.
23113 * files-x.el (auto-insert): Declare.
23114 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23116 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23117 variable `buf'. Mark unused parameter.
23118 (find-lisp-insert-directory): Mark unused parameter.
23120 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23121 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23122 (format-common-tail): Remove, unused.
23123 (format-deannotate-region): Remove unused variable `loc'.
23124 (format-annotate-region): Remove unused variable `p'.
23125 (format-annotate-single-property-change): Remove unused variables
23126 `default' and `tail'.
23128 * forms.el (read-file-filter): Declare.
23129 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23131 * frame.el (frame-creation-function-alist): Mark unused parameter.
23132 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23134 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23135 Remove unused parameters.
23136 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23137 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23139 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23140 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23141 (hfy-prepare-tag-map): Mark unused parameters.
23142 (htmlfontify-buffer): Use `called-interactively-p'.
23144 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23145 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23146 (ibuffer-do-occur): Mark unused parameters.
23147 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23148 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23150 * ibuffer.el: Don't quote `lambda'.
23151 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23152 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23153 Mark unused parameters.
23155 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23156 (ido-completing-read): Mark unused parameters.
23157 (ido-copy-current-word): Mark unused parameters;
23158 remove unused variable `name'.
23159 (ido-sort-merged-list): Remove unused parameter `dirs'.
23161 * ielm.el (ielm-input-sender): Mark unused parameter.
23162 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23163 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23164 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23165 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23166 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23168 * image-dired.el (image-dired-display-thumbs): Remove unused
23169 variables `curr-file' and `count'.
23170 (image-dired-remove-tag): Remove unused variable `start'.
23171 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23172 variable `curr-file'
23173 (image-dired-rotate-original): Remove unused variable `temp-file'.
23174 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23175 Remove unused variable `file'.
23176 (image-dired-gallery-generate): Remove unused variable `curr'.
23177 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23179 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23181 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23183 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23185 * isearch.el (minibuffer-history-symbol): Declare.
23186 (isearch-edit-string): Remove unused variable `err'.
23187 (isearch-message-prefix, isearch-message-suffix):
23188 Mark unused parameters.
23190 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23192 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23194 * makesum.el (double-column): Remove unused variable `cnt'.
23196 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23197 (ido-ignore-item-temp-list): Declare.
23199 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23200 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23201 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23202 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23205 * mouse-sel.el (mouse-extend-internal):
23206 Remove unused variable `orig-window-frame'.
23208 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23209 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23210 Move declarations before first use.
23211 (pcomplete-opt): Mark unused parameters; doc fix.
23213 * proced.el (proced-revert): Mark unused parameter.
23214 (proced-send-signal): Remove unused variable `err'.
23216 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23217 Rename parameter PREFIX-ARG to ARG.
23218 (ps-basic-plot-string, ps-basic-plot-whitespace):
23219 Mark unused parameters.
23221 * replace.el (replace-count): Define.
23222 (occur-revert-function): Mark unused parameters.
23223 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23224 (isearch-case-fold-search, isearch-string): Declare.
23225 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23226 bind `case-fold-search'. Remove unused variables `beg' and `end',
23228 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23229 COUNT and bind `replace-count'.
23230 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23233 * savehist.el (print-readably, print-string-length): Declare.
23235 * shadowfile.el (shadow-expand-cluster-in-file-name):
23236 Remove unused variable `cluster'.
23237 (shadow-copy-file): Remove unused variable `i'.
23238 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23239 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23240 (shadow-define-literal-group, shadow-define-regexp-group)
23241 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23243 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23244 (shell): Use `called-interactively-p'.
23245 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23247 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23248 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23249 (delete-backward-char): Remove unused variable `ocol'.
23250 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23251 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23252 (event-apply-hyper-modifier, event-apply-shift-modifier)
23253 (event-apply-control-modifier, event-apply-meta-modifier):
23254 Mark unused parameters.
23255 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23256 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23258 * speedbar.el (speedbar-ignored-directory-expressions)
23259 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23260 (speedbar-find-file, speedbar-dir-follow)
23261 (speedbar-directory-buttons-follow, speedbar-tag-find)
23262 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23263 (speedbar-buffers-line-directory, speedbar-buffer-click):
23264 Mark unused parameters.
23265 (speedbar-tag-file): Remove unused variable `mode'.
23266 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23268 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23270 * talk.el (talk): Remove unused variable `display'.
23272 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23273 (tar-write-region-annotate): Mark unused parameter.
23275 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23276 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23277 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23278 warning by another.
23280 * time-stamp.el (time-stamp-string-preprocess):
23281 Remove unused variable `require-padding'.
23283 * tree-widget.el (widget-glyph-enable): Declare.
23284 (tree-widget-action): Mark unused parameter.
23286 * w32-fns.el (x-get-selection): Mark unused parameter.
23287 (autoload-make-program, generated-autoload-file): Declare.
23289 * wdired.el (wdired-revert): Mark unused parameters.
23290 (wdired-xcase-word): Remove unused variable `err'.
23292 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23293 (whitespace-help-scroll): Remove unused variable `data-help'.
23295 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23296 (widget-image-insert, widget-after-change, default)
23297 (widget-default-format-handler, widget-default-notify)
23298 (widget-default-prompt-value, widget-info-link-action)
23299 (widget-url-link-action, widget-function-link-action)
23300 (widget-variable-link-action, widget-file-link-action)
23301 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23302 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23303 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23304 (widget-insert-button-action, widget-delete-button-action, visibility)
23305 (widget-documentation-link-action, widget-documentation-string-action)
23306 (widget-const-prompt-value, widget-regexp-match, symbol)
23307 (widget-coding-system-prompt-value)
23308 (widget-key-sequence-value-to-external, sexp)
23309 (widget-sexp-value-to-internal, character, vector, cons)
23310 (widget-choice-prompt-value, widget-boolean-prompt-value)
23311 (widget-color--choose-action): Mark unused parameters.
23312 (widget-item-match-inline, widget-choice-match-inline)
23313 (widget-checklist-match, widget-checklist-match-inline)
23314 (widget-group-match): Rename parameter VALUES to VALS.
23315 (widget-field-value-set): Remove unused variable `size'.
23316 (widget-color-action): Remove unused variables `value' and `start'.
23318 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23319 variable `dir'. Doc fix.
23320 (windmove-find-other-window): Don't pass it.
23322 * window.el (count-windows): Mark unused parameter.
23323 (bw-adjust-window): Remove unused variable `err'.
23325 * woman.el (woman-file-name): Remove unused variable `default'.
23326 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23327 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23328 (global-font-lock-mode): Declare.
23329 (woman-decode-region): Mark unused parameter.
23330 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23332 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23333 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23334 (x-dnd-handle-moz-url): Remove unused variable `title'.
23335 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23337 * xml.el (xml-parse-tag, xml-parse-attlist):
23338 Remove unused variable `pos'.
23340 2011-04-19 Glenn Morris <rgm@gnu.org>
23342 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23343 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23344 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23345 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23346 * calendar/cal-html.el (cal-html-insert-minical):
23347 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23348 (calendar-mark-date-pattern):
23349 Prefix "unused" locals.
23351 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23352 optional argument `style'.
23354 * calendar/appt.el (appt-make-list):
23355 * calendar/cal-china.el (calendar-chinese-date-string):
23356 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23357 (diary-hebrew-yahrzeit):
23358 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23359 * calendar/calendar.el (calendar-generate-window):
23360 * calendar/time-date.el (time-to-days):
23361 Remove unused local variables.
23363 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23365 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23366 glyphless-char-display table.
23367 (tabulated-list-glyphless-char-display): New var.
23369 2011-04-18 Sam Steingold <sds@gnu.org>
23371 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23372 to acknowledgments.
23374 2011-04-17 Glenn Morris <rgm@gnu.org>
23376 * calendar/diary-lib.el (diary-sexp-entry):
23377 * calendar/holidays.el (holiday-sexp):
23378 Set debug-on-error rather than the removed stack-trace-on-error.
23380 2011-04-16 Glenn Morris <rgm@gnu.org>
23382 * progmodes/f90.el: Use lexical-binding.
23383 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23385 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23387 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23388 (mail-mode): Setup mailalias completion here instead.
23389 * mail/mailalias.el: Use lexical-binding.
23390 (pattern, mailalias-done): Declare dynamic.
23391 (mail-completion-at-point-function): New function, from mail-complete.
23392 (mail-complete): Use it.
23393 (mail-completion-expand): New function.
23394 (mail-get-names): Use it.
23395 (mail-directory, mail-directory-process, mail-directory-stream):
23396 Don't use `pattern' for lexically bound arg.
23398 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23400 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23401 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23402 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23404 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23405 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23406 (byte-interactive-p): Define them again, for use when inlining
23409 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23411 * loadup.el: Use `string-to-number', not `string-to-int'.
23413 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23415 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23416 gud-gdb-complete-command.
23417 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23418 (gud-gdb-completion-at-point): New function.
23419 (gud-gdb-completions): Remove.
23421 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23423 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23424 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23425 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23426 whether `executable-find' is bound.
23428 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23430 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23432 * minibuffer.el (completion-in-region-mode-predicate)
23433 (completion-in-region-mode--predicate): New vars.
23434 (completion-in-region, completion-in-region--postch)
23435 (completion-in-region-mode): Use them.
23436 (completion--capf-wrapper): Also return the hook function.
23437 (completion-at-point, completion-help-at-point):
23438 Adjust and provide a predicate.
23440 Preserve arg names for advice of subr and lexical functions (bug#8457).
23441 * help-fns.el (help-function-arglist): Consolidate the subr and
23442 new-byte-code cases. Add argument `preserve-names' to extract names
23443 from the docstring when needed.
23444 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23445 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23446 (ad-arglist): Use help-function-arglist's new arg.
23447 (ad-definition-type): Use cond.
23449 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23451 * autorevert.el (auto-revert-handler):
23452 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23453 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23454 Don't quote lambda.
23456 * image-mode.el (image-transform-set-scale):
23457 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23459 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23461 * net/network-stream.el (network-stream-open-starttls): Only do
23462 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23463 Upgrades via gnutls-cli are too slow to be done opportunistically.
23465 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23467 * dframe.el (dframe-current-frame): Remove spurious quote.
23469 2011-04-12 Glenn Morris <rgm@gnu.org>
23471 * calendar/cal-tex.el (cal-tex-end-document):
23472 Try to automatically use latin1 input if needed.
23474 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23475 Don't try to cons a mark onto an empty element.
23477 2011-04-11 Leo Liu <sdl.web@gmail.com>
23479 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23481 (ido-kill-buffer-at-head): Support killing virtual buffers.
23483 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23485 * minibuffer.el (completion-show-inline-help): New var.
23486 (completion--do-completion, minibuffer-complete)
23487 (minibuffer-force-complete, minibuffer-complete-word):
23488 Inhibit minibuffer messages if completion-show-inline-help is nil.
23490 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23491 to avoid interference from inline help (Bug#5849).
23493 2011-04-10 Leo Liu <sdl.web@gmail.com>
23495 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23498 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23500 * image-mode.el (image-toggle-display-image): Signal an error if
23502 (image-transform-mode, image-transform-resize)
23503 (image-transform-set-rotation): Doc fix.
23504 (image-transform-set-resize): Delete.
23505 (image-transform-set-scale, image-transform-fit-to-height)
23506 (image-transform-fit-to-width): Handle image-toggle-display-image
23507 and image-transform-resize directly.
23509 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23511 * doc-view.el (doc-view-fit-width-to-window)
23512 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23513 New functions for fitting the shown image to the Emacs window size.
23514 (doc-view-mode-map): Add bindings for the new functions.
23516 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23518 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23519 Fix typo in docstring.
23521 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23523 * files.el (file-size-human-readable): Produce one digit after
23524 decimal, like "ls -lh" does.
23526 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23527 the file size representation.
23529 * simple.el (list-processes): If async subprocesses are not
23530 available, error out with a clear error message.
23532 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23534 * help.el (help-form-show): New function, to be called from C.
23535 Put help-form output in a buffer named differently than *Help*.
23537 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23539 * files.el (file-size-human-readable): New function.
23541 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23542 computing the representation inline. Don't require `cl'.
23544 2011-04-08 Glenn Morris <rgm@gnu.org>
23546 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23548 * net/browse-url.el (browse-url-firefox):
23549 Test system-type, not system-configuration.
23551 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23552 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23553 Use log-edit-empty-buffer-p. (Bug#7598)
23555 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23556 (rlogin-mode-map): Initialize in the defvar.
23557 (rlogin): Use ignore-errors.
23559 * replace.el (occur-mode-map): Some fixes for menu items.
23561 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23563 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23565 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23567 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23568 issuing unused warnings.
23570 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23573 * simple.el: Lisp reimplement of list-processes. Based on an
23574 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23575 (process-menu-mode): New major mode.
23576 (list-processes--refresh, list-processes):
23577 (process-menu-visit-buffer): New functions.
23579 * files.el (save-buffers-kill-emacs): Don't assume any return
23580 value of list-processes, which is undocumented anyway.
23582 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23584 * emacs-lisp/tabulated-list.el: New file.
23586 * emacs-lisp/package.el: Use Tabulated List mode.
23587 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23588 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23589 table format using Tabulated List mode variables.
23590 (package--push): New macro, replacing package-list-maybe-add.
23591 (package-menu--generate): Use package--push. Renamed from
23592 package--generate-package-list.
23593 (package-menu-refresh, list-packages): Use it.
23594 (package-menu--print-info): Rename from package-print-package.
23595 Return insertion data instead of inserting it directly.
23596 (package-menu-describe-package, package-menu-execute):
23597 Use tabulated-list-get-id.
23598 (package-menu-mark-delete, package-menu-mark-install)
23599 (package-menu-mark-unmark, package-menu-backup-unmark)
23600 (package-menu-mark-obsolete-for-deletion):
23601 Use tabulated-list-put-tag.
23602 (package--list-packages, package-menu-revert)
23603 (package-menu-get-package, package-menu-get-version)
23604 (package-menu-sort-by-column): Functions deleted.
23605 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23606 (package-menu--status-predicate, package-menu--version-predicate)
23607 (package-menu--name-predicate)
23608 (package-menu--description-predicate): Handle arguments in the
23609 Tabulated List format.
23610 (package-list-packages-no-fetch): Call list-packages.
23612 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23614 * files.el (after-find-file-from-revert-buffer): Remove variable.
23615 (after-find-file): Don't bind it.
23616 (revert-buffer-in-progress-p): New variable.
23617 (revert-buffer): Bind it.
23618 Pass nil for `after-find-file-from-revert-buffer'.
23620 * saveplace.el (save-place-find-file-hook): Use new variable
23621 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23623 2011-04-06 Glenn Morris <rgm@gnu.org>
23625 * Makefile.in (AUTOGEN_VCS): New variable.
23626 (autoloads): Use $AUTOGEN_VCS.
23628 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23629 * calendar/calendar.el (calendar-mode-map):
23630 Check for toolkit scroll bars. (Bug#8305)
23632 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23634 * minibuffer.el (completion-in-region--postch)
23635 (completion-in-region-mode): Remove unnecessary messages.
23637 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23639 * font-lock.el (font-lock-refresh-defaults):
23640 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23641 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23643 * info.el (Info-directory-list, Info-read-node-name-2)
23644 (Info-split-parameter-string): Doc fixes.
23645 (Info-virtual-nodes): Reflow docstring.
23646 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23647 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23648 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23649 Fix typos in docstrings.
23650 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23651 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23652 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23653 (Info-restore-desktop-buffer): Mark unused parameters.
23654 (Info-directory-find-file, Info-directory-find-node)
23655 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23656 (Info-virtual-index-find-node, Info-apropos-find-file)
23657 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23658 Mark unused parameters; fix typos in docstrings.
23659 (Info-virtual-index): Remove unused local variable `nodename'.
23661 2011-04-05 Deniz Dogan <deniz@dogan.se>
23663 * net/rcirc.el: Update my e-mail address.
23664 (rcirc-mode-map): Remove M-o binding.
23666 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23668 * startup.el (command-line): Save the cursor's theme-face
23669 directly, instead of using face-override-spec.
23671 * custom.el (load-theme): Minor optimization in assigning faces.
23673 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23675 * help-fns.el (describe-variable): Complete all variables having
23676 documentation, including keywords.
23677 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23679 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23681 Convert to lexical-binding.
23683 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23684 (bs--get-marked-string, bs--get-modified-string)
23685 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23686 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23687 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23689 * ehelp.el (electric-help-execute-extended)
23690 (electric-help-ctrl-x-prefix):
23691 * hexl.el (hexl-revert-buffer-function):
23692 * linum.el (linum-after-change, linum-after-scroll):
23693 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23695 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23697 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23704 * epg.el: Use lexical binding.
23706 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23708 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23710 * textmodes/flyspell.el (flyspell-word): Recognize default
23711 dictionary case for flyspell-mark-duplications-exceptions.
23712 Use regexp matching for languages.
23713 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23714 default dictionary (Bug#7926).
23716 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23718 * emacs-lisp/package.el (package--with-work-buffer):
23719 Recognize https URLs.
23721 * net/network-stream.el: Move from gnus/proto-stream.el.
23722 Change prefix to network-stream throughout.
23723 (open-protocol-stream): Merge into open-network-stream, leaving
23724 open-protocol-stream as an alias. Handle nil BUFFER args.
23726 * subr.el (open-network-stream): Move to net/network-stream.el.
23728 2011-04-02 Glenn Morris <rgm@gnu.org>
23730 * find-dired.el (find-exec-terminator): New option.
23731 (find-ls-option): Test for -ls support.
23732 (find-ls-subdir-switches): Test for -b in find-ls-option.
23733 (find-dired, find-grep-dired): Doc fixes.
23734 (find-dired): Use find-exec-terminator.
23736 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23737 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23738 (find-name-arg): Remove purecopy.
23740 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23741 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23742 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23743 accordingly. Don't add the null-device if not needed.
23745 * files.el (save-some-buffers): Doc fix.
23747 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23749 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23751 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23753 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23754 Use `dolist' rather than `mapcar'.
23756 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23758 Add lexical binding.
23760 * subr.el (apply-partially): Use new closures rather than CL.
23761 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23762 (dolist, dotimes): Use slightly different expansion for lexical code.
23763 (functionp): Move to C.
23764 (letrec): New macro.
23765 (with-wrapper-hook): Use it and apply-partially instead of CL.
23766 (eval-after-load): Preserve lexical-binding.
23767 (save-window-excursion, with-output-to-temp-buffer): Turn them
23770 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23772 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23774 (help-add-fundoc-usage): Don't add `Not documented'.
23775 (help-function-arglist): Handle closures, subroutines, and new
23776 byte-code-functions.
23777 (help-make-usage): Remove leading underscores.
23778 (describe-function-1): Handle closures.
23779 (describe-variable): Use special-variable-p for completion.
23781 * files.el (lexical-binding): Declare safe.
23783 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23784 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23785 (pcase): Add `let' pattern.
23786 Change memoization so it actually works.
23787 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23788 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23791 * emacs-lisp/macroexp.el: Use lexical binding.
23792 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23793 Don't convert ' to #' without checking that it's indeed quoting
23796 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23797 Use eval-sexp-add-defvars.
23798 (eval-sexp-add-defvars): New fun.
23800 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23802 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23804 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23805 than the internal `byte-compile-lambda'.
23806 (defmethod): Don't hide code under quotes.
23807 (eieio-defmethod): New `code' argument.
23809 * emacs-lisp/eieio-comp.el: Remove.
23811 * emacs-lisp/edebug.el (edebug-eval-defun)
23812 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23813 (edebug-toggle): Avoid `eval'.
23815 * emacs-lisp/disass.el (disassemble-internal): Handle new
23817 (disassemble-1): Handle new byte codes.
23819 * emacs-lisp/cl.el (pushnew): Silence warning.
23821 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23822 (cl-byte-compile-throw): Remove.
23823 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23825 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23828 * emacs-lisp/cconv.el: New file.
23830 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23831 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23832 (byte-compile-initial-macro-environment):
23833 Handle declare-function here.
23834 (byte-compile--lexical-environment): New var.
23835 (byte-stack-ref, byte-stack-set, byte-discardN)
23836 (byte-discardN-preserve-tos): New lap codes.
23837 (byte-interactive-p): Don't use any more.
23838 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23840 (byte-compile-lapcode): Use them and handle new lap codes.
23841 (byte-compile-obsolete): Remove.
23842 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23843 (byte-compile-arglist-warn): Check late def of inlinable funs.
23844 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23845 since they should have been expanded by now.
23846 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23847 (byte-compile-from-buffer): Remove unused second arg.
23848 (byte-compile-preprocess): New function.
23849 (byte-compile-toplevel-file-form): New function to distinguish
23850 file-form calls from outside from file-form calls from hunk-handlers.
23851 (byte-compile-file-form): Simplify.
23852 (byte-compile-file-form-defsubst): Remove.
23853 (byte-compile-file-form-defmumble): Simplify now that
23854 byte-compile-lambda always returns a byte-code-function.
23855 (byte-compile): Preprocess.
23856 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23857 Remove, not used any more.
23858 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23859 (byte-compile-make-args-desc): New funs.
23860 (byte-compile-lambda): Handle lexical functions. Always return
23861 a byte-code-function.
23862 (byte-compile-reserved-constants): New var, to make up room for
23863 closed-over variables.
23864 (byte-compile-constants-vector): Obey it.
23865 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23866 (byte-compile-macroexpand-declare-function): New function.
23867 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23868 byte-code-functions.
23869 (byte-compile-form): Check obsolescence here.
23870 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23871 (byte-compile-variable-ref): Remove.
23872 (byte-compile-dynamic-variable-op): New fun.
23873 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23874 (byte-compile-variable-set): New funs.
23875 (byte-compile-discard): Add 2 args.
23876 (byte-compile-stack-ref, byte-compile-stack-set)
23877 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23878 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23879 macroexpand-all instead.
23880 (byte-compile-quote-form): Remove.
23881 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23882 (byte-compile-bind, byte-compile-unbind): New funs.
23883 (byte-compile-let): Handle let* and lexical binding.
23884 (byte-compile-let*): Remove.
23885 (byte-compile-catch, byte-compile-unwind-protect)
23886 (byte-compile-track-mouse, byte-compile-condition-case):
23887 Handle a new :fun-body form, used for lexical scoping.
23888 (byte-compile-save-window-excursion)
23889 (byte-compile-with-output-to-temp-buffer): Remove.
23890 (byte-compile-defun): Simplify.
23891 (byte-compile-stack-adjustment): New fun.
23892 (byte-compile-out): Use it.
23893 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23895 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23898 * emacs-lisp/byte-opt.el: Use lexical binding.
23899 (byte-inline-lapcode): Remove (to bytecomp).
23900 (byte-compile-inline-expand): Pay attention to inlining to/from
23901 lexically bound code.
23902 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23904 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23905 any more and don't call compiler-macros.
23906 (byte-compile-splice-in-already-compiled-code): Remove.
23907 (byte-code): Don't inline any more.
23908 (disassemble-offset): Receive `bytes' as argument rather than via
23910 (byte-compile-tag-number): Declare before first use.
23911 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23912 `return' even if make-spliceable.
23913 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23914 obsolete interactive-p.
23915 (byte-optimize-lapcode): Optimize new lap-codes.
23916 Don't trip up on new form of `byte-constant' lap code.
23918 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23920 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23922 * custom.el (custom-initialize-default, custom-declare-variable):
23925 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23927 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23928 (COMPILE_FIRST): Add macroexp and cconv.
23929 * makefile.w32-in: Mirror changes in Makefile.in.
23931 * vc/cvs-status.el:
23935 * vc/smerge-mode.el:
23936 * textmodes/bibtex-style.el:
23937 * textmodes/css-mode.el:
23945 * emacs-lisp/smie.el:
23948 * abbrev.el: Use lexical binding.
23950 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23952 * info.el (info-display-manual): New function.
23954 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23956 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23958 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23960 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23961 an entry for that server in rcirc-authinfo. (Bug#8385)
23963 2011-03-31 Glenn Morris <rgm@gnu.org>
23965 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23967 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23969 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23971 * progmodes/python.el (python-default-interpreter)
23972 (python-python-command-args, python-jython-command-args)
23973 (python-which-shell, python-which-args, python-which-bufname)
23974 (python-file-queue, python-comint-output-filter-function)
23975 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23976 variables and functions.
23978 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23980 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23981 (completion-in-region-mode): New minor mode.
23982 (completion-in-region): Use it.
23983 (completion-in-region--data, completion-in-region-mode-map): New vars.
23984 (completion-in-region--postch): New function.
23985 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23987 (completion--capf-wrapper): New function.
23988 (completion-at-point): Use it to track well-behavedness of
23990 (completion-help-at-point): New command.
23992 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23994 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23995 syntax class to search for whitespace on a single line
23996 (Message-ID: <4D938140.4030905@redhat.com>).
23998 2011-03-30 Leo Liu <sdl.web@gmail.com>
24000 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24002 (edit-abbrevs-map): Bind them here.
24003 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24005 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24007 * allout.el (allout-hide-by-annotation, allout-flag-region):
24008 Reduce possibility of overlay leakage by making them volatile.
24010 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24011 hash is not shared between buffers. Mode initialization is
24012 responsible for giving it a useful starting value.
24013 (allout-item-span): Reduce possibility of overlay leakage by
24014 making them volatile.
24015 (allout-widgets-count-buttons-in-region): Add diagnostic function
24016 for tracking down button overlay leaks.
24018 2011-03-29 Leo Liu <sdl.web@gmail.com>
24020 * ido.el (ido-read-internal): Use the default history var
24021 minibuffer-history if no HISTORY is specified.
24023 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24025 * net/imap.el (imap-shell-open, imap-process-connection-type):
24026 Use imap-process-connection-type for 'shell' streams as well as
24027 Kerberos, SSL, other subprocesses.
24029 2011-03-28 Leo Liu <sdl.web@gmail.com>
24031 * abbrev.el (abbrev-table-empty-p): New function.
24032 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24033 nonempty ones. (Bug#5937)
24035 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24037 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24039 2011-03-27 Leo Liu <sdl.web@gmail.com>
24041 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24042 for foreground and background colors.
24043 (ansi-color-make-color-map): Adapt.
24045 2011-03-25 Leo Liu <sdl.web@gmail.com>
24047 * midnight.el (midnight-time-float): Remove. Note it calculates
24048 the microsecond component incorrectly and seconds-to-time does the
24050 Remove redundant (require 'timer).
24052 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24053 (ido-completions): Remove unused arguments. (Bug#8329)
24055 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24057 * minibuffer.el (completion--flush-all-sorted-completions):
24058 Remove itself from hook.
24059 (completion-at-point): Let the functions perform the completion
24060 immediately and return nil or t.
24061 * comint.el (comint-dynamic-complete-functions): Now identical to
24062 completion-at-point-functions.
24063 (comint-dynamic-list-input-ring): Remove unused var `index'.
24064 (comint--match-partial-filename, comint--unquote&expand-filename):
24065 New funs, split from comint-match-partial-filename.
24066 (comint-dynamic-complete): Use completion-at-point.
24067 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24069 2011-03-24 Drew Adams <drew.adams@oracle.com>
24071 * thingatpt.el: Support `defun'.
24073 2011-03-23 Leo Liu <sdl.web@gmail.com>
24075 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24077 * help-mode.el (help-mode-finish): Tweak regexp.
24079 2011-03-23 Glenn Morris <rgm@gnu.org>
24081 * eshell/esh-opt.el (eshell-eval-using-options):
24082 Do not bind unused local variable `eshell-option-stub'.
24084 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24086 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24088 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24089 keymap variable in `with-no-warnings' to avoid a warning when the
24090 keymap has been already `defconst'ed.
24092 2011-03-22 Leo Liu <sdl.web@gmail.com>
24094 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24095 encode all chars in abbrevs; otherwise use emacs-mule or
24096 utf-8-emacs. (Bug#8308)
24098 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24100 * simple.el (backward-delete-char-untabify):
24101 Avoid warning about using `delete-backward-char'.
24103 * image.el (image-type-file-name-regexps): Make it variable.
24104 `imagemagick-register-types' modifies it, and the user may want
24105 to add new extensions for known image types.
24106 (imagemagick-register-types): Throw error if not using ImageMagick.
24108 2011-03-22 Leo Liu <sdl.web@gmail.com>
24110 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24111 located before rcirc-prompt-end-marker.
24112 (rcirc-complete): Error if point is not after rcirc prompt.
24113 Handle the case when table is nil.
24114 (rcirc-user-authenticated): Define to fix compiler warning.
24116 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24118 * custom.el (custom--inhibit-theme-enable): Make it affect only
24119 custom-theme-set-variables and custom-theme-set-faces.
24120 (provide-theme): Ignore custom--inhibit-theme-enable.
24121 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24122 (custom-enabling-themes): Delete variable.
24123 (enable-theme): Accept only loaded themes as arguments.
24124 Ignore the special custom-enabled-themes variable.
24125 (custom-enabled-themes): Forbid themes from setting this.
24126 Eliminate use of custom-enabling-themes.
24127 (custom-push-theme): Quote "changed" custom var entry.
24129 2011-03-21 Leo Liu <sdl.web@gmail.com>
24131 * ido.el (ido-read-internal): Add ido-selected to history instead
24134 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24136 * subr.el (deferred-action-list, deferred-action-function):
24139 2011-03-21 Leo Liu <sdl.web@gmail.com>
24141 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24142 change on 2011-02-13 (bug#8309).
24144 * minibuffer.el (read-file-name-function): Change default value.
24145 (read-file-name--defaults): Rename from read-file-name-defaults.
24146 (read-file-name-default): Rename from read-file-name.
24147 (read-file-name): Call read-file-name-function.
24149 2011-03-21 Glenn Morris <rgm@gnu.org>
24151 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24154 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24156 * cus-theme.el: Add missing provide statement.
24157 (customize-create-theme): Extract theme value correctly.
24158 (custom-theme-visit-theme): Autoload.
24159 (customize-create-theme): Prompt before inserting default faces.
24161 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24163 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24164 units and musical notes.
24166 2011-03-20 Leo Liu <sdl.web@gmail.com>
24168 * ido.el (ido-read-internal): Use completing-read-default.
24169 (ido-completing-read): Fix compatibility with completing-read.
24171 2011-03-20 Christian Ohler <ohler@gnu.org>
24173 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24174 (ert-delete-all-tests): Use `called-interactively-p' rather than
24176 (ert--make-xrefs-region): Respect END.
24178 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24180 * dired-aux.el (dired-create-directory): Signal an error if the
24181 directory already exists (Bug#8246).
24183 * facemenu.el (list-colors-display): Call list-faces-display
24184 inside with-help-window.
24185 (list-colors-print): Use display property to align the final
24186 column, instead of checking window-width.
24188 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24190 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24191 windows-nt systems.
24192 (emerge-protect-metachars): Quote correctly for ms-dos and
24193 windows-nt systems.
24195 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24197 * info.el (info-initialize): Replace all uses of `:' with
24198 path-separator for compatibility with non-Unix systems.
24199 Cache quoting of path-separator. (Bug#8258)
24201 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24203 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24204 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24205 (mouse-avoidance-mode): Fix typos in docstrings.
24207 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24209 * startup.el (package-subdirectory-regexp): Move from package.el.
24210 Omit \\` and \\', and let callers add them.
24212 * emacs-lisp/package.el (package-strip-version)
24213 (package-load-all-descriptors): Add \\` and \\' to
24214 package-subdirectory-regexp before using it.
24215 (package-untar-buffer): New arg DIR; ensure that file untars only
24216 into this expected directory. Remove superfluous delete-region.
24217 (package-unpack): Caller changed.
24218 (package-tar-file-info): Use package-subdirectory-regexp.
24220 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24222 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24223 diff-mode-shared-map (bug#8284).
24224 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24226 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24228 * calendar/time-date.el (format-seconds): Use assoc instead of
24229 assoc-string, since assoc-string doesn't exist in XEmacs.
24231 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24233 * custom.el (custom-known-themes): Reflow docstring.
24234 (custom-theme-load-path): Fix typo in docstring.
24235 (load-theme): Fix typo in error message.
24236 (custom-available-themes, custom-variable-theme-value):
24237 Use `let', not `let*'.
24239 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24241 * calc/README: Mention inclusion of musical notes.
24243 * calc/calc-units.el (calc-lu-quant): Rename from
24244 `calc-logunits-quantity'.
24245 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24246 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24247 (calc-db): Rename from `calc-dblevel'.
24248 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24249 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24250 (calc-np): Rename from `calc-nplevel'.
24251 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24252 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24253 (calc-lu-plus): Rename from `calc-logunits-add'.
24254 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24255 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24256 (calc-lu-minus): Rename from `calc-logunits-sub'.
24257 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24258 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24259 (calc-lu-times): Rename from `calc-logunits-mul'.
24260 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24261 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24262 (calc-lu-divide): Rename from `calc-logunits-div'.
24263 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24264 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24266 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24267 functions being autoloaded.
24269 * calc/calc.el (calc-lu-power-reference): Rename from
24270 `calc-logunits-power-reference'.
24271 (calc-lu-field-reference): Rename from
24272 `calc-logunits-field-reference'.
24274 * calc/calc-help.el (calc-l-prefix-help):
24275 Mention musical note functions.
24277 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24279 * minibuffer.el (completion-all-sorted-completions):
24280 Use :completion-cycle-penalty text property if present.
24282 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24284 * allout.el (allout-yank-processing): Adjust for new rebulleting
24285 regime so bullet being yanked is used without prompting the user
24288 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24290 * startup.el (command-line): Warn the user that _emacs is deprecated.
24292 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24294 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24295 (delphi-verbose, delphi-comment-face, delphi-string-face)
24296 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24297 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24298 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24299 (delphi-new-comment-line, delphi-font-lock-defaults)
24300 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24301 Fix typos in docstrings.
24303 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24305 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24306 Invert the roles of character and string values for INSTEAD, so a
24307 string is used for the more common case of a defaulting prompt.
24309 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24311 * progmodes/ruby-mode.el (ruby-backward-sexp):
24312 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24313 * play/gamegrid.el (gamegrid-make-face):
24314 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24315 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24316 * notifications.el (notifications-notify):
24317 * net/xesam.el (xesam-search-engines):
24318 * net/quickurl.el (quickurl-list-insert):
24319 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24321 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24323 * startup.el (command-line): Update package subdirectory regexp.
24325 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24327 * allout.el (allout-abbreviate-flattened-numbering)
24328 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24330 * subr.el (read-char-choice): Only show the cursor after the prompt,
24331 not after the answer.
24333 2011-03-15 Kevin Ryde <user42@zip.com.au>
24335 * help-fns.el (variable-at-point): Skip leading quotes, if any
24338 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24340 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24343 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24345 * shell.el (shell): When called interactively, offer to change the
24346 shell file name on remote hosts.
24348 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24350 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24351 integration for LDAP parameters. The host, base, user or binddn,
24352 and secret tokens can be specified in a netrc file, for instance.
24353 This is optional because an `auth-source' parameter must be
24354 specified in the search attributes.
24356 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24358 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24360 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24362 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24363 into declaration. Remove redundant and harmful binding.
24365 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24367 * files.el (file-ownership-preserved-p): Pass `integer' as an
24368 explicit 2nd argument to `file-attributes'. If the file's owner
24369 is the Administrators group on Windows, and the current user is
24370 Administrator, consider that a match.
24372 * server.el (server-ensure-safe-dir): Consider server directory
24373 safe on MS-Windows if its owner is the Administrators group while
24374 the current Emacs user is Administrator. Use `=' to compare
24375 numerical UIDs, since they could be integers or floats.
24377 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24379 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24381 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24383 Sync with Tramp 2.2.1.
24385 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24387 * net/trampver.el: Update release number.
24389 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24391 * progmodes/compile.el (compilation--previous-directory): Fix up
24392 various nil/dead-marker mismatches (bug#8014).
24393 (compilation-directory-properties, compilation-error-properties):
24394 Don't call it at a position past the one we're about to change.
24396 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24397 Disable obsolescence warnings in the file that declares it.
24399 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24401 * allout-widgets.el (allout-widgets-tally):
24402 Initialize allout-widgets-tally as a hash table rather than nil to
24403 prevent mode-line redisplay warnings. Also, clarify the module
24404 description and fix a comment typo.
24406 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24408 * help-fns.el (describe-variable): Don't complete keywords.
24409 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24411 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24413 * emacs-lisp/package.el (package-version-join): Impose a standard
24414 string representation for pre/alpha/beta version lists.
24415 (package-unpack-single): Standardize the directory name by passing
24416 it through package-version-join.
24417 (package-strip-rcs-id): Accept any version string that does not
24418 signal an error in version-to-list.
24420 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24422 * simple.el (delete-trailing-whitespace): Return nil for the
24423 benefit of `write-file-functions'.
24425 2011-03-10 Glenn Morris <rgm@gnu.org>
24427 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24429 * vc/vc-git.el (vc-git-program): New option.
24430 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24431 (vc-git--call): Use it.
24433 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24435 * cus-edit.el (Custom-newline): If no button at point, look
24436 for a subgroup button at start-of-line. (Bug#2298)
24438 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24440 2011-03-10 Julien Danjou <julien@danjou.info>
24442 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24443 `cursor-type' is nil.
24445 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24447 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24449 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24451 * allout.el: Change so yank of distinctive-bullet items
24452 preserves the existing header prefix, rebulleting it if necessary,
24453 rather than replacing it. This is necessary for proper operation
24454 of cooperative addons like allout-widgets.
24455 (allout-make-topic-prefix, allout-rebullet-heading):
24456 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24457 value as alternate bullet to be used, instead of prompting the user
24458 for a bullet character.
24460 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24462 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24463 Do not use `tramp-file-name-port', because this returns also
24464 `tramp-default-port'.
24466 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24468 * net/rcirc.el (rcirc-handler-001): Remove useless
24469 with-rcirc-process-buffer.
24470 (rcirc-check-auth-status): Swap arguments to string-match.
24472 2011-03-09 Glenn Morris <rgm@gnu.org>
24474 * shell.el (shell-mode):
24475 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24477 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24478 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24480 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24482 * emacs-lisp/package.el (package-refresh-contents)
24483 (package-menu-execute): Use condition-case-no-debug.
24485 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24487 * simple.el (shell-command-to-string): Use `process-file'.
24489 * emacs-lisp/package.el (package-tar-file-info): Handle also
24492 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24493 Use `equal' for upload base check.
24495 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24497 * textmodes/texinfo.el (texinfo-environments):
24498 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24500 2011-03-08 Glenn Morris <rgm@gnu.org>
24502 * cus-start.el (cursor-in-non-selected-windows):
24503 Fix :set quoting oddness. (Bug#8192)
24505 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24506 in some setf expressions. (Bug#2159)
24508 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24510 * custom.el (custom-available-themes): Return themes in
24511 alphabetical order.
24513 See ChangeLog.15 for earlier changes.
24515 ;; Local Variables:
24519 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24521 This file is part of GNU Emacs.
24523 GNU Emacs is free software: you can redistribute it and/or modify
24524 it under the terms of the GNU General Public License as published by
24525 the Free Software Foundation, either version 3 of the License, or
24526 (at your option) any later version.
24528 GNU Emacs is distributed in the hope that it will be useful,
24529 but WITHOUT ANY WARRANTY; without even the implied warranty of
24530 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24531 GNU General Public License for more details.
24533 You should have received a copy of the GNU General Public License
24534 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.